Bugzilla – Attachment 132529 Details for
Bug 24975
Refactor database translations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24975: Use translation_key in preference to description
Bug-24975-Use-translationkey-in-preference-to-desc.patch (text/plain), 25.81 KB, created by
Martin Renvoize (ashimema)
on 2022-03-30 06:43:48 UTC
(
hide
)
Description:
Bug 24975: Use translation_key in preference to description
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-03-30 06:43:48 UTC
Size:
25.81 KB
patch
obsolete
>From 63b62dd2aba3a5a314f5cd22085181a3ea970ed1 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 29 Sep 2020 10:15:11 +0100 >Subject: [PATCH] Bug 24975: Use translation_key in preference to description > >--- > .../intranet-tmpl/prog/en/includes/html_helpers.inc | 2 +- > .../intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 2 +- > .../prog/en/modules/admin/smart-rules.tt | 12 ++++++------ > .../prog/en/modules/catalogue/advsearch.tt | 2 +- > .../prog/en/modules/catalogue/detail.tt | 4 ++-- > .../en/modules/course_reserves/add_items-step2.tt | 4 ++-- > .../en/modules/course_reserves/batch_add_items.tt | 2 +- > .../prog/en/modules/reports/acquisitions_stats.tt | 2 +- > .../prog/en/modules/reports/bor_issues_top.tt | 2 +- > .../prog/en/modules/reports/cat_issues_top.tt | 2 +- > .../prog/en/modules/reports/catalogue_out.tt | 2 +- > .../prog/en/modules/reports/catalogue_stats.tt | 2 +- > .../prog/en/modules/reports/issues_avg_stats.tt | 2 +- > .../prog/en/modules/reports/issues_stats.tt | 2 +- > .../prog/en/modules/reports/itemslost.tt | 2 +- > .../prog/en/modules/reports/reserves_stats.tt | 2 +- > .../en/modules/serials/subscription-batchedit.tt | 2 +- > .../en/modules/serials/subscription-bib-search.tt | 2 +- > .../intranet-tmpl/prog/en/modules/tools/export.tt | 2 +- > .../prog/en/modules/virtualshelves/shelves.tt | 2 +- > .../bootstrap/en/includes/opac-topissues.inc | 2 +- > .../bootstrap/en/modules/opac-readingrecord.tt | 2 +- > .../opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 4 ++-- > .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 4 ++-- > 24 files changed, 33 insertions(+), 33 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >index df3b1f7aed..b5fc272eb5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >@@ -65,7 +65,7 @@ > [% ELSE %] > <option value="[% itemtype.itemtype | html %]"> > [% END %] >- [% ItemTypes.t(itemtype.description) | html %] >+ [% ItemTypes.t(itemtype.translation_key) | html %] > </option> > [% END %] > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >index 34b1a0143a..11e06f5ad9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -441,7 +441,7 @@ Item types › Administration › Koha > <th scope="row">Item type</th> > <td>[% itemtype.itemtype | html %]</td> > </tr> >- <tr><th scope="row">Description</th><td>[% ItemTypes.t(itemtype.description) | html %]</td></tr> >+ <tr><th scope="row">Description</th><td>[% ItemTypes.t(itemtype.translation_key) | html %]</td></tr> > [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %] > <tr> > <th scope="row">Image</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index 81dc9a018f..ded3b239a2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -398,14 +398,14 @@ > [% NEXT IF itemtypeloo.parent_type %] > [% SET children = itemtypeloo.children %] > [% IF children.count %] >- <optgroup label="[% ItemTypes.t(itemtypeloo.description) | html %]"> >- <option value="[% itemtypeloo.itemtype | html %]">[% ItemTypes.t(itemtypeloo.description) | html %] (All)</option> >+ <optgroup label="[% ItemTypes.t(itemtypeloo.translation_key) | html %]"> >+ <option value="[% itemtypeloo.itemtype | html %]">[% ItemTypes.t(itemtypeloo.translation_key) | html %] (All)</option> > [% FOREACH child IN children %] >- <option value="[% child.itemtype | html %]">[% ItemTypes.t(child.description) | html %]</option> >+ <option value="[% child.itemtype | html %]">[% ItemTypes.t(child.translation_key) | html %]</option> > [% END %] > </optgroup> > [% ELSE %] >- <option value="[% itemtypeloo.itemtype | html %]">[% ItemTypes.t(itemtypeloo.description) | html %]</option> >+ <option value="[% itemtypeloo.itemtype | html %]">[% ItemTypes.t(itemtypeloo.translation_key) | html %]</option> > [% END %] > [% END %] > </select> >@@ -1094,7 +1094,7 @@ > [% IF holdallowed || hold_fulfillment_policy || returnbranch %] > <tr> > <td> >- [% ItemTypes.t(i.description) | html %] >+ [% ItemTypes.t(i.translation_key) | html %] > </td> > <td> > [% IF holdallowed == 'from_any_library' %] >@@ -1139,7 +1139,7 @@ > <td> > <select name="itemtype"> > [% FOREACH itemtypeloo IN itemtypeloop %] >- <option value="[% itemtypeloo.itemtype | html %]">[% ItemTypes.t(itemtypeloo.description) | html %]</option> >+ <option value="[% itemtypeloo.itemtype | html %]">[% ItemTypes.t(itemtypeloo.translation_key) | html %]</option> > [% END %] > </select> > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 4d9eb1c611..6a53f9c4d0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -199,7 +199,7 @@ > [% END %] > > [% END %] >- [% ItemTypes.t(itemtypeloo.description) | html %] >+ [% ItemTypes.t(itemtypeloo.translation_key) | html %] > </label> > </td> > [% IF ( loop.last ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index b645229d77..b397221514 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -371,9 +371,9 @@ > [% IF ( item_level_itypes ) %] > <td class="itype"> > [% IF !noItemTypeImages && item.imageurl %] >- <img src="[% item.imageurl | html %]" alt="[% ItemTypes.t(item.description) | html %]" title="[% ItemTypes.t(item.description) | html %]" /> >+ <img src="[% item.imageurl | html %]" alt="[% ItemTypes.t(item.translation_key) | html %]" title="[% ItemTypes.t(item.translation_key) | html %]" /> > [% END %] >- <span class="itypedesc">[% ItemTypes.t(item.description) | html %]</span> >+ <span class="itypedesc">[% ItemTypes.t(item.translation_key) | html %]</span> > </td> > [% END %] > <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >index 47cc059c7d..0f72f2558a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >@@ -80,9 +80,9 @@ > <option value=""></option> > [% FOREACH it IN itypes %] > [% IF it.itemtype == course_item.itype %] >- <option value="[% it.itemtype | html %]" selected="selected">[% ItemTypes.t(it.description) | html %]</option> >+ <option value="[% it.itemtype | html %]" selected="selected">[% ItemTypes.t(it.translation_key) | html %]</option> > [% ELSE %] >- <option value="[% it.itemtype | html %]">[% ItemTypes.t(it.description) | html %]</option> >+ <option value="[% it.itemtype | html %]">[% ItemTypes.t(it.translation_key) | html %]</option> > [% END %] > [% END %] > </select> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >index e191546345..bb35096a3e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >@@ -56,7 +56,7 @@ > <option value=""></option> > > [% FOREACH it IN ItemTypes.Get() %] >- <option value="[% it.itemtype | html %]">[% ItemTypes.t(it.description) | html %]</option> >+ <option value="[% it.itemtype | html %]">[% ItemTypes.t(it.translation_key) | html %]</option> > [% END %] > </select> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >index f1f19ced81..ec24acb987 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >@@ -219,7 +219,7 @@ > <select name="Filter" id="itemtypes"> > <option value="">All item types</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >index fee3a79844..a234cef95f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >@@ -144,7 +144,7 @@ > <li> > <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]" >[% ItemTypes.t(itemtype.description) | html %] </option> >+ <option value="[% itemtype.itemtype | html %]" >[% ItemTypes.t(itemtype.translation_key) | html %] </option> > [% END %] > </select> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >index 4676aeb40d..a1a508e3c6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >@@ -121,7 +121,7 @@ > <li> > <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]" >[% ItemTypes.t(itemtype.description) | html %] </option> >+ <option value="[% itemtype.itemtype | html %]" >[% ItemTypes.t(itemtype.translation_key) | html %] </option> > [% END %] > </select> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt >index 75a83cc0bc..c0e4d27bd5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt >@@ -113,7 +113,7 @@ > <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"> > <option value="">Any item type</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >index cdcb8afea9..e1f466b376 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >@@ -135,7 +135,7 @@ > <td><select name="Filter" id="[% item_itype | html %]"> > <option value=""> </option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >index e91b63111c..1cdbcaa0dd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >@@ -171,7 +171,7 @@ > <select name="Filter" id="itemtypes"> > <option value=""></option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[%- itemtype.itemtype | html -%]">[%- ItemTypes.t(itemtype.description) | html -%]</option> >+ <option value="[%- itemtype.itemtype | html -%]">[%- ItemTypes.t(itemtype.translation_key) | html -%]</option> > [% END %] > </select> > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >index bac52ce40c..eaacb53b14 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >@@ -197,7 +197,7 @@ > <td><select name="Filter" id="itemtype"> > <option value=""> </option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >index a7f69a5dac..a2c8cc56f6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >@@ -155,7 +155,7 @@ > <li><label for="itemtypesfilter">Item type: </label><select name="itemtypesfilter" id="itemtypesfilter"> > <option value="">All</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select></li> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >index 2201938e7e..e47fdee52d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >@@ -199,7 +199,7 @@ > <td><select name="filter_items.itype" id="itype"> > <option value=""> </option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >index 10394c30cc..70ccd25850 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt >@@ -119,7 +119,7 @@ > <select id="itemtype" name="itemtype"> > <option value="">No change</option> > [% FOREACH itemtype IN ItemTypes.Get() %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >index 9288f93cde..53360d29e3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >@@ -26,7 +26,7 @@ > <option value="">All</option> > [%- FOREACH itemtypeloo IN itemtypeloop %] > <option value="[% itemtypeloo.code | html %]"> >- [% ItemTypes.t(itemtypeloo.description) | html %] >+ [% ItemTypes.t(itemtypeloo.translation_key) | html %] > </option> > [%- END %] > </select> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >index 503bdff815..cbfad7f3ce 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >@@ -81,7 +81,7 @@ > <select name="itemtype" id="itemtype"> > <option value="">-- All --</option> > [% FOREACH itemtype IN itemtypes %] >- <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.description) | html %]</option> >+ <option value="[% itemtype.itemtype | html %]">[% ItemTypes.t(itemtype.translation_key) | html %]</option> > [% END %] > </select> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index cfb9a45b34..88dd481cd5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -260,7 +260,7 @@ > </td> > [% END %] > [% UNLESS ( item_level_itypes ) %]<td> >- [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl | html %]" alt="[% ItemTypes.t(itemsloo.description) | html %]" title="[% ItemTypes.t(itemsloo.description) | html %]" />[% END %][% ItemTypes.t(itemsloo.description) | html %] >+ [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl | html %]" alt="[% ItemTypes.t(itemsloo.translation_key) | html %]" title="[% ItemTypes.t(itemsloo.translation_key) | html %]" />[% END %][% ItemTypes.t(itemsloo.translation_key) | html %] > </td>[% END %] > <td> > [% IF ( itemsloo.XSLTBloc ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-topissues.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-topissues.inc >index 26db63fc68..a9678aa316 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-topissues.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-topissues.inc >@@ -38,7 +38,7 @@ > [% ELSE %] > <option value="[% itemtype.itemtype | html %]"> > [% END %] >- [% ItemTypes.t(itemtype.description) | html %] >+ [% ItemTypes.t(itemtype.translation_key) | html %] > </option> > [% END %] > </select> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >index 39b92c5b18..ff6c09fc19 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -161,7 +161,7 @@ > [% END %] > [% END %] > <span class="tdlabel">Item type:</span> >- [% ItemTypes.t(issue.description) | html %]</td> >+ [% ItemTypes.t(issue.translation_key) | html %]</td> > <td> > <span class="tdlabel">Call number:</span> > [% issue.itemcallnumber | html %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 2adb4cce14..06522c4da4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -224,7 +224,7 @@ > <li class="itype"> > <span class="label">Item type: </span> > [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl | html %]" alt="" />[% END %] >- [% ItemTypes.t(bibitemloo.description) | html %] >+ [% ItemTypes.t(bibitemloo.translation_key) | html %] > </li> > [% END %] > >@@ -406,7 +406,7 @@ > <img src="[% itemLoo.imageurl | html %]" alt="" /> > [% END %] > [% END %] >- [% ItemTypes.t(itemLoo.description) | html %] >+ [% ItemTypes.t(itemLoo.translation_key) | html %] > </td> > [% END %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 369efc157e..7053266f8e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -384,9 +384,9 @@ > [% UNLESS ( item_level_itypes ) %] > <td> > [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] >- <img src="[% itemsloo.imageurl | html %]" alt="[% ItemTypes.t(itemsloo.description) | html %]" title="[% ItemTypes.t(itemsloo.description) | html %]" /> >+ <img src="[% itemsloo.imageurl | html %]" alt="[% ItemTypes.t(itemsloo.translation_key) | html %]" title="[% ItemTypes.t(itemsloo.translation_key) | html %]" /> > [% END %] >- [% ItemTypes.t(itemsloo.description) | html %] >+ [% ItemTypes.t(itemsloo.translation_key) | html %] > </td> > [% END %] > <td> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24975
:
101703
|
101786
|
102387
|
102388
|
102513
|
102514
|
102688
|
102701
|
132388
|
132508
|
132509
|
132510
|
132511
|
132512
|
132513
|
132514
|
132515
|
132516
|
132517
|
132518
|
132519
|
132520
|
132521
|
132522
|
132523
|
132524
|
132525
|
132526
|
132527
|
132528
|
132529
|
132530
|
132531
|
132532
|
132533
|
132546
|
132562
|
132563
|
132564
|
132565
|
132566
|
132567
|
132568
|
132569
|
132570
|
132571
|
132572
|
132573
|
132574
|
132575
|
149941
|
149942
|
149943
|
149944
|
149945
|
149946
|
149947
|
149948
|
149949
|
149950
|
149951
|
149952
|
149953
|
149954
|
149956
|
149957
|
150015
|
150033
|
150034