Attempt to merge more things from old translations.

This commit is contained in:
Michal Čihař
2010-03-12 09:20:35 +01:00
parent c3501c2192
commit 5399f1af3a
60 changed files with 9336 additions and 6159 deletions

View File

@@ -105,6 +105,13 @@ for lang in lang/*.inc.php ; do
s/FULL NAME <EMAIL@ADDRESS>/Automatically generated/;
s/Report-Msgid-Bugs-To: .*\\\\n/Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\\\\n/;
" po/$langcode-update.po
msgmerge -U -C po/$langcode-update.po po/$langcode.po po/phpmyadmin.pot
pomerge -t po/$langcode.po -i po/$langcode-update.po -o po/$langcode.po
pot2po -i po/phpmyadmin.pot -t po/$langcode.po -o po/$langcode.po --tm po/$langcode-update.po -s 60
sed -i '/^msgctxt.*/D' po/$langcode-update.po
msgmerge -U -C po/$langcode-update.po po/$langcode.po po/phpmyadmin.pot
pomerge -t po/$langcode.po -i po/$langcode-update.po -o po/$langcode.po
pot2po -i po/phpmyadmin.pot -t po/$langcode.po -o po/$langcode.po --tm po/$langcode-update.po -s 60
msgmerge -U po/$langcode.po po/phpmyadmin.pot
fi
done

View File

@@ -30,5 +30,9 @@ for loc in $LOCS ; do
s/VERSION/'$ver'/;
s/Project-Id-Version: phpMyAdmin .*/Project-Id-Version: phpMyAdmin '$ver'\\n"/;
' po/$loc.po
msgmerge --previous -U po/$loc.po po/phpmyadmin.pot
if [ -f ../localized_docs/po/$loc.po ] ; then
msgmerge --previous -C ../localized_docs/po/$loc.po -U po/$loc.po po/phpmyadmin.pot
else
msgmerge --previous -U po/$loc.po po/phpmyadmin.pot
fi
done