]> git.koha-community.org Git - koha.git/commit
Bug 12020: Allow translating label-edit-batch hardcoded strings
authorPasi Kallinen <pasi.kallinen@joensuu.fi>
Mon, 12 Mar 2018 11:20:06 +0000 (13:20 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 20:31:15 +0000 (17:31 -0300)
commit46c4aa3551f810e8d1853f5013a282ce4ee95541
treea85c03e068d548fbf660331bbdf307ec08aa6492
parentf47a999c9f36ed644b811e0f01b7cdcd11d068f9
Bug 12020: Allow translating label-edit-batch hardcoded strings

Move the hardcoded error strings in the batch label edit into the template,
so they can be translated.

Test plan:
1) Apply patch
2) Go to Home -> Tools -> Label edit
3) Create a new batch with some items in it
4) Try to trigger any of the errors, check that the error
   messages look correct
5) Update a language xx-YY
5) Check that the error messages show up in xx-YY-staff-prog.po

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Changed branch to library in one of the error messages.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt
labels/label-edit-batch.pl