Hi i18n experts! Le 03/05/2012 19:02, David Prévot a écrit : > It installs > the MO files where they belong, but the “[yes] [no]” widget was not > translated. I'm anyway confident it will work as it should before the > upload, and I won't hesitate to cry for help if it doesn't ;-). And here I am whining… Please find attached the shortened debdiff (without any PO file, and with a fake changelog). The MO files are installed [1], but are not used inside aptitude. When run with strace, it obviously doesn't load them, while it loads other library translations [2]. 1: $ dpkg -L libcwidget3 | grep /fr/ /usr/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES/libcwidget3.mo 2: $ strace aptitude | grep /fr/ open("/usr/share/locale/fr/LC_MESSAGES/aptitude.mo", O_RDONLY) = 3 open("/usr/share/locale/fr/LC_MESSAGES/libapt-pkg4.12.mo", O_RDONLY) = 3 open("/usr/share/locale/fr/LC_MESSAGES/libc.mo", O_RDONLY) = 67 I guess some pieces are missing, maybe in src/cwidget/generic/util/i18n.h [3], but I must admit I'm neither a library nor a gettext wizard, so any help or pointer would be gladly appreciated. 3: http://anonscm.debian.org/gitweb/?p=cwidget/debian/.git;a=blob;f=src/cwidget/generic/util/i18n.h;hb=HEAD I've put on hold my NMU intent: there is little point releasing an l10n NMU with new translations if they are not displayed, but am still ready to prepare all the needed translations once this issue will be addressed (not only for the 5 languages already ready in the BTS, but also for the 35 others languages currently available in aptitude). Regards David
diffstat for cwidget-0.5.16 cwidget-0.5.16 debian/changelog | 8 ++++++++ debian/libcwidget3.install | 1 + po/LINGUAS | 2 ++ po/Makevars | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff -Nru --exclude '*.po' cwidget-0.5.16/debian/changelog cwidget-0.5.16/debian/changelog --- cwidget-0.5.16/debian/changelog 2012-05-11 13:03:43.000000000 -0400 +++ cwidget-0.5.16/debian/changelog 2012-05-11 13:03:44.000000000 -0400 @@ -1,3 +1,11 @@ +cwidget (0.5.16-3.3) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix build system. + * da de es fr pl + + -- David Prévot <taffit@debian.org> Tue, 08 May 2012 23:12:03 -0400 + cwidget (0.5.16-3.2) unstable; urgency=low * Non maintainer upload. diff -Nru --exclude '*.po' cwidget-0.5.16/debian/libcwidget3.install cwidget-0.5.16/debian/libcwidget3.install --- cwidget-0.5.16/debian/libcwidget3.install 2012-05-11 13:03:43.000000000 -0400 +++ cwidget-0.5.16/debian/libcwidget3.install 2012-05-11 13:03:44.000000000 -0400 @@ -1 +1,2 @@ debian/tmp/usr/lib/libcwidget.so.* +debian/tmp/usr/share/locale diff -Nru --exclude '*.po' cwidget-0.5.16/po/LINGUAS cwidget-0.5.16/po/LINGUAS --- cwidget-0.5.16/po/LINGUAS 1969-12-31 20:00:00.000000000 -0400 +++ cwidget-0.5.16/po/LINGUAS 2012-05-11 13:03:44.000000000 -0400 @@ -0,0 +1,2 @@ +# Set of available languages. +da de es fr pl diff -Nru --exclude '*.po' cwidget-0.5.16/po/Makevars cwidget-0.5.16/po/Makevars --- cwidget-0.5.16/po/Makevars 2009-09-25 10:25:58.000000000 -0400 +++ cwidget-0.5.16/po/Makevars 2012-05-11 13:03:44.000000000 -0400 @@ -1,7 +1,7 @@ # Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. -DOMAIN = $(PACKAGE) +DOMAIN = libcwidget3 # These two variables depend on the location of this directory. subdir = po
Attachment:
signature.asc
Description: OpenPGP digital signature