From 1828d735dbeb51505f78b25a2fc157862c8b1e98 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 9 Nov 2022 14:36:05 +0100 Subject: [PATCH] Bug 32147: Capitalization: E-Resource management When e- is used as prefix, the second word should not be capitalized. To test: * Best to check the code... but: * All E-Resource should now read E-resource, as on: * Koha start page * Breadcrumbs in the ERM module * Descriptions of AV categories... I chose to update the sysprefs.sql and the DB update as well as this hasn't been released yet. --- installer/data/mysql/db_revs/220600079.pl | 2 +- installer/data/mysql/mandatory/sysprefs.sql | 2 +- .../intranet-tmpl/prog/en/includes/header.inc | 2 +- .../prog/en/includes/prefs-menu.inc | 4 ++-- .../en/modules/admin/authorised_values.tt | 22 +++++++++---------- .../prog/en/modules/admin/columns_settings.tt | 4 ++-- .../en/modules/admin/preferences/erm.pref | 6 ++--- .../intranet-tmpl/prog/en/modules/erm/erm.tt | 2 +- .../prog/en/modules/intranet-main.tt | 2 +- .../prog/js/vue/components/ERM/ERMMain.vue | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/vue/routes.js | 2 +- 11 files changed, 26 insertions(+), 26 deletions(-) diff --git a/installer/data/mysql/db_revs/220600079.pl b/installer/data/mysql/db_revs/220600079.pl index 91fad4c2bf..c7fc5e7ba7 100755 --- a/installer/data/mysql/db_revs/220600079.pl +++ b/installer/data/mysql/db_revs/220600079.pl @@ -9,7 +9,7 @@ return { $dbh->do(q{ INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) - VALUES ('ERMModule', '0', NULL, 'Enable the E-Resource management module', 'YesNo'); + VALUES ('ERMModule', '0', NULL, 'Enable the E-resource management module', 'YesNo'); }); $dbh->do(q{ diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index 73de4021dc..41aa4fa8c8 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -221,7 +221,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('EnableItemGroupHolds','0','','Enable item groups holds feature','YesNo'), ('EnhancedMessagingPreferences','1','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'), ('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'), -('ERMModule', '0', NULL, 'Enable the E-Resource management module', 'YesNo'), +('ERMModule', '0', NULL, 'Enable the E-resource management module', 'YesNo'), ('ERMProviders', 'local', 'local|ebsco', 'Set the providers for the ERM module', 'Choice'), ('ERMProviderEbscoApiKey', '', '', 'API key for EBSCO', 'free'), ('ERMProviderEbscoCustomerID', '', '', 'Customer ID for EBSCO', 'free'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 3c6285643c..3b03287160 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -44,7 +44,7 @@
  • Serials
  • [% END %] [% IF Koha.Preference('ERMModule') && CAN_user_erm %] -
  • E-Resource management
  • +
  • E-resource management
  • [% END %] [% IF ( Koha.Preference('UseCourseReserves') ) %]
  • Course reserves
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc index 42f6da0108..8be1e6243c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc @@ -71,11 +71,11 @@ [% IF ( erm ) %]
  • - E-Resource management + E-resource management [% PROCESS subtabs %] [% ELSE %]
  • - E-Resource management + E-resource management [% END %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index 689730d7d2..7753bb0275 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -502,27 +502,27 @@ [% CASE 'ETAT' %]

    Used in French UNIMARC installations in field 995 $o to identify item status. Similar to NOT_LOAN

    [% CASE 'ERM_AGREEMENT_CLOSURE_REASON' %] -

    Close reasons for agreements (E-Resource management module)

    +

    Close reasons for agreements (E-resource management module)

    [% CASE 'ERM_AGREEMENT_LICENSE_LOCATION' %] -

    Locations of the licenses' agreements (E-Resource management module)

    +

    Locations of the licenses' agreements (E-resource management module)

    [% CASE 'ERM_AGREEMENT_LICENSE_STATUS' %] -

    Statuses of the licenses' agreements(E-Resource management module)

    +

    Statuses of the licenses' agreements(E-resource management module)

    [% CASE 'ERM_AGREEMENT_RENEWAL_PRIORITY' %] -

    Renewal priorities of agreements (E-Resource management module)

    +

    Renewal priorities of agreements (E-resource management module)

    [% CASE 'ERM_AGREEMENT_STATUS' %] -

    Statuses of agreements (E-Resource management module)

    +

    Statuses of agreements (E-resource management module)

    [% CASE 'ERM_USER_ROLES' %] -

    Roles for users (E-Resource management module)

    +

    Roles for users (E-resource management module)

    [% CASE 'ERM_LICENSE_STATUS' %] -

    Statuses of the licenses (E-Resource management module)

    +

    Statuses of the licenses (E-resource management module)

    [% CASE 'ERM_LICENSE_TYPE' %] -

    Types of the licenses (E-Resource management module)

    +

    Types of the licenses (E-resource management module)

    [% CASE 'ERM_PACKAGE_CONTENT_TYPE' %] -

    Content type of the packages (E-Resource management module)

    +

    Content type of the packages (E-resource management module)

    [% CASE 'ERM_PACKAGE_TYPE' %] -

    Types of the packages (E-Resource management module)

    +

    Types of the packages (E-resource management module)

    [% CASE 'ERM_TITLE_PUBLICATION_TYPE' %] -

    Publication types of the titles (E-Resource management module)

    +

    Publication types of the titles (E-resource management module)

    [% CASE 'HINGS_AS' %]

    General holdings: acquisition status designator :: This data element specifies acquisition status for the unit at the time of the holdings report.

    [% CASE 'HINGS_C' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt index f8ba1c3e19..63b0f1299a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt @@ -318,13 +318,13 @@
    -

    E-Resource management tables

    +

    E-resource management tables

    [% PROCESS pagelist module=modules.erm modulename="erm" %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/erm.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/erm.pref index ff0a42e4fe..5962454905 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/erm.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/erm.pref @@ -1,13 +1,13 @@ -E-Resource management: +E-resource management: Interface: - - pref: ERMModule choices: 1: Enable 0: Disable - - the E-Resource management module + - the E-resource management module - - - Providers for the E-Resource management module + - Providers for the E-resource management module - pref: ERMProviders multiple: local: Local diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt index 80ea9ab507..8171ea6a8a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt @@ -8,7 +8,7 @@ [% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] - E-Resource management › Koha + E-resource management › Koha [% INCLUDE 'doc-head-close.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 028ae1f2b8..1b96d1a8a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -114,7 +114,7 @@ [% IF Koha.Preference('ERMModule') && CAN_user_erm %]
  • - E-Resource management + E-resource management
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue index 8298e21a58..8d92048d91 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/ERMMain.vue @@ -14,7 +14,7 @@