[Rt-commit] rt branch, 4.4/improve-create-custom-field-message, repushed
Maureen Mirville
maureen at bestpractical.com
Fri Sep 29 12:02:54 EDT 2017
The branch 4.4/improve-create-custom-field-message was deleted and repushed:
was a982ebd96888d31dbc28a10fe42bb11cb7dc72ee
now 6029bead35d07483635be69cd857ec05029ecdbe
1: a8840bb = 1: a8840bb Apply unset-field when cfs do not have a count
2: 51ebb5f = 2: 51ebb5f Add an option to treat attached email messages as normal file attachments
3: cb464b4 = 3: cb464b4 Restore attached email parsing when $TreatAttachedEmailAsFiles is not set
4: 5e5aa50 = 4: 5e5aa50 Tests for email file attachments
5: 733c523 = 5: 733c523 Initial test warning string updates
6: 6ba420c = 6: 6ba420c Document queue template name override
7: ac62f5d = 7: ac62f5d Forbid merging non-ticket objects
8: 09806ea = 8: 09806ea Verify default queue
9: a982ebd ! 9: 6029bea Improve message for adding/deleting a new custom field value
@@ -18,7 +18,7 @@
next unless $key =~ /^Delete-$paramtag-(\d+)$/;
my ($val, $msg) = $CustomFieldObj->DeleteValue( $1 );
+ my $cf_delete = $ARGS{ $paramtag . "-$1-Name" };
-+ $msg = loc("Custom field value $cf_delete deleted") if $val;
++ $msg = loc("Custom field value [_1] deleted", $cf_delete) if $val;
push (@results, $msg);
}
@@ -27,7 +27,7 @@
$_ => $ARGS{ $paramtag ."-new-$_" } } grep { defined $ARGS{ $paramtag ."-new-$_" } } qw/ Name Description SortOrder Category/
);
+ my $cf_add = $ARGS{ $paramtag.'-new-Name' };
-+ $msg = loc("Custom field value $cf_add added") if $id;
++ $msg = loc("Custom field value [_1] added", $cf_add) if $id;
push (@results, $msg);
$added_cfv = 1 if $id;
More information about the rt-commit
mailing list