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

Add i18n

Klaus Zanders1ca413895101
diff --git a/app/components/projects/configure_view_modal_component.html.erb b/app/components/projects/configure_view_modal_component.html.erb
index c87acbeeca1..4f885c7d0f7 100644
--- a/app/components/projects/configure_view_modal_component.html.erb
+++ b/app/components/projects/configure_view_modal_component.html.erb
@@ -18,7 +18,7 @@
}) do |form| %>
<%= render(Primer::Alpha::TabPanels.new(label: "label")) do |tab_panel| %>
<% tab_panel.with_tab(selected: true, id: "tab-selects") do |tab| %>
- <% tab.with_text { "Fields"} %>
+ <% tab.with_text { I18n.t("label_columns") } %>
<% tab.with_panel do %>
<div id="op-draggable-autocomplete-container">
<%= helpers.angular_component_tag 'opce-draggable-autocompleter',
@@ -37,7 +37,7 @@
<% end %>
<% end %>
<% tab_panel.with_tab(id: "tab-selects") do |tab| %>
- <% tab.with_text { "Sort By" }%>
+ <% tab.with_text { I18n.t("label_sort") }%>
<% tab.with_panel do %>
<%= render(Queries::SortByComponent.new(query: query, selectable_columns:)) %>
<% end%>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 63bb76e9201..f618308d51f 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2329,6 +2329,7 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
label_setting_plural: "Settings"
label_system_settings: "System settings"
label_show_completed_versions: "Show completed versions"
+ label_columns: "Columns"
label_sort: "Sort"
label_sort_by: "Sort by %{value}"
label_sorted_by: "sorted by %{value}"