From 68b887344289902273f0e0591e1038182ca4da77 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 24 Feb 2022 12:41:47 -0300 Subject: added ja lang and implemented transalation switch --- packages/pogen/src/po2ts.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/pogen/src') diff --git a/packages/pogen/src/po2ts.ts b/packages/pogen/src/po2ts.ts index e11443f4f..7e831e6f8 100644 --- a/packages/pogen/src/po2ts.ts +++ b/packages/pogen/src/po2ts.ts @@ -34,7 +34,9 @@ export function po2ts(): void { console.log(files); - const chunks: string[] = []; + const chunks: string[] = [ + "export const strings: any = {};\n\n" + ]; for (const filename of files) { const m = filename.match(/([a-zA-Z0-9-_]+).po/); -- cgit v1.2.3