diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-07 16:12:39 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-07 16:16:58 +0530 |
commit | 9c735a0e6eebd41100180a7067467a9de9088484 (patch) | |
tree | 8d9b2625641efc2a3292a6055ef2fa26a9a4ebaf /Makefile | |
parent | cd7629c916f4df5a673e0c22263628248bf1f5d2 (diff) |
fix i18n build task
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |