Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunnavy <sunnavy@bestpractical.com>2022-08-17 22:18:11 +0300
committersunnavy <sunnavy@bestpractical.com>2022-08-17 22:45:15 +0300
commitacb0d17a139a258892a14acf3087de3efa5091a0 (patch)
treebeb9bdf1e43abaca1e471f5433ed75d0fb381dba
parent0424423db5da4919eb7fda29aa6e564b086a7b38 (diff)
Fix lifecycle warning messages: "actions" is the key name, not "action"
-rw-r--r--lib/RT/Lifecycle.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/RT/Lifecycle.pm b/lib/RT/Lifecycle.pm
index bcb31172fc..51ac72fc66 100644
--- a/lib/RT/Lifecycle.pm
+++ b/lib/RT/Lifecycle.pm
@@ -1045,10 +1045,10 @@ sub ValidateLifecycle {
push @warnings, $current_user->loc( "Invalid action status change [_1], in [_2] lifecycle", $transition, $name );
next;
}
- push @warnings, $current_user->loc( "Nonexistant status [_1] in action in [_2] lifecycle", lc $from, $name )
+ push @warnings, $current_user->loc( "Nonexistant status [_1] in actions in [_2] lifecycle", lc $from, $name )
unless $from eq '*'
or $lifecycle->{canonical_case}{ lc $from };
- push @warnings, $current_user->loc( "Nonexistant status [_1] in action in [_2] lifecycle", lc $to, $name )
+ push @warnings, $current_user->loc( "Nonexistant status [_1] in actions in [_2] lifecycle", lc $to, $name )
unless $to eq '*'
or $lifecycle->{canonical_case}{ lc $to };
}