adding po file with ALL translations (used at package build time for AlternC) + transifex-to-repository script fix
This commit is contained in:
parent
baf4c8331d
commit
159f06a82c
.gitattributestx-to-repos.sh
bureau/locales
de_DE/LC_MESSAGES
en_US/LC_MESSAGES
es_ES/LC_MESSAGES
fr_FR/LC_MESSAGES
pt_BR/LC_MESSAGES
|
@ -353,16 +353,21 @@ bureau/class/variables.php -text
|
|||
bureau/index.php -text
|
||||
bureau/locales/Makefile -text
|
||||
bureau/locales/README -text
|
||||
bureau/locales/de_DE/LC_MESSAGES/alternc -text
|
||||
bureau/locales/de_DE/LC_MESSAGES/manual.po -text
|
||||
bureau/locales/de_DE/LC_MESSAGES/messages.po -text
|
||||
bureau/locales/en_US/LC_MESSAGES/alternc -text
|
||||
bureau/locales/en_US/LC_MESSAGES/manual.po -text
|
||||
bureau/locales/en_US/LC_MESSAGES/messages.po -text
|
||||
bureau/locales/es_ES/LC_MESSAGES/alternc -text
|
||||
bureau/locales/es_ES/LC_MESSAGES/manual.po -text
|
||||
bureau/locales/es_ES/LC_MESSAGES/messages.po -text
|
||||
bureau/locales/fr_FR/LC_MESSAGES/alternc -text
|
||||
bureau/locales/fr_FR/LC_MESSAGES/manual.po -text
|
||||
bureau/locales/fr_FR/LC_MESSAGES/messages.po -text
|
||||
bureau/locales/manual.pot -text
|
||||
bureau/locales/messages.pot -text
|
||||
bureau/locales/pt_BR/LC_MESSAGES/alternc -text
|
||||
bureau/locales/pt_BR/LC_MESSAGES/manual.po -text
|
||||
bureau/locales/pt_BR/LC_MESSAGES/messages.po -text
|
||||
debian/.svnignore -text
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -17,12 +17,15 @@ 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 :
|
||||
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"
|
||||
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "../../alternc-awstats/trunk/debian/po/${sublang}.po"
|
||||
mv -f tmp.po "../../alternc-awstats/debian/po/${sublang}.po"
|
||||
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "../../alternc-mailman/trunk/debian/po/${sublang}.po"
|
||||
mv -f tmp.po "../../alternc-mailman/debian/po/${sublang}.po"
|
||||
if [ "$lang" != "en" ]
|
||||
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"
|
||||
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "../../alternc-awstats/trunk/debian/po/${sublang}.po"
|
||||
mv -f tmp.po "../../alternc-awstats/trunk/debian/po/${sublang}.po"
|
||||
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "../../alternc-mailman/trunk/debian/po/${sublang}.po"
|
||||
mv -f tmp.po "../../alternc-mailman/trunk/debian/po/${sublang}.po"
|
||||
fi
|
||||
echo "done"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue