Bug 15232: Advanced Cataloging Editor: Fix translation issues
authorMarc Véron <veron@veron.ch>
Sat, 21 Nov 2015 00:31:00 +0000 (01:31 +0100)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Tue, 29 Dec 2015 22:56:16 +0000 (22:56 +0000)
commit36c06583298649843309a4fc8696b1c638e16740
treea8f7364c66af7b265917fbf2680d3c6956a50afd
parentea0d5aa6bf7b0ff96fc75f04d6cb83dc37d4136a
 Bug 15232: Advanced Cataloging Editor: Fix translation issues

This patch makes
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc to comply with
Coding guidlines to avoid translation issues: "JS3: Avoid strings which
mix text and markup Text mustn't contain HTML tags."

To test:
- Apply patch
- Verify that code changes are correct (html markup moved out of
  function _(...) )
- Bonus test: Enable syspref 'EnableAdvancedCatalogingEditor' and verify
  that it works as before

With type fix from: Hector Castro <hector.hecaxmmx@gmail.com>

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc