From 7b7f95a6ec95a06c96774e2292f4d8bb99bead67 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 7 Dec 2015 19:05:25 +0100 Subject: Resolve internationalisaion issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2