Skip to content

Commit

Permalink
Fix untranslated scopes label in oauth app
Browse files Browse the repository at this point in the history
  • Loading branch information
top4ek committed Dec 10, 2024
1 parent f9cc735 commit 6875575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/oauth/applications/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6875575

Please sign in to comment.