From 81ad6e6e722e4b3e3c15fec00780b823807a3882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 19 Jul 2016 13:22:38 +0200 Subject: [PATCH] [20428] Fix duration label https://community.openproject.com/work_packages/20428/activity --- app/views/meetings/_form.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/meetings/_form.html.erb b/app/views/meetings/_form.html.erb index c8f6841bd9..616bcb5ea0 100644 --- a/app/views/meetings/_form.html.erb +++ b/app/views/meetings/_form.html.erb @@ -69,7 +69,7 @@ See doc/COPYRIGHT.md for more details. - <%= l(:text_in_hours)%> <%=l(:text_hours_between, min: 1, max: 168) %> + <%= t(:text_duration_in_hours) %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 1fa46c49d9..880a6b10fb 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -81,6 +81,7 @@ en: project_module_meetings: "Meetings" + text_duration_in_hours: "Duration in hours" text_in_hours: "in hours" text_meeting_agenda_for_meeting: 'agenda for the meeting "%{meeting}"' text_meeting_agenda_open_are_you_sure: "Unsaved content in the minutes will be lost! Continue?"