social_stream 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/base/app/assets/images/arrow-end.png +0 -0
- data/base/app/assets/images/arrow-start.png +0 -0
- data/base/app/assets/images/arrow.png +0 -0
- data/base/app/assets/javascripts/layouts.js +0 -1
- data/base/app/assets/stylesheets/frontpage.css +2 -2
- data/base/app/assets/stylesheets/location.css +36 -0
- data/base/app/helpers/location_helper.rb +3 -5
- data/base/app/helpers/toolbar_helper.rb +5 -6
- data/base/app/views/avatars/index.html.erb +2 -2
- data/base/app/views/contacts/edit.html.erb +2 -2
- data/base/app/views/conversations/_show.html.erb +2 -2
- data/base/app/views/conversations/index.html.erb +1 -3
- data/base/app/views/devise/registrations/edit.html.erb +1 -1
- data/base/app/views/frontpage/_header.html.erb +1 -1
- data/base/app/views/home/index.html.erb +1 -2
- data/base/app/views/invitation_mailer/send_invitation.html.erb +1 -1
- data/base/app/views/invitation_mailer/send_invitation.text.erb +2 -2
- data/base/app/views/invitations/new.html.erb +1 -1
- data/base/app/views/layouts/_footer.html.erb +1 -1
- data/base/app/views/layouts/_header.erb +1 -1
- data/base/app/views/layouts/application.html.erb +1 -1
- data/base/app/views/layouts/frontpage.html.erb +1 -1
- data/base/app/views/location/_location_body.html.erb +18 -0
- data/base/app/views/message_mailer/new_message_email.html.erb +2 -2
- data/base/app/views/message_mailer/new_message_email.text.erb +1 -1
- data/base/app/views/message_mailer/reply_message_email.html.erb +2 -2
- data/base/app/views/message_mailer/reply_message_email.text.erb +1 -1
- data/base/app/views/messages/new.html.erb +2 -2
- data/base/app/views/profiles/edit.html.erb +6 -6
- data/base/app/views/profiles/show.html.erb +1 -2
- data/base/app/views/users/index.html.erb +1 -1
- data/base/app/views/users/show.html.erb +1 -2
- data/base/config/locales/en.yml +7 -6
- data/base/lib/social_stream-base.rb +4 -1
- data/base/lib/social_stream/base.rb +6 -0
- data/base/lib/social_stream/base/version.rb +1 -1
- data/base/lib/social_stream/toolbar_config/base.rb +87 -0
- data/base/lib/tasks/workers.rake +163 -0
- data/documents/app/assets/stylesheets/documents.css +5 -0
- data/documents/app/models/audio.rb +2 -7
- data/documents/app/models/video.rb +2 -7
- data/documents/app/views/audios/_audio.html.erb +7 -42
- data/documents/app/views/audios/_audio_processed.html.erb +47 -0
- data/documents/app/views/audios/_audio_processing.html.erb +7 -0
- data/documents/app/views/common-documents/_index.html.erb +3 -3
- data/documents/app/views/videos/_video.html.erb +5 -46
- data/documents/app/views/videos/_video_processed.html.erb +49 -0
- data/documents/app/views/videos/_video_processing.html.erb +7 -0
- data/documents/config/locales/en.yml +2 -0
- data/documents/db/migrate/20110922173707_add_file_processing_to_document.rb +9 -0
- data/documents/lib/social_stream-documents.rb +5 -0
- data/documents/lib/social_stream/documents/engine.rb +5 -0
- data/documents/lib/social_stream/toolbar_config/documents.rb +40 -0
- data/documents/social_stream-documents.gemspec +2 -0
- data/events/lib/social_stream-events.rb +6 -1
- data/events/lib/social_stream/events/engine.rb +5 -2
- data/events/lib/social_stream/toolbar_config/events.rb +40 -0
- data/lib/social_stream/version.rb +1 -1
- data/social_stream.gemspec +1 -1
- data/social_stream.thor +110 -0
- metadata +22 -33
- data/base/lib/social_stream/toolbar_config.rb +0 -99
- data/events/app/views/users/index.html.erb +0 -46
- data/spec/dummy/documents/pictures/000/000/009/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/009/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/009/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/010/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/010/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/010/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/011/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/011/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/011/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/012/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/012/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/012/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/013/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/013/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/013/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/014/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/014/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/014/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/015/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/015/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/015/thumb0.png +0 -0
- data/spec/dummy/documents/pictures/000/000/016/original.png +0 -0
- data/spec/dummy/documents/pictures/000/000/016/thumb.png +0 -0
- data/spec/dummy/documents/pictures/000/000/016/thumb0.png +0 -0
data/.gitignore
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -19,8 +19,8 @@ span.find{ padding-right:5px;}
|
|
|
19
19
|
#login{ padding-top: 5px;}
|
|
20
20
|
.instructions{text-align: left; padding-bottom: 5px;}
|
|
21
21
|
#remember{padding-left:22%; text-align: left;}
|
|
22
|
-
#user_password_confirmation{vertical-align: 30%;}
|
|
23
|
-
#user_password_confirmation_label {padding-top: 0;}
|
|
22
|
+
#welcome #user_password_confirmation{vertical-align: 30%;}
|
|
23
|
+
#welcome #user_password_confirmation_label {padding-top: 0;}
|
|
24
24
|
#welcome{ margin: 50px auto 50px auto; width:330px; padding:20px; border: 4px solid #BDC7D8;
|
|
25
25
|
background-color: white;-moz-border-radius: 20px;
|
|
26
26
|
-webkit-border-radius: 20px; border-radius: 20px;}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#map_location .first{
|
|
2
|
+
background: transparent url("/assets/arrow-start.png") no-repeat top left;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
height: 23px;
|
|
5
|
+
margin-left: 5px;
|
|
6
|
+
}
|
|
7
|
+
#map_location .first span{
|
|
8
|
+
margin-left:5px;
|
|
9
|
+
}
|
|
10
|
+
#map_location .last{
|
|
11
|
+
margin-left: 5px;
|
|
12
|
+
}
|
|
13
|
+
#map_location .last a{
|
|
14
|
+
font-size: inherit;
|
|
15
|
+
}
|
|
16
|
+
#map_location .mid{
|
|
17
|
+
background: transparent url("/assets/arrow.png") no-repeat top right;
|
|
18
|
+
}
|
|
19
|
+
#map_location .penultimate{
|
|
20
|
+
background: transparent url("/assets/arrow-end.png") no-repeat top right;
|
|
21
|
+
}
|
|
22
|
+
#map_location .mid, #map_location .penultimate{
|
|
23
|
+
color: white;
|
|
24
|
+
padding-left:5px;
|
|
25
|
+
padding-right: 12px;
|
|
26
|
+
}
|
|
27
|
+
#map_location .last, #map_location .mid, #map_location .penultimate{
|
|
28
|
+
display: inline-block;
|
|
29
|
+
font-size: 13px;
|
|
30
|
+
height: 23px;
|
|
31
|
+
line-height: 23px;
|
|
32
|
+
}
|
|
33
|
+
#map_location .mid a, #map_location .penultimate a{
|
|
34
|
+
color: inherit;
|
|
35
|
+
font-size: inherit;
|
|
36
|
+
}
|
|
@@ -16,15 +16,13 @@ module LocationHelper
|
|
|
16
16
|
# partial => location/_location.html.erb
|
|
17
17
|
#
|
|
18
18
|
# Example:
|
|
19
|
-
# Render a location with
|
|
19
|
+
# Render a location with two leves depth:
|
|
20
20
|
#
|
|
21
21
|
# <%= location(link_to(leve1.name, level1.url),link_to(leve2.name, level2.url)) %>
|
|
22
22
|
#
|
|
23
23
|
def location(*stack)
|
|
24
|
-
|
|
25
|
-
stack
|
|
26
|
-
location_body << t('location.separator') + level
|
|
27
|
-
}
|
|
24
|
+
|
|
25
|
+
location_body = render :partial => "location/location_body", :locals=>{:stack => stack}
|
|
28
26
|
|
|
29
27
|
location_div = capture do
|
|
30
28
|
render :partial => "location/location", :locals=>{:location_body => location_body}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
module ToolbarHelper
|
|
2
|
+
# Configuration of toolbar items
|
|
3
|
+
include SocialStream::ToolbarConfig
|
|
4
|
+
|
|
2
5
|
# Define the toolbar content for your view. There are two typical cases, depending on the value of
|
|
3
6
|
# options[:profile]
|
|
4
7
|
# * If present, render the profile menu for the {SocialStream::Models::Subject subject}
|
|
@@ -82,21 +85,17 @@ module ToolbarHelper
|
|
|
82
85
|
|
|
83
86
|
#Prints the home toolbar menu.
|
|
84
87
|
def home_toolbar_menu
|
|
85
|
-
|
|
88
|
+
render_items home_toolbar_items
|
|
86
89
|
end
|
|
87
90
|
|
|
88
91
|
#Prints the home profile menu.
|
|
89
92
|
def profile_toolbar_menu(subject=current_subject)
|
|
90
|
-
|
|
93
|
+
render_items profile_toolbar_items(subject)
|
|
91
94
|
end
|
|
92
95
|
|
|
93
|
-
|
|
94
96
|
#Renders array of navigation items with simple_navigation
|
|
95
97
|
def render_items(items)
|
|
96
98
|
menu = render_navigation :items => items
|
|
97
99
|
return raw menu
|
|
98
100
|
end
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
include SocialStream::ToolbarConfig
|
|
102
101
|
end
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
<% end %>
|
|
22
22
|
|
|
23
23
|
<%= location(
|
|
24
|
-
link_to(
|
|
25
|
-
link_to(
|
|
24
|
+
link_to(t('menu.information'), [current_subject,:profile]),
|
|
25
|
+
link_to(t('avatar.other'), avatars_path)
|
|
26
26
|
) %>
|
|
27
27
|
|
|
28
28
|
<%= render :partial => 'list' %>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<% toolbar :profile => @contact.receiver_subject, :option => 'contacts' %>
|
|
2
2
|
|
|
3
|
-
<% location link_to(
|
|
4
|
-
|
|
3
|
+
<% location link_to(t("contact.#{ @contact.action }.title", :name => @contact.receiver.name),
|
|
4
|
+
edit_contact_path(@contact.to_param)) %>
|
|
5
5
|
|
|
6
6
|
<%= render :partial => 'form' %>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<%= location(
|
|
2
|
-
link_to(
|
|
3
|
-
link_to(
|
|
2
|
+
link_to(t('message.' + @box), conversations_path(:box => @box),:remote => true),
|
|
3
|
+
link_to(truncate(@conversation.subject, :length => 45), conversation_path(@conversation.id,:box => @box,:page => params[:page]))
|
|
4
4
|
) %>
|
|
5
5
|
|
|
6
6
|
<br class="clearfloat" />
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
$('.pagination a').attr('data-remote', 'true');
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
13
|
-
<%= location(
|
|
14
|
-
link_to(image_tag("btn/message_" + @box + ".png", :class => "menu_icon")+t('message.' + @box), conversations_path(:box => @box),:remote => true)
|
|
15
|
-
) %>
|
|
13
|
+
<%= location(link_to(t('message.' + @box), conversations_path(:box => @box),:remote => true)) %>
|
|
16
14
|
|
|
17
15
|
<% toolbar :option => :messages %>
|
|
18
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div id="headerFront">
|
|
2
2
|
<div class="banner_top">
|
|
3
|
-
<div id="logo"><%= link_to(image_tag('logo.png', :alt => t('
|
|
3
|
+
<div id="logo"><%= link_to(image_tag('logo.png', :alt => t('site.name')), '/'); %></div>
|
|
4
4
|
<div class="div_login">
|
|
5
5
|
<%= form_for User.new, :as => :user, :url => user_session_path do |f| -%>
|
|
6
6
|
<span><%= f.label :email %></span>
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
<% render :partial => 'sidebar' %>
|
|
3
3
|
<% end %>
|
|
4
4
|
|
|
5
|
-
<%= location(link_to(
|
|
6
|
-
content_tag(:span, ( sanitize current_subject.name), :class=>"name_group")))%>
|
|
5
|
+
<%= location(link_to(t('home')+": "+ truncate_name(sanitize current_subject.name)))%>
|
|
7
6
|
|
|
8
7
|
<% toolbar %>
|
|
9
8
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div>
|
|
8
8
|
<div>
|
|
9
9
|
<div style="padding: 10px 5px 5px 5px;">
|
|
10
|
-
<span id="name" style="font-weight: bold;"><%= @sender.name %></span> has invited you to <%= link_to( t('
|
|
10
|
+
<span id="name" style="font-weight: bold;"><%= @sender.name %></span> has invited you to <%= link_to( t('site.name'), new_user_registration_url)%>
|
|
11
11
|
</div>
|
|
12
12
|
<div style="position: static;padding: 5px; border: #2A3890 solid 2px; background-color: #E1EEF5; margin:10px; min-height: 125px; width: 500px;">
|
|
13
13
|
<div style="float:left; margin-right:7px; border: thin solid #D4E4EA; background-color: white; max-height: 119px;">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<%= @sender.name %> has invited you to <%= t('
|
|
1
|
+
<%= @sender.name %> has invited you to <%= t('site.name')%>: <%= new_user_registration_url%>
|
|
2
2
|
|
|
3
3
|
<% if @message.blank? %>
|
|
4
4
|
<%= t('invitation.join_me')%>
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
|
|
18
18
|
<%= t('frontpage.collaborate.default')%>:
|
|
19
19
|
<%= t('frontpage.collaborate.sentence1') %>
|
|
20
|
-
<%= t('frontpage.collaborate.sentence2') %>
|
|
20
|
+
<%= t('frontpage.collaborate.sentence2') %>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="banner_top banner_top_height">
|
|
3
3
|
<div id="header_left">
|
|
4
4
|
<div id="logo_txt">
|
|
5
|
-
<%= link_to(image_tag('header-logo.png', :alt => t('
|
|
5
|
+
<%= link_to(image_tag('header-logo.png', :alt => t('site.name')), root_path) %>
|
|
6
6
|
</div>
|
|
7
7
|
<% if user_signed_in? %>
|
|
8
8
|
<div class="menu_list menu_white" id="menu_home">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
|
-
<title><%= yield(:title).empty? ? t('
|
|
6
|
+
<title><%= yield(:title).empty? ? t('site.name') : yield(:title)%></title>
|
|
7
7
|
<meta name="keywords" content="<%= t('profile.tags.default') %><%= yield(:keywords) %>" >
|
|
8
8
|
<meta name="description" content= "<%= yield(:description).empty? ? t('frontpage.main_title') : yield(:description) %>" >
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
|
-
<title><%= yield(:title).empty? ? t('
|
|
6
|
+
<title><%= yield(:title).empty? ? t('site.name') : yield(:title)%></title>
|
|
7
7
|
<meta name="keywords" content="<%= yield(:keywords).empty? ? t('profile.tags.default') : yield(:keywords) %>" >
|
|
8
8
|
<meta name="description" content= "<%= yield(:description).empty? ? "Home" : yield(:description) %>" >
|
|
9
9
|
<%= stylesheet_link_tag "application" %>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
<% aux='<div class="last">' + stack.last + '</div>' %>
|
|
3
|
+
<% if stack.count >1 %>
|
|
4
|
+
<% aux.insert(0, '<div class="penultimate">'+ stack.last(2).first + '</div>') %>
|
|
5
|
+
<% end %>
|
|
6
|
+
|
|
7
|
+
<% if stack.count >2 %>
|
|
8
|
+
<% stack.first(stack.count - 2).reverse.collect {|level|
|
|
9
|
+
aux.insert(0, '<div class="mid">'+ level + '</div>')
|
|
10
|
+
} %>
|
|
11
|
+
<% end %>
|
|
12
|
+
|
|
13
|
+
<% if stack.count ==1 %>
|
|
14
|
+
<% aux.insert(0, '<div class="first"><span class="penultimate">'+ t('location.base') + '</span></div>') %>
|
|
15
|
+
<% else %>
|
|
16
|
+
<% aux.insert(0, '<div class="first"><span class="mid">'+ t('location.base') + '</span></div>') %>
|
|
17
|
+
<% end%>
|
|
18
|
+
<%= raw aux %>
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
<div style="padding: 10px 5px 5px 5px;">
|
|
29
29
|
<p>
|
|
30
|
-
<%= link_to((t('message.look')+" at "+t('
|
|
30
|
+
<%= link_to((t('message.look')+" at "+t('site.name')), conversation_url(@message.conversation))%>
|
|
31
31
|
</p>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
</body>
|
|
35
|
-
</html>
|
|
35
|
+
</html>
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
<%= @message.body.html_safe? ? @message.body : strip_tags(@message.body) %>
|
|
6
6
|
-----------------------------------------------
|
|
7
7
|
|
|
8
|
-
<%=t('message.look')%> at <%= t('
|
|
8
|
+
<%=t('message.look')%> at <%= t('site.name')%>: <%=conversation_url(@message.conversation)%>.
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
<div style="padding: 10px 5px 5px 5px;">
|
|
29
29
|
<p>
|
|
30
|
-
<%= link_to t('message.look'), conversation_url(@message.conversation)%> at <%= t('
|
|
30
|
+
<%= link_to t('message.look'), conversation_url(@message.conversation)%> at <%= t('site.name')%>
|
|
31
31
|
</p>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
</body>
|
|
35
|
-
</html>
|
|
35
|
+
</html>
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
"<%= @message.body.html_safe? ? @message.body : strip_tags(@message.body) %>"
|
|
6
6
|
-----------------------------------------------
|
|
7
7
|
|
|
8
|
-
<%=t('message.look')%> at <%= t('
|
|
8
|
+
<%=t('message.look')%> at <%= t('site.name')%>: <%=conversation_url(@message.conversation)%>.
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<% toolbar :option => :messages %>
|
|
9
9
|
|
|
10
10
|
<%= location(
|
|
11
|
-
link_to(
|
|
12
|
-
link_to(
|
|
11
|
+
link_to(t('message.other'), conversations_path,:remote => true),
|
|
12
|
+
link_to(t('message.new'), new_message_path, :remote => true)
|
|
13
13
|
) %>
|
|
14
14
|
|
|
15
15
|
<% content_for :javascript do %>
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
<%if params[:section].present?
|
|
8
8
|
case params[:section]
|
|
9
9
|
when "about_me"
|
|
10
|
-
level2 = link_to(
|
|
10
|
+
level2 = link_to( t('profile.' + current_subject.class.to_s.downcase + '.info'),
|
|
11
11
|
:controller => :profiles , :action => :edit, :section => "about_me")
|
|
12
12
|
when "contact_info"
|
|
13
|
-
level2 = link_to(
|
|
13
|
+
level2 = link_to(t('profile.contact'),
|
|
14
14
|
:controller => :profiles , :action => :edit, :section => "contact_info")
|
|
15
15
|
when "my_experience"
|
|
16
|
-
level2 = link_to(
|
|
16
|
+
level2 = link_to(t('profile.' + current_subject.class.to_s.downcase + '.experience'),
|
|
17
17
|
:controller => :profiles , :action => :edit, :section => "my_experience")
|
|
18
18
|
when "tags"
|
|
19
|
-
level2 = link_to(
|
|
19
|
+
level2 = link_to(t('profile.' + current_subject.class.to_s.downcase + '.tags'),
|
|
20
20
|
:controller => :profiles , :action => :edit, :section => "tags")
|
|
21
21
|
end
|
|
22
22
|
else
|
|
23
|
-
level2 = link_to(
|
|
23
|
+
level2 = link_to(t('profile.one'),
|
|
24
24
|
:controller => :profiles , :action => :edit)
|
|
25
25
|
end %>
|
|
26
26
|
|
|
27
27
|
<%= location(
|
|
28
|
-
link_to(
|
|
28
|
+
link_to(t('menu.information'), [current_subject, :profile]),
|
|
29
29
|
level2
|
|
30
30
|
) %>
|
|
31
31
|
<div class="space_center"></div>
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
<% toolbar :profile => @profile.subject %>
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
<%= location(link_to(
|
|
22
|
-
[@profile.subject, :profile])) %>
|
|
21
|
+
<%= location(link_to(t('menu.information'), [@profile.subject, :profile])) %>
|
|
23
22
|
|
|
24
23
|
|
|
25
24
|
<%= render :partial => "profile" %>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<%= render :partial => "users/sidebar_index" %>
|
|
9
9
|
<% end %>
|
|
10
10
|
|
|
11
|
-
<%= location(
|
|
11
|
+
<%= location(t('browse') +": "+
|
|
12
12
|
content_tag(:b ,content_tag(:span, t('user.other'), :id=>'name_group')) + ", "+
|
|
13
13
|
link_to(t('group.by'),groups_path))%>
|
|
14
14
|
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
<%= render :partial => 'sidebar_index' %>
|
|
17
17
|
<% end %>
|
|
18
18
|
|
|
19
|
-
<%= location(link_to(
|
|
20
|
-
content_tag(:span, ( truncate_name sanitize @user.name), :class=>"name_group")))%>
|
|
19
|
+
<%= location(link_to(t('profile.one')+": "+truncate_name(sanitize @user.name)))%>
|
|
21
20
|
|
|
22
21
|
<% toolbar :profile => @user %>
|
|
23
22
|
|
data/base/config/locales/en.yml
CHANGED
|
@@ -152,7 +152,7 @@ en:
|
|
|
152
152
|
participants: "Participants"
|
|
153
153
|
groups: "Groups"
|
|
154
154
|
tags: "Tags"
|
|
155
|
-
main_title: "
|
|
155
|
+
main_title: "Social Stream is a core for building social network websites."
|
|
156
156
|
meet:
|
|
157
157
|
default: "Meet"
|
|
158
158
|
sentence1: "Meet interesting people and groups"
|
|
@@ -195,9 +195,9 @@ en:
|
|
|
195
195
|
invitation:
|
|
196
196
|
e-mails: "E-mail addresses"
|
|
197
197
|
error: "Your request was unprocessable"
|
|
198
|
-
invited: " has invited you to
|
|
199
|
-
join: "Invite other people to join
|
|
200
|
-
join_me: "Join me at
|
|
198
|
+
invited: " has invited you to Social Stream!"
|
|
199
|
+
join: "Invite other people to join Social Stream!"
|
|
200
|
+
join_me: "Join me at Social Stream!"
|
|
201
201
|
one: "Invitation"
|
|
202
202
|
other: "Invitations"
|
|
203
203
|
toolbar: "Invite"
|
|
@@ -371,7 +371,8 @@ en:
|
|
|
371
371
|
sign_in: "Sign in"
|
|
372
372
|
sign_out: "Sign out"
|
|
373
373
|
sign_up: "Sign up"
|
|
374
|
-
|
|
374
|
+
site:
|
|
375
|
+
name: "Social Stream"
|
|
375
376
|
subject:
|
|
376
377
|
this_is_you: "This is you!"
|
|
377
378
|
sure: "Are you sure?"
|
|
@@ -383,5 +384,5 @@ en:
|
|
|
383
384
|
other: "Users"
|
|
384
385
|
all: "All users"
|
|
385
386
|
all_n: "All users (%{count})"
|
|
386
|
-
welcome: "Welcome to
|
|
387
|
+
welcome: "Welcome to Social Stream!"
|
|
387
388
|
|