diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-07 19:05:25 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-07 19:05:25 +0100 |
commit | 7b7f95a6ec95a06c96774e2292f4d8bb99bead67 (patch) | |
tree | a28f1cca9e1da69ca9e63ec0827d9391cccaba76 /Makefile | |
parent | update todo (diff) | |
download | scrotty-7b7f95a6ec95a06c96774e2292f4d8bb99bead67.tar.gz scrotty-7b7f95a6ec95a06c96774e2292f4d8bb99bead67.tar.bz2 scrotty-7b7f95a6ec95a06c96774e2292f4d8bb99bead67.tar.xz |
Resolve internationalisaion issue
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -145,7 +145,11 @@ update-po: $(foreach L,$(LOCALES),po/$(L).po) po/%.po: obj/scrotty.pot @mkdir -p po - if ! test -e $@; then cp $< $@; else msgmerge -U $@ $<; fi + if ! test -e $@; then \ + msginit --no-translator --no-wrap -i $< -o $@ -l $*; \ + else \ + msgmerge --no-wrap -U $@ $<; \ + fi .PHONY: install |