https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43933

--- Comment #3 from Jonathan Druart <[email protected]> ---
Created attachment 209295
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209295&action=edit
Bug 43933: Improve translatability in lists table

Fix invalid JSON in lists table for translated templates

The dt_sortby value in shelves_results.tt is badly built.
Translations could break the JSON and so break DT.

This patch moves labels into individual t() calls.

Test plan:
1. Install the Hindi (hi) language (koha-translate --install hi --dev kohadev).
2. Enable Hindi in StaffInterfaceLanguages.
3. Create a new list with the Staff UI in any language.
4. Switch to Hindi.
5. Go to the Lists page (virtualshelves/shelves.pl).
=> Without this patch you get an error
=> With this patch applied the table loads correctly

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to