From b251211d833e1eeae9ca4b9a16b788b30476d05d Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Wed, 18 Feb 2015 14:34:42 -0600 Subject: [PATCH] [Signed-off] Bug 13350 - Untranslatable strings in aqbudgetperiods.tt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fix a few untranslatable strings in aqbudgetperiods.tt. Style not pretty but work. The section modified is BREADCRUMBS. This patch adds html tags to be recognized by misc/translator/translate script. Test plan --------------- 1) Use another language (not English) 2) Go to More > Administration > Budgets. Notice that "> Budgets administration" is untranslatable in the Navigation section. 3) Try to create a New budget. Notice the same happens as previous step. 4) Try delete, edit, duplicate, and close a budget. The result is the same. 5) Apply the patch. 6) Run perl translate update xx-XX (in my case es-ES) 7) Edit es-ES-i-staff-t-prog-v-3006000.po 8) Get notice that a new lines has been adhered to po file. 9) Run perl translate install es-ES 10) Go to Global system preferences and search for "language" in I18N/L10N preferences. Enable Español(es-ES). 11) Follow step 2 and 3 and notice that the strings were translated. Sponsored-by: Universidad de El Salvador Signed-off-by: Hector Castro Followed test plan. Works as expected. Signed-off-by: Marc Véron --- .../intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt index 6e78916..a276746 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -225,7 +225,7 @@ Modify budget [% budget_period_description %] [% ELSE %] - Add budget + Add budget [% END %] [% END %] @@ -234,14 +234,14 @@ [% IF ( delete_confirm ) %] Budgets › [% IF ( total ) %] - Cannot delete budget '[% budget_period_description %]' + Cannot delete budget '[% budget_period_description %]' [% ELSE %] - Delete budget '[% budget_period_description %]'? + Delete budget '[% budget_period_description %]'? [% END %] [% END %] [% IF ( duplicate_form ) %] - Budgets › Duplicate budget + BudgetsDuplicate budget [% END %] @@ -253,12 +253,12 @@ [% IF closed %] Budgets › - Budget [% budget_period_description %] closed + Budget [% budget_period_description %] closed [% END %] [% IF ( else ) %] - Budgets administration + Budgets administration [% END %] -- 1.7.10.4