summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-03-05 17:19:25 +0100
committerGitHub <noreply@github.com>2021-03-05 17:19:25 +0100
commitfc766b53364e4ff9ffc7435b6af3ec1e8e3a4f56 (patch)
tree2f9cc3e37ec11fb7efae0f6dffb378db1a1a1784 /Makefile
parent723c03e5a9519a502f328edacbed84eb0dc884c2 (diff)
update electron translations (#1031)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3253a570..277b47f2 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,8 @@ messages.po:
find electron/src -name '*.html' -o -name '*.js' -o -name '*.vue' | xargs electron/node_modules/.bin/gettext-extract --quiet --attribute v-translate --output messages-vue.po
msgcat -o messages.po messages-babel.po messages-vue.po
-electron/src/renderer/assets/translations.json: $(addsuffix /LC_MESSAGES/inkstitch.po,$(wildcard locales/*))
- find locales -name '*.po' -a ! -empty | \
+electron/src/renderer/assets/translations.json: $(wildcard translations/messages_*.po)
+ find translations -name '*.po' -a ! -empty | \
xargs electron/node_modules/.bin/gettext-compile --output electron/src/renderer/assets/translations.json
%.po: %.mo