[open-ils-commits] [GIT] Evergreen ILS branch master updated. 943f2e80974f52d435c171dff0ff3e2c8b35796f
Evergreen Git
git at git.evergreen-ils.org
Tue Mar 21 11:40:17 EDT 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 943f2e80974f52d435c171dff0ff3e2c8b35796f (commit)
from 014fc6aa63a1512bd0bf2cf4582ac79fb85e82d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 943f2e80974f52d435c171dff0ff3e2c8b35796f
Author: Kathy Lussier <klussier at masslnc.org>
Date: Mon Mar 20 21:25:25 2017 -0400
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 <klussier at masslnc.org>
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2
index 33af39f..cf98891 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;
%]
-<h3>View other formats and editions</h3>
+<h3>[% l("View other formats and editions") %]</h3>
<span class="metarecord_population_format">
[%- 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'] ) );
%]
<span class="metarecord_population_span_link">
- <a href="[%- l( link ) %]">View all [%- args.mmr_unique_bib.size %] formats and editions
+ <a href="[%- l( link ) %]">[% l("View all formats and editions ") %] ([%- args.mmr_unique_bib.size %])
</a></span><br />
</div>
[%- END;
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/parts/record/summary.tt2 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list