From 09509b53b080cce189337d7e946a8caea99901ec Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 14 Jan 2020 20:52:34 +0000 Subject: [PATCH] Revert "Bug 24358: (bug 21232) Make the alert string translatable" This reverts commit 4a059f220cdddec4f992101d38a8264714b701dd. Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/modules/serials/subscription-add.tt | 1 - koha-tmpl/intranet-tmpl/prog/js/subscription-add.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt index 9327fe2c5b..5c88594b94 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt @@ -535,7 +535,6 @@ fieldset.rows table { clear: none; margin: 0; } [%- END -%] var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor"); var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record"); - var MSG_BIBLIO_NOT_EXIST = _("Bibliographic record does not exist!"); var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date."); var MSG_TEST_PREDICTION = _("Please click on 'Test prediction pattern' before saving subscription."); var MSG_REQUIRED_PUB_DATE = _("You must choose a first publication date"); diff --git a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js index 677ad6ea87..47dea90d42 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js +++ b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js @@ -1,4 +1,4 @@ -/* global _ irregularity more_than_one_serial subscriptionid tags interface theme mana_enabled MSG_FREQUENCY_LENGTH_ERROR MSG_BIBLIO_NOT_EXIST */ +/* global _ irregularity more_than_one_serial subscriptionid tags interface theme mana_enabled MSG_FREQUENCY_LENGTH_ERROR */ var globalnumpatterndata; var globalfreqdata; @@ -61,7 +61,7 @@ function Check_page1() { var bib_exists = $("input[name='title']").val().length; - if (!bib_exists) alert(MSG_BIBLIO_NOT_EXIST); + if (!bib_exists) alert(_("Bibliographic record does not exist!")); return bib_exists; } -- 2.39.5