Bugzilla – Attachment 146322 Details for
Bug 32222
Capitalization: id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32222: Fix capitalization in various "id is invalid"
Bug-32222-Fix-capitalization-in-various-id-is-inva.patch (text/plain), 7.48 KB, created by
Martin Renvoize (ashimema)
on 2023-02-07 13:12:27 UTC
(
hide
)
Description:
Bug 32222: Fix capitalization in various "id is invalid"
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-02-07 13:12:27 UTC
Size:
7.48 KB
patch
obsolete
>From 91f16d77d112deec52bf96f60b71fccdb6cbd6ba Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 5 Feb 2023 01:51:12 +0100 >Subject: [PATCH] Bug 32222: Fix capitalization in various "id is invalid" > >ID is an abbreviation and should be written with capitals. > >See: https://www.oxfordlearnersdictionaries.com/definition/english/identification > >This fixes all occurences of "id is invalid" to read "ID is invalid" > >To test: >* As some are hard to trigger warnings, the best way here is to review the patch. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > C4/Creators/Batch.pm | 2 +- > C4/Creators/Layout.pm | 2 +- > C4/Creators/Profile.pm | 2 +- > C4/Creators/Template.pm | 2 +- > .../prog/en/modules/admin/identity_provider_domains.tt | 2 +- > .../intranet-tmpl/prog/en/modules/admin/identity_providers.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt | 2 +- > 8 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/C4/Creators/Batch.pm b/C4/Creators/Batch.pm >index e81f6d60207..41a7c0c035a 100644 >--- a/C4/Creators/Batch.pm >+++ b/C4/Creators/Batch.pm >@@ -180,7 +180,7 @@ sub delete { > @query_params = ($opts{'batch_id'}, $opts{'branch_code'}); > } > if ($query_params[0] eq '') { # If there is no template id then we cannot delete it >- warn sprintf('%s : Cannot delete batch as the batch id is invalid or non-existent.', $call_type); >+ warn sprintf('%s : Cannot delete batch as the batch ID is invalid or non-existent.', $call_type); > return -1; > } > my $query = "DELETE FROM creator_batches WHERE batch_id = ? AND branch_code =?"; >diff --git a/C4/Creators/Layout.pm b/C4/Creators/Layout.pm >index a3216360fa5..4ac79081235 100644 >--- a/C4/Creators/Layout.pm >+++ b/C4/Creators/Layout.pm >@@ -126,7 +126,7 @@ sub delete { > push @params, $opts{'layout_id'}, $opts{'creator'}; > } > if (scalar(@params) < 2) { # If there is no layout id or creator type then we cannot delete it >- warn sprintf('%s : Cannot delete layout as the profile id is invalid or non-existent.', $call_type) if !$params[0]; >+ warn sprintf('%s : Cannot delete layout as the profile ID is invalid or non-existent.', $call_type) if !$params[0]; > warn sprintf('%s : Cannot delete layout as the creator type is invalid or non-existent.', $call_type) if !$params[1]; > return -1; > } >diff --git a/C4/Creators/Profile.pm b/C4/Creators/Profile.pm >index b9759bd6a80..d9b84ca77a7 100644 >--- a/C4/Creators/Profile.pm >+++ b/C4/Creators/Profile.pm >@@ -106,7 +106,7 @@ sub delete { > push @params, $opts{'profile_id'}, $opts{'creator'}; > } > if (scalar(@params) < 2) { # If there is no profile id or creator type then we cannot delete it >- warn sprintf('%s : Cannot delete profile as the profile id is invalid or non-existent.', $call_type) if !$params[0]; >+ warn sprintf('%s : Cannot delete profile as the profile ID is invalid or non-existent.', $call_type) if !$params[0]; > warn sprintf('%s : Cannot delete profile as the creator type is invalid or non-existent.', $call_type) if !$params[1]; > return -1; > } >diff --git a/C4/Creators/Template.pm b/C4/Creators/Template.pm >index 1636c16cfb3..26998863617 100644 >--- a/C4/Creators/Template.pm >+++ b/C4/Creators/Template.pm >@@ -146,7 +146,7 @@ sub delete { > push @query_params, $opts{'template_id'}, $opts{'creator'}; > } > if (scalar(@query_params) < 2) { # If there is no template id or creator type then we cannot delete it >- warn sprintf('%s : Cannot delete template as the template id is invalid or non-existent.', $call_type) if !$query_params[0]; >+ warn sprintf('%s : Cannot delete template as the template ID is invalid or non-existent.', $call_type) if !$query_params[0]; > warn sprintf('%s : Cannot delete template as the creator type is invalid or non-existent.', $call_type) if !$query_params[1]; > return -1; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt >index 4ca4767461c..ad1bd8735e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt >@@ -70,7 +70,7 @@ > <div class="dialog [% m.type | html %]" id="identity_provider_domain_action_result_dialog"> > [% SWITCH m.code %] > [% CASE 'error_on_update' %] >- <span>An error occurred trying to open the identity provider domain for editing. The passed id is invalid.</span> >+ <span>An error occurred trying to open the identity provider domain for editing. The passed ID is invalid.</span> > [% CASE 'error_on_insert' %] > <span>An error occurred when adding a new identity provider domain.</span> > [% CASE 'success_on_update' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt >index 7deee34e250..6dcb3b04e94 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt >@@ -66,7 +66,7 @@ > <div class="dialog [% m.type | html %]" id="identity_provider_action_result_dialog"> > [% SWITCH m.code %] > [% CASE 'error_on_update' %] >- <span>An error occurred trying to open the identity provider for editing. The passed id is invalid.</span> >+ <span>An error occurred trying to open the identity provider for editing. The passed ID is invalid.</span> > [% CASE 'error_on_insert' %] > <span>An error occurred when adding a new identity provider.</span> > [% CASE 'success_on_update' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt >index c225fc9a4e9..5c5e6f53e48 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt >@@ -166,7 +166,7 @@ > > <h1>Patron restrictions</h1> > [% IF searchfield %] >- You Searched for [% searchfield | html %]</span> >+ You searched for [% searchfield | html %]</span> > [% END %] > [% IF restrictions %] > <div class="page-section"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt >index c48d1bdc000..701e687ef36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt >@@ -64,7 +64,7 @@ > <div class="dialog [% m.type | html %]" id="smtp_action_result_dialog"> > [% SWITCH m.code %] > [% CASE 'error_on_update' %] >- <span>An error occurred trying to open the server for editing. The passed id is invalid.</span> >+ <span>An error occurred trying to open the server for editing. The passed ID is invalid.</span> > [% CASE 'error_on_insert' %] > <span>An error occurred when adding the server. The library already has an SMTP server set.</span> > [% CASE 'success_on_update' %] >-- >2.39.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32222
:
146181
|
146271
| 146322