summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-06-22 09:53:16 +0000
committerTails developers <amnesia@boum.org>2013-06-23 15:44:05 +0200
commitbce35ac72cc89ecefb112fae6d0f31b2dc69f697 (patch)
tree09c9022b22c917ddb701be10412e67e2ddbcd852
parent0203d6cdd4c09d05b7f26764c03e0d6140b47e7c (diff)
Better name function.
POT files don't contain translations.
-rwxr-xr-xrefresh-translations4
1 files changed, 2 insertions, 2 deletions
diff --git a/refresh-translations b/refresh-translations
index 6fe4f5a..b33d26b 100755
--- a/refresh-translations
+++ b/refresh-translations
@@ -54,7 +54,7 @@ po_file () {
echo "${LOCALE_BASEDIR}/${locale}/LC_MESSAGES/tails.po"
}
-concat_translations () {
+concat_pot_files () {
msgcat --to-code=UTF-8 \
$(for prog in $@ ; do echo -n "$(prog_potfile $prog) " ; done)
}
@@ -79,6 +79,6 @@ for prog in $PERL_PROGS ; do refresh_pot $prog Perl ; done
for prog in $PYTHON_PROGS ; do refresh_pot $prog Python ; done
for prog in $SHELL_PROGS ; do refresh_pot $prog Shell ; done
-concat_translations $PERL_PROGS $PYTHON_PROGS $SHELL_PROGS > $POTFILE
+concat_pot_files $PERL_PROGS $PYTHON_PROGS $SHELL_PROGS > $POTFILE
refresh_po_and_mo $POTFILE $AMNESIA_SUPPORTED_LANGUAGES