From 5073631cd01fa3cbcd7d94c681b7b1bfa74363a8 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 6 Apr 2011 10:17:47 +0200 Subject: use --skipsource switch of po2oo --skipsource also does the fallback to en-US when a translation is missing so for example we are not flawed by incomplete localized printing dialogs any more (see fdo#33189) --- translations/makefile.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/translations/makefile.mk b/translations/makefile.mk index 9e720903ec1..229cfbb4a53 100644 --- a/translations/makefile.mk +++ b/translations/makefile.mk @@ -92,11 +92,7 @@ $(MISC)/sdf-l10n/%.sdf : $(MISC)/sdf-template/en-US.sdf sed -e "s/\ten-US\t/\tkid\t/" < $@.tmp > $@ rm -f $@.tmp .ELSE - $(PO2OO) -i $(PRJ)/source/$(@:b) -t $(MISC)/sdf-template/en-US.sdf -o $@ -l $(@:b) -# FIXME: waiting for fix of http://bugs.locamotion.org/show_bug.cgi?id=1883 -# po2oo --skipsource -i $(PRJ)/source/$(@:b) -t $(MISC)/sdf-template/en-US.sdf -o $@ -l $(@:b) - grep -v " en-US " $@ > $@.tmp - mv $@.tmp $@ + $(PO2OO) --skipsource -i $(PRJ)/source/$(@:b) -t $(MISC)/sdf-template/en-US.sdf -o $@ -l $(@:b) .ENDIF $(MISC)/merge.done : $(foreach,i,$(all_languages) $(MISC)/sdf-l10n/$i.sdf) -- cgit