Bug 10363: QA Follow-up - fixing POD and spelling
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 2 Aug 2015 18:34:35 +0000 (20:34 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Oct 2015 15:46:27 +0000 (12:46 -0300)
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 <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/AuthorisedValue.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

index 6b7b3ab..ec7abe5 100644 (file)
@@ -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 );
 
index 3d34cf1..19f36d0 100644 (file)
@@ -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() {
     <div class="dialog [% m.type %]">
         [% 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 %]