diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2008-12-13 09:09:54 +0100 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2008-12-13 09:09:54 +0100 |
commit | b5bb9b571134454e2507bce56211f68e15fb276e (patch) | |
tree | d723e1916c9a19cb2d00592d7728ed7f7f4a21b9 /make.sh | |
parent | 0f5234f89bea92523d7e8e3ec72bd5cb25dec19f (diff) | |
download | vdradmin-am-3.6.3.tar.gz vdradmin-am-3.6.3.tar.bz2 |
2008-12-13: 3.6.3v3.6.3
- Updated: Spanish translation (Submitted by Rüdiger Jung).
- Changed: Process name to "vdradmind" (Based on patch submitted by Ville Skyttä).
- Updated: Italian translation (Submitted by Diego Pierotto).
- Changed executable's name from "vdradmind.pl" to "vdradmind".
- Updated: Dutch translation (Submitted by Roel Koelewijn).
- Added Play/Stop/FastForward/etc. buttons to remote controls (based on patch by L.Locke @vdr-portal.de).
- Added: epgsearch templates can be created, modified and deleted.
- Read used character encoding in SVDRP connections and recode result to the encoding used in the current locale.
- Minor bugfixes and improvements.
Diffstat (limited to 'make.sh')
-rwxr-xr-x | make.sh | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -1,7 +1,7 @@ #!/bin/bash LANGS="cs de es fr fi it nl ru" -DIST_FILES="autotimer2searchtimer.pl ChangeLog COPYING CREDITS FAQ HISTORY INSTALL LGPL.txt README README.translators REQUIREMENTS contrib convert.pl install.sh lib locale make.sh template uninstall.sh vdradmind.pl vdradmind.pl.1" +DIST_FILES="autotimer2searchtimer.pl ChangeLog COPYING CREDITS FAQ HISTORY INSTALL LGPL.txt README README.translators REQUIREMENTS contrib convert.pl install.sh lib locale make.sh template uninstall.sh vdradmind vdradmind.pl vdradmind.pl.1" INSTALL_SH=./install.sh CVS2CL="./cvs2cl.pl" # get it at http://www.red-bean.com/cvs2cl/ TMPDIR=/tmp @@ -53,6 +53,7 @@ function do_cvs() # Create missing symbolic links [ -e uninstall.sh ] || ln -s install.sh uninstall.sh [ -e README ] || ln -s INSTALL README + [ -e vdradmind ] || ln -s vdradmind.pl vdradmind } # Extract VDRAdmin-AM version from vdradmind.pl @@ -116,14 +117,12 @@ function do_utf8_generate() [ -e $file ] || continue filename=${file%.po} encoding=iso$(getOrigEncoding $filename.po) - newfilename=$(echo $filename | tr [:lower:] [:upper:]) - if [ "${encoding}" = "iso8859-1" ]; then - # just copy - cp $filename.po ${filename}_$newfilename.utf8.po ; - else - # convert - iconv -f $encoding -t utf-8 $filename.po > ${filename}_$newfilename.utf8.po - fi + case $filename in + cs) newfilename=CZ;; + *) newfilename=$(echo $filename | tr [:lower:] [:upper:]) + esac + # convert + iconv -f $encoding -t utf-8 $filename.po > ${filename}_$newfilename.utf8.po done # generate us_US.utf8.po from POT template @@ -132,7 +131,7 @@ function do_utf8_generate() # map ISO-8859-1 encoding to UTF-8 instead of the respective "old" encodings for file in $(ls *.utf8.po); do encoding=ISO-$(getOrigEncoding $file) - sed -e 's:msgstr "'$encoding'":msgstr "UTF-8":g' $file > $file.tmp + sed -e 's:msgstr "'$encoding'":msgstr "UTF-8":g' -e 's#"Content-Type: text/plain; charset=.*#"Content-Type: text/plain; charset=UTF-8\\n"#g' $file > $file.tmp mv $file.tmp $file done ) @@ -175,6 +174,12 @@ do do_po ;; + local) + do_cvs + do_utf8_generate + do_po + ;; + dist) do_cvs do_utf8_generate |