Koha-clms/koha-tmpl
Jonathan Druart 9c98d16664 Bug 14517: List shelves list is broken for translated interfaces
The translation script adds quotes ("") around translated string (Edit
for instance).
Which breaks the json structure.

Example:
"dt_action": "<a style=\"cursor:pointer\"><form action='shelves.pl'
method='get'><input class="editshelf" value="Editar" type="submit"
/></form></a>"

Test plan:
1/ On the staff interface create a private list
2/ Go to More > Lists ('Your lists' tab)
3/ Translate the templates to any language like:
  $ cd misc/translator/
  $ perl translate install es-ES
4/ Enable the translated templates on the sysprefs
5/ Switch to the translated language
6/ Go to the lists page (Mas > Listas in es-ES)
The list should be displayed correctly.

Note: There is a limitation. If a translated string contains a simple
quote ('), it will also break the json.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 75c70d42a5)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2015-08-23 18:07:11 +12:00
..
intranet-tmpl Bug 14517: List shelves list is broken for translated interfaces 2015-08-23 18:07:11 +12:00
opac-tmpl Bug 14404: Rename class no-show to noshow for consistency with nosort 2015-08-05 09:16:04 +12:00
favicon.ico
…
index.html
…
intranet.html
…
opac.html
…