social_stream 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +5 -1
- data/README.rdoc +2 -2
- data/app/controllers/api_controller.rb +2 -1
- data/app/controllers/contacts_controller.rb +25 -2
- data/app/controllers/groups_controller.rb +12 -2
- data/app/controllers/notifications_controller.rb +72 -0
- data/app/controllers/permissions_controller.rb +10 -0
- data/app/controllers/relation/customs_controller.rb +8 -0
- data/app/controllers/spheres_controller.rb +12 -0
- data/app/helpers/contacts_helper.rb +24 -0
- data/app/helpers/location_helper.rb +26 -12
- data/app/helpers/notifications_helper.rb +23 -0
- data/app/helpers/permissions_helper.rb +16 -0
- data/app/helpers/profiles_helper.rb +31 -0
- data/app/helpers/subjects_helper.rb +0 -83
- data/app/helpers/toolbar_helper.rb +83 -0
- data/app/models/activity.rb +43 -36
- data/app/models/actor.rb +71 -14
- data/app/models/contact.rb +121 -0
- data/app/models/group.rb +3 -3
- data/app/models/permission.rb +33 -2
- data/app/models/relation.rb +1 -1
- data/app/models/relation/custom.rb +12 -1
- data/app/models/relation/public.rb +1 -1
- data/app/models/sphere.rb +3 -1
- data/app/models/tie.rb +35 -18
- data/app/views/activities/_walls.html.erb +2 -2
- data/app/views/api/activity_atom_feed.atom.builder +38 -38
- data/app/views/avatars/index.html.erb +12 -40
- data/app/views/comments/_new.html.erb +9 -8
- data/app/views/contacts/_contact.html.erb +20 -0
- data/app/views/contacts/_edit.html.erb +76 -0
- data/app/views/contacts/_form.html.erb +72 -0
- data/app/views/contacts/_index.html.erb +1 -1
- data/app/views/{ties → contacts}/_pendings.html.erb +3 -3
- data/app/views/{ties → contacts}/_suggestions.html.erb +5 -5
- data/app/views/contacts/_suggestions_and_pendings.html.erb +6 -0
- data/app/views/contacts/edit.html.erb +5 -0
- data/app/views/contacts/index.html.erb +1 -1
- data/app/views/contacts/new.html.erb +5 -0
- data/app/views/conversations/_conversation.html.erb +1 -1
- data/app/views/conversations/_index.html.erb +0 -5
- data/app/views/conversations/_show.html.erb +1 -2
- data/app/views/conversations/index.html.erb +4 -0
- data/app/views/conversations/index.js.erb +1 -0
- data/app/views/frontpage/index.html.erb +2 -3
- data/app/views/groups/_index.html.erb +5 -1
- data/app/views/groups/_new.html.erb +4 -3
- data/app/views/groups/_sidebar_index.html.erb +3 -10
- data/app/views/groups/_sidebar_show.html.erb +1 -9
- data/app/views/groups/index.html.erb +6 -8
- data/app/views/groups/show.html.erb +11 -4
- data/app/views/home/_sidebar.html.erb +1 -15
- data/app/views/home/index.html.erb +3 -2
- data/app/views/layouts/_account.html.erb +1 -1
- data/app/views/layouts/_flash.html.erb +5 -0
- data/app/views/layouts/_footer.html.erb +5 -4
- data/app/views/layouts/_representation.html.erb +5 -12
- data/app/views/layouts/application.html.erb +23 -20
- data/app/views/layouts/frontpage.html.erb +22 -10
- data/app/views/location/_location.html.erb +1 -1
- data/app/views/messages/_new.html.erb +0 -2
- data/app/views/notification_mailer/new_notification_email.html.erb +21 -0
- data/app/views/notification_mailer/new_notification_email.text.erb +11 -0
- data/app/views/notifications/_index.html.erb +21 -0
- data/app/views/notifications/_notification.html.erb +47 -0
- data/app/views/notifications/_show.html.erb +3 -0
- data/app/views/notifications/activities/_follow_body.html.erb +2 -0
- data/app/views/notifications/activities/_follow_subject.html.erb +2 -0
- data/app/views/notifications/activities/_like_body.html.erb +5 -0
- data/app/views/notifications/activities/_like_object_body.html.erb +2 -0
- data/app/views/notifications/activities/_like_object_subject.html.erb +2 -0
- data/app/views/notifications/activities/_like_subject.html.erb +5 -0
- data/app/views/notifications/activities/_like_subject_body.html.erb +1 -0
- data/app/views/notifications/activities/_like_subject_subject.html.erb +2 -0
- data/app/views/notifications/activities/_make-friend_body.html.erb +3 -0
- data/app/views/notifications/activities/_make-friend_subject.html.erb +2 -0
- data/app/views/notifications/activities/_post_body.html.erb +2 -0
- data/app/views/notifications/activities/_post_subject.html.erb +1 -0
- data/app/views/notifications/activities/_update_body.html.erb +1 -0
- data/app/views/notifications/activities/_update_subject.html.erb +1 -0
- data/app/views/notifications/index.html.erb +19 -0
- data/app/views/notifications/index.js.erb +8 -0
- data/app/views/notifications/show.html.erb +5 -0
- data/app/views/permissions/_index.html.erb +39 -0
- data/app/views/permissions/index.js.erb +10 -0
- data/app/views/profiles/_contact.html.erb +81 -0
- data/app/views/profiles/_experience.html.erb +22 -0
- data/app/views/profiles/_personal.html.erb +74 -0
- data/app/views/profiles/_profile.html.erb +12 -181
- data/app/views/profiles/_tags.html.erb +22 -0
- data/app/views/profiles/edit.html.erb +0 -14
- data/app/views/profiles/show.html.erb +14 -0
- data/app/views/profiles/update.js.erb +2 -28
- data/app/views/relation/customs/_form.html.erb +29 -0
- data/app/views/relation/customs/_index.html.erb +30 -0
- data/app/views/relation/customs/_list.html.erb +36 -0
- data/app/views/relation/customs/create.js.erb +20 -0
- data/app/views/relation/customs/index.js.erb +2 -0
- data/app/views/relation/customs/update.js.erb +6 -0
- data/app/views/spheres/_form.html.erb +28 -0
- data/app/views/spheres/_jquery.erb +130 -0
- data/app/views/spheres/_list.html.erb +19 -0
- data/app/views/spheres/create.js.erb +20 -0
- data/app/views/spheres/index.html.erb +74 -0
- data/app/views/ties/_edit.html.erb +1 -33
- data/app/views/toolbar/_home.html.erb +9 -0
- data/app/views/{subjects/_toolbar_home_menu.html.erb → toolbar/_home_menu.html.erb} +1 -1
- data/app/views/{subjects/_toolbar_home_menu_options.html.erb → toolbar/_home_menu_options.html.erb} +7 -3
- data/app/views/{subjects/_toolbar_home_menu_options_subjects.html.erb → toolbar/_home_menu_options_subjects.html.erb} +0 -0
- data/app/views/{subjects/_toolbar_logo.html.erb → toolbar/_logo.html.erb} +1 -1
- data/app/views/{subjects/_toolbar_message_menu.html.erb → toolbar/_message_menu.html.erb} +0 -0
- data/app/views/toolbar/_notifications_menu.html.erb +3 -0
- data/app/views/{subjects/_toolbar_profile.html.erb → toolbar/_profile.html.erb} +2 -2
- data/app/views/toolbar/_profile_menu.html.erb +15 -0
- data/app/views/toolbar/_profile_menu_basic_options.html.erb +5 -0
- data/app/views/toolbar/_profile_menu_tie_options.html.erb +35 -0
- data/app/views/users/_index.html.erb +1 -1
- data/app/views/users/_sidebar_index.html.erb +1 -6
- data/app/views/users/index.html.erb +3 -3
- data/app/views/users/show.html.erb +12 -2
- data/config/locales/en.yml +106 -79
- data/config/routes.rb +19 -5
- data/lib/generators/social_stream/templates/initializer.rb +2 -2
- data/lib/generators/social_stream/templates/migration.rb +3 -1
- data/lib/generators/social_stream/templates/public/images/HTML5.png +0 -0
- data/lib/generators/social_stream/templates/public/images/HTML5_Semantics.png +0 -0
- data/lib/generators/social_stream/templates/public/images/HTML5_Styling.png +0 -0
- data/lib/generators/social_stream/templates/public/images/Jcrop.gif +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/btn_notification.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/btn_notification_delete.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/error.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/info.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/success.png +0 -0
- data/lib/generators/social_stream/templates/public/images/btn/warning.png +0 -0
- data/lib/generators/social_stream/templates/public/images/cancel.png +0 -0
- data/lib/generators/social_stream/templates/public/images/html5-badge-h-css3-semantics.png +0 -0
- data/lib/generators/social_stream/templates/public/images/icon_checkbox.png +0 -0
- data/lib/generators/social_stream/templates/public/images/logos/actor/remote_subject.png +0 -0
- data/lib/generators/social_stream/templates/public/images/logos/actor/remote_user.png +0 -0
- data/lib/generators/social_stream/templates/public/images/logos/representation/group.png +0 -0
- data/lib/generators/social_stream/templates/public/images/logos/representation/user.png +0 -0
- data/lib/generators/social_stream/templates/public/images/pbar-ani.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.fileupload-ui.js +259 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.fileupload.js +475 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.form.js +815 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.ui.mouse.js +156 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.ui.slider.js +684 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.ui.widget.js +236 -0
- data/lib/generators/social_stream/templates/public/javascripts/ui.checkbox.js +309 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/base.css +13 -12
- data/lib/generators/social_stream/templates/public/stylesheets/default/contacts.css +88 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/footer.css +1 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/header.css +5 -3
- data/lib/generators/social_stream/templates/public/stylesheets/default/home.css +1 -1
- data/lib/generators/social_stream/templates/public/stylesheets/default/images/loading.gif +0 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/jquery.fileupload-ui.css +73 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/jquery.ui.slider.css +24 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/jquery.ui.slidertheme.css +32 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/messages.css +4 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/spheres.css +226 -0
- data/lib/generators/social_stream/templates/relations.yml +12 -12
- data/lib/social_stream.rb +2 -1
- data/lib/social_stream/ability.rb +5 -4
- data/lib/social_stream/controllers/helpers.rb +19 -0
- data/lib/social_stream/models/object.rb +3 -1
- data/lib/social_stream/models/subject.rb +19 -6
- data/lib/social_stream/rails.rb +23 -1
- data/lib/social_stream/test_helpers/controllers.rb +1 -1
- data/lib/social_stream/version.rb +1 -1
- data/lib/tasks/db/populate.rake +6 -9
- data/social_stream.gemspec +7 -4
- data/spec/controllers/comments_controller_spec.rb +1 -1
- data/spec/controllers/contacts_controller_spec.rb +23 -0
- data/spec/controllers/groups_controller_spec.rb +12 -1
- data/spec/controllers/permissions_controller_spec.rb +48 -0
- data/spec/controllers/posts_controller_spec.rb +4 -4
- data/spec/controllers/relation_customs_controller_spec.rb +130 -0
- data/spec/controllers/representations_spec.rb +74 -0
- data/spec/controllers/spheres_controller_spec.rb +108 -0
- data/spec/dummy/config/initializers/mailboxer.rb +8 -0
- data/spec/dummy/config/initializers/social_stream.rb +2 -2
- data/spec/dummy/config/relations.yml +12 -12
- data/spec/factories/relation_custom.rb +4 -0
- data/spec/factories/sphere.rb +5 -0
- data/spec/factories/tie.rb +4 -4
- data/spec/models/activity_spec.rb +58 -38
- data/spec/models/actor_spec.rb +1 -1
- data/spec/models/group_spec.rb +12 -0
- data/spec/models/like_spec.rb +68 -0
- data/spec/models/profile_spec.rb +2 -1
- data/spec/models/relation_custom_spec.rb +14 -0
- data/spec/models/tie_spec.rb +26 -2
- metadata +195 -94
- data/app/controllers/avatars_controller.rb +0 -51
- data/app/controllers/representations_controller.rb +0 -19
- data/app/controllers/ties_controller.rb +0 -22
- data/app/helpers/ties_helper.rb +0 -37
- data/app/models/avatar.rb +0 -91
- data/app/models/representation.rb +0 -35
- data/app/views/avatars/_form.html.erb +0 -12
- data/app/views/avatars/_precrop.html.erb +0 -66
- data/app/views/avatars/edit.html.erb +0 -6
- data/app/views/avatars/new.html.erb +0 -32
- data/app/views/avatars/show.html.erb +0 -5
- data/app/views/groups/_location.html.erb +0 -3
- data/app/views/groups/_logo.html.erb +0 -5
- data/app/views/home/_location.html.erb +0 -3
- data/app/views/subjects/_toolbar_home.html.erb +0 -9
- data/app/views/subjects/_toolbar_profile_menu.html.erb +0 -12
- data/app/views/subjects/_toolbar_profile_menu_basic_options.html.erb +0 -13
- data/app/views/subjects/_toolbar_profile_menu_tie_options.html.erb +0 -41
- data/app/views/ties/_new.html.erb +0 -64
- data/app/views/ties/_tie.html.erb +0 -23
- data/app/views/ties/new.html.erb +0 -1
- data/app/views/users/_location.html.erb +0 -3
- data/lib/generators/social_stream/templates/public/images/w3c_css.png +0 -0
- data/lib/generators/social_stream/templates/public/images/w3c_xhtml.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/addContact.js +0 -100
- data/lib/generators/social_stream/templates/public/stylesheets/default/addContact.css +0 -29
- data/spec/controllers/representations_controller_spec.rb +0 -51
- data/spec/controllers/ties_controller_spec.rb +0 -19
- data/spec/models/representation_spec.rb +0 -16
data/app/views/{subjects/_toolbar_home_menu_options.html.erb → toolbar/_home_menu_options.html.erb}
RENAMED
@@ -1,14 +1,18 @@
|
|
1
1
|
<ul class="menu">
|
2
2
|
|
3
|
+
<%= menu_options[:notifications] || capture do %>
|
4
|
+
<%= render :partial =>'toolbar/notifications_menu'%>
|
5
|
+
<% end %>
|
6
|
+
|
3
7
|
<%= menu_options[:messages] || capture do %>
|
4
|
-
<%= render :partial =>'
|
8
|
+
<%= render :partial =>'toolbar/message_menu'%>
|
5
9
|
<% end %>
|
6
10
|
|
7
11
|
<%= menu_options[:contacts] || capture do %>
|
8
12
|
<li>
|
9
13
|
<%= link_to( image_tag("btn/btn_friend.png", :class => "menu_icon")+t('contact.other'), '#', :id => "contacts_menu") %>
|
10
14
|
<ul>
|
11
|
-
<% current_subject.
|
15
|
+
<% current_subject.relation_customs.sort.each do |r| %>
|
12
16
|
<li>
|
13
17
|
<%= link_to image_tag("btn/btn_friend.png", :class => "menu_icon") + r.name , contacts_path(:relation => r.id) %>
|
14
18
|
</li>
|
@@ -18,7 +22,7 @@
|
|
18
22
|
<% end %>
|
19
23
|
|
20
24
|
<%= menu_options[:subjects] || capture do %>
|
21
|
-
<%= render :partial => '
|
25
|
+
<%= render :partial => 'toolbar/home_menu_options_subjects' %>
|
22
26
|
<% end %>
|
23
27
|
|
24
28
|
</ul>
|
File without changes
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="center">
|
4
4
|
<span class="title_bold" ><%= subject.name %></span>
|
5
5
|
<div class="logo_grid logo_full">
|
6
|
-
<%= link_to image_tag(subject.logo.url, :alt => subject.name , :size => "119x119"), subject %>
|
6
|
+
<%= link_to image_tag(subject.logo.url, :alt => subject.name , :size => "119x119", :id => "current_avatar_img"), subject %>
|
7
7
|
<div class="logo_menu logo_caption">
|
8
8
|
<%= link_to t('avatar.profile_change'), avatars_path %>
|
9
9
|
</div>
|
File without changes
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<%= render :partial => '
|
1
|
+
<%= render :partial => 'toolbar/logo', :locals => { :subject => subject } %>
|
2
2
|
|
3
3
|
<div class="block space_center"></div>
|
4
4
|
|
5
|
-
<%= render :partial => '
|
5
|
+
<%= render :partial => 'toolbar/profile_menu', :locals => { :subject => subject } %>
|
6
6
|
|
7
7
|
<div class="block space_center"></div>
|
8
8
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<% content_for :headers do %>
|
2
|
+
<%= stylesheet_link_tag "menu", :media => "screen, projection" %>
|
3
|
+
<%= javascript_include_tag 'menu' %>
|
4
|
+
<% end %>
|
5
|
+
|
6
|
+
<div id="menu_lateral">
|
7
|
+
<ul class="menu">
|
8
|
+
<% unless subject == current_subject %>
|
9
|
+
<%= render :partial => "toolbar/profile_menu_tie_options", :locals => { :subject => subject } %>
|
10
|
+
<% end %>
|
11
|
+
|
12
|
+
<%= render :partial => "toolbar/profile_menu_basic_options", :locals => { :subject => subject } %>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
<div class="space_center"></div>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<%= menu_options[:like] || capture do %>
|
2
|
+
<li>
|
3
|
+
<div class="verb_like" id="like_<%= dom_id(subject) %>">
|
4
|
+
<%= link_like(subject)%>
|
5
|
+
</div>
|
6
|
+
</li>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<%= menu_options[:contacts] || capture do %>
|
10
|
+
<!-- TODO: create helper -->
|
11
|
+
<% if user_signed_in? %>
|
12
|
+
<% if current_subject.ties_to(subject).present? %>
|
13
|
+
<li >
|
14
|
+
<%= link_to image_tag("btn/btn_friend.png", :class => "menu_icon") +
|
15
|
+
t('tie.edit.contact', :type => current_subject.ties_to(subject).map(&:relation_name).join(", ")),
|
16
|
+
edit_contact_path(subject.actor_id) %>
|
17
|
+
</li>
|
18
|
+
<% else %>
|
19
|
+
<li >
|
20
|
+
<%= link_to image_tag("btn/btn_friend.png", :class => "menu_icon") +
|
21
|
+
t('tie.add.contact'),
|
22
|
+
edit_contact_path(subject.actor_id),
|
23
|
+
:id => 'contacts_menu' %>
|
24
|
+
</li>
|
25
|
+
<% end %>
|
26
|
+
<% end %>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<%= menu_options[:messages] || capture do %>
|
30
|
+
<% if user_signed_in? %>
|
31
|
+
<li >
|
32
|
+
<%= link_to(image_tag("btn/btn_send.png", :class => "menu_icon")+t('message.send'), new_message_path(:receiver => subject.slug)) %>
|
33
|
+
</li>
|
34
|
+
<% end %>
|
35
|
+
<% end %>
|
@@ -1,6 +1 @@
|
|
1
|
-
|
2
|
-
<div class="block space_center"></div>
|
3
|
-
<%= render :partial => "ties/suggestions" %>
|
4
|
-
<div class="block space_center"></div>
|
5
|
-
<%= render :partial => 'ties/pendings' %>
|
6
|
-
<% end %>
|
1
|
+
<%= render :partial => 'contacts/suggestions_and_pendings' %>
|
@@ -12,9 +12,9 @@
|
|
12
12
|
<%= render :partial => "users/sidebar_index" %>
|
13
13
|
<% end %>
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
<%= location(image_tag("btn/btn_browse.png", :class=>"btn_config") + t('browse') +": "+
|
16
|
+
content_tag(:b ,content_tag(:span, t('user.other'), :id=>'name_group')) + ", "+
|
17
|
+
link_to(t('group.by'),groups_path))%>
|
18
18
|
|
19
19
|
<div class="space_center"></div>
|
20
20
|
|
@@ -2,15 +2,25 @@
|
|
2
2
|
<%= @user.name%>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
+
<% if @user.profile.description? %>
|
6
|
+
<% content_for :description do %>
|
7
|
+
<%= @user.profile.description%>
|
8
|
+
<% end %>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<% content_for :keywords do %>
|
12
|
+
<%= @user.profile.subject.tag_list%>
|
13
|
+
<% end %>
|
5
14
|
|
6
15
|
<% content_for :sidebar do %>
|
7
16
|
<%= render :partial => 'sidebar_index' %>
|
8
17
|
<% end %>
|
9
18
|
|
19
|
+
<%= location(link_to(image_tag("btn/btn_profile.png", :class => "btn_config")+t('profile.one')+": "+
|
20
|
+
content_tag(:span, ( sanitize @user.name), :class=>"name_group")))%>
|
21
|
+
|
10
22
|
<% toolbar :profile => @user %>
|
11
23
|
|
12
|
-
<%= render :partial => 'location' %>
|
13
|
-
|
14
24
|
<br class="clearfloat" />
|
15
25
|
<div class="space_center">
|
16
26
|
</div>
|
data/config/locales/en.yml
CHANGED
@@ -21,59 +21,23 @@ en:
|
|
21
21
|
User:
|
22
22
|
title: "%{subject} added %{contact} as contact."
|
23
23
|
message: "%{name} added you as contact."
|
24
|
-
notification:
|
25
|
-
subject: "%{name} added you as contact."
|
26
|
-
body: "%{name} added you as contact."
|
27
24
|
Group:
|
28
25
|
title: "%{subject} added %{contact} as contact."
|
29
26
|
message: "%{name} added you as contact."
|
30
|
-
notification:
|
31
|
-
subject: "%{name} added you as contact."
|
32
|
-
body: "%{name} added you as contact."
|
33
27
|
like:
|
34
28
|
User:
|
35
29
|
title: "%{subject} is a fan of %{contact}."
|
36
30
|
message: "%{name} is now your fan."
|
37
|
-
notification:
|
38
|
-
subject: "%{name} is now your fan."
|
39
|
-
body: "%{name} is now your fan."
|
40
31
|
Group:
|
41
32
|
title: "%{subject} is a fan of %{contact}."
|
42
33
|
message: "%{name} is now your fan."
|
43
|
-
notification:
|
44
|
-
subject: "%{name} is now your fan."
|
45
|
-
body: "%{name} is now your fan."
|
46
34
|
make-friend:
|
47
35
|
User:
|
48
36
|
title: "%{subject} and %{contact} are now connected."
|
49
37
|
message: "%{name} also added you as contact."
|
50
|
-
notification:
|
51
|
-
subject: "%{name} also added you as contact."
|
52
|
-
body: "%{name} also added you as contact."
|
53
38
|
Group:
|
54
39
|
title: "%{subject} added %{contact} as contact."
|
55
40
|
message: "%{name} added you as contact."
|
56
|
-
notification:
|
57
|
-
subject: "%{name} added you as contact."
|
58
|
-
body: "%{name} added you as contact."
|
59
|
-
post:
|
60
|
-
User:
|
61
|
-
notification:
|
62
|
-
subject: "%{name} has posted something(%{direct_object}) in your wall"
|
63
|
-
body: "%{name} has posted something(%{direct_object}) in your wall"
|
64
|
-
Group:
|
65
|
-
notification:
|
66
|
-
subject: "%{name} has posted %{direct_object} in your wall"
|
67
|
-
body: "%{name} has posted something(%{direct_object}) in your wall"
|
68
|
-
update:
|
69
|
-
User:
|
70
|
-
notification:
|
71
|
-
subject: "%{name} has updated %{direct_object} in your wall"
|
72
|
-
body: "%{name} has updated something(%{direct_object}) in your wall"
|
73
|
-
Group:
|
74
|
-
notification:
|
75
|
-
subject: "%{name} has updated %{direct_object} in your wall"
|
76
|
-
body: "%{name} has updated something(%{direct_object}) in your wall"
|
77
41
|
|
78
42
|
avatar:
|
79
43
|
crop_image: "Crop the uploaded image"
|
@@ -86,7 +50,7 @@ en:
|
|
86
50
|
list: "You have these avatars"
|
87
51
|
new: "Create a new avatar"
|
88
52
|
new_short: "New avatar"
|
89
|
-
no_avatars: "You haven't any avatar, plesase create a new one."
|
53
|
+
no_avatars: "You haven't got any avatar, plesase create a new one."
|
90
54
|
one: "Avatar"
|
91
55
|
other: "Avatars"
|
92
56
|
original: "Original image"
|
@@ -101,6 +65,7 @@ en:
|
|
101
65
|
browse: "Browse"
|
102
66
|
button:
|
103
67
|
cancel: "Cancel"
|
68
|
+
save: "Save"
|
104
69
|
update: "Update"
|
105
70
|
comment:
|
106
71
|
input: "Write a comment..."
|
@@ -108,13 +73,24 @@ en:
|
|
108
73
|
contact:
|
109
74
|
all_n: "All contacts (%{count})"
|
110
75
|
edit:
|
76
|
+
title: "Edit contact"
|
111
77
|
submit: "Edit Contact"
|
112
78
|
new:
|
113
79
|
link: "+ Add contact"
|
114
|
-
title: "Add
|
80
|
+
title: "Add new contact"
|
115
81
|
submit: "Add Contact"
|
116
82
|
one: "Contact"
|
117
83
|
other: "Contacts"
|
84
|
+
pending:
|
85
|
+
other: "Pending requests"
|
86
|
+
all: "All"
|
87
|
+
relation:
|
88
|
+
one: "Contact type"
|
89
|
+
new: "New type"
|
90
|
+
suggestion:
|
91
|
+
one: "Suggestion"
|
92
|
+
other: "Suggestions"
|
93
|
+
all: "All"
|
118
94
|
copyright: "2010 Copyright - All rights reserved"
|
119
95
|
days: Days
|
120
96
|
delete:
|
@@ -152,6 +128,10 @@ en:
|
|
152
128
|
unlocks:
|
153
129
|
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
|
154
130
|
unlocked: 'Your account was successfully unlocked. You are now signed in.'
|
131
|
+
follower:
|
132
|
+
n:
|
133
|
+
one: "1 follower"
|
134
|
+
other: "%{count} followers"
|
155
135
|
forgot_password: "Forgot you password?"
|
156
136
|
frontpage:
|
157
137
|
collaborate:
|
@@ -179,6 +159,7 @@ en:
|
|
179
159
|
one: "Group"
|
180
160
|
other: "Groups"
|
181
161
|
all: "All groups"
|
162
|
+
all_n: "All groups (%{count})"
|
182
163
|
by: "By groups"
|
183
164
|
last: "Last groups"
|
184
165
|
my: "My groups"
|
@@ -188,14 +169,23 @@ en:
|
|
188
169
|
description: "Description"
|
189
170
|
participants: "Participants"
|
190
171
|
cloud: "Group tag cloud"
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
most: "Most voted"
|
172
|
+
most:
|
173
|
+
followed: "Most followed"
|
174
|
+
liked: "Most liked"
|
195
175
|
help: "Help"
|
176
|
+
helpers:
|
177
|
+
submit:
|
178
|
+
sphere:
|
179
|
+
create: "Save"
|
180
|
+
relation_custom:
|
181
|
+
create: "Save"
|
196
182
|
home: "Home"
|
197
183
|
inbox:
|
198
184
|
one: "Inbox"
|
185
|
+
like:
|
186
|
+
n:
|
187
|
+
one: "1 fan"
|
188
|
+
other: "%{count} fans"
|
199
189
|
location:
|
200
190
|
message: "You are here > %{location}"
|
201
191
|
base: "You are here"
|
@@ -214,6 +204,12 @@ en:
|
|
214
204
|
sentbox: "Sentbox"
|
215
205
|
trash: "Trash"
|
216
206
|
send: "Send a message"
|
207
|
+
notification:
|
208
|
+
one: "Notification"
|
209
|
+
other: "Notifications"
|
210
|
+
read: "Mark as read"
|
211
|
+
read_all: "Mark all as read"
|
212
|
+
unread: "Mark as unread"
|
217
213
|
password:
|
218
214
|
forgot: "Do you forgot your password?"
|
219
215
|
post:
|
@@ -238,12 +234,19 @@ en:
|
|
238
234
|
contact: "Contact information"
|
239
235
|
country: "Country"
|
240
236
|
email: "E-mail"
|
237
|
+
empty: "These fields are empty. Please, update them."
|
241
238
|
fax: "Fax"
|
242
239
|
mobile: "Mobile"
|
243
240
|
organization: "Organization"
|
244
241
|
phone: "Phone"
|
245
242
|
profile: "Edit profile"
|
246
|
-
|
243
|
+
tags:
|
244
|
+
default: "social, stream,"
|
245
|
+
other: "Tags"
|
246
|
+
website: "Website"
|
247
|
+
update:
|
248
|
+
error: "Please, check the format of your profile:"
|
249
|
+
success: "Your profile has been updated"
|
247
250
|
public:
|
248
251
|
other: "Everybody"
|
249
252
|
representation:
|
@@ -252,51 +255,75 @@ en:
|
|
252
255
|
service:
|
253
256
|
one: "Service"
|
254
257
|
other: "Services"
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
258
|
+
permission:
|
259
|
+
description:
|
260
|
+
brief:
|
261
|
+
create:
|
262
|
+
activity:
|
263
|
+
nil: "Post to wall"
|
264
|
+
destroy:
|
265
|
+
activity:
|
266
|
+
nil: "Delete activities in wall"
|
267
|
+
follow:
|
268
|
+
nil:
|
269
|
+
nil: "Follow their activity"
|
270
|
+
read:
|
271
|
+
activity:
|
272
|
+
weak_star_ties: "Read wall"
|
273
|
+
represent:
|
274
|
+
nil:
|
275
|
+
nil: "Represent"
|
276
|
+
detailed:
|
277
|
+
create:
|
278
|
+
activity:
|
279
|
+
nil: "Post to \"%{sphere}\" wall at %{relation} level"
|
280
|
+
weak_ties: "Post to \"%{sphere}\" wall as %{relations} and %{public}"
|
281
|
+
destroy:
|
282
|
+
activity:
|
283
|
+
nil: "Delete the activities posted to \"%{sphere}\" wall by this %{relation}"
|
284
|
+
weak_star_ties: "Delete the activities posted to \"%{sphere}\" wall at levels %{relations} and %{public}"
|
285
|
+
follow:
|
286
|
+
nil:
|
287
|
+
nil: "Activities of the contacts at %{relation} level will appear in our home wall"
|
288
|
+
read:
|
289
|
+
activity:
|
290
|
+
weak_star_ties: "Read posts in \"%{sphere}\" wall at levels %{relations} and %{public}"
|
291
|
+
tie:
|
292
|
+
weak_star_ties:
|
293
|
+
"See contacts in levels: %{relations} and %{public}"
|
294
|
+
represent:
|
295
|
+
nil:
|
296
|
+
nil: "Represent me/us in the website"
|
297
|
+
update:
|
298
|
+
activity:
|
299
|
+
nil: "Update the wall activities posted by %{relation}"
|
300
|
+
weak_star_ties: "Update the wall activities posted in levels %{relations} and %{public}"
|
301
|
+
of_relation:
|
302
|
+
choose: "3. Permissions in <strong>%{name}</strong> level"
|
303
|
+
privacy:
|
304
|
+
intro: "Contacts at <strong>%{relation}</strong> level are only allowed to:"
|
305
|
+
rule:
|
306
|
+
title: "Privacy rules"
|
307
|
+
saved: "Privacy rules saved"
|
266
308
|
products:
|
267
309
|
one: "Product"
|
268
310
|
other: "Products"
|
269
|
-
|
270
|
-
|
311
|
+
relation_custom:
|
312
|
+
in_sphere:
|
313
|
+
choose: "2. Levels in <strong>%{name}</strong> sphere"
|
314
|
+
new: "+ New level"
|
315
|
+
relation_public:
|
271
316
|
name: "Public"
|
272
317
|
share: "Share"
|
273
318
|
sign_in: "Sign in"
|
274
319
|
sign_out: "Sign out"
|
275
320
|
sign_up: "Sign up"
|
276
321
|
socialstream: "SocialStream"
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
like: "Like"
|
283
|
-
partner: "Add Partner"
|
284
|
-
relation:
|
285
|
-
one: "Contact type"
|
286
|
-
new: "New type"
|
287
|
-
edit:
|
288
|
-
contact: "Contact: %{type}"
|
289
|
-
title: "Edit Contact"
|
290
|
-
new:
|
291
|
-
title: "Add New Contact"
|
292
|
-
pending:
|
293
|
-
other: "Pending requests"
|
294
|
-
all: "All"
|
295
|
-
suggestion:
|
296
|
-
one: "Suggestion"
|
297
|
-
other: "Suggestions"
|
298
|
-
all: "All"
|
299
|
-
options: "Tie options"
|
322
|
+
sphere:
|
323
|
+
title: "Privacy & context"
|
324
|
+
choose: "1. Choose sphere"
|
325
|
+
new: '+ New sphere'
|
326
|
+
sure: "Are you sure?"
|
300
327
|
time:
|
301
328
|
ago: "%{time} ago"
|
302
329
|
user:
|