From: Terran McCanna Date: Wed, 22 Sep 2021 21:58:31 +0000 (-0400) Subject: LP1772614 Untranslatable Strings in Billing Print Templates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8f55c7bbd0cd617e3112b057f8246ca7fdee2c37;p=working%2FEvergreen.git LP1772614 Untranslatable Strings in Billing Print Templates Added missing string translation capability to print templates for - Bills, Current - Bills, Historical - Bills, Payment Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 index de88c7022d..22a8ff6961 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 @@ -25,8 +25,8 @@ Individual payments within payments contain: * payment.xact.copy_barcode - Item barcode * payment.xact.title - Item title --> -Welcome to {{current_location.name}}!
-A receipt of your transaction:
+[% l('Welcome to [_1]', '{{current_location.name}}') %]
+[% l('A receipt of your transaction:') %]
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 index f3bf386348..8c71b25f25 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2 @@ -42,8 +42,8 @@ to this template includes: xact.call_number.owning_lib.name - The owning library's name xact.call_number.owning_lib.shortname - The owning library's shortname --> -Welcome to {{current_location.name}}!
-You have the following bills: +[% l('Welcome to [_1]', '{{current_location.name}}') %]
+[% l('You have the following bills:') %]
diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 index ab0da69a12..c87b4bfb98 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2 @@ -42,12 +42,12 @@ to this template includes: xact.call_number.owning_lib.shortname - The owning library's shortname --> -Welcome to {{current_location.name}}!
-You had the following bills: +[% l('Welcome to [_1]', '{{current_location.name}}') %]
+[% l('You had the following bills:') %]
-
Bill #{{xact.id}}
+
[% l('Bill') %] #{{xact.id}}