summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-03-04 19:58:05 -0500
committertusooa <tusooa@kazv.moe>2023-05-02 16:32:33 -0400
commit6d0ebccdb03f6d19bccb01a6c3ae4e7f647aa678 (patch)
tree29e6e58055a48021ad607c7220621a9c3c3cc4d7 /lib
parent530284e1b96b6daeb21995079ff21544e545aa7f (diff)
downloadpleroma-6d0ebccdb03f6d19bccb01a6c3ae4e7f647aa678.tar.gz
pleroma-6d0ebccdb03f6d19bccb01a6c3ae4e7f647aa678.zip
Make webui use translated scope descriptions
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex
index 73115e92a..7585c4d3e 100644
--- a/lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex
+++ b/lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex
@@ -8,7 +8,7 @@
<%= checkbox @form, :"scope_#{scope}", value: scope in @scopes && scope, checked_value: scope, unchecked_value: "", name: "authorization[scope][]" %>
<%= label @form, :"scope_#{scope}", String.capitalize(scope) %>
<%= if scope in @scopes && scope do %>
- <%= String.capitalize(scope) %>
+ <code><%= scope %></code> <%= :"Elixir.Gettext".dgettext(Gettext, "oauth_scopes", scope) %>
<% end %>
</div>
<% else %>