Bug 7313: Untranslatable strings in 'Search to hold' feature
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 3 Dec 2011 08:55:44 +0000 (09:55 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 2 Jan 2012 22:46:12 +0000 (23:46 +0100)
commit205f6ee9f5674f2351c252ec03561845ffeae54c
tree6c0c8d376e36c8c8b5c115d52a92de33883cd59d
parentcfe2fa65611d6b2449115e0528983bc25aa45e62
Bug 7313: Untranslatable strings in 'Search to hold' feature

Changed the javascript to include markup for translation _(...) in result
list and detail page tool bars.

Also changed the text shown for each result to match the text in the toolbar
to make things more consistent.

To test:
- Apply patch
- Run "perl translate update <your language code>"
- Open .po file for staff and check for "Place hold on" and "Forget"
- Translate those
- Run "perl translate install <your language code>"
- Activate "Search for hold" feature in patron account
- Do a search and check tool bar on top of result list
- Check link text shown in result list
- Check detail page

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt