From 67e5181ca42f6f2e7d4525d755c9de957ef6d7a2 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 24 Apr 2014 13:20:06 +0300 Subject: [PATCH] Bug 11588: fix untranslatable subscription frequency units To test: 1) cd misc/translator 2) perl translate update xx-YY 3) check that there's no msgid that contains the subscription frequencies (day, week, month and year) in po/xx-YY-i-staff-t-prog-v-3006000.po (search for "BLOCK translate_frequnit") 4) apply patch 5) perl translate update xx-YY 6) check po/xx-YY-i-staff-t-prog-v-3006000.po that it contains the msgid for the frequencies. (search for "BLOCK translate_frequnit") Signed-off-by: Chris Cormack Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton --- .../en/modules/serials/subscription-frequencies.tt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt index a9a07d6936..db8da0e46b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt @@ -70,6 +70,15 @@ $(document).ready(function() { [% INCLUDE 'header.inc' %] [% INCLUDE 'serials-search.inc' %] +[% BLOCK translate_frequnit %] +[% SWITCH frequnit %] +[% CASE 'day' %] day +[% CASE 'week' %] week +[% CASE 'month' %] month +[% CASE 'year' %] year +[% END %] +[% END %] +