X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a1cb0f04d476101116087286ff072d3a137355cb..27159ebf6de4e1f6109d9a6ea31b32d6a9728b9b:/app/views/oauth/authorize_success.html.erb?ds=inline

diff --git a/app/views/oauth/authorize_success.html.erb b/app/views/oauth/authorize_success.html.erb
index a25b98ec7..63239a386 100644
--- a/app/views/oauth/authorize_success.html.erb
+++ b/app/views/oauth/authorize_success.html.erb
@@ -1,5 +1,9 @@
-<h1>You have allowed this request</h1>
+<% content_for :heading do %>
+  <h1><%= t ".title" %></h1>
+<% end %>
+
+<p><%= t(".allowed_html", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %></p>
 
-<% if @token.oob? %>
-<p>The verification code is <%= @token.verifier %></p>
+<% if @token.oob? and not @token.oauth10? %>
+<p><%= t ".verification", :code => @token.verifier %></p>
 <% end %>