summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-10-14 22:48:17 +0200
committermetamuffin <metamuffin@disroot.org>2024-10-14 22:48:17 +0200
commit188c76572d8606cefd394945bbce789d55797ec6 (patch)
tree79ec4a52a5e2e7d81045583ef6922f2b7b2fc3c5 /client
parent5e39e1a9fa973dcc95c630b45c1cef99c68bbb19 (diff)
downloadhurrycurry-188c76572d8606cefd394945bbce789d55797ec6.tar
hurrycurry-188c76572d8606cefd394945bbce789d55797ec6.tar.bz2
hurrycurry-188c76572d8606cefd394945bbce789d55797ec6.tar.zst
merge book locales
Diffstat (limited to 'client')
-rw-r--r--client/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/makefile b/client/makefile
index 2c13b6c4..ca482d53 100644
--- a/client/makefile
+++ b/client/makefile
@@ -27,7 +27,7 @@ clean:
rm -f icons/adaptive-foreground.png icons/adaptive-background.png
.godot/import-finished: $(LOCALES)
- godot --headless --import project.godot
+ if not test -e $@; then godot --headless --import project.godot; fi
touch $@
$(LT): $(shell find ../locale/tools -type f)
@@ -37,9 +37,9 @@ po/locales.csv: $(LT)
@mkdir -p po
$(LT) export-godot-csv ../locale $@
-po/%.po: ../locale/%.ini $(LT) ../locale/en.ini
+po/%.po: $(LT) ../locale/%.ini ../book/locale/%.ini ../locale/en.ini ../book/locale/en.ini
@mkdir -p po
- $(LT) export-po $< $@ --fallback ../locale/en.ini
+ $(LT) export-po $@ $(wordlist 2,99,$(^))
icons/adaptive-background.png:
ffmpeg -f lavfi -i "color=color=#E28142,scale=432x432" -frames:v 1 -y $@