From b4c826dbf3a1e21dde9718ad65be25909e1c14d5 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Wed, 22 Sep 2021 17:58:31 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2 | 4 ++-- .../src/templates/staff/share/print_templates/t_bills_current.tt2 | 4 ++-- .../src/templates/staff/share/print_templates/t_bills_historical.tt2 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 b6baeff18a..a960b3ac50 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 @@ -47,7 +47,7 @@ to this template includes:
-
[% l('Bill #') %]{{xact.id}}
+
[% l('Bill') %] #{{xact.id}}
-- 2.11.0