aboutsummaryrefslogtreecommitdiff
path: root/pogen
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-19 00:52:50 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-19 00:52:50 +0100
commitd4dcfd6f0c65e411e4624181688c4801eedbbc17 (patch)
treec5bb6e9f08fed8f2d5e24fb2ae7ba4f43de11f67 /pogen
parentae5df17049b1f6775c22442dbf8465dcd0106bae (diff)
fix pogen issue
Diffstat (limited to 'pogen')
-rw-r--r--pogen/pogen.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/pogen/pogen.ts b/pogen/pogen.ts
index ae6bbfa0e..3421d7070 100644
--- a/pogen/pogen.ts
+++ b/pogen/pogen.ts
@@ -198,7 +198,7 @@ export function processFile(sourceFile: ts.SourceFile) {
return e.text;
}
default:
- return `%{h[0]++}$s`;
+ return `%${h[0]++}$s`;
}
}
@@ -285,7 +285,7 @@ export function processFile(sourceFile: ts.SourceFile) {
let comment = getComment(node);
formatMsgComment(line, comment);
formatMsgLine("msgid", content);
- console.log(`msgstr[0] ""`);
+ console.log(`msgstr ""`);
console.log();
return;
}