From ef709f56ee07f4d14c8d478b19fd99ec92b4df17 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 30 Jan 2014 10:21:19 -0500 Subject: [PATCH] Bug 11588 - Untranslatable subscription frequency units Content-Type: text/plain; charset="utf-8" The subscription add form has a couple of translation issues which are addressed in this patch: First, the frequency option which pulls descriptive strings from the subscription_frequencies table. Second, the subscription length option which is based on hard-coded choices in subscription-add.pl. This patch makes these choices translatable by using a SWITCH in the template based on the predefined strings which can be expected. To test, apply the patch and update the translation of your choice by running 'translate update [language code]'. Confirm that the frequency and length strings are now present in the updated po file. --- .../prog/en/modules/serials/subscription-add.tt | 42 +++++++++++++++++++- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt index f206802..1e2bba2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt @@ -658,7 +658,36 @@ $(document).ready(function() { [% ELSE %] [% END %] @@ -672,7 +701,16 @@ $(document).ready(function() { [% ELSE %] [% END %] -- 1.7.9.5