Skip to content

Commit d048ba9

Browse files
authored
Merge pull request opf#18250 from top4ek/patch-9
Translate Spent Time records at activity logs
2 parents 1650982 + a889773 commit d048ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/open_project/journal_formatter/time_entry_hours.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
class OpenProject::JournalFormatter::TimeEntryHours < JournalFormatter::Base
3030
def render(_key, values, options = { html: true })
31-
label_text = "Spent time"
31+
label_text = I18n.t(:label_spent_time)
3232
label_text << ":" if !values.first
3333
label_text = content_tag(:strong, label_text) if options[:html]
3434

0 commit comments

Comments
 (0)