From 6152c4bb1b8f16173cc76b4c6a2a0a7694d13803 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Sat, 22 Mar 2014 13:53:44 -0300 Subject: [PATCH] Bug 11639 - Untranslatable strings in 007 builder This patch modifies marc21_field_007.tt to make some missing strings translatable To test: 1) Using your preferred language, xx-YY, updatepo files cd misc/translator perl translate update xx-YY 2) Check that missing strings are NOT present egrep -i "exact bit depth|pad with zero|use up to 6" po/xx-YY-i-staff-t-prog-v-3006000.po 3) Apply the patch 4) repeat 1) 5) Repeat 2), check that missing strings are present --- .../cataloguing/value_builder/marc21_field_007.tt | 22 ++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt index b5d22fa..e79ca0b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt @@ -1100,8 +1100,12 @@ function RedrawChoices(typ){ \
(if exact bit depth known, enter;
otherwise use pulldown)
\ - - \ + '
' + + _("(if exact bit depth known, enter;
otherwise use pulldown)") + + '
\ + - \ - 001-999 \ + '
' + + _("(three digits, pad with zero as needed,
or ||| for no attempt to code)") + + '
\ + - 001-999 \ \ \ \ @@ -6425,8 +6431,12 @@ function RedrawChoices(typ){ \
(YYYYMM; use up to 6 - for unknown
or | for no attempt to code)
\ - - Date \ + '
' + + _("(YYYYMM; use up to 6 - for unknown
or | for no attempt to code)") + + '
\ + - ' + + _("Date") + + ' \ \ \ '; -- 1.7.9.5