Bug 33911: Move variables into strings

This has the advantage that translators can tell the full
context and are also able to move the variable if needed
for better grammar.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-09-21 21:27:57 +00:00 committed by Tomas Cohen Arazi
parent b2f479f51c
commit b47431b395
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
7 changed files with 13 additions and 7 deletions

View file

@ -8,7 +8,8 @@
[% IF ( unknownbiblionumber ) %]
[% t("Unknown record") | html %]
[% ELSE %]
[% t("ISBD details for") | html %] [% INCLUDE 'biblio-title-head.inc' %]
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
[% tx("ISBD details for {title}", { title = title_in_title }) | html %]
[% END %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]

View file

@ -8,7 +8,8 @@
[% IF ( unknownbiblionumber ) %]
[% t("Unknown record") | html %]
[% ELSE %]
[% t("MARC details for") | html %] [% INCLUDE 'biblio-title-head.inc' %]
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
[% tx("MARC details for {title}", { title = title_in_title }) | html %]
[% END %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]

View file

@ -39,7 +39,8 @@
[% IF ( unknownbiblionumber ) %]
[% t("Unknown record") | html %]
[% ELSE %]
[% t("Details for") | html %] [% INCLUDE 'biblio-title-head.inc' %]
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
[% tx("Details for {title}", { title = title_in_title }) | html %]
[% END %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]

View file

@ -8,7 +8,8 @@
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% t("Checkout history for") | html %] [% INCLUDE 'biblio-title-head.inc' %] &rsaquo;
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
[% tx("Checkout history for {title}", { title = title_in_title }) | html %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>

View file

@ -9,7 +9,7 @@
[% IF ( unknownbiblionumber ) %]
[% t("Unknown record") | html %]
[% ELSE %]
[% t("Labeled MARC details for") | html %] [% bibliotitle | html %]
[% tx("Labeled MARC details for {title}", { title = bibliotitle }) | html %]
[% END %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]

View file

@ -8,7 +8,8 @@
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% t("Item details for") | html %] [% INCLUDE 'biblio-title-head.inc' %] &rsaquo;
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
[% tx("Item details for {title}", { title = title_in_title }) | html %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>

View file

@ -6,7 +6,8 @@
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% t("Stock rotation details for") | html %] [% INCLUDE 'biblio-title-head.inc' %] &rsaquo;
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
[% tx("Stock rotation details for {title}", { title = title_in_title }) | html %] &rsaquo;
[% t("Catalog") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>