about summary refs log tree commit diff
path: root/app/views/oauth
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-15 23:56:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-16 00:55:33 +0100
commit546c4718e781f8900ba6498307ccb1e659de5edd (patch)
treef69b4941a8806cceff656991cffc46c9661654e7 /app/views/oauth
parent3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (diff)
Localizations for most server-side strings
Diffstat (limited to 'app/views/oauth')
-rw-r--r--app/views/oauth/authorizations/new.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/oauth/authorizations/new.html.haml b/app/views/oauth/authorizations/new.html.haml
index ba5d426f5..cd6e93e08 100644
--- a/app/views/oauth/authorizations/new.html.haml
+++ b/app/views/oauth/authorizations/new.html.haml
@@ -1,11 +1,11 @@
+- content_for :page_title do
+  = t('doorkeeper.authorizations.new.title')
+
 .oauth-prompt
-  %h2
-    Application
-    %strong=@pre_auth.client.name
-    requests access to your account
+  %h2= t('doorkeeper.authorizations.new.prompt', name: @pre_auth.client.name)
 
   %p
-    It will be able to
+    = t('doorkeeper.authorizations.new.able_to')
     = @pre_auth.scopes.map { |scope| t(scope, scope: [:doorkeeper, :scopes]) }.map { |s| "<strong>#{s}</strong>"}.to_sentence.html_safe
 
 = form_tag oauth_authorization_path, method: :post, class: 'simple_form' do