[Bug 38450] New: Missing translation string in catalogue_detail.inc
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Bug ID: 38450 Summary: Missing translation string in catalogue_detail.inc Change sponsored?: --- Product: Koha Version: 24.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: andreas.jonsson@kreablo.se QA Contact: testopia@bugs.koha-community.org CC: f.demians@tamil.fr, jonathan.druart@gmail.com The string "Waiting at %s, %s since %s." in koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc is missing in Weblate. Is there a problem with the string extraction? -- 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=38450 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- We found out today that the strings hadn't been synced properly for a little while. Please check again tomorrow! -- 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=38450 --- Comment #2 from Jonathan Druart <jonathan.druart@gmail.com> --- Indeed, please check again tomorrow. -- 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=38450 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |jonathan.druart@gmail.com |ity.org | Version|24.05 |unspecified Severity|enhancement |normal Status|NEW |ASSIGNED --- Comment #3 from Jonathan Druart <jonathan.druart@gmail.com> --- This is valid. -- 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=38450 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #4 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 174672 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174672&action=edit Bug 38450: Fix some translation pickups _("This %s is picked").format(foo) _("This %s is NOT picked".format(bar)) Both constructs are valid, but our translation script does not pick the second one. I found very few occurrences (using `git grep '.".format('`) that are displayed on the UI. I don't have the time right now to deep dive into the translation script to fix this problem, easier to adjust the occurrences. How to prevent that in the future however? We could raise a warning from the QA script. Test plan: Do not apply this patch Generate the strings (`gulp po:update --lang LANG`) cd misc/translator/po && git commit -a -m"wip" Apply this patch, regenerate the strings cd misc/translator/po && git diff Notice the changes, you should see new translations added to the .po files. Ideally translate them, install the templates and confirm that the new strings are translated on the UI. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #5 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Jonathan Druart from comment #4)
How to prevent that in the future however? We could raise a warning from the QA script.
Opened https://gitlab.com/koha-community/qa-test-tools/-/issues/89 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |RM_priority -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- 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=38450 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #174672|0 |1 is obsolete| | --- Comment #6 from David Nind <david@davidnind.com> --- Created attachment 175013 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175013&action=edit Bug 38450: Fix some translation pickups _("This %s is picked").format(foo) _("This %s is NOT picked".format(bar)) Both constructs are valid, but our translation script does not pick the second one. I found very few occurrences (using `git grep '.".format('`) that are displayed on the UI. I don't have the time right now to deep dive into the translation script to fix this problem, easier to adjust the occurrences. How to prevent that in the future however? We could raise a warning from the QA script. Test plan: Do not apply this patch Generate the strings (`gulp po:update --lang LANG`) cd misc/translator/po && git commit -a -m"wip" Apply this patch, regenerate the strings cd misc/translator/po && git diff Notice the changes, you should see new translations added to the .po files. Ideally translate them, install the templates and confirm that the new strings are translated on the UI. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This fixes some missing release notes| |strings in the po files | |used for translation. | |Strings in this format were | |being included: _("This %s | |is picked").format(foo) | |However, strings using this | |format were not: _("This %s | |is NOT picked".format(bar)) CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175013|0 |1 is obsolete| | --- Comment #7 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 175256 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175256&action=edit Bug 38450: Fix some translation pickups _("This %s is picked").format(foo) _("This %s is NOT picked".format(bar)) Both constructs are valid, but our translation script does not pick the second one. I found very few occurrences (using `git grep '.".format('`) that are displayed on the UI. I don't have the time right now to deep dive into the translation script to fix this problem, easier to adjust the occurrences. How to prevent that in the future however? We could raise a warning from the QA script. Test plan: Do not apply this patch Generate the strings (`gulp po:update --lang LANG`) cd misc/translator/po && git commit -a -m"wip" Apply this patch, regenerate the strings cd misc/translator/po && git diff Notice the changes, you should see new translations added to the .po files. Ideally translate them, install the templates and confirm that the new strings are translated on the UI. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |m.de.rooy@rijksmuseum.nl |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |25.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 25.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|25.05.00 |25.05.00,24.11.02 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #9 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Nice work everyone! Pushed to 24.11.x for 24.11.01 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This fixes some missing |This fixes some missing release notes|strings in the po files |strings in the po files |used for translation. |used for translation. |Strings in this format were |Strings in this format were |being included: _("This %s |being included for |is picked").format(foo) |translation: _("This %s is |However, strings using this |picked").format(foo) |format were not: _("This %s |However, strings using this |is NOT picked".format(bar)) |format were not: _("This %s | |is NOT picked".format(bar)) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexbuckley@catalyst.net.nz --- Comment #10 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Hi Jonathan, We are testing this patchset for backport to 24.05.x I would like to check I am testing it correctly please: === BEFORE APPLYING PATCH ON 24.05.X kohadev-koha@kohadevbox:koha((4470b0f18cc...))$ gulp po:update --lang en-NZ [20:46:41] Using gulpfile /kohadevbox/koha/gulpfile.js [20:46:41] Starting 'po:update'... [20:46:41] Starting 'po_update_marc_marc21'... [20:46:41] Starting 'po_update_marc_unimarc'... [20:46:41] Starting 'po_update_staff'... [20:46:41] Starting 'po_update_opac'... [20:46:41] Starting 'po_update_pref'... [20:46:41] Starting 'po_update_messages'... [20:46:41] Starting 'po_update_messages_js'... [20:46:41] Starting 'po_update_installer'... [20:46:41] Starting 'po_update_installer_marc21'... [20:46:41] Starting 'po_update_installer_unimarc'... [20:46:41] Finished 'po_update_pref' after 452 ms [20:46:42] Finished 'po_update_installer_unimarc' after 511 ms [20:46:42] Finished 'po_update_installer' after 513 ms [20:46:42] Finished 'po_update_installer_marc21' after 573 ms [20:46:42] Finished 'po_update_messages_js' after 719 ms [20:46:42] Finished 'po_update_marc_unimarc' after 1.03 s [20:46:42] Finished 'po_update_opac' after 1.04 s [20:46:42] Finished 'po_update_marc_marc21' after 1.42 s [20:46:43] Finished 'po_update_messages' after 2.07 s [20:46:45] Finished 'po_update_staff' after 3.51 s [20:46:45] Finished 'po:update' after 3.51 s kohadev-koha@kohadevbox:koha((4470b0f18cc...))$ cd misc/translator/po && git commit -a -m"wip" Success, pre-commit checks passed HEAD detached at upstream/24.05.x Untracked files: (use "git add <file>..." to include in what will be committed) ../Koha-installer-MARC21.pot ../Koha-installer-UNIMARC.pot ../Koha-installer.pot ../Koha-marc-MARC21.pot ../Koha-marc-UNIMARC.pot ../Koha-messages-js.pot ../Koha-messages.pot ../Koha-opac-bootstrap.pot ../Koha-pref.pot ../Koha-staff-prog.pot nothing added to commit but untracked files present (use "git add" to track) kohadev-koha@kohadevbox:po((4470b0f18cc...))$ --- AFTER APPLYING PATCH ON 24.05.x kohadev-koha@kohadevbox:koha((4470b0f18cc...))$ git cherry-pick 07bb1730fc78e8148caff0ebcf0cba22ba0a4f9f Auto-merging koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc Auto-merging koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc Auto-merging koha-tmpl/intranet-tmpl/prog/js/checkouts.js Auto-merging koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js [detached HEAD 46aa2dd71e7] Bug 38450: Fix some translation pickups Author: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Date: Mon Nov 18 10:57:22 2024 +0100 4 files changed, 6 insertions(+), 6 deletions(-) kohadev-koha@kohadevbox:koha((46aa2dd71e7...))$ kohadev-koha@kohadevbox:koha((46aa2dd71e7...))$ kohadev-koha@kohadevbox:koha((46aa2dd71e7...))$ kohadev-koha@kohadevbox:koha((46aa2dd71e7...))$ gulp po:update --lang en-NZ [20:37:52] Using gulpfile /kohadevbox/koha/gulpfile.js [20:37:52] Starting 'po:update'... [20:37:52] Starting 'po_update_marc_marc21'... [20:37:52] Starting 'po_update_marc_unimarc'... [20:37:52] Starting 'po_update_staff'... [20:37:52] Starting 'po_update_opac'... [20:37:52] Starting 'po_update_pref'... [20:37:52] Starting 'po_update_messages'... [20:37:52] Starting 'po_update_messages_js'... [20:37:52] Starting 'po_update_installer'... [20:37:52] Starting 'po_update_installer_marc21'... [20:37:52] Starting 'po_update_installer_unimarc'... [20:37:52] Finished 'po_update_installer_unimarc' after 508 ms [20:37:52] Finished 'po_update_installer' after 509 ms [20:37:52] Finished 'po_update_pref' after 654 ms [20:37:52] Finished 'po_update_messages_js' after 660 ms [20:37:52] Finished 'po_update_installer_marc21' after 690 ms [20:37:53] Finished 'po_update_marc_unimarc' after 999 ms [20:37:53] Finished 'po_update_opac' after 1.02 s [20:37:53] Finished 'po_update_marc_marc21' after 1.41 s [20:37:54] Finished 'po_update_messages' after 1.97 s [20:37:55] Finished 'po_update_staff' after 3.39 s [20:37:55] Finished 'po:update' after 3.39 s kohadev-koha@kohadevbox:koha((46aa2dd71e7...))$ cd misc/translator/po && git diff kohadev-koha@kohadevbox:po((46aa2dd71e7...))$ ==== Notice there are no new translations added to the .po files after regenerating the strings. Am I testing this incorrectly? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #11 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Alex Buckley from comment #10)
Hi Jonathan,
We are testing this patchset for backport to 24.05.x
I would like to check I am testing it correctly please: [skip]
Am I testing this incorrectly?
I think I've followed the exact same steps. However I have a diff +#. For the first occurrence, +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc:78 +#: koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc:75 +#, fuzzy, c-format +msgid "Waiting at %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s " +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc:78 +#, fuzzy +msgid "Waiting at %s, %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s " +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc:1 +#, fuzzy +msgid "A patron from %s" +msgstr "User library" Which are the expected changes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #12 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (In reply to Jonathan Druart from comment #11)
(In reply to Alex Buckley from comment #10)
Hi Jonathan,
We are testing this patchset for backport to 24.05.x
I would like to check I am testing it correctly please: [skip]
Am I testing this incorrectly?
I think I've followed the exact same steps. However I have a diff
+#. For the first occurrence, +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/ catalogue_detail.inc:78 +#: koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc:75 +#, fuzzy, c-format +msgid "Waiting at %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s "
+#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/ catalogue_detail.inc:78 +#, fuzzy +msgid "Waiting at %s, %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s "
+#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc:1 +#, fuzzy +msgid "A patron from %s" +msgstr "User library"
Which are the expected changes.
Thank you for testing Jonathan. We will look into getting this backported next month - to 24.05.09, now we are so close to the March release. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wainuiwitikapark@catalyst.n | |et.nz --- Comment #13 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- (In reply to Alex Buckley from comment #12)
(In reply to Jonathan Druart from comment #11)
(In reply to Alex Buckley from comment #10)
Hi Jonathan,
We are testing this patchset for backport to 24.05.x
I would like to check I am testing it correctly please: [skip]
Am I testing this incorrectly?
I think I've followed the exact same steps. However I have a diff
+#. For the first occurrence, +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/ catalogue_detail.inc:78 +#: koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc:75 +#, fuzzy, c-format +msgid "Waiting at %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s "
+#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/ catalogue_detail.inc:78 +#, fuzzy +msgid "Waiting at %s, %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s "
+#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc:1 +#, fuzzy +msgid "A patron from %s" +msgstr "User library"
Which are the expected changes.
Thank you for testing Jonathan.
We will look into getting this backported next month - to 24.05.09, now we are so close to the March release.
I'm taking over from Alex this month for 24.05 This is what I am getting - Before applying patch: $ gulp po:update --lang en-NZ [08:33:17] Using gulpfile /kohadevbox/koha/gulpfile.js [08:33:17] Starting 'po:update'... [08:33:17] Starting 'po_update_marc_marc21'... [08:33:17] Starting 'po_update_marc_unimarc'... [08:33:17] Starting 'po_update_staff'... [08:33:17] Starting 'po_update_opac'... [08:33:17] Starting 'po_update_pref'... [08:33:17] Starting 'po_update_messages'... [08:33:17] Starting 'po_update_messages_js'... [08:33:17] Starting 'po_update_installer'... [08:33:17] Starting 'po_update_installer_marc21'... [08:33:17] Starting 'po_update_installer_unimarc'... [08:33:20] Finished 'po_update_installer_unimarc' after 3.03 s [08:33:20] Finished 'po_update_installer' after 3.14 s [08:33:20] Finished 'po_update_installer_marc21' after 3.22 s [08:33:20] Finished 'po_update_pref' after 3.5 s [08:33:20] Finished 'po_update_messages_js' after 3.65 s [08:33:21] Finished 'po_update_marc_unimarc' after 4.41 s [08:33:21] Finished 'po_update_opac' after 4.53 s [08:33:22] Finished 'po_update_marc_marc21' after 5.29 s [08:33:23] Finished 'po_update_messages' after 6.45 s [08:33:27] Finished 'po_update_staff' after 11 s [08:33:27] Finished 'po:update' after 11 s $ cd misc/translator/po && git commit -a -m"wip" Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. [main 98e5f94049] wip 14 files changed, 50077 insertions(+), 49564 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/koha-l10n.install delete mode 100755 debian/rules After applying patch: kohadev-koha@kohadevbox:koha((9845b28bc70...))$ gulp po:update --lang en-NZ [08:37:32] Using gulpfile /kohadevbox/koha/gulpfile.js [08:37:32] Starting 'po:update'... [08:37:32] Starting 'po_update_marc_marc21'... [08:37:32] Starting 'po_update_marc_unimarc'... [08:37:32] Starting 'po_update_staff'... [08:37:32] Starting 'po_update_opac'... [08:37:32] Starting 'po_update_pref'... [08:37:32] Starting 'po_update_messages'... [08:37:32] Starting 'po_update_messages_js'... [08:37:32] Starting 'po_update_installer'... [08:37:32] Starting 'po_update_installer_marc21'... [08:37:32] Starting 'po_update_installer_unimarc'... [08:37:35] Finished 'po_update_installer_unimarc' after 2.92 s [08:37:35] Finished 'po_update_installer' after 2.97 s [08:37:35] Finished 'po_update_installer_marc21' after 3.1 s [08:37:35] Finished 'po_update_pref' after 3.13 s [08:37:36] Finished 'po_update_messages_js' after 3.48 s [08:37:36] Finished 'po_update_marc_unimarc' after 4.1 s [08:37:36] Finished 'po_update_opac' after 4.12 s [08:37:37] Finished 'po_update_marc_marc21' after 4.84 s [08:37:38] Finished 'po_update_messages' after 5.89 s [08:37:40] Finished 'po_update_staff' after 7.89 s [08:37:40] Finished 'po:update' after 7.89 s kohadev-koha@kohadevbox:koha((9845b28bc70...))$ cd misc/translator/po && git diff diff --git a/en-NZ-staff-prog.po b/en-NZ-staff-prog.po index afdf78a012..7d04445a4f 100644 --- a/en-NZ-staff-prog.po +++ b/en-NZ-staff-prog.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: Koha 24.12.00.024\n" "Report-Msgid-Bugs-To: koha-translate@lists.koha-community.org\n" -"POT-Creation-Date: 2025-04-15 08:33+0000\n" +"POT-Creation-Date: 2025-04-15 08:37+0000\n" "PO-Revision-Date: 2024-10-08 03:00+0000\n" "Last-Translator: aleisha <aleisha@catalyst.net.nz>\n" "Language-Team: Koha Translation Team\n" @@ -10013,6 +10013,20 @@ msgstr "Unavailable (lost or missing)" msgid "Waiting at %s since %s" msgstr "Billing date: %s From %s To %s %s All since %s %s " +#. For the first occurrence, +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc:78 +#: koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc:75 +#, fuzzy, c-format +msgid "Waiting at %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s " + +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc:78 +#, fuzzy +msgid "Waiting at %s, %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s " + #. For the first occurrence, #. SCRIPT #: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc:78 @@ -10743,13 +10757,6 @@ msgstr "Dewey: %s " msgid "Pending hold" msgstr "Pending reserves" -#. %1$s: Branches.GetName(hold.get_column('branchcode')) | html -#. %2$s: hold.waitingdate | $KohaDates -#: koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc:75 -#, fuzzy, c-format -msgid "Waiting at %s since %s." -msgstr "Billing date: %s From %s To %s %s All since %s %s " - #. %1$s: hold.reservedate | $KohaDates #. %2$s: Branches.GetName(hold.get_column('branchcode')) | html #: koha-tmpl/intranet-tmpl/prog/en/includes/item-status.inc:77 @@ -10767,6 +10774,12 @@ msgstr "Item level hold forced from OPAC %s %s " msgid "Restricted" msgstr "Restricted" +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc:1 +#, fuzzy +msgid "A patron from %s" +msgstr "User library" + #: koha-tmpl/intranet-tmpl/prog/en/includes/keyboard_shortcuts.inc:3 #, c-format msgid "Insert copyright symbol (©)" @@ -71662,10 +71675,6 @@ msgstr "" #~ msgid "A new version of this site is available. Load it?" #~ msgstr "A new version of this site is available. Load it?" -#, fuzzy -#~ msgid "A patron from %s" -#~ msgstr "User library" - #, fuzzy #~ msgid "A patron from another library" #~ msgstr "User library" @@ -76391,10 +76400,6 @@ msgstr "" #~ msgid "View staff catalog biblio enhancement plugins" #~ msgstr "View online payment plugins" -#, fuzzy -#~ msgid "Waiting at %s, %s since %s." -#~ msgstr "Billing date: %s From %s To %s %s All since %s %s " - #, fuzzy #~ msgid "Waiting recall at %s since %s" #~ msgstr "Billing date: %s From %s To %s %s All since %s %s " kohadev-koha@kohadevbox:po(main)$ I think the above is expected behaviour. Can I please have some guidance on next steps i.e. "Notice the changes, you should see new translations added to the .po files. Ideally translate them, install the templates and confirm that the new strings are translated on the UI." <-- I'm not too sure what to do here -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #14 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- For checking the po files a tool like poedit can be helful, as it shows the number of untranslated strings etc. And allows to easily translate. If you want to change the file for testing you'd do this: + +#. SCRIPT +#: koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc:78 +#, fuzzy +msgid "Waiting at %s, %s since %s." +msgstr "Billing date: %s From %s To %s %s All since %s %s " + * Remove fuzzy = fuzzy means it's not getting translated/translation won't be used * Translate the msgstr line. The suggestion made here is obviously a bit wrong. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Keywords|RM_priority | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #15 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Does this actually work? I still don't see "Waiting at %s, %s since %s." from catalogue_detail.inc in Weblate for either main or 25.05 (did not check 25.11 or 24.11, but if it's not in main or 25.05, I doubt it's in the other ones...). We started upgrading our clients to 25.05 and several of them mentioned Waiting at is not translated, even though every instance I could find in the po files are correctly translated. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #16 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Ok, I think I see what happened. The change in catalogue_detail.inc was overwritten by bug 37334. I created bug 41623. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41623 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41623 [Bug 41623] Missing translation string in catalogue_detail.inc (again) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #17 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Can we close this now? 24.05, 23.11 and 23.05 are out of support. I'm RMaint for 22.11 oldoldoldstable. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 --- Comment #18 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Caroline Cyr La Rose from comment #16)
Ok, I think I see what happened. The change in catalogue_detail.inc was overwritten by bug 37334.
I created bug 41623.
Oops, sorry about that! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |Needs documenting --- Comment #19 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Hoping this is okay to close, changed to "Needs documenting" to get it off my list but feel free to change status if work/discussion is still needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38450 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED --- Comment #20 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Thanks Wainui! Sorry for messing up your queue... I think it's okay for this one to be closed as the correction was made again in bug 41623. I'm marking it resolved since there is nothing to change in the manual. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org