X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FUsers%2FMyRT.html;h=1836b43df646a2e211dbf59e6f89180dfc4816ba;hb=fe9ea9183e8a16616d6d04a7b5c7498d28e78248;hp=0fcd63b60e6dda588670c5bf171072facffda882;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/share/html/Admin/Users/MyRT.html b/rt/share/html/Admin/Users/MyRT.html index 0fcd63b60..1836b43df 100644 --- a/rt/share/html/Admin/Users/MyRT.html +++ b/rt/share/html/Admin/Users/MyRT.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -83,7 +83,7 @@ my $portlets = $UserObj->Preferences('HomepageSettings', $default_portlets ? $d my %allowed_components = map {$_ => 1} @{ RT->Config->Get('HomepageComponents') }; my @items; -push @items, map {["component-$_", $_]} sort keys %allowed_components; +push @items, map {["component-$_", loc($_)]} sort keys %allowed_components; my $sys = RT::System->new( RT::CurrentUser->new($UserObj) ); my @objs = ($sys); @@ -92,16 +92,16 @@ push @objs, RT::SavedSearch->new( RT::CurrentUser->new( $UserObj ) )->ObjectsFor for my $object (@objs) { for ($m->comp("/Search/Elements/SearchesForObject", Object => $object)) { - my ($desc, $search) = @$_; + my ($desc, $loc_desc, $search) = @$_; my $SearchType = $search->Content->{'SearchType'} || 'Ticket'; if ($object eq $sys && $SearchType eq 'Ticket') { - push @items, ["system-$desc", $desc]; + push @items, ["system-$desc", $loc_desc]; } else { my $oid = ref($object).'-'.$object->Id.'-SavedSearch-'.$search->Id; my $type = ($SearchType eq 'Ticket') ? 'Saved Search' : $SearchType; # loc - push @items, ["saved-$oid", loc($type).": $desc"]; + push @items, ["saved-$oid", loc($type).": $loc_desc"]; } } }