summaryrefslogtreecommitdiffstats
path: root/cvs.sh.diff
blob: 79b780d269f3ea804241583ba3f44cffbcb08b43 (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 <LL@li.org>\\n","Language-Team: LANGUAGE <tde-i18n-doc@kde.org>\\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