Hi, Christian Perrier <[EMAIL PROTECTED]> (14/08/2006): > Quoting John Hasler ([EMAIL PROTECTED]): > > > Please update file "fr.po" with file in this bug. > > I assume that by "update" you mean "replace".
Yes. > > BTW what is the point in using gettext for a man page? Seems like a lot of > > pointless bloat. > > > Being up-to-date. > > The main problem with translated man pages with the classical method > is that they're always outdated. > > By using software like po4a, one can guarantee that the translated man > page is always complete. If the PO file is outdated, the outdated > parts will be kept in English in the generated "translated" man > page..... > > Of course, when a given treshold of "outdateness" is reached (usually > 80%), the translated man page is not generated anymore. I would add that PO files are much more convenient for translators than original manpages. > What I'm unsure of is: does pppconfig use po4a for its man pages? > > The fact that you, John, are asking these questions makes me think > that it doesn't....but in that case, why is there a PO directory in > the man/ directory. It does (see #278062), however, the French manpage is not installed. John, could you please apply the attached patch and build-depends on po4a (>= 0.23) instead of po4a (>= 0.18.1)? The build-depends is for the --rm-translations switch in the clean target. Cheers, -- Thomas Huriaux
--- rules.orig 2006-08-14 17:01:56.000000000 +0200 +++ rules 2006-08-14 17:03:40.000000000 +0200 @@ -25,13 +25,6 @@ msgfmt -o po/$$F.mo po/$$F.po; \ done - for FILE in man/po/*.po; do LANG=$$(basename $$FILE .po); \ - LANGUAGES="$$LANGUAGES $$LANG"; \ - done; \ - for F in $${LANGUAGES}; do \ - msgfmt -o man/po/$$F.mo man/po/$$F.po; \ - done - touch build-stamp clean: @@ -42,8 +35,7 @@ # Add here commands to clean up after the build process. #-$(MAKE) clean rm -f po/*.mo - po4a man/po4a.cfg - rm man/pppconfig.*.8 + po4a --rm-translations man/po4a.cfg dh_clean install: install-stamp @@ -75,7 +67,7 @@ dh_installmenu --noscripts dh_installcron --noscripts # dh_installmanpages - dh_installman man/pppconfig.8 + dh_installman man/pppconfig.8 man/pppconfig.fr.8 dh_installchangelogs cp 0dns-up debian/pppconfig/etc/ppp/ip-up.d/ cp 0dns-down debian/pppconfig/etc/ppp/ip-down.d/
signature.asc
Description: Digital signature