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

Fix untranslated scopes label in oauth app

Alexander68755753474d
diff --git a/app/views/oauth/applications/_form.html.erb b/app/views/oauth/applications/_form.html.erb
index e0d45a78235..945045d2429 100644
--- a/app/views/oauth/applications/_form.html.erb
+++ b/app/views/oauth/applications/_form.html.erb
@@ -54,7 +54,7 @@ See COPYRIGHT and LICENSE files for more details.
<% if Doorkeeper.configuration.scopes.all.length > 1 %>
<div class="form--field">
- <label class="form--label">Scopes:</label>
+ <label class="form--label"><%= t('oauth.application.scopes') %></label>
<% Doorkeeper.configuration.scopes.each do |scope| %>
<div class="form--field-container -vertical">
<label class="form--label-with-check-box">
diff --git a/config/locales/en.yml b/config/locales/en.yml
index bd3c32adf90..e0aa2e334ba 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -4243,6 +4243,7 @@ en:
builtin: Built-in instance application
confidential: Confidential
singular: "OAuth application"
+ scope: "Scopes:"
plural: "OAuth applications"
named: "OAuth application '%{name}'"
new: "New OAuth application"