Commit 8f6b3d74 authored by George Andrinopoulos's avatar George Andrinopoulos

Add externalized strings

parent 46cacbe5
......@@ -87,7 +87,7 @@ module Milestoneish
end
def total_issue_time_spent
issues.joins(:timelogs).sum(:time_spent)
@total_issue_time_spent ||= issues.joins(:timelogs).sum(:time_spent)
end
def human_total_issue_time_spent
......
......@@ -92,14 +92,14 @@
- if milestone.human_total_issue_time_spent
= milestone.human_total_issue_time_spent
- else
None
= _("None")
.title.hide-collapsed
Total issue time spent
= _("Total issue time spent")
.value.hide-collapsed
- if milestone.human_total_issue_time_spent
%span.bold= milestone.human_total_issue_time_spent
- else
%span.no-value No time spent
%span.no-value= _("No time spent")
.block.merge-requests
.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