From d49024504a3674a6941d06a3f1d9b53ef3ee7dd0 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Mon, 31 Oct 2022 11:48:37 -0400 Subject: [PATCH] Bug 24606: (QA follow-up) Update js message translation style --- koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js index 3e6f5e53bd..0bb7251d16 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js +++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js @@ -134,7 +134,7 @@ $(document).ready(function(){ function CheckTemplateForm(f) { if ( $('#replace_template_id').val() == "0" && $('#template_name').val() == "" ) { - alert(MSG_TEMPLATE_NAME_REQUIRED); + alert(__("Template name is required.")); return false; } else { return true; -- 2.30.2