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'
- 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

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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"