Bug 22009: Fix error messages for filing rules and splitting rules.
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 20 Dec 2018 23:37:02 +0000 (23:37 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Feb 2019 13:15:47 +0000 (13:15 +0000)
Some error messages were doubled up with different error codes.

To test:
I am not sure how to trigger those from the GUI, might
require a code review/code changes.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 558742577d3902cd5e2abf5c3f165c6425e163da)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt

index 7e8572a..cdc1a5b 100644 (file)
@@ -64,7 +64,7 @@
         [% CASE 'success_on_delete_source' %]
             Classification source deleted successfully.
         [% CASE 'error_on_update_sort_rule' %]
-            An error occurred when adding this filing rule. Perhaps the code already exists?
+            An error occurred when updating this filing rule.
         [% CASE 'success_on_update_sort_rule' %]
             Filing rule updated successfully.
         [% CASE 'error_on_insert_sort_rule' %]
@@ -76,7 +76,7 @@
         [% CASE 'success_on_delete_sort_rule' %]
             Filing rule deleted successfully.
         [% CASE 'error_on_update_split_rule' %]
-            An error occurred when adding this splitting rule. Perhaps the code already exists?
+            An error occurred when updating this splitting rule.
         [% CASE 'success_on_update_split_rule' %]
             Splitting rule updated successfully.
         [% CASE 'error_on_insert_split_rule' %]