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 <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template change, works as described.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
<tr> \
<td><label for="f6">' +
_("06-08 Image bit depth") +
<tr> \
<td><label for="f6">' +
_("06-08 Image bit depth") +
- '</label> <br /><I>(if exact bit depth known, enter; <br />otherwise use pulldown)</i></td> \
- <td><input type="text" size=3 name="f6" id = "f6" value="[% f6 %][% f7 %][% f8 %]" />- <label for="f6pulldown">Exact bit depth 001-999</label> \
+ '</label> <br /><I>' +
+ _("(if exact bit depth known, enter; <br />otherwise use pulldown)") +
+ '</i></td> \
+ <td><input type="text" size=3 name="f6" id = "f6" value="[% f6 %][% f7 %][% f8 %]" />- <label for="f6pulldown">' +
+ _("Exact bit depth 001-999") +
+ '</label> \
<select id="f6pulldown" name="f6pulldown" onchange="editER_fld6(this.options[selectedIndex].value)"> \
<option value="">' +
_(" ") +
<select id="f6pulldown" name="f6pulldown" onchange="editER_fld6(this.options[selectedIndex].value)"> \
<option value="">' +
_(" ") +
<tr> \
<td><label for="f6">' +
_("06-08 Reduction ratio") +
<tr> \
<td><label for="f6">' +
_("06-08 Reduction ratio") +
- '</label> <br /><I>(three digits, pad with zero as needed, <br />or ||| for no attempt to code)</i></td> \
- <td><input type="text" size=3 name="f6" id = "f6" value="[% f6 %][% f7 %][% f8 %]"> - 001-999</input> \
+ '</label> <br /><I>' +
+ _("(three digits, pad with zero as needed, <br />or ||| for no attempt to code)") +
+ '</i></td> \
+ <td><input type="text" size=3 name="f6" id = "f6" value="[% f6 %][% f7 %][% f8 %]"> - 001-999</input> \
<tr> \
<td><label for="f17">' +
_("17-22 Film inspection date") +
<tr> \
<td><label for="f17">' +
_("17-22 Film inspection date") +
- '</label><br /><I>(YYYYMM; use up to 6 - for unknown <br />or | for no attempt to code)</i></td> \
- <td><input type="text" size=6 name="f17" id = "f17" value="[% f17 %][% f18 %][% f19 %][% f20 %][% f21 %][% f22 %]">- Date</input> \
+ '</label><br /><I>' +
+ _("(YYYYMM; use up to 6 - for unknown <br />or | for no attempt to code)") +
+ '</i></td> \
+ <td><input type="text" size=6 name="f17" id = "f17" value="[% f17 %][% f18 %][% f19 %][% f20 %][% f21 %][% f22 %]">- ' +
+ _("Date") +
+ '</input> \
</td> \
</td> \
</table>';
</td> \
</td> \
</table>';