The new OPAC problem reports page in OPAC has some translation issues. The status column and the sent to column contents are not translatable.
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
Hi Maybe it should use a default case for report.recipient too, if db enum is modified?
I think if someone changes the db values, they need to take care of the templates as well - this should work with jQuery too.
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>
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>
Good catch, clear fix. Passing QA
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.04
missing dependencies, not backported to 19.11.x