summaryrefslogtreecommitdiffstats
path: root/cvs.sh.diff
diff options
context:
space:
mode:
Diffstat (limited to 'cvs.sh.diff')
-rw-r--r--cvs.sh.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/cvs.sh.diff b/cvs.sh.diff
new file mode 100644
index 000000000..313956b05
--- /dev/null
+++ b/cvs.sh.diff
@@ -0,0 +1,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 <kde-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