fixing transifex for GIT mode + unmerge for mailman

This commit is contained in:
Benjamin Sonntag 2014-03-27 17:01:39 +01:00
parent 9489d4f77c
commit bacd8713a9
2 changed files with 22 additions and 0 deletions

14
.gitignore vendored
View File

@ -34,3 +34,17 @@ lang/it_IT.po
lang/pt_BR.po lang/pt_BR.po
po/fr/LC_MESSAGES/alternc-admintools.mo po/fr/LC_MESSAGES/alternc-admintools.mo
nbproject nbproject
awstats/bureau/locales/de_DE/LC_MESSAGES/aws.po~
awstats/bureau/locales/en_US/LC_MESSAGES/aws.po~
awstats/bureau/locales/es_ES/LC_MESSAGES/aws.po~
awstats/bureau/locales/fr_FR/LC_MESSAGES/aws.po~
awstats/bureau/locales/it_IT/LC_MESSAGES/aws.po~
awstats/bureau/locales/nl_NL/LC_MESSAGES/aws.po~
awstats/bureau/locales/pt_BR/LC_MESSAGES/aws.po~
bureau/locales/de_DE/LC_MESSAGES/messages.po~
bureau/locales/en_US/LC_MESSAGES/messages.po~
bureau/locales/es_ES/LC_MESSAGES/messages.po~
bureau/locales/fr_FR/LC_MESSAGES/messages.po~
bureau/locales/it_IT/LC_MESSAGES/messages.po~
bureau/locales/nl_NL/LC_MESSAGES/messages.po~
bureau/locales/pt_BR/LC_MESSAGES/messages.po~

View File

@ -32,14 +32,22 @@ do
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-debconf.po" msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-debconf.po"
rm "tmp-debconf.po" rm "tmp-debconf.po"
mv -f tmp.po "debian/po/${sublang}.po" mv -f tmp.po "debian/po/${sublang}.po"
cat "../alternc-mailman/debian/po/${sublang}.po" | sed -e 's/msgstr ""/msgstr "**DUMMY**"/' >tmp-debconf.po cat "../alternc-mailman/debian/po/${sublang}.po" | sed -e 's/msgstr ""/msgstr "**DUMMY**"/' >tmp-debconf.po
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-debconf.po" msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-debconf.po"
rm "tmp-debconf.po" rm "tmp-debconf.po"
mv -f tmp.po "../alternc-mailman/debian/po/${sublang}.po" mv -f tmp.po "../alternc-mailman/debian/po/${sublang}.po"
cat "../alternc-mailman/bureau/locales/$lang/LC_MESSAGES/mailman.po" | sed -e 's/msgstr ""/msgstr "**DUMMY**"/' >tmp-mailman.po
msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-mailman.po"
rm "tmp-mailman.po"
mv -f tmp.po "../alternc-mailman/bureau/locales/$lang/LC_MESSAGES/mailman.po"
fi fi
echo "done" echo "done"
done done
exit 0
if [ "$1" != "nocommit" ] if [ "$1" != "nocommit" ]
then then
# Now committing # Now committing