diff --git a/app/views/aspects/manage.html.haml b/app/views/aspects/manage.html.haml
index 0e667a8e6..c8537d638 100644
--- a/app/views/aspects/manage.html.haml
+++ b/app/views/aspects/manage.html.haml
@@ -8,8 +8,7 @@
= javascript_include_tag 'aspect-edit.js'
- content_for :left_pane do
- %h1
- Requests
+ %h1=t('.requests')
.requests
%ul
@@ -18,8 +17,7 @@
= person_image_tag(request.person)
.name
= request.person.real_name
- %h1
- Ignore/Remove
+ %h1=t('.ignore_remove')
%li.remove
%ul
diff --git a/app/views/registrations/new.html.haml b/app/views/registrations/new.html.haml
index eefa94519..065a9aa49 100644
--- a/app/views/registrations/new.html.haml
+++ b/app/views/registrations/new.html.haml
@@ -27,5 +27,5 @@
= pr.label :last_name
= pr.text_field :last_name
- = f.submit "Sign up"
+ = f.submit t('.sign_up')
= render :partial => "devise/shared/links"
diff --git a/app/views/shared/_aspect_friends.haml b/app/views/shared/_aspect_friends.haml
index 6ab286a81..5e1dfe213 100644
--- a/app/views/shared/_aspect_friends.haml
+++ b/app/views/shared/_aspect_friends.haml
@@ -16,5 +16,5 @@
= render "requests/new_request", :aspect => @aspect
-else
.clear
- = link_to "add friends", aspects_manage_path
+ = link_to t('.add_friends'), aspects_manage_path
diff --git a/app/views/users/edit.html.haml b/app/views/users/edit.html.haml
index cddec8d77..406f95499 100644
--- a/app/views/users/edit.html.haml
+++ b/app/views/users/edit.html.haml
@@ -4,8 +4,7 @@
- content_for :publish do
- %h1
- Editing profile
+ %h1="#{t('.editing_profile')}"
- content_for :left_pane do
\.
@@ -15,7 +14,7 @@
= f.fields_for :profile do |p|
- %h3 Picture
+ %h3="#{t('.picture')}"
%div#image_picker
= p.hidden_field :image_url, :value => (@profile.image_url.sub(@user.url,'/') if @profile.image_url), :id => 'image_url_field'
@@ -32,18 +31,18 @@
- else
You don't have any photos! Go to the
- = link_to "albums", albums_path(:aspect => 'all')
+ = link_to t('.albums'), albums_path(:aspect => 'all')
page to upload some.
=will_paginate @photos
%br
- %h3 Info
+ %h3="#{t('.info')}"
%p
%b
- DIASPORA USERNAME:
+ ="#{t('.diaspora_username')}:"
= @user.diaspora_handle
%p
@@ -58,10 +57,10 @@
= f.text_field :email
#submit_block
- = link_to "Cancel", root_path
+ = link_to t('.cancel'), root_path
or
- = f.submit "Update Profile"
+ = f.submit t('.update_profile')
#content_bottom
.back
- = link_to "⇧ home", root_path
+ = link_to "⇧ #{t('.home')}", root_path
diff --git a/config/locales/en.yml b/config/locales/en.yml
index bfcf69939..d9046c00b 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -22,6 +22,8 @@ en:
manage_aspects: "Manage Aspects"
publisher:
share: "Share"
+ aspect_friends:
+ add_friends: "add friends"
albums:
album:
you: "you"
@@ -52,6 +54,8 @@ en:
add_a_new_friend: "Add a new friend"
show: "Show"
update_aspects: "Update Aspects"
+ requests: "Requests"
+ ignore_remove: "Ignore/Remove"
new_aspect:
create: "Create"
users:
@@ -88,5 +92,24 @@ en:
new_photo: "New Photo"
back_to_list: "Back to List"
post_it: "post it!"
+ registrations:
+ new:
+ sign_up: "Sign up"
+ status_messages:
+ new_status_message:
+ tell_me_something_good: "tell me something good"
+ oh_yeah: "oh yeah!"
+ status_message:
+ show_comments: "show comments"
+ delete: "Delete"
+ are_you_sure: "Are you sure?"
+ show:
+ status_message: "Status Message"
+ comments: "comments"
+ are_you_sure: "Are you sure?"
+ destroy: "Destroy"
+ view_all: "View All"
+ message: "Message"
+ owner: "Owner"