some fixes to translations

This commit is contained in:
MrZYX 2010-12-03 20:20:04 +01:00
parent 81fd4b6992
commit b84b6ea9e4
4 changed files with 7 additions and 5 deletions

View file

@ -16,12 +16,12 @@
= form_for User.new, :url => invitation_path(User) do |invite| = form_for User.new, :url => invitation_path(User) do |invite|
%h4 %h4
Email = t('email')
= invite.text_field :email, :title => t('.comma_seperated_plz') = invite.text_field :email, :title => t('.comma_seperated_plz')
%br %br
%h4 %h4
Aspect = t('.aspect')
- unless @aspect.is_a? Aspect - unless @aspect.is_a? Aspect
= invite.select(:aspects, @aspects_dropdown_array) = invite.select(:aspects, @aspects_dropdown_array)
- else - else

View file

@ -24,11 +24,11 @@
- if @posts.count > 0 - if @posts.count > 0
-if @post_type == :photos -if @post_type == :photos
%h4 %h4
Photos = t('_photos')
= render 'photos/index', :photos => @posts = render 'photos/index', :photos => @posts
- else - else
%h4 %h4
Recent Posts = t('.recent_posts')
= render 'shared/stream', :posts => @post_hashes = render 'shared/stream', :posts => @post_hashes
= will_paginate @posts = will_paginate @posts

View file

@ -18,7 +18,7 @@
%hr %hr
= link_to "permalink", post_path(@status_message) = link_to t('.permalink'), post_path(@status_message)
%br %br
- if current_user.owns? @status_message - if current_user.owns? @status_message
= link_to t('.destroy'), @status_message, :confirm => t('are_you_sure'), :method => :delete = link_to t('.destroy'), @status_message, :confirm => t('are_you_sure'), :method => :delete

View file

@ -286,6 +286,7 @@ en:
personal_message: "Personal message" personal_message: "Personal message"
send_an_invitation: "Send an invitation" send_an_invitation: "Send an invitation"
send_invitation: "Send invitation" send_invitation: "Send invitation"
aspect: "Aspect"
check_token: check_token:
not_found: "Invitation token not found" not_found: "Invitation token not found"
edit: edit:
@ -318,6 +319,7 @@ en:
already_requested: "You have already sent a request to %{name}." already_requested: "You have already sent a request to %{name}."
does_not_exist: "Person does not exist!" does_not_exist: "Person does not exist!"
not_connected: "You are not connected with this person" not_connected: "You are not connected with this person"
recent_posts: "Recent Posts"
edit: edit:
info_available_to: "This info will be available to whomever you connect with on Diaspora." info_available_to: "This info will be available to whomever you connect with on Diaspora."
your_profile: "Your profile" your_profile: "Your profile"