X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..e17b89e89fa932673f7dc2cf5a2fd3437ec0eda6:/app/views/oauth/authorize_success.html.erb?ds=sidebyside diff --git a/app/views/oauth/authorize_success.html.erb b/app/views/oauth/authorize_success.html.erb index aa2a52f66..c8f56af33 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1,7 +1,9 @@ <% content_for :heading do %> -

You have allowed this request

+

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