Hi,

I would recommend to rename the po directory to po4a/po (this would avoid
funny PO filename like kernel-package.doc.fr.po)

        mkdir po4a
        mv po po4a/po


fr.po in kernel/po should be moved to po4a/po

        mv kernel/po/fr.po po4a/po/fr.po


The kernel/po/fr.po files should be restored from an earlier version.
(just make sure it matches with the kernel/po/templates.pot file)


The po4a.conf config file could be moved to the po4a directory. Makefile
would have to be changed accordingly. (see patch)


The --previous option would be nice for translators. (see patch).


I would also recommend some changes in the po4a configuration file (see
attached po4a.conf)
 * remove support for Spanish in po4a.conf (since there are no es.po for po4a)
 * use the $lang variable (this will simplify later addition of languages)

Best Regards,
-- 
Nekral
diff -rauN ../orig/kernel-package-11.007/Makefile ./kernel-package-11.007/Makefile
--- ../orig/kernel-package-11.007/Makefile	2008-05-02 07:06:28.000000000 +0200
+++ ./kernel-package-11.007/Makefile	2008-10-12 16:25:46.250993134 +0200
@@ -50,9 +50,9 @@
 
 build: check
 
-genpo4a:  po4a.conf
+genpo4a:  po4a/po4a.conf
 	if [ -e /usr/bin/po4a ] ; then \
-	  po4a po4a.conf; \
+	  po4a --previous po4a/po4a.conf; \
 	fi
 
 check:
[po4a_langs] fr
# First explain where the translator input files are to be found
[po4a_paths] po4a/po/kernel-package.doc.pot $lang:po4a/po/$lang.po

# Then explain where the document are (resp: their translations)
[type: man] kernel-img.conf.5      $lang:kernel-img.conf.$lang.5
[type: man] kernel-package.5       $lang:kernel-package.$lang.5
[type: man] kernel-packageconfig.8 $lang:kernel-packageconfig.$lang.8
[type: man] kernel-pkg.conf.5      $lang:kernel-pkg.conf.$lang.5
[type: man] make-kpkg.8            $lang:make-kpkg.$lang.8

Reply via email to