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

[#64347] add missing translations for field formats

Tobias Dillmann40aba89ed0a2
diff --git a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
index a56d115f78f..58673930538 100644
--- a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
+++ b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
@@ -19,7 +19,7 @@
end
content_container.with_column(mr: 2) do
render(Primer::Beta::Text.new(font_size: :small, color: :subtle)) do
- t(@project_custom_field.field_format)
+ t("label_#{@project_custom_field.field_format}")
end
end
content_container.with_column(mr: 2) do
diff --git a/config/locales/en.yml b/config/locales/en.yml
index b8fdfe6c783..69958298153 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2707,6 +2707,7 @@ en:
label_forum_new: "New forum"
label_forum_plural: "Forums"
label_forum_sticky: "Sticky"
+ label_bool: "Boolean"
label_boolean: "Boolean"
label_board_plural: "Boards"
label_branch: "Branch"
@@ -2895,6 +2896,7 @@ en:
label_information: "Information"
label_information_plural: "Information"
label_installation_guides: "Installation guides"
+ label_int: "Integer"
label_integer: "Integer"
label_interface: "Interface"
label_internal: "Internal"