From d95f31dcc6c6500301527ea3e0dc95edfde3d8a2 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 Signed-off-by: Tomas Cohen Arazi --- 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 c43f70b3d3..1fdb6fe7eb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1740,7 +1740,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?

    • Use top menu bar to navigate to another part of Koha.
    • To report a broken link or any other issue, please contact the Koha administrator. Send email
    '); + $("#elasticPreview .modal-body").html("

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

    "+_("Error 404")+"

    • "+_("An internal link in the staff interface is broken and the page does not exist")+"

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

    • "+_("Use top menu bar to navigate to another part of Koha.")+"
    • "+_("To report a broken link or any other issue, please contact the Koha administrator.")+" "+_("Send email")+"
    "); } }); $('#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.39.5