https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761

--- Comment #4 from Katrin Fischer <[email protected]> ---
Created attachment 211641
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211641&action=edit
Bug 40761: Use __() for translatable strings in OPAC checkout modal

The strings in js/modals/checkout.js are using _() instead of __()

Test plan:
1. Enable OpacTrustedCheckout
2. Install a language: cd misc/translator && perl translate install fr-FR
3. Update the PO files: perl translate update fr-FR
4. Notice that the strings from checkout.js (e.g. "Item '%s' not found")
   are not in misc/translator/po/fr-FR-messages-js.po
5. Apply this patch and repeat 3
6. The strings are now listed in the PO file
7. Use the self checkout modal in the OPAC, try an unknown barcode
=> The message is displayed correctly

Signed-off-by: Katrin Fischer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to