[Po4a-commits] "po4a html-build-upload.sh,1.22,1.23"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sat Feb 14 12:21:11 UTC 2009


Update of /cvsroot/po4a/po4a
In directory alioth:/tmp/cvs-serv14126

Modified Files:
	html-build-upload.sh 
Log Message:
po/html.cfg does not use po4a_langs anymore. Look for the *.po files
instead.


Index: html-build-upload.sh
===================================================================
RCS file: /cvsroot/po4a/po4a/html-build-upload.sh,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- html-build-upload.sh	2 Apr 2008 20:34:09 -0000	1.22
+++ html-build-upload.sh	14 Feb 2009 12:21:09 -0000	1.23
@@ -49,8 +49,10 @@
 	mv $f ${f%pl}po
 done
 
-for lang in $(grep po4a_langs po/html.cfg | sed -e 's/\[po4a_langs\] //')
+for lang in $(ls po/www/*.po)
 do
+	lang=$(basename $lang)
+	lang=${lang%.po}
 	for f in html.gen/*.${lang/pl/po}
 	do
 		sed -i -e "s/\.en\"; ?>/\.${lang/pl/po}\"; ?>/" $f
@@ -62,12 +64,12 @@
 do
 	name=$(basename $file)
 	name=${name//.pm/}
-	pod2man --section=3pm --release="Po4a Tools" --center="Po4a Tools" \
+	pod2man --utf8 --section=3pm --release="Po4a Tools" --center="Po4a Tools" \
 	    $file html.gen/en/man3pm/Locale::Po4a::$name.3pm
 done
 for file in po4a po4a-gettextize po4a-normalize po4a-translate po4a-updatepo
 do
-	pod2man --section=1 --release="Po4a Tools" --center="Po4a Tools" \
+	pod2man --utf8 --section=1 --release="Po4a Tools" --center="Po4a Tools" \
 	    $file html.gen/en/man1/$file.1
 done
 




More information about the Po4a-commits mailing list