From d944728a917b5645ef3248e9689638f565388025 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Sat, 22 Mar 2014 13:53:44 -0300 Subject: [PATCH] Bug 11639: fix 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 Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Template change, works as described. Signed-off-by: Galen Charlton --- .../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 b5d22fa413..e79ca0b062 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") + + ' \ \ \ '; -- 2.39.5