]> git.koha-community.org Git - koha.git/commit
Bug 10002 - Don't include line breaks in strings that are translated
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Apr 2013 19:44:45 +0000 (15:44 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 18 Apr 2013 13:11:55 +0000 (09:11 -0400)
commit24d9d9c1712526cb0fe0a000fe255bfd8dbf1d22
treee0407f21c44114f8240dc25826c13dd631c27ce2
parent4ff1ee86b12f30f4d8f9fd9f366ad3a5a13a5ab3
Bug 10002 - Don't include line breaks in strings that are translated

Several JS alert messages contain "\n" which is problematic for
translation. This patch removes those instances (a line break is not
strictly necessary anyway). Also corrected: two instances of "holds(s)"

To test, place a hold on a title with items. From the biblio detail page
choose Edit -> Delete all items and Edit -> Delete record. In each case
you should see error messages with no line breaks and no misspellings.

Delete all items attached to the record with holds from the item edit
page. Go back to the detail page and choose Edit -> Delete record. You
should see an error message about existing hold(s) with no line breaks
or misspellings.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Harmless change, fixes misspellings and makes translations easier

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc