diff --git a/app/views/authorizations/new.html.haml b/app/views/authorizations/new.html.haml index 07bfcadb3..c2506e1e0 100644 --- a/app/views/authorizations/new.html.haml +++ b/app/views/authorizations/new.html.haml @@ -26,7 +26,7 @@ - elsif scope == "AS_photo:post" %li .scope-photo - = image_tag('/images/icons/photo.png', :title => "Cubbies will be able to post photos on your behalf") + = image_tag('/assets/icons/photo.png', :title => t('.cubbies_will')) .scope-description %strong @@ -38,6 +38,6 @@ :url => oauth_authorize_path(params.slice(:redirect_uri, :client_id, :client_secret)) do |form| %br %p - = form.submit "Fuck Yeah!", :value => "Authorize", :class => 'button' - = form.submit "Hell No.", :value => "No", :class => 'button' + = form.submit "Fuck Yeah!", :value => t('.autorize'), :class => 'button' + = form.submit "Hell No.", :value => t('.no'), :class => 'button diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 975f575cc..7f57fc1b9 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -938,6 +938,10 @@ en: index: revoke_access: "Revoke Access" no_applications: "You haven't registered any applications yet." + new: + cubbies_will: "Cubbies will be able to post photos on your behalf" + autorize: "Authorize" + no: "No" streams: community_spotlight_stream: "Community Spotlight"