decidim-blogs 0.27.5 → 0.28.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/blogs/content_blocks/highlighted_posts/content.erb +17 -0
- data/app/cells/decidim/blogs/content_blocks/highlighted_posts_cell.rb +52 -0
- data/app/cells/decidim/blogs/post_activity_cell.rb +1 -4
- data/app/cells/decidim/blogs/post_cell.rb +9 -2
- data/app/cells/decidim/blogs/post_g_cell.rb +31 -0
- data/app/cells/decidim/blogs/post_l_cell.rb +35 -0
- data/app/cells/decidim/blogs/post_metadata_cell.rb +29 -0
- data/app/cells/decidim/blogs/post_metadata_g_cell.rb +14 -0
- data/app/cells/decidim/blogs/post_s_cell.rb +15 -0
- data/app/commands/decidim/blogs/admin/create_post.rb +1 -0
- data/app/commands/decidim/blogs/admin/update_post.rb +10 -1
- data/app/controllers/decidim/blogs/admin/posts_controller.rb +2 -2
- data/app/controllers/decidim/blogs/posts_controller.rb +16 -4
- data/app/forms/decidim/blogs/admin/post_form.rb +2 -1
- data/app/helpers/decidim/blogs/admin/posts_helper.rb +11 -1
- data/app/helpers/decidim/blogs/application_helper.rb +4 -0
- data/app/helpers/decidim/blogs/posts_helper.rb +2 -4
- data/app/models/decidim/blogs/post.rb +14 -3
- data/app/packs/entrypoints/decidim_blogs.js +3 -0
- data/app/packs/stylesheets/blogs.scss +53 -0
- data/app/presenters/decidim/blogs/admin_log/post_presenter.rb +2 -2
- data/app/views/decidim/blogs/admin/posts/_form.html.erb +19 -13
- data/app/views/decidim/blogs/admin/posts/edit.html.erb +16 -6
- data/app/views/decidim/blogs/admin/posts/index.html.erb +60 -52
- data/app/views/decidim/blogs/admin/posts/new.html.erb +17 -6
- data/app/views/decidim/blogs/posts/_actions.html.erb +18 -0
- data/app/views/decidim/blogs/posts/index.html.erb +22 -9
- data/app/views/decidim/blogs/posts/show.html.erb +37 -47
- data/config/locales/ar.yml +2 -20
- data/config/locales/ca.yml +15 -17
- data/config/locales/cs.yml +17 -17
- data/config/locales/de.yml +15 -17
- data/config/locales/el.yml +7 -18
- data/config/locales/en.yml +15 -17
- data/config/locales/es-MX.yml +15 -17
- data/config/locales/es-PY.yml +15 -17
- data/config/locales/es.yml +15 -17
- data/config/locales/eu.yml +16 -18
- data/config/locales/fi-plain.yml +15 -17
- data/config/locales/fi.yml +15 -17
- data/config/locales/fr-CA.yml +15 -17
- data/config/locales/fr.yml +15 -17
- data/config/locales/ga-IE.yml +0 -9
- data/config/locales/gl.yml +0 -21
- data/config/locales/hu.yml +12 -18
- data/config/locales/id-ID.yml +0 -19
- data/config/locales/is-IS.yml +0 -13
- data/config/locales/it.yml +0 -21
- data/config/locales/ja.yml +14 -17
- data/config/locales/lb.yml +0 -21
- data/config/locales/lt.yml +12 -18
- data/config/locales/lv.yml +0 -21
- data/config/locales/nl.yml +0 -21
- data/config/locales/no.yml +0 -21
- data/config/locales/pl.yml +0 -21
- data/config/locales/pt-BR.yml +12 -26
- data/config/locales/pt.yml +0 -21
- data/config/locales/ro-RO.yml +7 -18
- data/config/locales/ru.yml +12 -18
- data/config/locales/sk.yml +0 -21
- data/config/locales/sr-CS.yml +0 -5
- data/config/locales/sv.yml +5 -20
- data/config/locales/tr-TR.yml +0 -21
- data/config/locales/uk.yml +0 -17
- data/config/locales/zh-CN.yml +0 -21
- data/config/locales/zh-TW.yml +3 -14
- data/db/migrate/20220812122940_add_published_at_to_decidim_blogs_posts.rb +17 -0
- data/lib/decidim/api/blogs_type.rb +14 -2
- data/lib/decidim/api/post_type.rb +1 -0
- data/lib/decidim/blogs/admin_engine.rb +2 -2
- data/lib/decidim/blogs/component.rb +4 -60
- data/lib/decidim/blogs/engine.rb +16 -1
- data/lib/decidim/blogs/seeds.rb +76 -0
- data/lib/decidim/blogs/test/factories.rb +2 -1
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +38 -28
- data/app/cells/decidim/blogs/post_m/footer.erb +0 -5
- data/app/cells/decidim/blogs/post_m_cell.rb +0 -21
- data/app/views/decidim/blogs/posts/_datetime.html.erb +0 -1
- data/app/views/decidim/blogs/posts/_posts.html.erb +0 -24
- data/app/views/decidim/blogs/posts/_sidebar_blog.html.erb +0 -21
- data/config/environment.rb +0 -3
@@ -1,64 +1,72 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="card">
|
3
|
-
<div class="
|
4
|
-
<h2 class="
|
3
|
+
<div class="item_show__header">
|
4
|
+
<h2 class="item_show__header-title">
|
5
5
|
<%= t(".title") %>
|
6
|
-
<%= link_to t("actions.new", scope: "decidim.blogs"
|
6
|
+
<%= link_to t("actions.new", scope: "decidim.blogs"), new_post_path, class: "button button__sm button__secondary ml-auto" if allowed_to? :create, :blogpost %>
|
7
|
+
<%= render partial: "decidim/admin/components/resource_action" %>
|
7
8
|
</h2>
|
8
9
|
</div>
|
10
|
+
<div class="table-scroll">
|
11
|
+
<table class="table-list">
|
12
|
+
<thead>
|
13
|
+
<tr>
|
14
|
+
<th><%= t("models.post.fields.title", scope: "decidim.blogs") %></th>
|
15
|
+
<th><%= t("models.post.fields.body", scope: "decidim.blogs") %></th>
|
16
|
+
<th><%= t("models.post.fields.author", scope: "decidim.blogs") %></th>
|
17
|
+
<th><%= t("models.post.fields.published_at", scope: "decidim.blogs") %></th>
|
18
|
+
<th class="actions"><%= t("actions.title", scope: "decidim.blogs") %></th>
|
19
|
+
</tr>
|
20
|
+
</thead>
|
21
|
+
<tbody>
|
22
|
+
<% posts.created_at_desc.each do |post| %>
|
9
23
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
<th><%= t("models.post.fields.title", scope: "decidim.blogs") %></th>
|
16
|
-
<th><%= t("models.post.fields.body", scope: "decidim.blogs") %></th>
|
17
|
-
<th><%= t("models.post.fields.author", scope: "decidim.blogs") %></th>
|
18
|
-
<th><%= t("models.post.fields.created_at", scope: "decidim.blogs") %></th>
|
19
|
-
<th class="actions"><%= t("actions.title", scope: "decidim.blogs") %></th>
|
20
|
-
</tr>
|
21
|
-
</thead>
|
22
|
-
<tbody>
|
23
|
-
<% posts.created_at_desc.each do |post| %>
|
24
|
-
|
25
|
-
<tr data-id="<%= post.id %>">
|
26
|
-
<td>
|
24
|
+
<tr data-id="<%= post.id %>">
|
25
|
+
<td>
|
26
|
+
<% if allowed_to? :update, :blogpost, blog_post: post %>
|
27
|
+
<%= link_to translated_attribute(post.title), edit_post_path(post) %><br>
|
28
|
+
<% else %>
|
27
29
|
<%= translated_attribute(post.title) %><br>
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
30
|
+
<% end %>
|
31
|
+
</td>
|
32
|
+
<td>
|
33
|
+
<%= decidim_sanitize_editor post_description_admin(post) %>
|
34
|
+
</td>
|
35
|
+
<td>
|
36
|
+
<%= post.try(:author).try(:name) %>
|
37
|
+
</td>
|
38
|
+
<% publish_data = publish_data(post.published_at) %>
|
39
|
+
<td>
|
40
|
+
<%= content_tag :span, class: "padding-3", data: { tooltip: true, disable_hover: false, click_open: false }, title: publish_data[:popup] do
|
41
|
+
publish_data[:icon]
|
42
|
+
end %>
|
43
|
+
<%= l post.published_at, format: :decidim_short %>
|
44
|
+
</td>
|
45
|
+
<td class="table-list__actions">
|
46
|
+
<% if allowed_to? :update, :blogpost, blog_post: post %>
|
47
|
+
<%= icon_link_to "pencil-line", edit_post_path(post), t("actions.edit", scope: "decidim.blogs"), class: "action-icon--edit" %>
|
48
|
+
<% end %>
|
42
49
|
|
43
|
-
|
44
|
-
|
45
|
-
|
50
|
+
<% if allowed_to? :update, :blogpost, blog_post: post %>
|
51
|
+
<%= icon_link_to "folder-line", post_attachment_collections_path(post), t("actions.attachment_collections", scope: "decidim.meetings"), class: "action-icon--attachment_collections" %>
|
52
|
+
<% end %>
|
46
53
|
|
47
|
-
|
48
|
-
|
49
|
-
|
54
|
+
<% if allowed_to? :update, :blogpost, blog_post: post %>
|
55
|
+
<%= icon_link_to "attachment-line", post_attachments_path(post), t("actions.attachments", scope: "decidim.meetings"), class: "action-icon--attachments" %>
|
56
|
+
<% end %>
|
50
57
|
|
51
|
-
|
58
|
+
<%= icon_link_to "eye-line", resource_locator(post).path, t("actions.preview", scope: "decidim.admin"), class: "action-icon--preview", target: :blank, data: { "external-link": false } %>
|
52
59
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
</
|
60
|
+
<%= resource_permissions_link(post) %>
|
61
|
+
|
62
|
+
<% if allowed_to? :destroy, :blogpost, blog_post: post %>
|
63
|
+
<%= icon_link_to "delete-bin-line", post_path(post), t("actions.destroy", scope: "decidim.blogs"), method: :delete, class: "action-icon--remove", data: { confirm: t("actions.confirm_destroy", scope: "decidim.blogs") } %>
|
64
|
+
<% end %>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<% end %>
|
68
|
+
</tbody>
|
69
|
+
</table>
|
63
70
|
</div>
|
64
|
-
|
71
|
+
</div>
|
72
|
+
<%= decidim_paginate posts %>
|
@@ -1,8 +1,19 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
|
-
|
3
|
-
|
2
|
+
<div class="item_show__header">
|
3
|
+
<h2 class="item_show__header-title">
|
4
|
+
<%= t(".title") %>
|
5
|
+
</h2>
|
6
|
+
</div>
|
4
7
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
8
|
+
<div class="item__edit item__edit-1col">
|
9
|
+
<div class="item__edit-form">
|
10
|
+
<%= decidim_form_for(@form, html: { class: "form-defaults form new_post" }) do |f| %>
|
11
|
+
<%= render partial: "form", object: f %>
|
12
|
+
<div class="item__edit-sticky">
|
13
|
+
<div class="item__edit-sticky-container">
|
14
|
+
<%= f.submit t(".create"), class: "button button__sm button__secondary" %>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
<% end %>
|
18
|
+
</div>
|
19
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div class="blog__actions">
|
2
|
+
<div class="blog__actions-left">
|
3
|
+
<% if endorsements_enabled? %>
|
4
|
+
<%= endorsement_buttons_cell(post) %>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<%= cell "decidim/comments_button", nil %>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="blog__actions-right">
|
11
|
+
<%= follow_button_for(post, false, button_classes: "button button__sm button__text-secondary") %>
|
12
|
+
|
13
|
+
<%= cell "decidim/share_button", nil %>
|
14
|
+
<%= cell "decidim/report_button", post %>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<%= cell "decidim/endorsers_list", post, layout: :full %>
|
@@ -1,14 +1,27 @@
|
|
1
|
-
|
1
|
+
<% add_decidim_page_title component_name %>
|
2
|
+
<%= append_javascript_pack_tag "decidim_blogs" %>
|
3
|
+
<%= append_stylesheet_pack_tag "decidim_blogs" %>
|
2
4
|
|
3
|
-
|
4
|
-
<
|
5
|
+
<% content_for :aside do %>
|
6
|
+
<h1 class="title-decorator"><%= component_name %></h1>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<%= render layout: "layouts/decidim/shared/layout_two_col" do %>
|
10
|
+
|
11
|
+
<%= render partial: "decidim/shared/component_announcement" %>
|
12
|
+
|
13
|
+
<section id="blogs" class="layout-main__section layout-main__heading">
|
5
14
|
<% if posts.empty? %>
|
6
15
|
<%= cell("decidim/announcement", t("empty", scope: "decidim.blogs.posts.index")) %>
|
7
16
|
<% else %>
|
8
|
-
|
17
|
+
<h2 class="h5 md:h3 decorator"><%= t("count", scope: "decidim.blogs.posts.index", count: posts.length) %></h2>
|
9
18
|
<% end %>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
19
|
+
|
20
|
+
<% paginate_posts.each do |post| %>
|
21
|
+
<%= card_for post, size: :l %>
|
22
|
+
<% end %>
|
23
|
+
|
24
|
+
<%= decidim_paginate paginate_posts %>
|
25
|
+
</section>
|
26
|
+
|
27
|
+
<% end %>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<% provide(:title, translated_attribute(post.title)) %>
|
2
2
|
|
3
3
|
<% add_decidim_meta_tags({
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
}) %>
|
4
|
+
title: translated_attribute(post.title),
|
5
|
+
description: translated_attribute(post.body),
|
6
|
+
url: post_url(post.id)
|
7
|
+
}) %>
|
8
8
|
|
9
9
|
<%
|
10
10
|
edit_link(
|
@@ -15,48 +15,38 @@
|
|
15
15
|
)
|
16
16
|
%>
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
<% if show_endorsements_card? %>
|
32
|
-
<div class="columns section view-side mediumlarge-4 mediumlarge-push-8 large-3 large-push-9">
|
33
|
-
<div class="card">
|
34
|
-
<div class="card__content">
|
35
|
-
<div class="row collapse buttons__row">
|
36
|
-
<% if endorsements_enabled? %>
|
37
|
-
<div class="column small-9 collapse">
|
38
|
-
<%= endorsement_buttons_cell(post) %>
|
39
|
-
</div>
|
40
|
-
<% end %>
|
41
|
-
<div class="column collapse <%= endorsements_enabled? ? "small-3" : "" %>">
|
42
|
-
<%= link_to "#comments", class: "button small compact hollow button--nomargin expanded" do %>
|
43
|
-
<%= icon "comment-square", class: "icon--small", aria_label: t(".comments"), role: "img" %> <%= post.comments_count %>
|
44
|
-
<% end %>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
<br>
|
48
|
-
<%= follow_button_for(post) %>
|
49
|
-
</div>
|
50
|
-
</div>
|
18
|
+
<%= append_javascript_pack_tag "decidim_blogs" %>
|
19
|
+
<%= append_stylesheet_pack_tag "decidim_blogs" %>
|
20
|
+
|
21
|
+
<%= render layout: "layouts/decidim/shared/layout_center", locals: { columns: 8 } do %>
|
22
|
+
|
23
|
+
<section class="layout-main__section layout-main__heading">
|
24
|
+
<div class="flex justify-center">
|
25
|
+
<h1 class="title-decorator my-12"><%= translated_attribute post.title %></h1>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<% if post.photo.present? %>
|
29
|
+
<div class="blog__image grow">
|
30
|
+
<%= image_tag post.photo.big_url, alt: post.photo.description || post.photo.title || t("alt", scope: "decidim.application.photo") %>
|
51
31
|
</div>
|
52
|
-
|
53
|
-
|
54
|
-
<div class="
|
55
|
-
<%=
|
32
|
+
<% end %>
|
33
|
+
|
34
|
+
<div class="layout-author">
|
35
|
+
<%= cell "decidim/author", post_presenter.author, from: post, context_actions: [:date], layout: :compact %>
|
36
|
+
</div>
|
37
|
+
</section>
|
38
|
+
|
39
|
+
<section class="layout-main__section">
|
40
|
+
<div class="editor-content">
|
41
|
+
<%= decidim_sanitize_editor_admin translated_attribute post.body %>
|
56
42
|
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<%=
|
61
|
-
|
62
|
-
|
43
|
+
|
44
|
+
<%= attachments_for post %>
|
45
|
+
|
46
|
+
<%= render partial: "actions" %>
|
47
|
+
</section>
|
48
|
+
|
49
|
+
<section class="layout-main__section">
|
50
|
+
<%= comments_for post %>
|
51
|
+
</section>
|
52
|
+
<% end %>
|
data/config/locales/ar.yml
CHANGED
@@ -28,15 +28,7 @@ ar:
|
|
28
28
|
new: منشور جديد
|
29
29
|
title: أفعال
|
30
30
|
admin:
|
31
|
-
models:
|
32
|
-
post:
|
33
|
-
name: بريد
|
34
31
|
posts:
|
35
|
-
create:
|
36
|
-
invalid: حدثت مشكلة أثناء إنشاء هذا المنشور
|
37
|
-
success: تم النشر بنجاح
|
38
|
-
destroy:
|
39
|
-
success: تم حذف المشاركة بنجاح
|
40
32
|
edit:
|
41
33
|
save: تحديث
|
42
34
|
title: تعديل المنشور
|
@@ -47,31 +39,21 @@ ar:
|
|
47
39
|
title: إنشاء وظيفة
|
48
40
|
update:
|
49
41
|
invalid: حدثت مشكلة في حفظ المشاركة.
|
50
|
-
success: تم حفظ النشر بنجاح
|
51
42
|
admin_log:
|
52
43
|
post:
|
53
44
|
create: "%{user_name} أنشأ منشور المدونة %{resource_name} في %{space_name}"
|
54
45
|
delete: "%{user_name} حذف منشور المدونة%{resource_name} من %{space_name}"
|
55
46
|
update: "%{user_name} حدث منشور المدونة %{resource_name} في %{space_name}"
|
56
47
|
last_activity:
|
57
|
-
|
48
|
+
new_post: 'منشور جديد:'
|
58
49
|
models:
|
59
50
|
post:
|
60
51
|
fields:
|
61
52
|
author: مؤلف
|
62
53
|
body: الجسم
|
63
|
-
created_at: أنشئت في
|
64
54
|
official_blog_post: المنشور الرسمي
|
55
|
+
published_at: موعد النشر
|
65
56
|
title: العنوان
|
66
|
-
posts:
|
67
|
-
show:
|
68
|
-
back: العودة إلى القائمة
|
69
|
-
comments: التعليقات
|
70
|
-
view: رأي
|
71
|
-
sidebar_blog:
|
72
|
-
comments: تعليقات
|
73
|
-
most_commented_posts: الأكثر تعليقًا عليها
|
74
|
-
read_more: قراءة المزيد
|
75
57
|
components:
|
76
58
|
blogs:
|
77
59
|
actions:
|
data/config/locales/ca.yml
CHANGED
@@ -24,52 +24,50 @@ ca:
|
|
24
24
|
new: Nova publicació
|
25
25
|
title: Accions
|
26
26
|
admin:
|
27
|
-
models:
|
28
|
-
post:
|
29
|
-
name: Publicar
|
30
27
|
posts:
|
31
28
|
create:
|
32
|
-
invalid: S'ha produït un error en crear aquesta
|
33
|
-
success: Publicació creada correctament
|
29
|
+
invalid: S'ha produït un error en crear aquesta publicació.
|
30
|
+
success: Publicació creada correctament.
|
34
31
|
destroy:
|
35
|
-
success: La publicació s'ha eliminat correctament
|
32
|
+
success: La publicació s'ha eliminat correctament.
|
36
33
|
edit:
|
37
34
|
save: Actualitza
|
38
35
|
title: Editar publicació
|
39
36
|
index:
|
37
|
+
not_published_yet: No publicada encara.
|
40
38
|
title: Publicacions
|
41
39
|
new:
|
42
40
|
create: Crear
|
43
41
|
title: Crea una publicació
|
44
42
|
update:
|
45
43
|
invalid: S'ha produït un error en guardar la publicació.
|
46
|
-
success: S'ha desat la publicació correctament
|
44
|
+
success: S'ha desat la publicació correctament.
|
47
45
|
admin_log:
|
48
46
|
post:
|
49
47
|
create: "%{user_name} ha creat el post %{resource_name} al blog de %{space_name}"
|
50
48
|
delete: "%{user_name} ha eliminat el post %{resource_name} del blog de %{space_name}"
|
51
49
|
update: "%{user_name} ha actualitzat el post %{resource_name} en el blog de %{space_name}"
|
50
|
+
content_blocks:
|
51
|
+
highlighted_posts:
|
52
|
+
last_published: Darrera publicació
|
53
|
+
name: Publicacions
|
54
|
+
see_all: Veure totes les publicacions
|
52
55
|
last_activity:
|
53
|
-
|
56
|
+
new_post: 'Nova publicació:'
|
54
57
|
models:
|
55
58
|
post:
|
56
59
|
fields:
|
57
60
|
author: Autora
|
58
61
|
body: Cos
|
59
|
-
created_at: Creat el
|
60
62
|
official_blog_post: Post oficial
|
63
|
+
published_at: Hora de publicació
|
61
64
|
title: Títol
|
62
65
|
posts:
|
63
66
|
index:
|
67
|
+
count:
|
68
|
+
one: "%{count} publicació"
|
69
|
+
other: "%{count} publicacions"
|
64
70
|
empty: Encara no hi ha cap publicació.
|
65
|
-
show:
|
66
|
-
back: Tornar al llistat
|
67
|
-
comments: Comentaris
|
68
|
-
view: Veure
|
69
|
-
sidebar_blog:
|
70
|
-
comments: comentaris
|
71
|
-
most_commented_posts: Publicacions més comentades
|
72
|
-
read_more: Llegeix més
|
73
71
|
components:
|
74
72
|
blogs:
|
75
73
|
actions:
|
data/config/locales/cs.yml
CHANGED
@@ -26,52 +26,52 @@ cs:
|
|
26
26
|
new: Nový příspěvek
|
27
27
|
title: Akce
|
28
28
|
admin:
|
29
|
-
models:
|
30
|
-
post:
|
31
|
-
name: Příspěvek
|
32
29
|
posts:
|
33
30
|
create:
|
34
|
-
invalid: Při vytváření tohoto příspěvku
|
35
|
-
success: Příspěvek byl úspěšně vytvořen
|
31
|
+
invalid: Při vytváření tohoto příspěvku nastal problém.
|
32
|
+
success: Příspěvek byl úspěšně vytvořen.
|
36
33
|
destroy:
|
37
|
-
success: Příspěvek byl úspěšně
|
34
|
+
success: Příspěvek byl úspěšně smazán.
|
38
35
|
edit:
|
39
36
|
save: Aktualizovat
|
40
37
|
title: Upravit příspěvek
|
41
38
|
index:
|
39
|
+
not_published_yet: Zatím nezveřejněno.
|
42
40
|
title: Příspěvky
|
43
41
|
new:
|
44
42
|
create: Vytvořit
|
45
43
|
title: Vytvořit příspěvek
|
46
44
|
update:
|
47
45
|
invalid: Při ukládání příspěvku došlo k chybám.
|
48
|
-
success: Příspěvek byl úspěšně uložen
|
46
|
+
success: Příspěvek byl úspěšně uložen.
|
49
47
|
admin_log:
|
50
48
|
post:
|
51
49
|
create: "%{user_name} vytvořil příspěvek %{resource_name} v %{space_name}"
|
52
50
|
delete: "%{user_name} odstranil příspěvek %{resource_name} z %{space_name}"
|
53
51
|
update: "%{user_name} aktualizoval příspěvek %{resource_name} v %{space_name}"
|
52
|
+
content_blocks:
|
53
|
+
highlighted_posts:
|
54
|
+
last_published: Naposledy publikováno
|
55
|
+
name: Příspěvky
|
56
|
+
see_all: Zobrazit všechny příspěvky
|
54
57
|
last_activity:
|
55
|
-
|
58
|
+
new_post: 'Nový příspěvek:'
|
56
59
|
models:
|
57
60
|
post:
|
58
61
|
fields:
|
59
62
|
author: Autor
|
60
63
|
body: Tělo
|
61
|
-
created_at: Vytvořeno v
|
62
64
|
official_blog_post: Oficiální příspěvek
|
65
|
+
published_at: Čas zveřejnění
|
63
66
|
title: Název
|
64
67
|
posts:
|
65
68
|
index:
|
69
|
+
count:
|
70
|
+
one: "%{count} příspěvek"
|
71
|
+
few: "%{count} příspěvky"
|
72
|
+
many: "%{count} příspěvků"
|
73
|
+
other: "%{count} příspěvků"
|
66
74
|
empty: Zatím nejsou žádné příspěvky.
|
67
|
-
show:
|
68
|
-
back: Zpět na seznam
|
69
|
-
comments: Komentáře
|
70
|
-
view: Zobrazit
|
71
|
-
sidebar_blog:
|
72
|
-
comments: komentáře
|
73
|
-
most_commented_posts: Nejvíce komentované příspěvky
|
74
|
-
read_more: Přečtěte si více
|
75
75
|
components:
|
76
76
|
blogs:
|
77
77
|
actions:
|
data/config/locales/de.yml
CHANGED
@@ -24,52 +24,50 @@ de:
|
|
24
24
|
new: Neuer Beitrag
|
25
25
|
title: Aktionen
|
26
26
|
admin:
|
27
|
-
models:
|
28
|
-
post:
|
29
|
-
name: Post
|
30
27
|
posts:
|
31
28
|
create:
|
32
|
-
invalid: Beim Erstellen dieses
|
33
|
-
success:
|
29
|
+
invalid: Beim Erstellen dieses Beitrags ist ein Problem aufgetreten.
|
30
|
+
success: Beitrag wurde erfolgreich erstellt.
|
34
31
|
destroy:
|
35
|
-
success: Beitrag wurde erfolgreich gelöscht
|
32
|
+
success: Beitrag wurde erfolgreich gelöscht.
|
36
33
|
edit:
|
37
34
|
save: Aktualisieren
|
38
35
|
title: Post bearbeiten
|
39
36
|
index:
|
37
|
+
not_published_yet: Noch nicht veröffentlicht.
|
40
38
|
title: Beiträge
|
41
39
|
new:
|
42
40
|
create: Erstellen
|
43
41
|
title: Post erstellen
|
44
42
|
update:
|
45
43
|
invalid: Beim Speichern des Posts sind Fehler aufgetreten.
|
46
|
-
success: Beitrag wurde erfolgreich gespeichert
|
44
|
+
success: Beitrag wurde erfolgreich gespeichert.
|
47
45
|
admin_log:
|
48
46
|
post:
|
49
47
|
create: "%{user_name} hat den Blogpost %{resource_name} in %{space_name} erstellt"
|
50
48
|
delete: "%{user_name} hat den Blogpost %{resource_name} in %{space_name} gelöscht"
|
51
49
|
update: "%{user_name} hat den Blogpost %{resource_name} in %{space_name} aktualisiert"
|
50
|
+
content_blocks:
|
51
|
+
highlighted_posts:
|
52
|
+
last_published: Zuletzt veröffentlicht
|
53
|
+
name: Beiträge
|
54
|
+
see_all: Alle Beiträge ansehen
|
52
55
|
last_activity:
|
53
|
-
|
56
|
+
new_post: 'Neuer Beitrag:'
|
54
57
|
models:
|
55
58
|
post:
|
56
59
|
fields:
|
57
60
|
author: Autor
|
58
61
|
body: Haupttext
|
59
|
-
created_at: Erstellt am
|
60
62
|
official_blog_post: Offizieller Post
|
63
|
+
published_at: Veröffentlicht am
|
61
64
|
title: Titel
|
62
65
|
posts:
|
63
66
|
index:
|
67
|
+
count:
|
68
|
+
one: "%{count} Beitrag"
|
69
|
+
other: "%{count} Beiträge"
|
64
70
|
empty: Es sind noch keine Beiträge vorhanden.
|
65
|
-
show:
|
66
|
-
back: Zurück zur Liste
|
67
|
-
comments: Kommentare
|
68
|
-
view: Anzeigen
|
69
|
-
sidebar_blog:
|
70
|
-
comments: Bemerkungen
|
71
|
-
most_commented_posts: Meist kommentierte Posts
|
72
|
-
read_more: Weiterlesen
|
73
71
|
components:
|
74
72
|
blogs:
|
75
73
|
actions:
|
data/config/locales/el.yml
CHANGED
@@ -24,50 +24,39 @@ el:
|
|
24
24
|
new: Νέα δημοσίευση
|
25
25
|
title: Ενέργειες
|
26
26
|
admin:
|
27
|
-
models:
|
28
|
-
post:
|
29
|
-
name: Δημοσίευση
|
30
27
|
posts:
|
31
28
|
create:
|
32
|
-
invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτής της
|
33
|
-
success: Η
|
29
|
+
invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτής της ανάρτησης.
|
30
|
+
success: Η ανάρτηση δημιουργήθηκε επιτυχώς.
|
34
31
|
destroy:
|
35
|
-
success: Η ανάρτηση διαγράφηκε
|
32
|
+
success: Η ανάρτηση διαγράφηκε επιτυχώς.
|
36
33
|
edit:
|
37
34
|
save: Ενημέρωση
|
38
35
|
title: Επεξεργασία ανάρτησης
|
39
36
|
index:
|
37
|
+
not_published_yet: Δεν έχει δημοσιευθεί ακόμα.
|
40
38
|
title: Δημοσιεύσεις
|
41
39
|
new:
|
42
40
|
create: Δημιουργία
|
43
41
|
title: Δημιουργία δημοσίευσης
|
44
42
|
update:
|
45
43
|
invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της ανάρτησης.
|
46
|
-
success: Η ανάρτηση αποθηκεύτηκε
|
44
|
+
success: Η ανάρτηση αποθηκεύτηκε επιτυχώς.
|
47
45
|
admin_log:
|
48
46
|
post:
|
49
47
|
create: "Ο/Η %{user_name} δημιούργησε την ανάρτηση %{resource_name} στο %{space_name}"
|
50
48
|
delete: "Ο/Η %{user_name} διέγραψε την ανάρτηση %{resource_name} στο %{space_name}"
|
51
49
|
update: "Ο/Η %{user_name} ενημέρωση την ανάρτηση %{resource_name} στο %{space_name}"
|
52
50
|
last_activity:
|
53
|
-
|
51
|
+
new_post: 'Νέα ανάρτηση:'
|
54
52
|
models:
|
55
53
|
post:
|
56
54
|
fields:
|
57
55
|
author: Συντάκτης
|
58
56
|
body: Σώμα
|
59
|
-
created_at: Δημιουργήθηκε στις
|
60
57
|
official_blog_post: Επίσημη ανάρτηση
|
58
|
+
published_at: Ώρα δημοσίευσης
|
61
59
|
title: Τίτλος
|
62
|
-
posts:
|
63
|
-
show:
|
64
|
-
back: Επιστροφή στη λίστα
|
65
|
-
comments: Σχόλια
|
66
|
-
view: Προβολή
|
67
|
-
sidebar_blog:
|
68
|
-
comments: σχόλια
|
69
|
-
most_commented_posts: Ανάρτήσεις με τα περισσότερα σχόλια
|
70
|
-
read_more: Διαβάστε περισσότερα
|
71
60
|
components:
|
72
61
|
blogs:
|
73
62
|
actions:
|