]> git.koha-community.org Git - koha.git/commit
Bug 9331 - Untranslatable strings in ajax.js
authorOwen Leonard <oleonard@myacpl.org>
Mon, 31 Dec 2012 15:59:59 +0000 (10:59 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 8 Jan 2013 01:34:39 +0000 (20:34 -0500)
commitfd07c72f381da83001396fbe24e400b7170ee9ab
tree19a6b9576d4390e915e76a1bcff6065ab9c7460c
parent588a55a581cdedfb4962a0ef6418c81f6428a6ee
Bug 9331 - Untranslatable strings in ajax.js

This patch moves untranslatable strings from ajax.js into the template
where they can be picked up by the translation script.

To test that preference-related error messages continue to work,
open the system preferences editor in two tabs. Log out in one tab and
try to save a system preference in the other. You should see correct
error messages.

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: Chris Cormack <chris@bigballofwax.co.nz>
Still works, and is now translatable

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/js/ajax.js
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt