Bug 10841: Make edit/delete item context links in cataloguing translatable
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 7 Sep 2013 23:03:35 +0000 (01:03 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 16:35:02 +0000 (16:35 +0000)
commit7c82fe1a670892b07f426f356c67bc3cd60a37f3
treea7b4b6396d0b9f3a98be5b797696167689c976da
parent04aa35077730bdd4bc8d3c01c461518ecb0d9e60
Bug 10841: Make edit/delete item context links in cataloguing translatable

HTML created with Javascript is not translatable the way HTML is
normally translated. _() syntax has to be used to have strings
translatable.

To test:
- Edit items for a record with multiple items
- Click somewhere in the items table
- Verify the links for editing and deleting items show up and work correctly
- Apply patch
- Verify the links still show the same behaviour

Bonus:
- Run 'perl translate update <languagecode>' in misc/translator
- Verify that Edit item and Delete item show up in the po file, translate them
- Install updated po files running 'perl translate install <languagecode>'
- Verify links show up translated and work correctly

Patch also fixes capitalization for a couple of error messages - only change
there is: Deleted > deleted.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt