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

Adjust translations and differentiate Project Attribute tranlsations from the other custom fields

Dombi Attilae56ca499280f
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index 6372aff3fc2..985dea5a09d 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -207,13 +207,13 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field">
<%= f.check_box :is_required %>
<div class="form--field-instructions">
- <p><%= t('custom_fields.instructions.is_required') %></p>
+ <p><%= t('custom_fields.instructions.is_required_for_project') %></p>
</div>
</div>
<div class="form--field">
<%= f.check_box :admin_only %>
<div class="form--field-instructions">
- <p><%= t('custom_fields.instructions.admin_only') %></p>
+ <p><%= t('custom_fields.instructions.admin_only_for_project') %></p>
</div>
</div>
<div class="form--field" <%= format_dependent.attributes(:searchable) %>>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 886dcf57174..ec15f345508 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -235,11 +235,13 @@ en:
reorder_alphabetical: "Reorder values alphabetically"
reorder_confirmation: "Warning: The current order of available values will be lost. Continue?"
instructions:
- is_required: "Check to enable this attribute and make it required in all projects. It cannot be deactived for individual projects."
+ is_required: "Mark the custom field as required. This will make it mandatory to fill in the field when creating new or updating existing resources."
+ is_required_for_project: "Check to enable this attribute and make it required in all projects. It cannot be deactived for individual projects."
is_for_all: "Mark the custom field as available in all existing and new projects."
searchable: "Check to make this attribute available as a filter in project lists."
editable: "Allow the field to be editable by users themselves."
admin_only: "Check to make this attribute only visible to administrators. Users without admin rights will not be able to view or edit it."
+ admin_only_for_project: "Make field visible for all users (non-admins) in the project overview and displayed in the project details widget on the Project Overview."
is_filter: >
Allow the custom field to be used in a filter in work package views.
Note that only with 'For all projects' selected, the custom field will show up in global views.
@@ -684,7 +686,7 @@ en:
editable: "Editable"
field_format: "Format"
is_filter: "Used as a filter"
- is_required: "Required for all projects"
+ is_required: "Required"
max_length: "Maximum length"
min_length: "Minimum length"
multi_value: "Allow multi-select"
@@ -761,6 +763,7 @@ en:
versions: "Versions"
work_packages: "Work Packages"
project_custom_field:
+ is_required: "Required for all projects"
custom_field_section: Section
query:
column_names: "Columns"