From b82e459b27653e38975f8d95bca5156b6a740e60 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 10 Apr 2023 17:00:21 +0000 Subject: [PATCH] Bug 18829: (QA follow-up) I18N, test character and breadcrumbs * Removes a 'heart' character from the file, probably added for testing * Corrects breadbrumbs to make QA test tool happy * Makes JS message translatable (test by manipulating the link to an invalid record number in DOM) Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- .../intranet-tmpl/prog/en/modules/catalogue/showelastic.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 9da3b22987..79b261ed4f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1749,7 +1749,7 @@ Note that permanent location is a code, and location may be an authval. var pageElastic = $(this).attr("href"); $("#elasticPreview .modal-body").load(pageElastic, function( response, status, xhr ) { if( status == 'error' ){ - $("#elasticPreview .modal-body").html('

An error has occurred!

Error 404

  • An internal link in the client is broken and the page does not exist
  • What\'s next?

    '); + $("#elasticPreview .modal-body").html("

    "+_("An error has occurred!")+"

    "+_("Error 404")+"

    "+_("What's next?")+"

    "); } }); $('#elasticPreview').modal({show:true}); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showelastic.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showelastic.tt index 85cde0b247..c90e6d6e3b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showelastic.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showelastic.tt @@ -1,6 +1,6 @@ -❤[% INCLUDE 'doc-head-open.inc' %] +[% INCLUDE 'doc-head-open.inc' %] [% USE raw %] -Koha › Catalog › Elasticsearch record +Elasticsearch record › Catalog › Koha -- 2.30.2