summaryrefslogtreecommitdiff
path: root/unrpyc/Makefile
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-21 12:55:52 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-21 12:55:52 -0400
commite526f3df818ea21760c5eeb4e2f728845bb93140 (patch)
tree1dfc39e5d1b281accf5e4c56fbc57542c8d62593 /unrpyc/Makefile
parenta1bdc1283d2464bff2bc725988b2fdc74b34ef74 (diff)
downloadhtml5ks-e526f3df818ea21760c5eeb4e2f728845bb93140.tar.xz
html5ks-e526f3df818ea21760c5eeb4e2f728845bb93140.zip
continue work on i18n
Diffstat (limited to 'unrpyc/Makefile')
-rw-r--r--unrpyc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/unrpyc/Makefile b/unrpyc/Makefile
index 826f1e3..829d2b9 100644
--- a/unrpyc/Makefile
+++ b/unrpyc/Makefile
@@ -13,6 +13,10 @@ script.json: $(patsubst %.rpyc,%.json,$(wildcard script-*.rpyc))
%.json: %.json.o
node fix.js $< $@
+ui-strings.json.o: ui-strings.rpyc *.py
+ python unrpyc.py --clobber $< $@
+ sed -i -e 's/ \["init_language", "en", \],//;s/^\]}$$/}/' $@
+
%.json.o: %.rpyc *.py
python unrpyc.py --clobber $< $@