From 7b5ff04dac71d0be808faf9c75edf0195cf7a810 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 16 Jun 2023 11:36:10 +0000 Subject: [PATCH] Bug 34031: Move various translatable strings out of opac-bottom.inc This patch moves some JS variable definitions out of opac-bottom.inc. These variables where defined so that they could be picked up for translation, but they can now be moved to the corresponding diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt index 1d3c155f08..f338b51ea2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt @@ -175,7 +175,7 @@ Immediately delete my checkout history. This action cannot be undone.
- +
@@ -183,7 +183,7 @@ Immediately delete my hold history. This action cannot be undone.
- +
@@ -191,7 +191,7 @@ Immediately delete my checkout history & my hold history. This action cannot be undone.
- +
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index c2d21651a6..2e3719cb68 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -603,7 +603,7 @@ var no_label; var message = ""; if ( selected_titles.size() < 1 ) { - alert(MSG_NO_SUGGESTION_SELECTED); + alert( _("No suggestion was selected") ); return false; } else { if( selected_titles.size() > 1 ){ -- 2.30.2