]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth/authorize_success.html.erb
Merge remote-tracking branch 'upstream/pull/4705'
[rails.git] / app / views / oauth / authorize_success.html.erb
index aa2a52f66579cc2376f6c03da96f25f11b97990f..63239a386ae56805ae5ddfa208dc0b58a3e8d0a0 100644 (file)
@@ -1,7 +1,9 @@
 <% content_for :heading do %>
-  <h1>You have allowed this request</h1>
+  <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? and not @token.oauth10? %>
-<p>The verification code is <%= @token.verifier %></p>
+<p><%= t ".verification", :code => @token.verifier %></p>
 <% end %>