From 5dc3bbbd25feaacc36b05b0a831fdf37c7b43129 Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Wed, 20 Apr 2011 15:32:13 +0200 Subject: [PATCH] formatting remaining hours as localized hours to make them look like the estimated hours --- lib/backlogs_hooks.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/backlogs_hooks.rb b/lib/backlogs_hooks.rb index d38d14eb3d..59e0f49873 100644 --- a/lib/backlogs_hooks.rb +++ b/lib/backlogs_hooks.rb @@ -61,7 +61,12 @@ module BacklogsPlugin end if issue.is_task? || (issue.is_story? && issue.descendants.length == 0) - snippet += "#{l(:field_remaining_hours)}#{issue.remaining_hours}" + snippet += %Q{ + + #{l(:field_remaining_hours)}: + #{l_hours(issue.remaining_hours)} + + } end snippet