LP1853006 - Allow new strings to be translated
authorMichele Morgan <mmorgan@noblenet.org>
Wed, 17 Mar 2021 16:05:31 +0000 (16:05 +0000)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 Mar 2021 15:43:01 +0000 (11:43 -0400)
Allow newly added strings 'Show All Copies' and 'Show Only Available Copies' to be
translated.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index c70e356..f1e1b99 100644 (file)
@@ -75,13 +75,13 @@ IF has_copies or ctx.foreign_copies;
 <div>
 [% IF available == 'true'; %]
     <a href="[% mkurl('', {available => 'false' }) %]">
-        Show All Copies
+        [% l('Show All Copies') %]
     </a>
 [% END; %]
 
 [% IF available == 'false'; %]
     <a href="[% mkurl('', {available => 'true' }) %]">
-        Show Only Available Copies
+        [% l('Show Only Available Copies') %]
     </a>
 [% END; %]