diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-19 00:52:50 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-19 00:52:50 +0100 |
commit | d4dcfd6f0c65e411e4624181688c4801eedbbc17 (patch) | |
tree | c5bb6e9f08fed8f2d5e24fb2ae7ba4f43de11f67 /pogen/pogen.ts | |
parent | ae5df17049b1f6775c22442dbf8465dcd0106bae (diff) | |
download | wallet-core-d4dcfd6f0c65e411e4624181688c4801eedbbc17.tar.xz |
fix pogen issue
Diffstat (limited to 'pogen/pogen.ts')
-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; } |