Bug 25626

Summary: Translation issues with OPAC problem reports (status and 'sent to')
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: I18N/L10NAssignee: Jonathan Druart <jonathan.druart>
Status: Pushed to stable --- QA Contact: Martin Renvoize <martin.renvoize>
Severity: minor    
Priority: P5 - low CC: aleisha, didier.gautheron, frederic, jonathan.druart, lucas, martin.renvoize
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Text to go in the release notes:
Version(s) released in:
20.11.00
Bug Depends on: 4461    
Bug Blocks:    
Attachments: Bug 25626: Fix untranslatable strings on the 'OPAC problem reports' admin
Bug 25626: Fix untranslatable strings on the 'OPAC problem reports' admin
Bug 25626: Fix untranslatable strings on the 'OPAC problem reports' admin

Description Katrin Fischer 2020-05-31 12:17:32 UTC
The new OPAC problem reports page in OPAC has some translation issues. The status column and the sent to column contents are not translatable.
Comment 1 Jonathan Druart 2020-06-01 08:27:44 UTC
Created attachment 105456 [details] [review]
Bug 25626: Fix untranslatable strings on the 'OPAC problem reports' admin

The 'Sent to' and 'Status' column values were not translatable.

Test plan:
Translate the interface
Report some problems at the OPAC
Go to the admin page and notice that all the columns are now translated
Comment 2 Didier Gautheron 2020-07-31 12:00:26 UTC
Hi

Maybe it should use a default case for report.recipient too, if db enum is modified?
Comment 3 Katrin Fischer 2020-08-16 07:55:58 UTC
I think if someone changes the db values, they need to take care of the templates as well - this should work with jQuery too.
Comment 4 Katrin Fischer 2020-08-16 08:21:02 UTC
Created attachment 108343 [details] [review]
Bug 25626: Fix untranslatable strings on the 'OPAC problem reports' admin

The 'Sent to' and 'Status' column values were not translatable.

Test plan:
Translate the interface
Report some problems at the OPAC
Go to the admin page and notice that all the columns are now translated

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Martin Renvoize 2020-08-19 13:09:47 UTC
Created attachment 108625 [details] [review]
Bug 25626: Fix untranslatable strings on the 'OPAC problem reports' admin

The 'Sent to' and 'Status' column values were not translatable.

Test plan:
Translate the interface
Report some problems at the OPAC
Go to the admin page and notice that all the columns are now translated

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 6 Martin Renvoize 2020-08-19 13:10:06 UTC
Good catch, clear fix.  Passing QA
Comment 7 Jonathan Druart 2020-08-20 10:34:37 UTC
Pushed to master for 20.11, thanks to everybody involved!
Comment 8 Lucas Gass 2020-09-04 17:13:36 UTC
backported to 20.05.x for 20.05.04
Comment 9 Aleisha Amohia 2020-09-10 03:54:35 UTC
missing dependencies, not backported to 19.11.x