Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Translate Spent Time records at activity logs

Alexandera889773aa8b4
diff --git a/lib/open_project/journal_formatter/time_entry_hours.rb b/lib/open_project/journal_formatter/time_entry_hours.rb
index 27f89d5e490..539a92b8208 100644
--- a/lib/open_project/journal_formatter/time_entry_hours.rb
+++ b/lib/open_project/journal_formatter/time_entry_hours.rb
@@ -28,7 +28,7 @@
class OpenProject::JournalFormatter::TimeEntryHours < JournalFormatter::Base
def render(_key, values, options = { html: true })
- label_text = "Spent time"
+ label_text = I18n.t(:label_spent_time)
label_text << ":" if !values.first
label_text = content_tag(:strong, label_text) if options[:html]