From 9850d26590a8e5bbc7310c5031cbc1cca7f59a45 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 1d3c155f084..f338b51ea29 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 9c210086402..46ce019e1ce 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