summaryrefslogtreecommitdiff
path: root/tools/update-po
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2005-10-04 14:15:11 +0200
committerAndreas Mair <amair.sob@googlemail.com>2005-10-04 14:15:11 +0200
commita935422b27fcfc8713c63033c419081b5731fcff (patch)
tree4fa4d7b68752c9c3b066a11ca7c3a58f22441954 /tools/update-po
parent32e84da8cc92fc7c69e6ecbf6d937145018f96f2 (diff)
downloadvdradmin-am-0.97-am3.4.1.tar.gz
vdradmin-am-0.97-am3.4.1.tar.bz2
2005-10-04: 0.97-am3.4.1v0.97-am3.4.1
- Fixed some bugs: -> Selected channel is remembered when editing AutoTimers (Reported by Scorp). -> Recording streaming didn't work in some cases (Reported by several people @vdr-portal.de). -> Recording commands didn't work in some cases (Reported by several people @vdr-portal.de). -> Watch TV and remote control didn't work (Reported by several people @vdr-portal.de). -> INFO button in prog_list2 didn't work. -> Getting back from timer_new to prog_summary/prog_list/prog_list2 again scrolls to line with previously selected item (Reported by Scorp). - Updated translations - Fixed some more HTMLtidy warnings.
Diffstat (limited to 'tools/update-po')
-rwxr-xr-xtools/update-po19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/update-po b/tools/update-po
new file mode 100755
index 0000000..076a9e2
--- /dev/null
+++ b/tools/update-po
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+pushd po/
+../tools/tmplgettext "^.*\.html$" ../template >tmp-html-x.pot
+msguniq tmp-html-x.pot >vdradmin.pot
+
+xgettext --from-code=ISO-8859-1 -L Perl ../vdradmind.pl -j -o vdradmin.pot
+xgettext --from-code=ISO-8859-1 -L Perl ../template/i18n.pl -j -o vdradmin.pot
+rm tmp-*.pot
+popd
+
+
+for LANG in de es fi fr ; do
+ if msgmerge po/$LANG.po po/vdradmin.pot >temp.po ; then
+ mv -f temp.po po/$LANG.po
+ else
+ echo "error merging po/$LANG.po and po/vdradmin.pot"
+ fi
+done