[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 2d8036d0055f282bcab1cd6b8ca634d3c46c68fd
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, rel_2_12 has been updated
via 2d8036d0055f282bcab1cd6b8ca634d3c46c68fd (commit)
from e7a4b69d68cedf24fcbf70acfe2d74fc566da6e4 (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 2d8036d0055f282bcab1cd6b8ca634d3c46c68fd
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