From 11b9f584e0985c4e751e7b92df2cbaaa6e6c120b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 2 Aug 2015 20:34:35 +0200 Subject: [PATCH] Bug 10363: QA Follow-up - fixing POD and spelling We should stick with either AE (authorized) or BE (authorised) spelling. Corrected error messages to use authorized. Also fixed tiny copy & paste error in POD. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- Koha/AuthorisedValue.pm | 2 +- .../prog/en/modules/admin/authorised_values.tt | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Koha/AuthorisedValue.pm b/Koha/AuthorisedValue.pm index 6b7b3ab5ef..ec7abe55be 100644 --- a/Koha/AuthorisedValue.pm +++ b/Koha/AuthorisedValue.pm @@ -88,7 +88,7 @@ sub add_branch_limitation { return $limitation ? 1 : undef; } -=head3 add_branch_limitation +=head3 del_branch_limitation $av->del_branch_limitation( $branchcode ); 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 3d34cf1d2d..19f36d056d 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 @@ -27,7 +27,7 @@ $('#icons').tabs(); $("a.delete").click(function(){ - return confirm(_("Are you sure you want to delete this authorised value?")); + return confirm(_("Are you sure you want to delete this authorized value?")); }); }); //]]> @@ -173,17 +173,17 @@ $(document).ready(function() {
[% SWITCH m.code %] [% CASE 'error_on_update' %] - An error occurred when updating this authorised values. Perhaps the value already exists. + An error occurred when updating this authorized value. Perhaps the value already exists. [% CASE 'error_on_insert' %] - An error occurred when inserting this authorised values. Perhaps the value or the category already exists. + An error occurred when inserting this authorized value. Perhaps the value or the category already exists. [% CASE 'error_on_delete' %] - An error occurred when deleteing this authorised values. Check the logs. + An error occurred when deleting this authorized value. Check the logs. [% CASE 'success_on_update' %] - Authorised value updated with success. + Authorized value updated successfully. [% CASE 'success_on_insert' %] - Authorised value inserted with success. + Authorized value inserted successfully. [% CASE 'success_on_delete' %] - Authorised value deleted with success. + Authorized value deleted successfully. [% CASE %] [% m.code %] [% END %] -- 2.39.5