]> git.koha-community.org Git - koha.git/commit
Bug 7596 - System prefs editor JS contains untranslatable English string
authorOwen Leonard <oleonard@myacpl.org>
Tue, 12 Mar 2013 00:53:55 +0000 (20:53 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 17 Mar 2013 05:50:15 +0000 (18:50 +1300)
commit2828c11b9a97f83d5b6fc42a10d789797ea9b6b6
treeeec88ebe76185c994f38101c8de613c558ce784a
parent3a90c302bde904e5d993b76f1b8ce556e3176c1f
Bug 7596 - System prefs editor JS contains untranslatable English string

There is one stray instance of an untranslatable string in
preferences.js. This patch replaces it with a variable which is now
defined in the preferences template.

To test, open the system preferences editor and change any setting. You
should see the usual "Saved preference <preference name>" message.

To test that error strings are now translatable, run "perl translate
update <lang>" from misc/translator, then check if the affected strings shows
up in the po file.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Tested both, all ok.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt