[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r20258: {translation} fix for copyright holder (translation/trunk/tools/gsoc09)
Author: runa
Date: 2009-08-10 03:54:35 -0400 (Mon, 10 Aug 2009)
New Revision: 20258
Modified:
translation/trunk/tools/gsoc09/wml2po.sh
Log:
fix for copyright holder
Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh 2009-08-10 07:00:00 UTC (rev 20257)
+++ translation/trunk/tools/gsoc09/wml2po.sh 2009-08-10 07:54:35 UTC (rev 20258)
@@ -151,7 +151,7 @@
if [ $poexist = 0 ]
then
# Convert it
- po4a-gettextize -f wml -m "$file" -p "$popath/$pofile" --master-charset utf-8 -o customtag="$customtag" -o nodefault="$nodefault" --copyright-holder "$copyright"
+ po4a-gettextize -f wml -m "$file" -p "$popath/$pofile" --master-charset utf-8 -o customtag="$customtag" -o nodefault="$nodefault"
# Check to see if the file exists
if [ -e "$popath/$pofile" ]
@@ -167,9 +167,11 @@
rm -f "$popath/$pofile"
echo "$popath/$pofile" > $tmplog
else
- # Set the right encoding and charset
+ # Set the right encoding and charset, as well
+ # as the correct copyright holder.
sed -i '0,/ENCODING/ s/ENCODING/8bit/' "$popath/$pofile"
sed -i '0,/CHARSET/ s/CHARSET/utf-8/' "$popath/$pofile"
+ sed -i "0,/Free Software Foundation, Inc/ s/Free Software Foundation, Inc/$copyright/" "$popath/$pofile"
# And add it to the repository
svn add "$popath/$pofile"