- <%= _('Authorize %s to use your account?') % "#{@pre_auth.client.name}" %> + <%= raw _('Authorize %s to use your account?') % "#{@pre_auth.client.name}" %>

- <% if @pre_auth.scopes %> + <% if @pre_auth.scopes.count > 0 %>

<%= _('This application will be able to:') %>

    <% @pre_auth.scopes.each do |scope| %> -
  • <%= OauthProviderPlugin::SCOPE_TRANSLATION[scope] %>
  • +
  • <%= t scope, scope: [:doorkeeper, :scopes] %>
  • <% end %>
-- libgit2 0.21.2