summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-06-22 09:52:35 +0000
committerTails developers <amnesia@boum.org>2013-06-23 15:44:05 +0200
commit0203d6cdd4c09d05b7f26764c03e0d6140b47e7c (patch)
tree338e06932a587a3f6e80694f3c32374ac36f39f2
parentb5c4ddce427d402414541895df5179beac5f8602 (diff)
Drop obsolete function.
-rwxr-xr-xrefresh-translations13
1 files changed, 3 insertions, 10 deletions
diff --git a/refresh-translations b/refresh-translations
index ac10bb2..6fe4f5a 100755
--- a/refresh-translations
+++ b/refresh-translations
@@ -48,17 +48,10 @@ refresh_pot () {
fi
}
-merged_pofile () {
+po_file () {
locale=$1
- prog_pofile tails $locale
-}
-
-prog_pofile () {
- prog=$1
- locale=$2
-
- echo "${LOCALE_BASEDIR}/${locale}/LC_MESSAGES/$(basename ${prog}).po"
+ echo "${LOCALE_BASEDIR}/${locale}/LC_MESSAGES/tails.po"
}
concat_translations () {
@@ -69,7 +62,7 @@ concat_translations () {
refresh_po_and_mo () {
pot=$1 ; shift
for locale in "$@" ; do
- po=$(merged_pofile $locale)
+ po=$(po_file $locale)
mo=$(echo "$po" | sed -e s,\.po$,.mo,)
mkdir -p $(dirname "$po")
[ -e "${po}" ] || cp "${pot}" "${po}"