From 6a49b301ec594130fac40ed6f76807dbb3e555b5 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 21 Oct 2025 17:35:37 +0000 Subject: [PATCH] Bug 36525: Get all occurrences of Notices and slips --- .../prog/en/includes/tools-menu.inc | 2 +- .../intranet-tmpl/prog/en/modules/about.tt | 4 +- .../modules/admin/preferences/i18n_l10n.pref | 4 +- .../prog/en/modules/tools/letter.tt | 42 +++++++++---------- .../prog/en/modules/tools/tools-home.tt | 4 +- misc/cronjobs/advance_notices.pl | 2 +- misc/cronjobs/holds/holds_reminder.pl | 2 +- misc/cronjobs/membership_expiry.pl | 2 +- 8 files changed, 31 insertions(+), 31 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index d436580537f..e6d5b405675 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -22,7 +22,7 @@
  • Import patrons
  • [% END %] [% IF ( CAN_user_tools_edit_notices ) %] -
  • Notices and slips
  • +
  • Templates
  • [% END %] [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
  • Overdue notice/status triggers
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 7d8e3d4bdad..b7f4ab5059c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -597,8 +597,8 @@ Warning System preference 'NotifyPasswordChange' is enabled, but the PASSWORD_CHANGE notice template is missing. Patrons will not be notified about password changes. Please create the PASSWORD_CHANGE notice template - in Tools > Notices and slips.System preference 'NotifyPasswordChange' is enabled, but the PASSWORD_CHANGE notice template is missing. Patrons will not be notified about password changes. Please create the PASSWORD_CHANGE template in + Tools > Templates. [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref index e95b3454347..5bfb6cdcd16 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref @@ -73,5 +73,5 @@ I18N/L10N: choices: 1: Allow 0: "Don't allow" - - notices to be translated. - - If set, notices will be translatable from the "Notices and slips" interface. The language used to send a notice to a patron will be the one defined for the patron. + - templates to be translated. + - If set, templates will be translatable from the "Templates" interface. The language used to send a notice to a patron will be the one defined for the patron. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 6ec0ce10799..f417ef43012 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -11,15 +11,15 @@ >[% FILTER collapse %] [% IF ( add_form or copy_form ) %] [% IF ( modify ) %] - [% t("Modify notice") | html %] + [% t("Modify template") | html %] › [% ELSE %] - [% t("New notice") | html %] + [% t("New template") | html %] › [% END %] [% END %] [% IF ( add_validate or copy_validate) %] - [% t("Notice added") | html %] + [% t("Template added") | html %] › [% END %] [% IF ( delete_confirm ) %] @@ -30,7 +30,7 @@ [% Branches.GetName( branchcode ) | html %] › [% END %] - [% t("Notices and slips") | html %] + [% t("Templates") | html %] › [% t("Tools") | html %] › [% t("Koha") | html %] [% END %] @@ -83,18 +83,18 @@ [% IF ( add_form OR copy_form OR add_validate OR copy_validate OR delete_confirm OR branchcode ) %] [% WRAPPER breadcrumb_item %] - Notices and slips + Templates [% END %] [% END %] [% IF ( add_form or copy_form) %] [% IF ( modify ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Modify notice + Modify template [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] - New notice + New template [% END %] [% END # /IF modify %] [% ELSIF ( branchcode ) %] @@ -104,7 +104,7 @@ [% ELSE %] [% IF ( add_validate or copy_validate) %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Notice added + Template added [% END %] [% ELSE %] [% IF ( delete_confirm ) %] @@ -113,7 +113,7 @@ [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Notices and slips + Templates [% END %] [% END # /IF ( delete_confirm ) %] [% END # /IF ( add_validate or copy_validate) %] @@ -125,7 +125,7 @@