Make oauth pages translatable
[akkoma] / lib / pleroma / web / templates / o_auth / o_auth / _scopes.html.eex
index c9ec1ecbfae18749f0c808e31d9b9e155a38c62e..73115e92a2f191a1646f2d2e2e3c3b990d985260 100644 (file)
@@ -1,5 +1,5 @@
 <div class="scopes-input">
-  <%= label @form, :scope, "The following permissions will be granted" %>
+  <%= label @form, :scope, Gettext.dpgettext("static_pages", "oauth scopes message", "The following permissions will be granted") %>
   <div class="scopes">
     <%= for scope <- @available_scopes do %>
       <%# Note: using hidden input with `unchecked_value` in order to distinguish user's empty selection from `scope` param being omitted %>