aboutsummaryrefslogtreecommitdiff
path: root/contrib/extract_translations
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2007-12-15 12:02:00 +0000
committerBadlop <badlop@process-one.net>2007-12-15 12:02:00 +0000
commit090fceebc29d5a78fc007c82f7c642c6983a111c (patch)
tree02af1f55dae5a98f0c8dcc1bde4eddb5fc17f59a /contrib/extract_translations
parent* src/msgs/*: Unified file format: First line is SVN Id (diff)
* src/mod_irc/mod_irc.erl: No need to translate copyright notice
* src/mod_muc/mod_muc.erl: Likewise * src/mod_proxy65/mod_proxy65_service.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Likewise * src/mod_vcard.erl: Likewise * src/mod_vcard_ldap.erl: Likewise * src/mod_vcard_odbc.erl: Likewise * src/msgs/*.msg: Likewise * contrib/extract_translations/prepare-translation.sh: Bugfix SVN Revision: 1071
Diffstat (limited to 'contrib/extract_translations')
-rwxr-xr-xcontrib/extract_translations/prepare-translation.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/extract_translations/prepare-translation.sh b/contrib/extract_translations/prepare-translation.sh
index f5b758f70..43e2a1ebf 100755
--- a/contrib/extract_translations/prepare-translation.sh
+++ b/contrib/extract_translations/prepare-translation.sh
@@ -78,13 +78,13 @@ extract_lang ()
extract_lang_all ()
{
cd $MSGS_DIR
-
for i in *.msg; do
extract_lang $i;
done
echo -e "File\tMissing\tLanguage\t\tLast translator"
echo -e "----\t-------\t--------\t\t---------------"
+ cd $MSGS_DIR
for i in *.msg; do
MISSING=`cat $i.translate | grep "\", \"\"}." | wc -l`
LANGUAGE=`grep "Language:" $i.translate | sed 's/% Language: //g'`
@@ -119,6 +119,8 @@ find_unused_full ()
cp $DATFILE $DATFILEI
cp $DATFILE $DATFILE2
+ cp $DELFILE2 $DELFILE1
+ STRING=`head -1 $DELFILE1`
until [[ $STRING == ENDFILEMARK ]]; do
cp $DELFILE2 $DELFILE1
cp $DATFILE2 $DATFILE1