Added localizations that I had missed

This commit is contained in:
Ariel Zavala 2010-09-16 15:55:54 -04:00
parent 6a967e7fe9
commit be9ae343cc
5 changed files with 35 additions and 15 deletions

View file

@ -8,8 +8,7 @@
= javascript_include_tag 'aspect-edit.js' = javascript_include_tag 'aspect-edit.js'
- content_for :left_pane do - content_for :left_pane do
%h1 %h1=t('.requests')
Requests
.requests .requests
%ul %ul
@ -18,8 +17,7 @@
= person_image_tag(request.person) = person_image_tag(request.person)
.name .name
= request.person.real_name = request.person.real_name
%h1 %h1=t('.ignore_remove')
Ignore/Remove
%li.remove %li.remove
%ul %ul

View file

@ -27,5 +27,5 @@
= pr.label :last_name = pr.label :last_name
= pr.text_field :last_name = pr.text_field :last_name
= f.submit "Sign up" = f.submit t('.sign_up')
= render :partial => "devise/shared/links" = render :partial => "devise/shared/links"

View file

@ -16,5 +16,5 @@
= render "requests/new_request", :aspect => @aspect = render "requests/new_request", :aspect => @aspect
-else -else
.clear .clear
= link_to "add friends", aspects_manage_path = link_to t('.add_friends'), aspects_manage_path

View file

@ -4,8 +4,7 @@
- content_for :publish do - content_for :publish do
%h1 %h1="#{t('.editing_profile')}"
Editing profile
- content_for :left_pane do - content_for :left_pane do
\. \.
@ -15,7 +14,7 @@
= f.fields_for :profile do |p| = f.fields_for :profile do |p|
%h3 Picture %h3="#{t('.picture')}"
%div#image_picker %div#image_picker
= p.hidden_field :image_url, :value => (@profile.image_url.sub(@user.url,'/') if @profile.image_url), :id => 'image_url_field' = 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 - else
You don't have any photos! Go to the 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. page to upload some.
=will_paginate @photos =will_paginate @photos
%br %br
%h3 Info %h3="#{t('.info')}"
%p %p
%b %b
DIASPORA USERNAME: ="#{t('.diaspora_username')}:"
= @user.diaspora_handle = @user.diaspora_handle
%p %p
@ -58,10 +57,10 @@
= f.text_field :email = f.text_field :email
#submit_block #submit_block
= link_to "Cancel", root_path = link_to t('.cancel'), root_path
or or
= f.submit "Update Profile" = f.submit t('.update_profile')
#content_bottom #content_bottom
.back .back
= link_to "⇧ home", root_path = link_to "⇧ #{t('.home')}", root_path

View file

@ -22,6 +22,8 @@ en:
manage_aspects: "Manage Aspects" manage_aspects: "Manage Aspects"
publisher: publisher:
share: "Share" share: "Share"
aspect_friends:
add_friends: "add friends"
albums: albums:
album: album:
you: "you" you: "you"
@ -52,6 +54,8 @@ en:
add_a_new_friend: "Add a new friend" add_a_new_friend: "Add a new friend"
show: "Show" show: "Show"
update_aspects: "Update Aspects" update_aspects: "Update Aspects"
requests: "Requests"
ignore_remove: "Ignore/Remove"
new_aspect: new_aspect:
create: "Create" create: "Create"
users: users:
@ -88,5 +92,24 @@ en:
new_photo: "New Photo" new_photo: "New Photo"
back_to_list: "Back to List" back_to_list: "Back to List"
post_it: "post it!" 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"