summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2013-08-15 13:27:00 +0200
committerMarc Schumann <wurblzap@gmail.com>2013-08-15 13:27:00 +0200
commite8f4b8b058d4dbb0db217291f10186f3e58d8ed7 (patch)
treea41357e038b5904fb19ac0ce5d3f08be6677b5c6 /showdependencygraph.cgi
parentd65d010283193cc5ae8448adcd319c075e1a5459 (diff)
downloadbugzilla-e8f4b8b058d4dbb0db217291f10186f3e58d8ed7.tar.gz
bugzilla-e8f4b8b058d4dbb0db217291f10186f3e58d8ed7.tar.xz
Bug 853638 - Status and resolution values in dependency graphs not localizable.
r=dkl, a=sgreen
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 9c45b2586..6445b6175 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -180,7 +180,7 @@ foreach my $k (@bug_ids) {
# Resolution and summary are shown only if user can see the bug
if (!$user->can_see_bug($k)) {
- $resolution = $summary = '';
+ $summary = '';
}
$vars->{'short_desc'} = $summary if ($k eq $cgi->param('id'));
@@ -213,7 +213,9 @@ foreach my $k (@bug_ids) {
# Push the bug tooltip texts into a global hash so that
# CreateImagemap sub (used with local dot installations) can
# use them later on.
- $bugtitles{$k} = trim("$stat $resolution");
+ my $stat_display = display_value('bug_status', $stat);
+ my $resolution_display = display_value('resolution', $resolution);
+ $bugtitles{$k} = trim("$stat_display $resolution_display");
# Show the bug summary in tooltips only if not shown on
# the graph and it is non-empty (the user can see the bug)