diff options
Diffstat (limited to 'pogen')
-rw-r--r-- | pogen/pogen.ts | 4 |
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; } |