Summary: | Create syspref to allow sites to rename OPAC Cart | ||
---|---|---|---|
Product: | Koha | Reporter: | Jane Wagner <jwagner> |
Component: | OPAC | Assignee: | Jane Wagner <jwagner> |
Status: | CLOSED WONTFIX | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | gmcharlt, jcamins, librarian, lmschatt, nengard, paul.poulain |
Version: | Main | ||
Hardware: | PC | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11900 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Screenshot of OPAC with rename Cart syspref active
main patch file second part of the patch |
Description
Chris Cormack
2010-05-21 01:14:11 UTC
It would be really nice to be able to change the cart icon as well. If the name is changed to Bookbag, the shopping cart icon doesn't make sense and confuses patrons. As I found when I was changing the name, the path to the cart image is also hardcoded in several places. Some of them don't obey the stylesheet, so changing the image there isn't a solution unless those sections of code are fixed. A project for later.... A working version of this change can be found in the ip-bug-3719-cart-syspref-2010-12-31 branch at http://gitorious.org/koha-dev/koha-dev This branch cherry-picks the functionality added in ptfs/Bug3719 and adds some corrections. This system preference breaks translation of the cart button. It's only possible to set one term in one language. At the moment the cart button name is handled by po files and can be properly for every language. I strongly don't like the idea of a syspref for this kind of changes ! It means every library that will want a small change in terminology (like patron vs member vs borrower) will get a syspref. I think this kind of feature should be a local change. And it can be achieved with the translation tool : create a en_library.pl file, "translate" shopping cart to what you want, generate en_library language, and activate it (and unactivate "english") |