simple_forum 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +18 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +49 -0
- data/Rakefile +27 -0
- data/app/controllers/simple_forum/application_controller.rb +27 -0
- data/app/controllers/simple_forum/forums_controller.rb +29 -0
- data/app/controllers/simple_forum/posts_controller.rb +114 -0
- data/app/controllers/simple_forum/topics_controller.rb +116 -0
- data/app/models/simple_forum.rb +6 -0
- data/app/models/simple_forum/category.rb +28 -0
- data/app/models/simple_forum/forum.rb +69 -0
- data/app/models/simple_forum/moderatorship.rb +18 -0
- data/app/models/simple_forum/post.rb +105 -0
- data/app/models/simple_forum/topic.rb +134 -0
- data/app/models/simple_forum/user_activity.rb +80 -0
- data/app/views/layouts/simple_forum.html.erb +50 -0
- data/app/views/simple_forum/forums/index.html.erb +76 -0
- data/app/views/simple_forum/forums/show.html.erb +92 -0
- data/app/views/simple_forum/posts/edit.html.erb +41 -0
- data/app/views/simple_forum/topics/_post.html.erb +73 -0
- data/app/views/simple_forum/topics/new.html.erb +23 -0
- data/app/views/simple_forum/topics/show.html.erb +68 -0
- data/config/locales/simple_forum.pl.yml +121 -0
- data/config/routes.rb +44 -0
- data/lib/bb-ruby/bb-ruby.rb +57 -0
- data/lib/generators/simple_forum/install_generator.rb +19 -0
- data/lib/generators/templates/simple_forum.rb +34 -0
- data/lib/simple_forum.rb +52 -0
- data/lib/simple_forum/engine.rb +15 -0
- data/lib/simple_forum/tasks/railties.rake +66 -0
- data/lib/simple_forum/version.rb +4 -0
- metadata +114 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
<div id="breadcrumbs">
|
2
|
+
<%= link_to SimpleForum.root_application_name, root_path %>
|
3
|
+
>
|
4
|
+
<%= 'Forum' %>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<% @categories.each do |c| %>
|
8
|
+
<div class="category">
|
9
|
+
<h3>
|
10
|
+
<%= c.name %>
|
11
|
+
</h3>
|
12
|
+
<% if c.body.present? %>
|
13
|
+
<div class="body">
|
14
|
+
<%= c.body %>
|
15
|
+
</div>
|
16
|
+
<% end %>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<table class="forums forum-table">
|
20
|
+
<tr>
|
21
|
+
<th colspan="2">
|
22
|
+
<%= t('.forums') %>
|
23
|
+
</th>
|
24
|
+
<th>
|
25
|
+
<%= t('.topics') %>
|
26
|
+
</th>
|
27
|
+
<th>
|
28
|
+
<%= t('.posts') %>
|
29
|
+
</th>
|
30
|
+
<th>
|
31
|
+
<%= t('.last_post') %>
|
32
|
+
</th>
|
33
|
+
</tr>
|
34
|
+
<% c.forums.each do |f| %>
|
35
|
+
<tr>
|
36
|
+
<td class="icon-cell">
|
37
|
+
<% if f.recent_activity?(authenticated_user) %>
|
38
|
+
<%= image_tag('/simple_forum_engine/images/forumNewPosts.gif', :alt => t('simple_forum.new_posts_present'), :title => t('simple_forum.new_posts_present')) %>
|
39
|
+
<% else %>
|
40
|
+
<%= image_tag('/simple_forum_engine/images/forumNoNewPosts.gif', :alt => t('simple_forum.new_posts_absent'), :title => t('simple_forum.new_posts_absent')) %>
|
41
|
+
<% end %>
|
42
|
+
</td>
|
43
|
+
<td class="forum-cell">
|
44
|
+
<span><%= link_to f.name, simple_forum_forum_path(f) %></span><br/>
|
45
|
+
<span><%= f.body %></span><br/>
|
46
|
+
<span>
|
47
|
+
(
|
48
|
+
<%= t('.moderated_by') %>:
|
49
|
+
<%= f.moderators.map { |m| m.name }.join(', ').html_safe %>
|
50
|
+
)
|
51
|
+
</span>
|
52
|
+
</td>
|
53
|
+
<td class="topics-cell">
|
54
|
+
<%= number_with_delimiter f.topics.size %>
|
55
|
+
</td>
|
56
|
+
<td class="posts-cell">
|
57
|
+
<%= number_with_delimiter f.posts.size %>
|
58
|
+
</td>
|
59
|
+
<td class="last-post-cell">
|
60
|
+
<% if f.recent_post %>
|
61
|
+
<%= content_tag :span, :title => l(f.recent_post.created_at) do %>
|
62
|
+
<%= link_to "#{time_ago_in_words(f.recent_post.created_at)} #{t('simple_forum.ago', :default => 'ago')}",
|
63
|
+
simple_forum_forum_topic_path(f, f.recent_post.topic, :page => f.recent_post.topic.last_page, :anchor => "post-#{f.recent_post.id}")
|
64
|
+
%>
|
65
|
+
<% end %>
|
66
|
+
<br/>
|
67
|
+
<cite>
|
68
|
+
<%= t('simple_forum.by', :default => 'by') %>
|
69
|
+
<%= f.recent_post.user.name %>
|
70
|
+
</cite>
|
71
|
+
<% end %>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<% end %>
|
75
|
+
</table>
|
76
|
+
<% end %>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
<div id="breadcrumbs">
|
2
|
+
<%= link_to SimpleForum.root_application_name, root_path %>
|
3
|
+
>
|
4
|
+
<%= link_to 'Forum', simple_forum_root_path %>
|
5
|
+
>
|
6
|
+
<%= @forum.name %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<% content_for :left_sidebar do %>
|
10
|
+
<ul>
|
11
|
+
|
12
|
+
<% if @forum.is_topicable? && user_authenticated? %>
|
13
|
+
<li>
|
14
|
+
<%= link_to t(".new_topic"), new_simple_forum_forum_topic_path(@forum) %>
|
15
|
+
</li>
|
16
|
+
<% end %>
|
17
|
+
</ul>
|
18
|
+
<% end %>
|
19
|
+
|
20
|
+
<table class="forum forum-table">
|
21
|
+
<tr>
|
22
|
+
<th colspan="2">
|
23
|
+
<%= t('.topics') %>
|
24
|
+
</th>
|
25
|
+
<th>
|
26
|
+
<%= t('.replies') %>
|
27
|
+
</th>
|
28
|
+
<th>
|
29
|
+
<%= t('.views') %>
|
30
|
+
</th>
|
31
|
+
<th>
|
32
|
+
<%= t('.last_post') %>
|
33
|
+
</th>
|
34
|
+
</tr>
|
35
|
+
<% @topics.each do |t| %>
|
36
|
+
<tr>
|
37
|
+
<td class="icon-cell">
|
38
|
+
<% if t.recent_activity?(authenticated_user) %>
|
39
|
+
<%= image_tag('/simple_forum_engine/images/forumNewPosts.gif', :alt => t('simple_forum.new_posts_present'), :title => t('simple_forum.new_posts_present')) %>
|
40
|
+
<% else %>
|
41
|
+
<%= image_tag('/simple_forum_engine/images/forumNoNewPosts.gif', :alt => t('simple_forum.new_posts_absent'), :title => t('simple_forum.new_posts_absent')) %>
|
42
|
+
<% end %>
|
43
|
+
</td>
|
44
|
+
<td class="topic-cell">
|
45
|
+
<span><%= link_to t.title, simple_forum_forum_topic_path(@forum, t) %></span>
|
46
|
+
<% if t.paged? %>
|
47
|
+
<span>
|
48
|
+
<ul>
|
49
|
+
<% t.page_numbers.each do |p| %>
|
50
|
+
<% if p %>
|
51
|
+
<li><%= link_to p, simple_forum_forum_topic_path(@forum, t, :page => p) %></li>
|
52
|
+
<% else %>
|
53
|
+
<li class="gap">…</li>
|
54
|
+
<% end %>
|
55
|
+
<% end %>
|
56
|
+
</ul>
|
57
|
+
</span>
|
58
|
+
<% end %>
|
59
|
+
<br/>
|
60
|
+
<span>
|
61
|
+
<% if t.user %>
|
62
|
+
<%= t("simple_forum.by") %>
|
63
|
+
<%= t.user.name %>
|
64
|
+
<% end %>
|
65
|
+
</span>
|
66
|
+
|
67
|
+
</td>
|
68
|
+
<td class="posts-cell">
|
69
|
+
<%= number_with_delimiter t.posts.size %>
|
70
|
+
</td>
|
71
|
+
<td class="topics-cell views-cell">
|
72
|
+
<%= number_with_delimiter t.views_count %>
|
73
|
+
</td>
|
74
|
+
<td class="last-post-cell">
|
75
|
+
<% if t.recent_post %>
|
76
|
+
<%= content_tag :span, :title => l(t.recent_post.created_at) do %>
|
77
|
+
<%= link_to "#{time_ago_in_words(t.recent_post.created_at)} #{t('simple_forum.ago', :default => 'ago')}",
|
78
|
+
simple_forum_forum_topic_path(@forum, t, :page => t.last_page, :anchor => "post-#{t.recent_post.id}")
|
79
|
+
%>
|
80
|
+
<% end %>
|
81
|
+
<br/>
|
82
|
+
<cite>
|
83
|
+
<%= t('simple_forum.by', :default => 'by') %>
|
84
|
+
<%= t.recent_post.user.name %>
|
85
|
+
</cite>
|
86
|
+
<% end %>
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
<% end %>
|
90
|
+
</table>
|
91
|
+
|
92
|
+
<%= will_paginate @topics if respond_to?(:will_paginate) %>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<%= content_for :stylesheets do %>
|
2
|
+
<%= stylesheet_link_tag "/simple_forum_engine/markitup/skins/markitup/style",
|
3
|
+
"/simple_forum_engine/markitup/sets/bbcode/style" %>
|
4
|
+
<% end %>
|
5
|
+
<%= content_for :javascripts do %>
|
6
|
+
<%= javascript_include_tag "/simple_forum_engine/markitup/jquery.markitup.js",
|
7
|
+
"/simple_forum_engine/markitup/sets/bbcode/set.js",
|
8
|
+
"/simple_forum_engine/javascripts/markitup.js" %>
|
9
|
+
<% end %>
|
10
|
+
<% content_for :head do %>
|
11
|
+
<script type="text/javascript">
|
12
|
+
var post_preview_path = "<%= preview_simple_forum_forum_topic_posts_path(@forum, @topic) %>";
|
13
|
+
</script>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<div id="breadcrumbs">
|
17
|
+
<%= link_to SimpleForum.root_application_name, root_path %>
|
18
|
+
>
|
19
|
+
<%= link_to 'Forum', simple_forum_root_path %>
|
20
|
+
>
|
21
|
+
<%= link_to @forum.name, simple_forum_forum_path(@forum) %>
|
22
|
+
>
|
23
|
+
<%= link_to @topic.title, simple_forum_forum_topic_path(@forum, @topic) %>
|
24
|
+
>
|
25
|
+
<%= t('.post_edit') %>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<table class="topic-table forum-table" cellpadding="6" cellspacing="6">
|
29
|
+
|
30
|
+
</table>
|
31
|
+
|
32
|
+
<%= form_for @post, :url => simple_forum_forum_topic_post_path(@forum, @topic, @post), :as => :post, :html => {:id => 'new_post_form'} do |f| -%>
|
33
|
+
<p>
|
34
|
+
<%= f.label :body %>
|
35
|
+
<%= f.text_area :body, :class => 'markitup post-body' %>
|
36
|
+
</p>
|
37
|
+
|
38
|
+
<p>
|
39
|
+
<%= f.submit %>
|
40
|
+
</p>
|
41
|
+
<% end %>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<tr id="<%= "post-#{post.id}" %>" class="<%= local_assigns[:preview] ? 'preview' : nil %>">
|
2
|
+
<td class="user-cell">
|
3
|
+
<span class="name">
|
4
|
+
<strong><%= post.user.name %></strong>
|
5
|
+
</span>
|
6
|
+
<br/>
|
7
|
+
<span class="postdetails">
|
8
|
+
<%= t('.user_joined') %>:
|
9
|
+
<%= l post.user.created_at.to_date %>
|
10
|
+
<br/>
|
11
|
+
<% if post.user.respond_to?(:forum_posts_count) %>
|
12
|
+
<%= t('.user_posts_count') %>:
|
13
|
+
<%= number_with_delimiter post.user.forum_posts_count %>
|
14
|
+
<% end %>
|
15
|
+
</span>
|
16
|
+
</td>
|
17
|
+
<td>
|
18
|
+
<span style="display: none;"><a name="<%= post.id %>"></a></span>
|
19
|
+
<table class="user-post" cellpadding="6" cellspacing="6" style="width: 100%;">
|
20
|
+
<tr class="post-header">
|
21
|
+
<td style="width: 40%;">
|
22
|
+
<%= t('.post_sent') %>:
|
23
|
+
<%= l post.created_at %>
|
24
|
+
/
|
25
|
+
<%= "#{time_ago_in_words(post.created_at)} #{t('simple_forum.ago', :default => 'ago')}" %>
|
26
|
+
</td>
|
27
|
+
<td class="actions">
|
28
|
+
<% if user_authenticated? %>
|
29
|
+
<% if post.editable_by?(authenticated_user, @forum.moderated_by?(authenticated_user)) %>
|
30
|
+
<%= link_to t('.edit'), edit_simple_forum_forum_topic_post_path(@forum, @topic, post) %>
|
31
|
+
<% end %>
|
32
|
+
<% if post.deletable_by?(authenticated_user, @forum.moderated_by?(authenticated_user)) %>
|
33
|
+
<%= link_to t('.delete'), delete_simple_forum_forum_topic_post_path(@forum, @topic, post), :method => :delete, :confirm => t('simple_forum.are_you_sure') %>
|
34
|
+
<% end %>
|
35
|
+
<% if @topic.is_open? %>
|
36
|
+
<%= link_to t('.cite'), "#", :onclick => "$('#new_post_form textarea').val('[quote=\"#{post.user.name}\"]\\n#{escape_javascript(post.body)}\\n[/quote]'); return false;" %>
|
37
|
+
<% end %>
|
38
|
+
<% end %>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td colspan="2">
|
43
|
+
<div class="postbody">
|
44
|
+
<% if post.is_deleted? %>
|
45
|
+
<div class='post-deleted'>
|
46
|
+
<%= t('.post_deleted') %>
|
47
|
+
<% if post.deleted_by %>
|
48
|
+
<%= t('simple_forum.by') %>
|
49
|
+
<%= post.deleted_by.name %>
|
50
|
+
<% end %>
|
51
|
+
<%= t('simple_forum.at') %>
|
52
|
+
<%= l post.deleted_at %>
|
53
|
+
</div>
|
54
|
+
<% else %>
|
55
|
+
<%= post.output %>
|
56
|
+
<% end %>
|
57
|
+
<% if !post.is_deleted? && post.is_edited? %>
|
58
|
+
<div class="post-edited">
|
59
|
+
<%= t('.post_edited') %>
|
60
|
+
<% if post.edited_by %>
|
61
|
+
<%= t('simple_forum.by') %>
|
62
|
+
<%= post.edited_by.name %>
|
63
|
+
<% end %>
|
64
|
+
<%= t('simple_forum.at') %>
|
65
|
+
<%= l post.edited_at %>
|
66
|
+
</div>
|
67
|
+
<% end %>
|
68
|
+
</div>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</td>
|
73
|
+
</tr>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div id="breadcrumbs">
|
2
|
+
<%= link_to SimpleForum.root_application_name, root_path %>
|
3
|
+
>
|
4
|
+
<%= link_to 'Forum', simple_forum_root_path %>
|
5
|
+
>
|
6
|
+
<%= link_to @forum.name, simple_forum_forum_path(@forum) %>
|
7
|
+
>
|
8
|
+
<%= t('.new_topic') %>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<%= form_for @topic, :as => :topic, :url => simple_forum_forum_topics_path(@forum) do |f| %>
|
12
|
+
<p>
|
13
|
+
<%= f.label :title %><br/>
|
14
|
+
<%= f.text_field :title %>
|
15
|
+
</p>
|
16
|
+
<p>
|
17
|
+
<%= f.label :body %><br/>
|
18
|
+
<%= f.text_area :body %>
|
19
|
+
</p>
|
20
|
+
<p>
|
21
|
+
<%= f.submit %>
|
22
|
+
</p>
|
23
|
+
<% end %>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<%= content_for :stylesheets do %>
|
2
|
+
<%= stylesheet_link_tag "/simple_forum_engine/markitup/skins/markitup/style",
|
3
|
+
"/simple_forum_engine/markitup/sets/bbcode/style" %>
|
4
|
+
<% end %>
|
5
|
+
<%= content_for :javascripts do %>
|
6
|
+
<%= javascript_include_tag "/simple_forum_engine/markitup/jquery.markitup.js",
|
7
|
+
"/simple_forum_engine/markitup/sets/bbcode/set.js",
|
8
|
+
"/simple_forum_engine/javascripts/markitup.js" %>
|
9
|
+
<% end %>
|
10
|
+
<% content_for :head do %>
|
11
|
+
<script type="text/javascript">
|
12
|
+
var post_preview_path = "<%= preview_simple_forum_forum_topic_posts_path(@forum, @topic) %>";
|
13
|
+
</script>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
|
17
|
+
<div id="breadcrumbs">
|
18
|
+
<%= link_to SimpleForum.root_application_name, root_path %>
|
19
|
+
>
|
20
|
+
<%= link_to 'Forum', simple_forum_root_path %>
|
21
|
+
>
|
22
|
+
<%= link_to @forum.name, simple_forum_forum_path(@forum) %>
|
23
|
+
>
|
24
|
+
<%= @topic.title %>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<% content_for :left_sidebar do %>
|
28
|
+
<ul>
|
29
|
+
<% if user_authenticated? && @forum.is_moderator?(authenticated_user) %>
|
30
|
+
<li>
|
31
|
+
<% if @topic.is_open? %>
|
32
|
+
<%= link_to t('.close_topic'), close_simple_forum_forum_topic_path(@forum, @topic), :method => :post, :confirm => t('simple_forum.are_you_sure') %>
|
33
|
+
<% else %>
|
34
|
+
<%= link_to t('.open_topic'), open_simple_forum_forum_topic_path(@forum, @topic), :method => :post, :confirm => t('simple_forum.are_you_sure') %>
|
35
|
+
<% end %>
|
36
|
+
</li>
|
37
|
+
<% end %>
|
38
|
+
</ul>
|
39
|
+
<% end %>
|
40
|
+
|
41
|
+
<table class="topic-table forum-table" cellpadding="6" cellspacing="6">
|
42
|
+
<% for post in @posts do -%>
|
43
|
+
<%= render :partial => 'post', :locals => {:post => post} %>
|
44
|
+
<% end %>
|
45
|
+
</table>
|
46
|
+
|
47
|
+
<%= will_paginate @posts if respond_to?(:will_paginate) %>
|
48
|
+
|
49
|
+
<% if @topic.is_open? %>
|
50
|
+
<% if user_authenticated? %>
|
51
|
+
<%= form_for @post, :url => simple_forum_forum_topic_posts_path(@forum, @topic), :as => :post, :html => {:id => 'new_post_form'} do |f| -%>
|
52
|
+
<p>
|
53
|
+
<%= f.label :body %>
|
54
|
+
<%= f.text_area :body, :class => 'markitup post-body' %>
|
55
|
+
</p>
|
56
|
+
|
57
|
+
<p>
|
58
|
+
<%= f.submit %>
|
59
|
+
</p>
|
60
|
+
<% end %>
|
61
|
+
<% else %>
|
62
|
+
<%= t('.you_have_to_be_signed_in_to_create_post') %>
|
63
|
+
<% end %>
|
64
|
+
<% else %>
|
65
|
+
<p>
|
66
|
+
<%= t('.topic_is_closed') %>
|
67
|
+
</p>
|
68
|
+
<% end %>
|
@@ -0,0 +1,121 @@
|
|
1
|
+
pl:
|
2
|
+
simple_forum:
|
3
|
+
by: "przez"
|
4
|
+
at: "o"
|
5
|
+
ago: "temu"
|
6
|
+
new_posts_present: "Nowe posty"
|
7
|
+
new_posts_absent: "Brak nowych postów"
|
8
|
+
are_you_sure: "Jesteś pewien?"
|
9
|
+
|
10
|
+
forums:
|
11
|
+
index:
|
12
|
+
title: "Fora"
|
13
|
+
forums: "Fora"
|
14
|
+
topics: "Tematy"
|
15
|
+
posts: "Posty"
|
16
|
+
last_post: "Ostatni post"
|
17
|
+
moderated_by: "Moderowane przez"
|
18
|
+
|
19
|
+
show:
|
20
|
+
forum: "Forum"
|
21
|
+
topics: "Wątki"
|
22
|
+
replies: "Odpowiedzi"
|
23
|
+
views: "Wyświetleń"
|
24
|
+
last_post: "Ostatni post"
|
25
|
+
new_topic: "Nowy temat"
|
26
|
+
|
27
|
+
topics:
|
28
|
+
show:
|
29
|
+
topic_is_closed: "Wątek jest zamknięty!"
|
30
|
+
you_have_to_be_signed_in_to_create_post: "Musisz być zalogowany aby tworzyć nowe posty"
|
31
|
+
close_topic: "Zamkniej wątek"
|
32
|
+
open_topic: "Otwórz wątek"
|
33
|
+
|
34
|
+
post:
|
35
|
+
edit: "Edytuj"
|
36
|
+
delete: "Usuń"
|
37
|
+
cite: "Cytuj"
|
38
|
+
user_joined: "Dołączył"
|
39
|
+
post_sent: "Wysłano"
|
40
|
+
user_posts_count: "Posty"
|
41
|
+
post_deleted: "Post usunięty"
|
42
|
+
post_edited: "Post ostatnio edytowany"
|
43
|
+
|
44
|
+
new:
|
45
|
+
new_topic: "Nowy wątek"
|
46
|
+
|
47
|
+
posts:
|
48
|
+
edit:
|
49
|
+
post_edit: "Edycja postu"
|
50
|
+
|
51
|
+
controllers:
|
52
|
+
you_are_not_permitted_to_perform_this_action: "Nie posiadasz wymaganych uprawnień aby wykonać tą akcję"
|
53
|
+
|
54
|
+
topics:
|
55
|
+
topic_opened: "Temat został otwarty"
|
56
|
+
topic_already_opened: "Temat już jest otwarty"
|
57
|
+
topic_closed: "Temat został zamknięty"
|
58
|
+
topic_already_closed: "Temat już jest zamknięty"
|
59
|
+
topic_created: "Temat został utworzony"
|
60
|
+
|
61
|
+
posts:
|
62
|
+
post_created: "Post został utworzony"
|
63
|
+
post_updated: "Post został zaktualizowany"
|
64
|
+
post_deleted: "Post został usunięty"
|
65
|
+
post_cant_be_deleted: "Nie możesz usunąć tego posta"
|
66
|
+
post_cant_be_edited: "Nie możesz edytować tego posta"
|
67
|
+
|
68
|
+
validations:
|
69
|
+
forum_must_be_topicable: "Na tym forum nie można tworzyć nowych wątków"
|
70
|
+
|
71
|
+
activerecord:
|
72
|
+
models:
|
73
|
+
simple_forum:
|
74
|
+
forum: "Forum"
|
75
|
+
topic: "Temat"
|
76
|
+
post: "Post"
|
77
|
+
category: "Kategoria"
|
78
|
+
|
79
|
+
attributes:
|
80
|
+
simple_forum/forum:
|
81
|
+
name: "Nazwa"
|
82
|
+
body: "Opis"
|
83
|
+
is_topicable: "Można tworzyć nowe wątki?"
|
84
|
+
position: "Pozycja"
|
85
|
+
topics_count: "Liczba tematów"
|
86
|
+
posts_count: "Liczba postów"
|
87
|
+
moderators: "Moderatorzy"
|
88
|
+
moderator_ids: "Moderatorzy"
|
89
|
+
category: "Kategoria"
|
90
|
+
category_id: "Kategoria"
|
91
|
+
|
92
|
+
simple_forum/category:
|
93
|
+
name: "Nazwa"
|
94
|
+
position: "Pozycja"
|
95
|
+
body: "Opis"
|
96
|
+
forums: "Fora"
|
97
|
+
|
98
|
+
simple_forum/topic:
|
99
|
+
title: "Temat"
|
100
|
+
body: "Treść posta"
|
101
|
+
forum: "Forum"
|
102
|
+
forum_id: "Forum"
|
103
|
+
user: "Użytkownik"
|
104
|
+
is_closed: "Zamknięty?"
|
105
|
+
posts_count: "Liczba postów"
|
106
|
+
views_count: "Liczba wyświetleń"
|
107
|
+
|
108
|
+
simple_forum/post:
|
109
|
+
body: "Treść"
|
110
|
+
topic: "Temat"
|
111
|
+
topic_id: "Temat"
|
112
|
+
forum: "Forum"
|
113
|
+
forum_id: "Forum"
|
114
|
+
user: "Użytkownik"
|
115
|
+
user_id: "Użytkownik"
|
116
|
+
deleted_by: "Usunięty przez"
|
117
|
+
deleted_by_id: "Usunięty przez"
|
118
|
+
deleted_at: "Usunięty"
|
119
|
+
edited_by: "Edytowany przez"
|
120
|
+
edited_by_id: "Edytowany przez"
|
121
|
+
edited_at: "Edytowany"
|