I18ning empty_messages
This commit is contained in:
parent
45d7d54c66
commit
08e629668d
2 changed files with 15 additions and 6 deletions
|
|
@ -4,15 +4,17 @@
|
||||||
|
|
||||||
#no_posts.empty_message{:style => ("display:none" unless @posts.count == 0)}
|
#no_posts.empty_message{:style => ("display:none" unless @posts.count == 0)}
|
||||||
.null_arrow ⇧
|
.null_arrow ⇧
|
||||||
%h3 Nobody has said anything yet. Get the conversation started!
|
%h3=t('.start_talking')
|
||||||
|
|
||||||
#no_friends.empty_message{:style => ("display:none" unless @friends.count == 0)}
|
#no_friends.empty_message{:style => ("display:none" unless @friends.count == 0)}
|
||||||
%h3 You have no friends in this aspect.
|
|
||||||
|
|
||||||
- unless (@aspect == :all) || (@aspect == :public)
|
- if (@aspect == :all) || (@aspect == :public)
|
||||||
%h4= link_to "Add a friend", "#add_request_pane", :class => "add_request_button"
|
%h3=t('.nobody')
|
||||||
|
%h4= link_to t('.add_friend'), aspects_manage_path
|
||||||
|
%h4= link_to t('.invite'), aspects_manage_path
|
||||||
- else
|
- else
|
||||||
%h4= link_to "Add a friend", aspects_manage_path
|
%h3=t('.nobody_in_aspect', :aspect_name => @aspect.name)
|
||||||
|
%h4= link_to t('.add_friend_to', :aspect_name => @aspect.name), "#add_request_pane", :class => "add_request_button"
|
||||||
|
%h4= link_to t('.invite', :aspect_name => @aspect.name), "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => t('.invite')
|
||||||
|
|
||||||
%h4= link_to "Invite a friend to join Diaspora!", "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => "Invite a friend"
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,13 @@ en:
|
||||||
friends_albums: "Friends Albums"
|
friends_albums: "Friends Albums"
|
||||||
your_albums: "Your Albums"
|
your_albums: "Your Albums"
|
||||||
aspects:
|
aspects:
|
||||||
|
empty_messages:
|
||||||
|
start_talking: "Nobody has said anything yet. Get the conversation started!"
|
||||||
|
nobody: "We know you have friends, bring them to Diaspora!"
|
||||||
|
nobody_in_aspect: "Your aspect '%{aspect_name}' is empty."
|
||||||
|
add_friend: "Add a friend"
|
||||||
|
add_friend_to: "Add a someone to %{aspect_name}"
|
||||||
|
invite: "Invite a someone to join Diaspora!"
|
||||||
manage:
|
manage:
|
||||||
add_a_new_aspect: "Add a new aspect"
|
add_a_new_aspect: "Add a new aspect"
|
||||||
add_a_new_friend: "Add a new friend"
|
add_a_new_friend: "Add a new friend"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue