LP1772614 Untranslatable Strings in Billing Print Templates user/mccanna/lp1772614_billing_print_template_translate_rebase
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 22 Sep 2021 21:58:31 +0000 (17:58 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Wed, 16 Mar 2022 15:51:40 +0000 (11:51 -0400)
Added missing string translation capability to print templates for
- Bills, Current
- Bills, Historical
- Bills, Payment

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2
Open-ILS/src/templates/staff/share/print_templates/t_bills_current.tt2
Open-ILS/src/templates/staff/share/print_templates/t_bills_historical.tt2

index de88c70..22a8ff6 100644 (file)
@@ -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}}!<br/>
-A receipt of your  transaction:<hr/>
+[% l('Welcome to [_1]', '{{current_location.name}}') %]<br/>
+[% l('A receipt of your  transaction:') %]<hr/>
 
 <table style="width:100%"> 
   <tr> 
index f3bf386..8c71b25 100644 (file)
@@ -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}}!<br/>
-You have the following bills:
+[% l('Welcome to [_1]', '{{current_location.name}}') %]<br/>
+[% l('You have the following bills:') %]
 <hr/>
 <dl>
   <div ng-repeat="xact in transactions">
index b6baeff..a960b3a 100644 (file)
@@ -47,7 +47,7 @@ to this template includes:
 <hr/>
 <dl>
   <div ng-repeat="xact in transactions">
-    <dt><b>[% l('Bill #') %]{{xact.id}}</b></dt>
+    <dt><b>[% l('Bill') %] #{{xact.id}}</b></dt>
     <dd>
     <table> 
       <tr valign="top">