[Bug 10871] New: Confirmation message for deleting news entries is not translatable
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Bug ID: 10871 Summary: Confirmation message for deleting news entries is not translatable Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: I18N/L10N Assignee: katrin.fischer@bsz-bw.de Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: frederic@tamil.fr When you delete an entry from the news tool, the confirmation message is not translatable. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 20971 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20971&action=edit Bug 10871: Make confirmation message for deleting news translatable To test: - Create a news entry in tools > news - Delete the news entry or multiple entries by selecting them using the checkboxes to the left and the delete button at the bottom of the page. Verify confirmation message shows up correctly with patch applied. Bonus: - Update one of the po files and make sure the new strings shows up there. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- This doesn't work for me, and I think we've seen this before. If you have the _() function inside an onclick attribute it doesn't work. One solution is to define a variable to pass to the function. Example in virtualshelves/shelves.tt (line 618): <input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> The other solution would be to move everything into a <script> block and define the onsubmit behavior there. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Sorry--to be specific: This doesn't work for me because the string is not picked up by the translator. Functionally the JavaScript works, but after running translate update I don't find the string in the po file. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- My fault, sorry Owen! I will try to fix. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20971|0 |1 is obsolete| | --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 20997 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20997&action=edit Bug 10871: Make confirmation message for deleting news translatable To test: - Create a news entry in tools > news - Delete the news entry or multiple entries by selecting them using the checkboxes to the left and the delete button at the bottom of the page. Verify confirmation message shows up correctly with patch applied. Bonus: - Update one of the po files and make sure the new strings shows up there. Thx Owen! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20997|0 |1 is obsolete| | --- Comment #6 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 21126 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21126&action=edit [SIGNED-OFF] Bug 10871: Make confirmation message for deleting news translatable To test: - Create a news entry in tools > news - Delete the news entry or multiple entries by selecting them using the checkboxes to the left and the delete button at the bottom of the page. Verify confirmation message shows up correctly with patch applied. Bonus: - Update one of the po files and make sure the new strings shows up there. Thx Owen! Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #21126|0 |1 is obsolete| | --- Comment #7 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 21228 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21228&action=edit Bug 10871: Make confirmation message for deleting news translatable To test: - Create a news entry in tools > news - Delete the news entry or multiple entries by selecting them using the checkboxes to the left and the delete button at the bottom of the page. Verify confirmation message shows up correctly with patch applied. Bonus: - Update one of the po files and make sure the new strings shows up there. Thx Owen! Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |gmcharlt@gmail.com --- Comment #8 from Galen Charlton <gmcharlt@gmail.com> --- Pushed to master. Thanks, Owen! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 --- Comment #9 from Galen Charlton <gmcharlt@gmail.com> --- Er, rather, thanks Katrin! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |tomascohen@gmail.com --- Comment #10 from Tomás Cohen Arazi <tomascohen@gmail.com> --- This patch has been pushed to 3.12.x, will be in 3.12.7. Thanks Katrina! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org