summaryrefslogtreecommitdiffstats
path: root/cvs.sh.diff
blob: 313956b0540d0c674f917b1009340b7d4f20edaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: admin/cvs.sh
===================================================================
--- admin/cvs.sh	(revision 637526)
+++ admin/cvs.sh	(working copy)
@@ -592,7 +592,7 @@ for i in `ls -1 po.backup/*.pot 2>/dev/n
   test -f po/$i || echo "disappeared: $i"
 done
 for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
-  sed -e 's,^"Content-Type: text/plain; charset=CHARSET\\n"$,"Content-Type: text/plain; charset=UTF-8\\n",' po/$i > po/$i.new && mv po/$i.new po/$i
+  sed -e 's,^"Content-Type: text/plain; charset=CHARSET\\n"$,"Content-Type: text/plain; charset=UTF-8\\n",; s,"Content-Transfer-Encoding: ENCODING\\n","Content-Transfer-Encoding: 8bit\\n", ; s,"Language-Team: LANGUAGE <[email protected]>\\n","Language-Team: LANGUAGE <[email protected]>\\n",' po/$i > po/$i.new && mv po/$i.new po/$i
   #msgmerge -q -o po/$i po/$i po/$i
   egrep -v '^#[^,]' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > temp.pot
   if test -f po.backup/$i && ! cmp -s temp.pot po.backup/$i; then