aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-07 19:05:25 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-07 19:05:25 +0100
commit7b7f95a6ec95a06c96774e2292f4d8bb99bead67 (patch)
treea28f1cca9e1da69ca9e63ec0827d9391cccaba76 /Makefile
parentupdate todo (diff)
downloadscrotty-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--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e73890..f92efd2 100644
--- a/Makefile
+++ b/Makefile
@@ -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