fix translations generation and broken translation

This commit is contained in:
Michal Čihař
2003-12-17 09:20:15 +00:00
parent 20f61b00a1
commit d7764fdd17
3 changed files with 674 additions and 669 deletions

View File

@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-12-17 Michal Cihar <ilovetranslations@cihar.com>
* lang/sync_lang.sh: Fix generation of translation, when source is in
utf-8.
* lang/chinese_big5.inc.php: Was broken due to above bug, thanks Marc for
noticing this.
2003-12-16 Marc Delisle <lem9@users.sourceforge.net> 2003-12-16 Marc Delisle <lem9@users.sourceforge.net>
* lang/lithuanian: Updated, thanks to Vilius Zigmantas (viliusz). * lang/lithuanian: Updated, thanks to Vilius Zigmantas (viliusz).

File diff suppressed because it is too large Load Diff

View File

@@ -215,8 +215,9 @@ $allow_recoding = TRUE;' > $TEMPFILE
echo FAILED echo FAILED
fi fi
elif [ $src_charset = 'utf-8' ] ; then elif [ $src_charset = 'utf-8' ] ; then
is_utf=yes
# if we convert from utf-8, we should remove allow_recoding # if we convert from utf-8, we should remove allow_recoding
$CONVERTOR $(printf "$CONVERTOR_PARAMS" $src_charset $charset) < $base.inc.php| grep -v allow_recoding > $TEMPFILE $CONVERTOR $(printf "$CONVERTOR_PARAMS" $src_charset $charset) < $base.inc.php| grep -v allow_recoding | sed "s/$src_charset/$charset/" > $TEMPFILE
if [ -s $TEMPFILE ] ; then if [ -s $TEMPFILE ] ; then
cat $TEMPFILE > $file cat $TEMPFILE > $file
echo done echo done