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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Extract help-text translations out of modules
Aaron Contreras7b85619cdd62
diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 5077258d746..59a770b1d46 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -1735,6 +1735,7 @@ en:label_expanded_click_to_collapse: "Expanded. Click to collapse"label_f_hour: "%{value} hour"label_f_hour_plural: "%{value} hours"+ label_favoured: "Favoured"label_feed_plural: "Feeds"label_feeds_access_key: "RSS access key"label_feeds_access_key_created_on: "RSS access key created %{value} ago"@@ -2018,6 +2019,7 @@ en:label_this_week: "this week"label_this_year: "this year"label_time_entry_plural: "Spent time"+ label_title: "Title"label_projects_menu: "Projects"label_today: "today"label_top_menu: "Top Menu"@@ -2926,6 +2928,11 @@ en:text_zoom_out: "Zoom out"text_setup_mail_configuration: "Configure your email provider"+ help_texts:+ views:+ project: "%{plural} are always attached to a project. After creating a %{singular} you can add work packages from other projects to it."+ public: "Publish this view, allowing other users to access your view. Users with the 'Manage public views' permission can modify or remove public query. This does not affect the visibility of work package results in that view and depending on their permissions, users may see different results."+ favoured: "Mark this view as favourite and add to the saved views sidebar on the left."time:am: "am"formats:diff --git a/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb b/modules/team_planner/app/views/team_planner/team_planner/_form.html.erbindex 4f9d23ee791..6fadcbb3995 100644--- a/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb+++ b/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field -required"><%= f.text_field :name,- label: Meeting.human_attribute_name(:title),+ label: t(:label_title),required: true,size: 60,container_class: '-wide' %>@@ -57,7 +57,9 @@ See COPYRIGHT and LICENSE files for more details.%></div><div class="form--field-instructions">- <p><%= t 'team_planner.help_text.project' %></p>+ <p><%= t 'help_texts.views.project',+ singular: t('team_planner.label_team_planner').downcase,+ plural: t('team_planner.label_team_planner_plural') %></p></div></div>@@ -71,13 +73,13 @@ See COPYRIGHT and LICENSE files for more details.%></div><div class="form--field-instructions">- <p><%= t 'team_planner.help_text.public' %></p>+ <p><%= t 'help_texts.views.public' %></p></div></div><div class="form--field"><%= styled_label_tag 'query[starred]',- t('team_planner.label_favoured') %>+ t(:label_favoured) %><div class="form--field-container"><%= styled_check_box_tag 'query[starred]','1',@@ -85,7 +87,7 @@ See COPYRIGHT and LICENSE files for more details.%></div><div class="form--field-instructions">- <p><%= t 'team_planner.help_text.favoured' %></p>+ <p><%= t 'help_texts.views.favoured' %></p></div></div></section>diff --git a/modules/team_planner/config/locales/en.yml b/modules/team_planner/config/locales/en.ymlindex 8d7becc5bae..eb7195318df 100644--- a/modules/team_planner/config/locales/en.yml+++ b/modules/team_planner/config/locales/en.yml@@ -10,11 +10,6 @@ en:label_create_new_team_planner: "Create new team planner"label_team_planner_plural: "Team planners"label_assignees: "Assignees"- label_favoured: "Favoured"- help_text:- project: Team planners are always attached to a project. After creating a team planner you can add work packages from other projects to it.- public: Publish this view, allowing other users to access your view. Users with the 'Manage public views' permission can modify or remove public query. This does not affect the visibility of work package results in that view and depending on their permissions, users may see different results.- favoured: Mark this view as favourite and add to the saved views sidebar on the left.upsale:title: "Team planner"description: "Get a complete overview of your team’s planning with Team Planner. Stretch, shorten and drag-and-drop work packages to modify dates, move them or change assignees."