From bacd8713a90f682586823e0813ec62bb0472f800 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 27 Mar 2014 17:01:39 +0100 Subject: [PATCH] fixing transifex for GIT mode + unmerge for mailman --- .gitignore | 14 ++++++++++++++ tx-to-repos.sh | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/.gitignore b/.gitignore index 3eef1767..83c1a2fc 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,17 @@ lang/it_IT.po lang/pt_BR.po po/fr/LC_MESSAGES/alternc-admintools.mo 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~ diff --git a/tx-to-repos.sh b/tx-to-repos.sh index e447f741..f377c34b 100755 --- a/tx-to-repos.sh +++ b/tx-to-repos.sh @@ -32,14 +32,22 @@ do msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-debconf.po" rm "tmp-debconf.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 msgcat --use-first --less-than=3 --more-than=1 -o tmp.po "lang/${lang}.po" "tmp-debconf.po" rm "tmp-debconf.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 echo "done" done +exit 0 + if [ "$1" != "nocommit" ] then # Now committing