Bug 20139: Improve MARC mapping translatable strings
authorPasi Kallinen <pasi.kallinen@joensuu.fi>
Mon, 5 Feb 2018 12:45:25 +0000 (14:45 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Feb 2018 16:53:15 +0000 (13:53 -0300)
commit18b3771d1e47fb97d1763de276a49f6aa69cd46e
tree9597a41141fa0bb2373ccb05f995e2d21887b4c2
parent348fd052830c8fabed72cd4f679bc506f26b07f0
Bug 20139: Improve MARC mapping translatable strings

- Allow translating one error message
- Use string formatting with placeholders instead of concatenation

Test plan:

1) Go to Home -> Administration -> Koha to MARC Mapping
2) Click on the "Add" button to add a new mapping
3) Note the popup text looks correct
4) Enter something invalid
5) Note the error message
6) Click on any of the "Remove" buttons to remove a mapping
7) Note the popup text looks correct
8) Update, translate the new msgid's, and install a language
9) Repeat 1-7, note how the message are in the correct
   language

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt