[Bug 30315] New: Calendar widget no longer translates
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30315 Bug ID: 30315 Summary: Calendar widget no longer translates Change sponsored?: --- Product: Koha Version: 20.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: frederic@tamil.fr The 'old' calendar widget does no longer translate in 20.11. We have just updated to the latest version 20.11.16. To test: * Run 20.11.x * Install translatons, de-DE should be complete * Activate language for staff interface in system preferences * Go to patrons and open any patron account * Look at the date widgets for date of birth, expiration date * Verify day names and buttons remained English, while rest of page has been translated. -- 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=30315 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Strings are from de-DE-messages-js.po, but I could verify that the translation of the .js messages works fine in other places. Example: https://translate.koha-community.org/de/20.11/translate/de-DE-messages-js.po#unit=15031161&offset=0 * Add something to your cart in staff * Add something to your cart in staff _again_ * Verify pop-up message is translated -- 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=30315 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- In 20.11.18 I still have the problem, in our package based installations, but also on my kohadevbox. Any clues much appreciated. Tested with de-DE and the date of birth in put on the patron form. -- 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=30315 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Calendar widget no longer |Calendar widget in staff |translates |interface no longer | |translates -- 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=30315 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |26261 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Trying to narrow this down a bit. Git bisect turned up this as the breaking commit: commit 701fde53ed703c751e37fd184de342838e8a9f2f Author: Owen Leonard <oleonard@myacpl.org> Date: Thu Aug 20 20:10:40 2020 +0000 Bug 26261: Split calendar.inc into include file and JavaScript file Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26261 [Bug 26261] Split calendar.inc into include file and JavaScript file -- 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=30315 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|26261 | --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Confirmed it's broken in 20.05.05 which the patch was first included to. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26261 [Bug 26261] Split calendar.inc into include file and JavaScript file -- 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=30315 --- Comment #5 from Owen Leonard <oleonard@myacpl.org> --- I think the root of the problem is that locale data isn't being loaded by the template because the "lang" variable is getting overwritten at some point. I think this is related to: Bug 24661 - Inclusion of locale-related javascript files is broken and Bug 29684 - Warning File not found: js/locale_data.js Without the correct "lang" template variable the link to the correct locale_date file is bad: /intranet-tmpl/prog/fr-FR/js/locale_data_20.1118000.js -- 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=30315 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29684 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29684 [Bug 29684] Warning File not found: js/locale_data.js -- 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=30315 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Calendar widget in staff |Calendar widget on patron |interface no longer |form in staff interface no |translates |longer translates --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Further narrowed it down: the calendar is only broken on the patron member form, which we hadn't noticed before. This makes bug 29684 a good candidate, but it's not a one line fix. Maybe this is WONTFIX? -- 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=30315 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 20.11 is too old now and I confirmed the problem doesn't exist with flatpickr in newer versions. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org