logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 6d0ebccdb03f6d19bccb01a6c3ae4e7f647aa678
parent 530284e1b96b6daeb21995079ff21544e545aa7f
Author: tusooa <tusooa@kazv.moe>
Date:   Sat,  4 Mar 2023 19:58:05 -0500

Make webui use translated scope descriptions

Diffstat:

Mlib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ -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 %>