[Bug 40761] New: TrustedSelfCheckout: All errors are untranslated
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Bug ID: 40761 Summary: TrustedSelfCheckout: All errors are untranslated Change sponsored?: --- Product: Koha Version: 24.11 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: f.demians@tamil.fr, jonathan.druart@gmail.com All feedback from the TrustedSelfCheckout is untranslatable, becuase of single underscores vs. double underscores in a .js file: https://git.koha-community.org/Koha-community/Koha/src/commit/26203a66098fdd... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|TrustedSelfCheckout: All |OpacTrustedCheckout: All |errors are untranslated |errors are untranslated --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- System preference is name: OpacTrustedCheckout -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |jonathan.druart@gmail.com |ity.org | Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 --- Comment #2 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 211627 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211627&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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|24.11 |unspecified Blocks| |44115 --- Comment #3 from Jonathan Druart <jonathan.druart@gmail.com> --- There are more on bug 44115. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44115 [Bug 44115] Incorrect uses of _() and __() -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #211627|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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 <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thanks Joubu!! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40761 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |paul.derscheid@lmscloud.de |y.org | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org