moar translations
This commit is contained in:
parent
4ee9642d02
commit
a78710690a
5 changed files with 13 additions and 13 deletions
|
|
@ -41,11 +41,11 @@ class PostsController < ApplicationController
|
|||
I18n.locale = @person.owner.language
|
||||
render "posts/#{@post.class.to_s.underscore}", :layout => true
|
||||
else
|
||||
flash[:error] = "that post does not exist!"
|
||||
flash[:error] = I18n.t('posts.doesnt_exist')
|
||||
redirect_to root_url
|
||||
end
|
||||
else
|
||||
flash[:error] = "that post does not exist!"
|
||||
flash[:error] = I18n.t('posts.doesnt_exist')
|
||||
redirect_to root_url
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -29,12 +29,7 @@
|
|||
|
||||
.prepend-2.span-7.last
|
||||
%h3
|
||||
= @people_count
|
||||
%span{:style => "font-weight:normal"}
|
||||
- if @people_count == 1
|
||||
= t('.person')
|
||||
- else
|
||||
= t('.people')
|
||||
= t('people', :count => @people_count)
|
||||
|
||||
.side_stream.stream
|
||||
- for person in @people
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
%i= t('.mention_helper_text')
|
||||
- else
|
||||
.badges
|
||||
%i= 'publishing to: '
|
||||
%i= t('.publishing_to')
|
||||
= aspect_badges(aspects_with_person, :link => false)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,6 @@
|
|||
.span-15.last
|
||||
#facebox_header
|
||||
%h4
|
||||
= t('.mentioning') + @person.name
|
||||
= t('.mentioning', :person => @person.name)
|
||||
|
||||
= render :partial => 'shared/publisher', :locals => { :aspect => @aspect, :aspect_ids => @aspect_ids, :aspects_with_person => @aspects_with_person, :person => @person}
|
||||
|
|
|
|||
|
|
@ -319,6 +319,11 @@ en:
|
|||
sign_in: "Sign in to view it."
|
||||
|
||||
people:
|
||||
zero: "no people"
|
||||
one: "1 person"
|
||||
few: "%{count} people"
|
||||
many: "%{count} people"
|
||||
other: "%{count} people"
|
||||
person:
|
||||
pending_request: "pending request"
|
||||
already_connected: "Already connected"
|
||||
|
|
@ -399,13 +404,12 @@ en:
|
|||
or_select_one: "or select one from your already existing"
|
||||
|
||||
posts:
|
||||
doesnt_exist: "that post does not exist!"
|
||||
index:
|
||||
whatup: "What's happening on %{pod}"
|
||||
posts_tagged_with: "Posts tagged with #%{tag}"
|
||||
nobody_talking: "Nobody is talking about %{tag} yet."
|
||||
people_tagged_with: "People tagged with %{tag}"
|
||||
people: "people"
|
||||
person: "person"
|
||||
|
||||
profiles:
|
||||
edit:
|
||||
|
|
@ -509,6 +513,7 @@ en:
|
|||
all_contacts: "all contacts"
|
||||
share_with: "share with"
|
||||
whats_on_your_mind: "what's on your mind?"
|
||||
publishing_to: "publishing to: "
|
||||
add_contact:
|
||||
enter_a_diaspora_username: "Enter a Diaspora username:"
|
||||
your_diaspora_username_is: "Your Diaspora username is: %{diaspora_handle}"
|
||||
|
|
@ -539,7 +544,7 @@ en:
|
|||
|
||||
status_messages:
|
||||
new:
|
||||
mentioning: "Mentioning: "
|
||||
mentioning: "Mentioning: %{person}"
|
||||
show:
|
||||
destroy: "Delete"
|
||||
permalink: "permalink"
|
||||
|
|
|
|||
Loading…
Reference in a new issue