From f666453bb654221ea2ad492f29a1ea2b5945a9ca Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Mon, 20 Mar 2017 21:25:25 -0400 Subject: [PATCH] LP#1673891: Fix untranslatable strings in metarecord sibling links We had a couple of untrasnlatable strings in the new sibling link section of the record summary page. This commit makes the strings translatable and also rewords one of the strings, as recommended by Eva Cerninakova, to make it easier to translate in other languages. Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/opac/parts/record/summary.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index 33af39fd85..cf98891fa2 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -229,7 +229,7 @@ PROCESS get_marc_attrs args=mmr_attrs; IF args.mmr_unique_bib.size > 1; %] -

View other formats and editions

+

[% l("View other formats and editions") %]

[%- IF mmr_attrs.format_label; FOR format IN mmr_attrs.all_formats; @@ -267,7 +267,7 @@ IF args.mmr_unique_bib.size > 1; link = mkurl( ctx.opac_root _ '/results', { modifier => 'metabib', metarecord => ctx.mmr_id, 'fi:from_metarecord' => ctx.mmr_id }, stop_parms.merge(expert_search_parms, general_search_parms, browse_search_parms, facet_search_parms, ['qtype','fi:search_format','fi:icon_format','fi:item_lang','fi:from_metarecord'] ) ); %] - View all [%- args.mmr_unique_bib.size %] formats and editions + [% l("View all formats and editions ") %] ([%- args.mmr_unique_bib.size %])
[%- END; -- 2.11.0