Package: menu Severity: minor Tags: patch l10n Hi,
The po files are not updated when the .pot files has been modified. For example: $ msgfmt --statistics fr.po 66 translated messages. $ msgfmt --statistics menu.pot 0 translated messages, 67 untranslated messages. $ msgmerge -U fr.po menu.pot .......... done. $ msgfmt --statistics fr.po 63 translated messages, 3 fuzzy translations, 1 untranslated message. Please find attached two patches which should fix the problem for the po/ and po-sections directories as well as a patch for menufile2pot which fixes the incorrect header. -- Thomas Huriaux
--- Makefile.am 2005-09-26 18:28:19.000000000 +0200
+++ Makefile.am.new 2005-12-14 13:42:10.000000000 +0100
@@ -22,5 +22,13 @@
%.mo : %.po
msgfmt -o $@ $^
-clean-local:
+clean-local: update-po
rm -f *.mo lang.h
+
+update-po: menu-sections.pot
+ for po in $(POs); do \
+ echo -n "Updating $$po"; \
+ msgmerge -U $$po menu-sections.pot; \
+ done;
+
+.PHONY: update-po
--- menufile2pot 2003-04-01 22:53:13.000000000 +0200 +++ menufile2pot.new 2005-12-14 13:43:40.000000000 +0100 @@ -46,6 +46,7 @@ $date=`/bin/date +"%Y-%d-%m %H:%M+%Z"`; +$date=`echo -n $date`; print POT "# Collection of titles/sections of debian menu's. # This file is automatically generated. Do not edit.
--- Makefile.am 2005-05-23 18:26:42.000000000 +0200
+++ Makefile.am.new 2005-12-14 13:45:30.000000000 +0100
@@ -19,5 +19,13 @@
menu.pot::
xgettext -o menu.pot -C -k_ -c ../install-menu/*.[ch]*
../update-menus/*.[ch]* [EMAIL PROTECTED] --copyright-holder="Debian menu team"
-clean-local:
+clean-local: update-po
rm -f *.mo
+
+update-po: menu.pot
+ [EMAIL PROTECTED] po in $(POs); do \
+ echo -n "Updating $$po"; \
+ msgmerge -U $$po menu.pot; \
+ done;
+
+.PHONY: update-po
signature.asc
Description: Digital signature

