From e526f3df818ea21760c5eeb4e2f728845bb93140 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Wed, 21 Aug 2013 12:55:52 -0400 Subject: continue work on i18n --- unrpyc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'unrpyc/Makefile') 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 $< $@ -- cgit v1.2.3-70-g09d2