From 9b919ed124239805c296377d42e8da9fb45ad68c Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Fri, 4 Feb 2022 23:38:13 +0100 Subject: [PATCH] Bug 29602: (follow-up) Fix TT tags broken due to missing % Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../prog/en/modules/acqui/basket.tt | 6 +-- .../prog/en/modules/admin/matching-rules.tt | 14 +++--- .../prog/en/modules/catalogue/detail.tt | 10 ++-- .../prog/en/modules/circ/returns.tt | 20 ++++---- .../en/modules/labels/label-edit-layout.tt | 16 +++--- .../prog/en/modules/labels/label-manage.tt | 16 +++--- .../prog/en/modules/patroncards/manage.tt | 26 +++++----- .../prog/en/modules/reports/dictionary.tt | 12 ++--- .../prog/en/modules/reports/issues_stats.tt | 32 ++++++------ .../prog/en/modules/tools/csv-profiles.tt | 12 ++--- .../bootstrap/en/includes/accounts.inc | 50 +++++++++---------- .../includes/authorities-search-results.inc | 14 +++--- .../en/includes/opac-authorities.inc | 26 +++++----- 13 files changed, 127 insertions(+), 127 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 1fb4e767ed..1a06400f26 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -338,9 +338,9 @@
  • Create items when: [% SWITCH basket.create_items %] - [% CASE 'receiving' ]Receiving items - [% CASE 'cataloguing' ]Cataloguing items - [% CASE ]Placing orders + [% CASE 'receiving' %]Receiving items + [% CASE 'cataloguing' %]Cataloguing items + [% CASE %]Placing orders [% END %]
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt index 2d342dd0ad..86ff1bfb43 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt @@ -18,13 +18,13 @@ [% BLOCK norms_text %] [% SWITCH norm %] - [% CASE 'none' ]None - [% CASE 'remove_spaces' ]Remove spaces - [% CASE 'upper_case' ]Uppercase - [% CASE 'lower_case' ]Lowercase - [% CASE 'legacy_default' ]Legacy default - [% CASE 'ISBN' ]ISBN - [% CASE ][% norm | html %] + [% CASE 'none' %]None + [% CASE 'remove_spaces' %]Remove spaces + [% CASE 'upper_case' %]Uppercase + [% CASE 'lower_case' %]Lowercase + [% CASE 'legacy_default' %]Legacy default + [% CASE 'ISBN' %]ISBN + [% CASE %][% norm | html %] [% END %] [% END %] 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 0282cc3176..320408596c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -827,11 +827,11 @@ Note that permanent location is a code, and location may be an authval. [% order.datereceived | $KohaDates%] [% SWITCH order.orderstatus %] - [% CASE 'new' ]New - [% CASE 'ordered' ]Ordered - [% CASE 'partial' ]Partial - [% CASE 'complete' ]Complete - [% CASE 'cancelled' ]Cancelled + [% CASE 'new' %]New + [% CASE 'ordered' %]Ordered + [% CASE 'partial' %]Partial + [% CASE 'complete' %]Complete + [% CASE 'cancelled' %]Cancelled [% END %] [% order.quantity | html %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 9075869be3..c8f1ee9923 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -125,16 +125,16 @@

    Reason for transfer

    [%- SWITCH trigger -%] - [%- CASE 'Manual' -]Manual - [%- CASE 'StockrotationAdvance' -]Stock rotation advance - [%- CASE 'StockrotationRepatriation' -]Stock rotation repatriation - [%- CASE 'ReturnToHome' -]Return to home library - [%- CASE 'ReturnToHolding' -]Return to holding library - [%- CASE 'RotatingCollection' -]Rotating collection - [%- CASE 'Reserve' -]Reserve - [%- CASE 'LostReserve' -]Lost reserve - [%- CASE 'CancelReserve' -]Cancelled reserve - [%- CASE 'TransferCancellation' -]Transfer was cancelled whilst in transit + [%- CASE 'Manual' -%]Manual + [%- CASE 'StockrotationAdvance' -%]Stock rotation advance + [%- CASE 'StockrotationRepatriation' -%]Stock rotation repatriation + [%- CASE 'ReturnToHome' -%]Return to home library + [%- CASE 'ReturnToHolding' -%]Return to holding library + [%- CASE 'RotatingCollection' -%]Rotating collection + [%- CASE 'Reserve' -%]Reserve + [%- CASE 'LostReserve' -%]Lost reserve + [%- CASE 'CancelReserve' -%]Cancelled reserve + [%- CASE 'TransferCancellation' -%]Transfer was cancelled whilst in transit [%- END -%]

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt index 0c32ee24cd..7d9d76a188 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt @@ -2,11 +2,11 @@ [% SET footerjs = 1 %] [%- BLOCK translate_label_types -%] [%- SWITCH type -%] - [%- CASE 'BIB' -] Only the bibliographic data is printed - [%- CASE 'BARBIB'-] Barcode proceeds bibliographic data - [%- CASE 'BIBBAR'-] Bibliographic data proceeds barcode - [%- CASE 'ALT' -] Barcode and bibliographic data are printed on alternating labels - [%- CASE 'BAR' -] Only the barcode is printed + [%- CASE 'BIB' -%] Only the bibliographic data is printed + [%- CASE 'BARBIB'-%] Barcode proceeds bibliographic data + [%- CASE 'BIBBAR'-%] Bibliographic data proceeds barcode + [%- CASE 'ALT' -%] Barcode and bibliographic data are printed on alternating labels + [%- CASE 'BAR' -%] Only the barcode is printed [%- END -%] [%- END -%] [% INCLUDE 'doc-head-open.inc' %] @@ -16,9 +16,9 @@ [% BLOCK translate_justification_types %] [% SWITCH type %] -[% CASE 'L' ]Left -[% CASE 'C' ]Center -[% CASE 'R' ]Right +[% CASE 'L' %]Left +[% CASE 'C' %]Center +[% CASE 'R' %]Right [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt index d283fc6844..a376713171 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt @@ -3,14 +3,14 @@ [% SET footerjs = 1 %] [% BLOCK translate_label_element %] [%- SWITCH element -%] -[%- CASE 'layout' -]layout -[%- CASE 'Layouts' -]Layouts -[%- CASE 'template' -]template -[%- CASE 'Templates' -]Templates -[%- CASE 'profile' -]profile -[%- CASE 'Profiles' -]Profiles -[%- CASE 'batch' -]batch -[%- CASE 'Batches' -]Batches +[%- CASE 'layout' -%]layout +[%- CASE 'Layouts' -%]Layouts +[%- CASE 'template' -%]template +[%- CASE 'Templates' -%]Templates +[%- CASE 'profile' -%]profile +[%- CASE 'Profiles' -%]Profiles +[%- CASE 'batch' -%]batch +[%- CASE 'Batches' -%]Batches [%- END -%] [% END %] [% INCLUDE 'doc-head-open.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt index b7ce452569..d91be67fbb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt @@ -2,23 +2,23 @@ [% SET footerjs = 1 %] [% BLOCK translate_card_element %] [%- SWITCH element -%] -[%- CASE 'layout' -]layout -[%- CASE 'Layouts' -]Layouts -[%- CASE 'template' -]template -[%- CASE 'Templates' -]Templates -[%- CASE 'profile' -]profile -[%- CASE 'Profiles' -]Profiles -[%- CASE 'batch' -]batch -[%- CASE 'Batches' -]Batches -[%- CASE 'Actions' -]Actions +[%- CASE 'layout' -%]layout +[%- CASE 'Layouts' -%]Layouts +[%- CASE 'template' -%]template +[%- CASE 'Templates' -%]Templates +[%- CASE 'profile' -%]profile +[%- CASE 'Profiles' -%]Profiles +[%- CASE 'batch' -%]batch +[%- CASE 'Batches' -%]Batches +[%- CASE 'Actions' -%]Actions [%- END -%] [% END %] [% BLOCK translate_card_elements %] [%- SWITCH element -%] -[%- CASE 'layout' -]layouts -[%- CASE 'template' -]templates -[%- CASE 'profile' -]profiles -[%- CASE 'batch' -]batches +[%- CASE 'layout' -%]layouts +[%- CASE 'template' -%]templates +[%- CASE 'profile' -%]profiles +[%- CASE 'batch' -%]batches [%- END -%] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 65881d1a00..a0d15d20fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -11,12 +11,12 @@ [%- BLOCK area_name -%] [%- SWITCH area -%] - [%- CASE 'CIRC' -]Circulation - [%- CASE 'CAT' -]Catalog - [%- CASE 'PAT' -]Patrons - [%- CASE 'ACQ' -]Acquisitions - [%- CASE 'ACC' -]Accounts - [%- CASE 'SER' -]Serials + [%- CASE 'CIRC' -%]Circulation + [%- CASE 'CAT' -%]Catalog + [%- CASE 'PAT' -%]Patrons + [%- CASE 'ACQ' -%]Acquisitions + [%- CASE 'ACC' -%]Accounts + [%- CASE 'SER' -%]Serials [%- END -%] [%- END -%] 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 6b7436ae4b..ebd797e20b 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 @@ -59,22 +59,22 @@
  • [% END %] [% SWITCH loopfilte.crit %] - [% CASE 0 ]Period from [% loopfilte.filter | html %] - [% CASE 1 ]Period to [% loopfilte.filter | html %] - [% CASE 2 ]Patron category = [% loopfilte.filter | html %] - [% CASE 3 ]Item type = [% loopfilte.filter | html %] - [% CASE 4 ]Issuing library = [% loopfilte.filter | html %] - [% CASE 5 ]Collection = [% loopfilte.filter | html %] - [% CASE 6 ]Location = [% loopfilte.filter | html %] - [% CASE 7 ]Item call number >= [% loopfilte.filter | html %] - [% CASE 8 ]Item call number < [% loopfilte.filter | html %] - [% CASE 9 ]Patron sort1 = [% loopfilte.filter | html %] - [% CASE 10 ]Patron sort2 = [% loopfilte.filter | html %] - [% CASE 11 ]Home library = [% loopfilte.filter | html %] - [% CASE 12 ]Holding library = [% loopfilte.filter | html %] - [% CASE 13 ]Patron library = [% loopfilte.filter | html %] - [% CASE 14 ]Issuing library = [% loopfilte.filter | html %] - [% CASE ][% loopfilte.crit | html %] = [% loopfilte.filter | html %] + [% CASE 0 %]Period from [% loopfilte.filter | html %] + [% CASE 1 %]Period to [% loopfilte.filter | html %] + [% CASE 2 %]Patron category = [% loopfilte.filter | html %] + [% CASE 3 %]Item type = [% loopfilte.filter | html %] + [% CASE 4 %]Issuing library = [% loopfilte.filter | html %] + [% CASE 5 %]Collection = [% loopfilte.filter | html %] + [% CASE 6 %]Location = [% loopfilte.filter | html %] + [% CASE 7 %]Item call number >= [% loopfilte.filter | html %] + [% CASE 8 %]Item call number < [% loopfilte.filter | html %] + [% CASE 9 %]Patron sort1 = [% loopfilte.filter | html %] + [% CASE 10 %]Patron sort2 = [% loopfilte.filter | html %] + [% CASE 11 %]Home library = [% loopfilte.filter | html %] + [% CASE 12 %]Holding library = [% loopfilte.filter | html %] + [% CASE 13 %]Patron library = [% loopfilte.filter | html %] + [% CASE 14 %]Issuing library = [% loopfilte.filter | html %] + [% CASE %][% loopfilte.crit | html %] = [% loopfilte.filter | html %] [% END %]
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt index d56cd01b7b..e0bbf67677 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt @@ -126,12 +126,12 @@ [% END %] [% BLOCK used_for_description %] - [% IF used_for_code == 'export_records' ] Export records - [% ELSIF used_for_code == 'late_issues' ] Late serial issues claims - [% ELSIF used_for_code == 'late_orders' ] Export late orders - [% ELSIF used_for_code == 'export_basket' ] Basket export in acquisition - [% ELSIF used_for_code == 'export_lost_items' ] Export lost items in report - [% ELSE ] Unknown usage + [% IF used_for_code == 'export_records' %] Export records + [% ELSIF used_for_code == 'late_issues' %] Late serial issues claims + [% ELSIF used_for_code == 'late_orders' %] Export late orders + [% ELSIF used_for_code == 'export_basket' %] Basket export in acquisition + [% ELSIF used_for_code == 'export_lost_items' %] Export lost items in report + [% ELSE %] Unknown usage [% END %] [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc index 01e3df116e..c0886be3de 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc @@ -11,36 +11,36 @@ [%- BLOCK debit_type_description -%] [%- SWITCH debit_type_code -%] - [%- CASE 'ACCOUNT' -]Account creation fee - [%- CASE 'ACCOUNT_RENEW' -]Account renewal fee - [%- CASE 'ARTICLE_REQUEST' -]Article request fee - [%- CASE 'LOST' -]Lost item - [%- CASE 'MANUAL' -]Manual fee - [%- CASE 'NEW_CARD' -]New card - [%- CASE 'OVERDUE' -]Fine - [%- CASE 'PROCESSING' -]Lost item processing fee - [%- CASE 'RENT' -]Rental fee - [%- CASE 'RENT_DAILY' -]Daily rental fee - [%- CASE 'RENT_RENEW' -]Renewal of rental item - [%- CASE 'RENT_DAILY_RENEW' -]Renewal of daily rental item - [%- CASE 'RESERVE' -]Hold fee - [%- CASE 'RESERVE_EXPIRED' -]Hold waiting too long - [%- CASE 'Payout' -]Payout - [%- CASE -][% debit_type.description | html %] + [%- CASE 'ACCOUNT' -%]Account creation fee + [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee + [%- CASE 'ARTICLE_REQUEST' -%]Article request fee + [%- CASE 'LOST' -%]Lost item + [%- CASE 'MANUAL' -%]Manual fee + [%- CASE 'NEW_CARD' -%]New card + [%- CASE 'OVERDUE' -%]Fine + [%- CASE 'PROCESSING' -%]Lost item processing fee + [%- CASE 'RENT' -%]Rental fee + [%- CASE 'RENT_DAILY' -%]Daily rental fee + [%- CASE 'RENT_RENEW' -%]Renewal of rental item + [%- CASE 'RENT_DAILY_RENEW' -%]Renewal of daily rental item + [%- CASE 'RESERVE' -%]Hold fee + [%- CASE 'RESERVE_EXPIRED' -%]Hold waiting too long + [%- CASE 'Payout' -%]Payout + [%- CASE -%][% debit_type.description | html %] [%- END -%] [%- END -%] [%- BLOCK credit_type_description -%] [%- SWITCH credit_type_code -%] - [%- CASE 'PAYMENT' -]Payment - [%- CASE 'WRITEOFF' -]Writeoff - [%- CASE 'FORGIVEN' -]Forgiven - [%- CASE 'CREDIT' -]Credit - [%- CASE 'LOST_FOUND' -]Lost item fee refund - [%- CASE 'OVERPAYMENT' -]Overpayment refund - [%- CASE 'REFUND' -]Refund - [%- CASE 'CANCELLATION' -]Cancelled charge - [%- CASE -][% credit_type.description | html %] + [%- CASE 'PAYMENT' -%]Payment + [%- CASE 'WRITEOFF' -%]Writeoff + [%- CASE 'FORGIVEN' -%]Forgiven + [%- CASE 'CREDIT' -%]Credit + [%- CASE 'LOST_FOUND' -%]Lost item fee refund + [%- CASE 'OVERPAYMENT' -%]Overpayment refund + [%- CASE 'REFUND' -%]Refund + [%- CASE 'CANCELLATION' -%]Cancelled charge + [%- CASE -%][% credit_type.description | html %] [%- END -%] [%- END -%] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc index 82acd785e4..faf507fe44 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc @@ -33,13 +33,13 @@ [% UNLESS ( type=='seefrom' || type=='seealso' ) %] [% SWITCH type %] - [% CASE 'earlier' ](Earlier heading) - [% CASE 'later' ](Later heading) - [% CASE 'acronym' ](Acronym) - [% CASE 'musical' ](Musical composition) - [% CASE 'broader' ](Broader heading) - [% CASE 'narrower' ](Narrower heading) - [% CASE 'parent' ](Immediate parent body) + [% CASE 'earlier' %](Earlier heading) + [% CASE 'later' %](Later heading) + [% CASE 'acronym' %](Acronym) + [% CASE 'musical' %](Musical composition) + [% CASE 'broader' %](Broader heading) + [% CASE 'narrower' %](Narrower heading) + [% CASE 'parent' %](Immediate parent body) [% CASE %] [% IF type %]([% type | html %])[% END %] [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc index b2f08a952e..2bbad1a9e3 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc @@ -24,13 +24,13 @@ [% BLOCK authtypelabel %] [% UNLESS ( type=='seefrom' || type=='seealso' || type=='' ) %] [% FILTER trim %][% SWITCH type %] - [% CASE 'earlier' ]Earlier heading - [% CASE 'later' ]Later heading - [% CASE 'acronym' ]Acronym - [% CASE 'musical' ]Musical composition - [% CASE 'broader' ]Broader heading - [% CASE 'narrower' ]Narrower heading - [% CASE ][% type | html %] + [% CASE 'earlier' %]Earlier heading + [% CASE 'later' %]Later heading + [% CASE 'acronym' %]Acronym + [% CASE 'musical' %]Musical composition + [% CASE 'broader' %]Broader heading + [% CASE 'narrower' %]Narrower heading + [% CASE %][% type | html %] [% END %][% END %] [% END %] [% END %] @@ -60,11 +60,11 @@ [% BLOCK language %] [% SWITCH lang %] - [% CASE ['en', 'eng'] ]English - [% CASE ['fr', 'fre'] ]French - [% CASE ['it', 'ita'] ]Italian - [% CASE ['de', 'ger', 'deu'] ]German - [% CASE ['es', 'spa'] ]Spanish - [% CASE ][% lang | html %] + [% CASE ['en', 'eng'] %]English + [% CASE ['fr', 'fre'] %]French + [% CASE ['it', 'ita'] %]Italian + [% CASE ['de', 'ger', 'deu'] %]German + [% CASE ['es', 'spa'] %]Spanish + [% CASE %][% lang | html %] [% END %] [% END %] -- 2.39.5