X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b89dc63496de0b6131a93c57d283ebb4490804b..0e6d4f18dabf9ccf00567886d8e373dbef1f6966:/app/views/oauth/authorize_success.html.erb diff --git a/app/views/oauth/authorize_success.html.erb b/app/views/oauth/authorize_success.html.erb index 89512db31..c8f56af33 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1,5 +1,9 @@ -

You have allowed this request

+<% content_for :heading do %> +

<%= t "oauth.oauthorize_success.title" %>

+<% end %> + +

<%= raw t("oauth.oauthorize_success.allowed", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %>

<% if @token.oob? and not @token.oauth10? %> -

The verification code is <%= @token.verifier %>

+

<%= t "oauth.oauthorize_success.verification", :code => @token.verifier %>

<% end %>