Updating language files from Transifex
This commit is contained in:
parent
8f722bb00c
commit
4dace1781c
|
@ -525,6 +525,7 @@ src/slave_dns -text
|
|||
src/spoolsize.php -text
|
||||
src/sqlbackup.sh -text
|
||||
src/update_domains.sh -text
|
||||
/svnup.sh -text
|
||||
tests/make_mail_dataset.sh -text
|
||||
tests/mechdump.pm -text
|
||||
tests/test_demo.pl -text
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
pushd ../..
|
||||
|
||||
for i in alternc alternc-bounces alternc-jabber alternc-munin alternc-procmail alternc-stats alternc-apps alternc-changepass alternc-mailman alternc-philesight alternc-secondarymx alternc-sympa alternc-awstats alternc-doc alternc-mergelog alternc-phpcron alternc-slavedns alternc-webalizer
|
||||
do
|
||||
if [ -d "$i" ]; then
|
||||
pushd $i
|
||||
svn up
|
||||
popd
|
||||
fi
|
||||
done
|
||||
|
||||
popd
|
|
@ -17,7 +17,7 @@ do
|
|||
cp "lang/${lang}.po" "bureau/locales/$lang/LC_MESSAGES/alternc"
|
||||
sublang="`echo $lang | cut -c 1-2`"
|
||||
# merge the po for debconf into the relevant file for the modules :
|
||||
if [ "$lang" != "en" ]
|
||||
if [ "$lang" != "en_US" ]
|
||||
then
|
||||
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "debian/po/${sublang}.po"
|
||||
mv -f tmp.po "debian/po/${sublang}.po"
|
||||
|
|
Loading…
Reference in New Issue