From d4dcfd6f0c65e411e4624181688c4801eedbbc17 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 19 Nov 2016 00:52:50 +0100 Subject: fix pogen issue --- pogen/pogen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pogen') 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; } -- cgit v1.2.3