Bug 13410 - Untranslatable "Change messaging preferences to default for this category?"
authorMarc Véron <veron@veron.ch>
Tue, 9 Dec 2014 04:21:06 +0000 (05:21 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 17 Dec 2014 22:53:06 +0000 (19:53 -0300)
To test:
In staff client, go to Home > Patrons
Click button "New patron" and choose a category
Change Patron messaging preferences
Now change Category
Make sure that following message box still appears: "Change messaging
preferences to default for this category?"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index f9da10b..53bdc8a 100644 (file)
             $('#categorycode_entry').change(function() {
                 var categorycode = $(this).val();
                 if (message_prefs_dirty) {
-                    if (!confirm('Change messaging preferences to default for this category?')) {
+                    if (!confirm(_('Change messaging preferences to default for this category?'))) {
                         return;
                     }
                 }