From 9c735a0e6eebd41100180a7067467a9de9088484 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 Apr 2020 16:12:39 +0530 Subject: fix i18n build task --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6d0bacbbc..f637983eb 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,12 @@ i18n: yarn-install msgmerge -o $$pofile $$pofile src/i18n/$(poname).pot; \ done; # generate .ts file containing all translations - ./contrib/po2ts + cat src/i18n/strings-prelude > src/i18n/strings.ts + @for pofile in src/i18n/*.po; do \ + echo appending $$pofile; \ + ./contrib/po2ts $$pofile >> src/i18n/strings.ts; \ + done; + ./node_modules/.bin/prettier --config .prettierrc --write src/i18n/strings.ts # Some commands are only available when ./configure has been run -- cgit v1.2.3