Commit 57a27023 authored by George Andrinopoulos's avatar George Andrinopoulos Committed by Winnie Hellmann

Add externalized strings

parent cdf9f1d1
...@@ -87,7 +87,7 @@ module Milestoneish ...@@ -87,7 +87,7 @@ module Milestoneish
end end
def total_issue_time_spent def total_issue_time_spent
issues.joins(:timelogs).sum(:time_spent) @total_issue_time_spent ||= issues.joins(:timelogs).sum(:time_spent)
end end
def human_total_issue_time_spent def human_total_issue_time_spent
......
...@@ -92,14 +92,14 @@ ...@@ -92,14 +92,14 @@
- if milestone.human_total_issue_time_spent - if milestone.human_total_issue_time_spent
= milestone.human_total_issue_time_spent = milestone.human_total_issue_time_spent
- else - else
None = _("None")
.title.hide-collapsed .title.hide-collapsed
Total issue time spent = _("Total issue time spent")
.value.hide-collapsed .value.hide-collapsed
- if milestone.human_total_issue_time_spent - if milestone.human_total_issue_time_spent
%span.bold= milestone.human_total_issue_time_spent %span.bold= milestone.human_total_issue_time_spent
- else - else
%span.no-value No time spent %span.no-value= _("No time spent")
.block.merge-requests .block.merge-requests
.sidebar-collapsed-icon .sidebar-collapsed-icon
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment