aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@novell.com>2011-04-06 10:17:47 +0200
committerAndras Timar <atimar@novell.com>2011-04-06 10:17:47 +0200
commit5073631cd01fa3cbcd7d94c681b7b1bfa74363a8 (patch)
tree3deaf3f54c981c8d8e55d19c17493b44a7a2da60
parentce301689e86da87c183e7bfe0e9c455c3a6ee5b0 (diff)
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)
-rw-r--r--translations/makefile.mk6
1 files changed, 1 insertions, 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)