Comment 9 for bug 1773191

Revision history for this message
Eva Cerninakova (ece) wrote :

I am not sure what is the state of the issue. However, in 3.3.2 in the patron billing interface grids and in the print templates the values of billing and payment types and the transaction types are still untranslated, see the attachment.

Nevertheless, for the print templates, we use quite easy solution. In the customized print templates, we have changed the value of English strings to Czech strings using ng-switch, e.g.:
      <div ng-switch="payment_type">
        <div ng-switch-when="cash_payment">[% l('Cash') %]</div>
        <div ng-switch-when="check_payment">[% l('Check') %]</div>
        <div ng-switch-when="credit_card_payment">[% l('Credit Card') %]</div>
        <div ng-switch-when="credit_payment">[% l('Patron Credit') %]</div>
        <div ng-switch-when="work_payment">[% l('Work') %]</div>
        <div ng-switch-when="forgive_payment">[% l('Forgive') %]</div>
        <div ng-switch-when="goods_payment">[% l('Goods') %]</div>
      </div>