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

Fix text in days_per_week setting explanation

Christophe Bliard80876ce0692b
diff --git a/config/constants/settings/definition.rb b/config/constants/settings/definition.rb
index f803259279d..97fc81710e5 100644
--- a/config/constants/settings/definition.rb
+++ b/config/constants/settings/definition.rb
@@ -535,7 +535,7 @@ module Settings
},
days_per_week: {
description: "This will define what is considered a “week” when displaying duration in a more natural way " \
- "(for example, if a week is 5 days, 15 days 3 weeks).",
+ "(for example, if a week is 5 days, 15 days would be 3 weeks).",
default: 5,
format: :integer
},
diff --git a/config/locales/en.yml b/config/locales/en.yml
index d165c770e56..c8464316082 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -3100,8 +3100,9 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
setting_first_week_of_year: "First week in year contains"
setting_date_format: "Date"
setting_days_per_month: "Days per month"
- setting_days_per_month_explanation: >
- This will define what is considered a "week" when displaying duration in a more natural way (for example, if a month is 20 days, 60 days would be 3 months.
+ setting_days_per_month_explanation: >-
+ This will define what is considered a "week" when displaying duration in a more natural
+ way (for example, if a month is 20 days, 60 days would be 3 months.
setting_default_language: "Default language"
setting_default_projects_modules: "Default enabled modules for new projects"
setting_default_projects_public: "New projects are public by default"
@@ -3118,11 +3119,13 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
setting_file_max_size_displayed: "Max size of text files displayed inline"
setting_host_name: "Host name"
setting_hours_per_day: "Hours per day"
- setting_hours_per_day_explanation: >
- This will define what is considered a "day" when displaying duration in a more natural way (for example, if a day is 8 hours, 32 hours would be 4 days).
+ setting_hours_per_day_explanation: >-
+ This will define what is considered a "day" when displaying duration in a more natural
+ way (for example, if a day is 8 hours, 32 hours would be 4 days).
setting_days_per_week: "Days per week"
- setting_days_per_week_explanation: >
- This will define what is considered a "week" when displaying duration in a more natural way (for example, if a week is 5 days, 15 days 3 weeks).
+ setting_days_per_week_explanation: >-
+ This will define what is considered a "week" when displaying duration in a more natural
+ way (for example, if a week is 5 days, 15 days would be 3 weeks).
setting_invitation_expiration_days: "Activation email expires after"
setting_work_package_done_ratio: "Progress calculation"
setting_work_package_done_ratio_field: "Work-based"