[or-cvs] r20199: {translation} switch back to gettextize for new files (translation/trunk/tools/gsoc09)
runa at seul.org
runa at seul.org
Thu Jul 30 17:02:10 UTC 2009
Author: runa
Date: 2009-07-30 13:02:10 -0400 (Thu, 30 Jul 2009)
New Revision: 20199
Modified:
translation/trunk/tools/gsoc09/wml2po.sh
Log:
switch back to gettextize for new files
Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh 2009-07-30 07:09:47 UTC (rev 20198)
+++ translation/trunk/tools/gsoc09/wml2po.sh 2009-07-30 17:02:10 UTC (rev 20199)
@@ -143,7 +143,7 @@
if [ $poexist = 0 ]
then
# Convert it
- po4a-updatepo -f wml -m "$file" -p "$popath/$pofile" --master-charset utf-8 -o customtag="$customtag" -o nodefault="$nodefault"
+ po4a-gettextize -f wml -m "$file" -p "$popath/$pofile" --master-charset utf-8 -o customtag="$customtag" -o nodefault="$nodefault" --copyright-holder "$copyright"
# Check to see if the file exists
if [ -e "$popath/$pofile" ]
@@ -161,7 +161,7 @@
else
# Set the right encoding and charset
sed -i '0,/ENCODING/ s/ENCODING/8bit/' "$popath/$pofile"
- sed -i "0,/Free Software Foundation, Inc/ s/Free Software Foundation, Inc/$copyright/" "$popath/$pofile"
+ sed -i '0,/CHARSET/ s/CHARSET/utf-8/' "$popath/$pofile"
# And add it to the repository
svn add "$popath/$pofile"
More information about the tor-commits
mailing list