Bug 13427

Summary: jQuery Timepicker is not translated on returns page
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: I18N/L10NAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: chris, f.demians, katrin.fischer, liz, mtj, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Timepicker on returns page
Bug 13427: jQuery Timepicker is not translated on returns page
Bug 13427: jQuery Timepicker is not translated on returns page
Bug 13427: jQuery Timepicker is not translated on returns page

Description Josef Moravec 2014-12-10 07:02:26 UTC
Created attachment 34266 [details]
Timepicker on returns page

In circulation module on checkin page (/cgi-bin/koha/circ/returns.pl), the timepicker for setting the return date/time is not fully translatable, as I understand (according to bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11618), there is missing line

[% INCLUDE 'timepicker.inc' %]

in returns.tt template file.
Comment 1 Katrin Fischer 2015-06-08 03:08:24 UTC Comment hidden (obsolete)
Comment 2 Josef Moravec 2015-06-08 05:17:00 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-06-16 16:55:57 UTC
Created attachment 40197 [details] [review]
Bug 13427: jQuery Timepicker is not translated on returns page

The returns page was missing an include with the translated strings.

To test:
- Install an additional language, like de-DE
- Confirm the bug on the returns page
  - Make sure SpecifyReturnDate is activated
  - Open the datepicker, look at the time settings
- Apply the patch
- Reinstall the language, no update of the po files is needed
- Retest
- Verify, that now the time settings are translated

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Works as expected

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Comment 4 Tomás Cohen Arazi 2015-06-19 14:48:17 UTC
Patch pushed to master.

Thanks Katrina!
Comment 5 Chris Cormack 2015-06-29 09:34:10 UTC
Pushed to 3.20.x will be in 3.20.2
Comment 6 Liz Rea 2015-07-20 22:02:05 UTC
Pushed to 3.18.x will be in 3.18.09
Comment 7 Mason James 2015-07-25 10:37:11 UTC
Pushed to 3.16.x, will be in 3.16.13