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

Move untranslated CORS title

Alexander11bcd926a3ae
diff --git a/app/views/admin/settings/api_settings/show.html.erb b/app/views/admin/settings/api_settings/show.html.erb
index 2c8a696ca2e..c8ac2f3c82e 100644
--- a/app/views/admin/settings/api_settings/show.html.erb
+++ b/app/views/admin/settings/api_settings/show.html.erb
@@ -70,7 +70,7 @@ See COPYRIGHT and LICENSE files for more details.
</section>
<section class="form--section">
<fieldset class="form--fieldset">
- <legend class="form--fieldset-legend">Cross-Origin Resource Sharing (CORS)</legend>
+ <legend class="form--fieldset-legend"><%= I18n.t("setting_apiv3_cors_title")</legend>
</fieldset>
<div class="form--field">
<%= setting_check_box :apiv3_cors_enabled %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 3d71655eaa7..bd3c32adf90 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -3419,6 +3419,7 @@ en:
search_input_placeholder: "Search ..."
+ setting_apiv3_cors_title: Cross-Origin Resource Sharing (CORS)
setting_apiv3_cors_enabled: "Enable CORS"
setting_apiv3_cors_origins: "API V3 Cross-Origin Resource Sharing (CORS) allowed origins"
setting_apiv3_cors_origins_text_html: >