- my @fields = map {$_, $_} qw(
- Status
- Queue
- );
-
- foreach my $type ( qw(Owner Creator LastUpdatedBy Requestor Cc AdminCc Watcher) ) {
- push @fields, $type.' '.$_, $type.'.'.$_ foreach qw(
- Name EmailAddress RealName NickName Organization Lang City Country Timezone
- );
+ my @fields =
+ map { $self->CurrentUser->loc($_), $_ } qw( Status Queue ); # loc_qw
+
+ foreach my $type ( qw(Owner Creator LastUpdatedBy Requestor Cc AdminCc Watcher) ) { # loc_qw
+ for my $field (
+ qw( Name EmailAddress RealName NickName Organization Lang City Country Timezone ) # loc_qw
+ )
+ {
+ push @fields,
+ $self->CurrentUser->loc($type) . ' '
+ . $self->CurrentUser->loc($field), $type . '.' . $field;
+ }