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

change label of log time button in Sub header [bug #63563]

Klaus Zanders395badd52b34
diff --git a/modules/costs/app/components/my/time_tracking/sub_header_component.html.erb b/modules/costs/app/components/my/time_tracking/sub_header_component.html.erb
index a823a822bb0..e33cb36064c 100644
--- a/modules/costs/app/components/my/time_tracking/sub_header_component.html.erb
+++ b/modules/costs/app/components/my/time_tracking/sub_header_component.html.erb
@@ -25,6 +25,6 @@
href: dialog_time_entries_path(onlyMe: true)
) do |button|
button.with_leading_visual_icon(icon: "plus")
- t(:button_log_time)
+ t(:button_add_time_entry)
end
end %>
diff --git a/modules/costs/config/locales/en.yml b/modules/costs/config/locales/en.yml
index c185ca65c4c..4fbf2557b88 100644
--- a/modules/costs/config/locales/en.yml
+++ b/modules/costs/config/locales/en.yml
@@ -103,6 +103,7 @@ en:
button_log_costs: "Log unit costs"
button_log_time: "Log"
button_add_activity: "Activity"
+ button_add_time_entry: "Log time"
caption_booked_on_project: "Booked on project"
caption_default: "Default"