Bug 20616: (QA follow-up) Make alert translatable
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 23 Apr 2018 04:15:56 +0000 (04:15 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Apr 2018 14:30:29 +0000 (11:30 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt

index 64c856e..8ba7264 100644 (file)
             $("form[name='edition']").on('submit', function(e){
                 if ( $(this).find("input[name='serialid']:checked").size() == 0 ) {
                     e.preventDefault();
-                    alert("You must select at least one serial to edit");
+                    alert(_("You must select at least one serial to edit"));
                     return 0;
                 }
                 return 1;