Bug 33167: Fix TT comment for better translatability

We just figured out that multi-line TT comments show up
weirdly in translations and fixed it on bug 33332. So
this just follows the newly established pattern.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8d94235dc4)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2023-04-22 10:16:59 +00:00 committed by Matt Blenkinsop
parent ff69e5b3aa
commit 78f14f02ed
1 changed files with 4 additions and 5 deletions

View File

@ -404,11 +404,10 @@
<td class="homebranch">
<span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
<span class="shelvingloc">
[%# If permanent location is defined, show description or code and
display current location in parentheses. If not, display current location.
Note that permanent location is a code, and location may be an authval.
%]
[% IF item.permanent_location %]
[%# If permanent location is defined, show description or code and %]
[%# display current location in parentheses. If not, display current location. %]
[%# Note that permanent location is a code, and location may be an authval. %]
[% IF item.permanent_location %]
[% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
[% permloc_authval | html %]
[% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %]