[Bug 22904] New: Untranslatable strings in members-menu.js
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Bug ID: 22904 Summary: Untranslatable strings in members-menu.js Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: major Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: black23@gmail.com Depends on: 19641 Target Milestone: --- There are a few strings in members-menu.js which won't get picked up by the translation tool: Line 23+ _("Dates of birth ... Line 108: _("Are you sure you want to update this child to an Adult category? This cannot be undone.") Line 123: _("Are you sure you want to renew this patron's registration?") Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19641 [Bug 19641] Move patron templates JavaScript to the footer -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 89748 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89748&action=edit Bug 22904: Untranslatable strings in members-menu.js This patch moves several English strings out of members-menu.js and into str/members-menu.inc where they can be picked up by the translation process. The following strings are affected: "Are you sure you want to renew this patron's registration?" "Are you sure you want to update this child to an Adult category? This cannot be undone." "Dates of birth should be entered in the format 'MM/DD/YYYY'" "Dates of birth should be entered in the format 'YYYY-MM-DD'" "Dates of birth should be entered in the format 'DD/MM/YYYY'" "Dates of birth should be entered in the format 'DD.MM.YYYY'" This patch also makes a correction to members-toolbar.inc in order to enable the presence of the "Update child to Adult" menu item. To test: - Install and update a language. - Check the po-file for that language. You should find no msgid for the strings listed above. - Apply the patch. - Update the language you installed. - You should find entries for all the strings above. - Translate those messages and update the translated templates. - Reinstall the translation. In the staff client: - Select your updated translation. - Open an expired patron's account and choose "Renew patron" from the "More" button in the toolbar. You should be prompted for confirmation using the translation you provided. - To test the "Update child" confirmation you should have only one patron category in the "Adult" category. - Open a patron record with a child category and choose "Update child" from the "More" menu in the toolbar. You should be prompted for confirmation using the translation you provided. - To test the date format messages: From the patrons home page, expand the advanced search options in the header search form. Select "Date of birth" under "Search fields." A correctly-translated tooltip should appear above the search field. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22490 CC| |josef.moravec@gmail.com Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22490 [Bug 22490] Some strings in javascript files are untranslatable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Michal Denar <black23@gmail.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=22904 Michal Denar <black23@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #89748|0 |1 is obsolete| | --- Comment #2 from Michal Denar <black23@gmail.com> --- Created attachment 90117 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90117&action=edit Bug 22904: Untranslatable strings in members-menu.js This patch moves several English strings out of members-menu.js and into str/members-menu.inc where they can be picked up by the translation process. The following strings are affected: "Are you sure you want to renew this patron's registration?" "Are you sure you want to update this child to an Adult category? This cannot be undone." "Dates of birth should be entered in the format 'MM/DD/YYYY'" "Dates of birth should be entered in the format 'YYYY-MM-DD'" "Dates of birth should be entered in the format 'DD/MM/YYYY'" "Dates of birth should be entered in the format 'DD.MM.YYYY'" This patch also makes a correction to members-toolbar.inc in order to enable the presence of the "Update child to Adult" menu item. To test: - Install and update a language. - Check the po-file for that language. You should find no msgid for the strings listed above. - Apply the patch. - Update the language you installed. - You should find entries for all the strings above. - Translate those messages and update the translated templates. - Reinstall the translation. In the staff client: - Select your updated translation. - Open an expired patron's account and choose "Renew patron" from the "More" button in the toolbar. You should be prompted for confirmation using the translation you provided. - To test the "Update child" confirmation you should have only one patron category in the "Adult" category. - Open a patron record with a child category and choose "Update child" from the "More" menu in the toolbar. You should be prompted for confirmation using the translation you provided. - To test the date format messages: From the patrons home page, expand the advanced search options in the header search form. Select "Date of birth" under "Search fields." A correctly-translated tooltip should appear above the search field. Signed-off-by: Michal Denar <black23@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #90117|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 90120 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90120&action=edit Bug 22904: Untranslatable strings in members-menu.js This patch moves several English strings out of members-menu.js and into str/members-menu.inc where they can be picked up by the translation process. The following strings are affected: "Are you sure you want to renew this patron's registration?" "Are you sure you want to update this child to an Adult category? This cannot be undone." "Dates of birth should be entered in the format 'MM/DD/YYYY'" "Dates of birth should be entered in the format 'YYYY-MM-DD'" "Dates of birth should be entered in the format 'DD/MM/YYYY'" "Dates of birth should be entered in the format 'DD.MM.YYYY'" This patch also makes a correction to members-toolbar.inc in order to enable the presence of the "Update child to Adult" menu item. To test: - Install and update a language. - Check the po-file for that language. You should find no msgid for the strings listed above. - Apply the patch. - Update the language you installed. - You should find entries for all the strings above. - Translate those messages and update the translated templates. - Reinstall the translation. In the staff client: - Select your updated translation. - Open an expired patron's account and choose "Renew patron" from the "More" button in the toolbar. You should be prompted for confirmation using the translation you provided. - To test the "Update child" confirmation you should have only one patron category in the "Adult" category. - Open a patron record with a child category and choose "Update child" from the "More" menu in the toolbar. You should be prompted for confirmation using the translation you provided. - To test the date format messages: From the patrons home page, expand the advanced search options in the header search form. Select "Date of birth" under "Search fields." A correctly-translated tooltip should appear above the search field. Signed-off-by: Michal Denar <black23@gmail.com> 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=22904 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com Status|Passed QA |Pushed to Master --- Comment #4 from Nick Clemens <nick@bywatersolutions.com> --- Awesome work all! Pushed to master for 19.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22904 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |martin.renvoize@ptfs-europe | |.com Version(s)| |19.05.00, 18.11.06 released in| | --- Comment #5 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Pushed to 18.11.x for 18.11.06 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org