decidim-blogs 0.19.1 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/decidim/blogs/icon.svg +1 -3
- data/app/cells/decidim/blogs/post_m/footer.erb +1 -1
- data/app/cells/decidim/blogs/post_m_cell.rb +6 -0
- data/app/controllers/decidim/blogs/posts_controller.rb +2 -0
- data/app/helpers/decidim/blogs/application_helper.rb +2 -0
- data/app/models/decidim/blogs/post.rb +21 -0
- data/app/types/decidim/blogs/blogs_type.rb +30 -0
- data/app/types/decidim/blogs/post_input_filter.rb +29 -0
- data/app/types/decidim/blogs/post_input_sort.rb +15 -0
- data/app/types/decidim/blogs/post_type.rb +24 -0
- data/app/views/decidim/blogs/posts/_posts.html.erb +4 -4
- data/app/views/decidim/blogs/posts/_sidebar_blog.html.erb +2 -2
- data/app/views/decidim/blogs/posts/show.html.erb +34 -9
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/bg-BG.yml +13 -0
- data/config/locales/bg.yml +13 -0
- data/config/locales/ca.yml +5 -0
- data/config/locales/cs.yml +17 -12
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +5 -0
- data/config/locales/el-GR.yml +1 -0
- data/config/locales/el.yml +84 -0
- data/config/locales/en.yml +5 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +5 -0
- data/config/locales/es-PY.yml +5 -0
- data/config/locales/es.yml +5 -0
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/fi-plain.yml +5 -0
- data/config/locales/fi.yml +9 -4
- data/config/locales/fr-CA.yml +84 -0
- data/config/locales/fr.yml +5 -0
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +4 -0
- data/config/locales/is-IS.yml +56 -0
- data/config/locales/is.yml +56 -0
- data/config/locales/it.yml +5 -0
- data/config/locales/ja-JP.yml +83 -0
- data/config/locales/ja.yml +83 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +84 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +5 -0
- data/config/locales/no.yml +58 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +34 -29
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +29 -24
- data/config/locales/ro-RO.yml +85 -0
- data/config/locales/sk-SK.yml +85 -0
- data/config/locales/sk.yml +85 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +13 -0
- data/config/locales/sv.yml +5 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +83 -0
- data/config/locales/zh-TW.yml +1 -0
- data/db/migrate/20191212162606_add_user_group_author_to_blogs.rb +7 -0
- data/db/migrate/20200128094730_add_endorsements_counter_cache_to_blogs.rb +7 -0
- data/db/migrate/20200320105910_index_foreign_keys_in_decidim_blogs_posts.rb +7 -0
- data/db/migrate/20200827153709_add_commentable_counter_cache_to_posts.rb +9 -0
- data/lib/decidim/blogs/component.rb +9 -0
- data/lib/decidim/blogs/test/factories.rb +8 -0
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +70 -19
@@ -0,0 +1,56 @@
|
|
1
|
+
is:
|
2
|
+
decidim:
|
3
|
+
blogs:
|
4
|
+
actions:
|
5
|
+
confirm_destroy: Ertu viss um að þú viljir eyða þessu færslu?
|
6
|
+
destroy: Eyða
|
7
|
+
edit: Breyta
|
8
|
+
title: Aðgerðir
|
9
|
+
admin:
|
10
|
+
models:
|
11
|
+
components:
|
12
|
+
body: Líkami
|
13
|
+
post:
|
14
|
+
name: Post
|
15
|
+
posts:
|
16
|
+
create:
|
17
|
+
success: Post var búin til
|
18
|
+
destroy:
|
19
|
+
success: Post var eytt
|
20
|
+
edit:
|
21
|
+
save: Uppfæra
|
22
|
+
index:
|
23
|
+
title: Innlegg
|
24
|
+
new:
|
25
|
+
create: Búa til
|
26
|
+
title: Búa til færslu
|
27
|
+
models:
|
28
|
+
post:
|
29
|
+
fields:
|
30
|
+
author: Höfundur
|
31
|
+
body: Líkami
|
32
|
+
created_at: Búið til á
|
33
|
+
title: titill
|
34
|
+
posts:
|
35
|
+
sidebar_blog:
|
36
|
+
comments: athugasemdir
|
37
|
+
most_commented_posts: Flestar ummæli innleggar
|
38
|
+
read_more: Lestu meira
|
39
|
+
components:
|
40
|
+
blogs:
|
41
|
+
name: Blogg
|
42
|
+
settings:
|
43
|
+
global:
|
44
|
+
announcement: Tilkynning
|
45
|
+
step:
|
46
|
+
announcement: Tilkynning
|
47
|
+
events:
|
48
|
+
blogs:
|
49
|
+
post_created:
|
50
|
+
email_intro: Staða "%{resource_title}" hefur verið birt í "%{participatory_space_title}" sem þú fylgist með.
|
51
|
+
email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með "%{participatory_space_title}". Þú getur sleppt því frá fyrri tengilinn.
|
52
|
+
email_subject: Ný staða birt í %{participatory_space_title}
|
53
|
+
notification_title: Staða <a href="%{resource_path}">%{resource_title}</a> hefur verið birt í %{participatory_space_title}
|
54
|
+
participatory_processes:
|
55
|
+
statistics:
|
56
|
+
posts_count: Innlegg
|
data/config/locales/it.yml
CHANGED
@@ -48,6 +48,8 @@ it:
|
|
48
48
|
title: titolo
|
49
49
|
posts:
|
50
50
|
show:
|
51
|
+
back: Torna alla lista
|
52
|
+
comments: Commenti
|
51
53
|
view: vista
|
52
54
|
sidebar_blog:
|
53
55
|
comments: Commenti
|
@@ -60,9 +62,12 @@ it:
|
|
60
62
|
global:
|
61
63
|
announcement: Annuncio
|
62
64
|
comments_enabled: Commenti abilitati
|
65
|
+
comments_max_length: Lunghezza massima dei commenti (Lasciare 0 per il valore predefinito)
|
63
66
|
step:
|
64
67
|
announcement: Annuncio
|
65
68
|
comments_blocked: Commenti bloccati
|
69
|
+
endorsements_blocked: Appoggi bloccati
|
70
|
+
endorsements_enabled: Appoggi abilitati
|
66
71
|
events:
|
67
72
|
blogs:
|
68
73
|
post_created:
|
@@ -0,0 +1,83 @@
|
|
1
|
+
ja:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/blogs/create_post_event: 新しいブログ投稿
|
5
|
+
activerecord:
|
6
|
+
models:
|
7
|
+
decidim/blogs/post:
|
8
|
+
other: 投稿
|
9
|
+
decidim:
|
10
|
+
blogs:
|
11
|
+
actions:
|
12
|
+
confirm_destroy: この投稿を削除してもよろしいですか?
|
13
|
+
destroy: 削除
|
14
|
+
edit: 編集
|
15
|
+
new: 新規投稿
|
16
|
+
title: アクション
|
17
|
+
admin:
|
18
|
+
models:
|
19
|
+
components:
|
20
|
+
body: 本文
|
21
|
+
post:
|
22
|
+
name: 投稿
|
23
|
+
posts:
|
24
|
+
create:
|
25
|
+
invalid: この投稿を作成する際に問題が発生しました
|
26
|
+
success: 投稿を作成しました
|
27
|
+
destroy:
|
28
|
+
success: 投稿を削除しました
|
29
|
+
edit:
|
30
|
+
save: 更新
|
31
|
+
index:
|
32
|
+
title: 投稿
|
33
|
+
new:
|
34
|
+
create: 作成
|
35
|
+
title: 投稿を作成
|
36
|
+
update:
|
37
|
+
invalid: 投稿の保存中に問題が発生しました。
|
38
|
+
success: 投稿を保存しました
|
39
|
+
last_activity:
|
40
|
+
new_post_at_html: "<span> %{link}に新しい投稿</span>"
|
41
|
+
models:
|
42
|
+
post:
|
43
|
+
fields:
|
44
|
+
author: 作成者
|
45
|
+
body: 本文
|
46
|
+
created_at: 作成日時
|
47
|
+
title: タイトル
|
48
|
+
posts:
|
49
|
+
show:
|
50
|
+
back: リストに戻る
|
51
|
+
comments: コメント
|
52
|
+
view: 表示
|
53
|
+
sidebar_blog:
|
54
|
+
comments: コメント
|
55
|
+
most_commented_posts: 最もコメントされた投稿
|
56
|
+
read_more: もっと読む
|
57
|
+
components:
|
58
|
+
blogs:
|
59
|
+
name: ブログ
|
60
|
+
settings:
|
61
|
+
global:
|
62
|
+
announcement: お知らせ
|
63
|
+
comments_enabled: コメントは有効です
|
64
|
+
comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
|
65
|
+
step:
|
66
|
+
announcement: お知らせ
|
67
|
+
comments_blocked: コメントがブロックされました
|
68
|
+
endorsements_blocked: エンドースメントがブロックされました
|
69
|
+
endorsements_enabled: エンドースメントを有効にする
|
70
|
+
events:
|
71
|
+
blogs:
|
72
|
+
post_created:
|
73
|
+
email_intro: The post "%{resource_title}" has been published in "%{participatory_space_title}" that you are following.
|
74
|
+
email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
|
75
|
+
email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
|
76
|
+
notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
|
77
|
+
pages:
|
78
|
+
home:
|
79
|
+
statistics:
|
80
|
+
posts_count: 投稿
|
81
|
+
participatory_processes:
|
82
|
+
statistics:
|
83
|
+
posts_count: 投稿
|
@@ -0,0 +1,83 @@
|
|
1
|
+
ja:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/blogs/create_post_event: 新しいブログ投稿
|
5
|
+
activerecord:
|
6
|
+
models:
|
7
|
+
decidim/blogs/post:
|
8
|
+
other: 投稿
|
9
|
+
decidim:
|
10
|
+
blogs:
|
11
|
+
actions:
|
12
|
+
confirm_destroy: この投稿を削除してもよろしいですか?
|
13
|
+
destroy: 削除
|
14
|
+
edit: 編集
|
15
|
+
new: 新規投稿
|
16
|
+
title: アクション
|
17
|
+
admin:
|
18
|
+
models:
|
19
|
+
components:
|
20
|
+
body: 本文
|
21
|
+
post:
|
22
|
+
name: 投稿
|
23
|
+
posts:
|
24
|
+
create:
|
25
|
+
invalid: この投稿を作成する際に問題が発生しました
|
26
|
+
success: 投稿を作成しました
|
27
|
+
destroy:
|
28
|
+
success: 投稿を削除しました
|
29
|
+
edit:
|
30
|
+
save: 更新
|
31
|
+
index:
|
32
|
+
title: 投稿
|
33
|
+
new:
|
34
|
+
create: 作成
|
35
|
+
title: 投稿を作成
|
36
|
+
update:
|
37
|
+
invalid: 投稿の保存中に問題が発生しました。
|
38
|
+
success: 投稿を保存しました
|
39
|
+
last_activity:
|
40
|
+
new_post_at_html: "<span> %{link}に新しい投稿</span>"
|
41
|
+
models:
|
42
|
+
post:
|
43
|
+
fields:
|
44
|
+
author: 作成者
|
45
|
+
body: 本文
|
46
|
+
created_at: 作成日時
|
47
|
+
title: タイトル
|
48
|
+
posts:
|
49
|
+
show:
|
50
|
+
back: リストに戻る
|
51
|
+
comments: コメント
|
52
|
+
view: 表示
|
53
|
+
sidebar_blog:
|
54
|
+
comments: コメント
|
55
|
+
most_commented_posts: 最もコメントされた投稿
|
56
|
+
read_more: もっと読む
|
57
|
+
components:
|
58
|
+
blogs:
|
59
|
+
name: ブログ
|
60
|
+
settings:
|
61
|
+
global:
|
62
|
+
announcement: お知らせ
|
63
|
+
comments_enabled: コメントを有効にする
|
64
|
+
comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
|
65
|
+
step:
|
66
|
+
announcement: お知らせ
|
67
|
+
comments_blocked: コメントをブロック
|
68
|
+
endorsements_blocked: 支持をブロック
|
69
|
+
endorsements_enabled: 支持が有効
|
70
|
+
events:
|
71
|
+
blogs:
|
72
|
+
post_created:
|
73
|
+
email_intro: The post "%{resource_title}" has been published in "%{participatory_space_title}" that you are following.
|
74
|
+
email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
|
75
|
+
email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
|
76
|
+
notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
|
77
|
+
pages:
|
78
|
+
home:
|
79
|
+
statistics:
|
80
|
+
posts_count: 投稿
|
81
|
+
participatory_processes:
|
82
|
+
statistics:
|
83
|
+
posts_count: 投稿
|
@@ -0,0 +1 @@
|
|
1
|
+
ko:
|
@@ -0,0 +1 @@
|
|
1
|
+
ko:
|
@@ -0,0 +1 @@
|
|
1
|
+
lt:
|
@@ -0,0 +1 @@
|
|
1
|
+
lt:
|
@@ -0,0 +1,84 @@
|
|
1
|
+
lv:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/blogs/create_post_event: Jauna emuāra ziņa
|
5
|
+
activerecord:
|
6
|
+
models:
|
7
|
+
decidim/blogs/post:
|
8
|
+
zero: Ziņas
|
9
|
+
one: Ziņa
|
10
|
+
other: Ziņas
|
11
|
+
decidim:
|
12
|
+
blogs:
|
13
|
+
actions:
|
14
|
+
confirm_destroy: Vai tiešām vēlaties dzēst šo ziņu?
|
15
|
+
destroy: Dzēst
|
16
|
+
edit: Labot
|
17
|
+
new: Jauna ziņa
|
18
|
+
title: Darbības
|
19
|
+
admin:
|
20
|
+
models:
|
21
|
+
components:
|
22
|
+
body: Pamatteksts
|
23
|
+
post:
|
24
|
+
name: Ziņa
|
25
|
+
posts:
|
26
|
+
create:
|
27
|
+
invalid: Šīs ziņas izveides laikā radās problēma
|
28
|
+
success: Ziņa ir veiksmīgi izveidota
|
29
|
+
destroy:
|
30
|
+
success: Ziņa ir veiksmīgi izdzēsta
|
31
|
+
edit:
|
32
|
+
save: Atjaunināt
|
33
|
+
index:
|
34
|
+
title: Ziņas
|
35
|
+
new:
|
36
|
+
create: Izveidot
|
37
|
+
title: Izveidot ziņu
|
38
|
+
update:
|
39
|
+
invalid: Ziņas saglabāšanas laikā radās problēma.
|
40
|
+
success: Ziņa ir veiksmīgi saglabāta
|
41
|
+
last_activity:
|
42
|
+
new_post_at_html: "<span>Jauna ziņa %{link}</span>"
|
43
|
+
models:
|
44
|
+
post:
|
45
|
+
fields:
|
46
|
+
author: Autors
|
47
|
+
body: Pamatteksts
|
48
|
+
created_at: Izveidots plkst.
|
49
|
+
title: nosaukums
|
50
|
+
posts:
|
51
|
+
show:
|
52
|
+
back: Atpakaļ uz sarakstu
|
53
|
+
comments: Komentāri
|
54
|
+
view: Apskatīt
|
55
|
+
sidebar_blog:
|
56
|
+
comments: komentāri
|
57
|
+
most_commented_posts: Visvairāk komentētie ziņojumi
|
58
|
+
read_more: Lasīt vairāk
|
59
|
+
components:
|
60
|
+
blogs:
|
61
|
+
name: Emuārs
|
62
|
+
settings:
|
63
|
+
global:
|
64
|
+
announcement: Paziņojums
|
65
|
+
comments_enabled: Komentāri ir iespējoti
|
66
|
+
step:
|
67
|
+
announcement: Paziņojums
|
68
|
+
comments_blocked: Komentāri ir bloķēti
|
69
|
+
endorsements_blocked: Atbalsti ir bloķēti
|
70
|
+
endorsements_enabled: Atbalsti ir iespējoti
|
71
|
+
events:
|
72
|
+
blogs:
|
73
|
+
post_created:
|
74
|
+
email_intro: Ziņa "%{resource_title}" ir publicēta "%{participatory_space_title}", kurai sekojat.
|
75
|
+
email_outro: Jūs saņēmāt šo paziņojumu, jo sekojat "%{participatory_space_title}". Jūs varat atsekot tai no iepriekšējās saites.
|
76
|
+
email_subject: Telpā %{participatory_space_title} ir publicēta jauna ziņa
|
77
|
+
notification_title: Ziņa <a href="%{resource_path}">%{resource_title}</a> ir publicēta telpā %{participatory_space_title}
|
78
|
+
pages:
|
79
|
+
home:
|
80
|
+
statistics:
|
81
|
+
posts_count: Ziņas
|
82
|
+
participatory_processes:
|
83
|
+
statistics:
|
84
|
+
posts_count: Ziņas
|
@@ -0,0 +1 @@
|
|
1
|
+
mt:
|
@@ -0,0 +1 @@
|
|
1
|
+
mt:
|
data/config/locales/nl.yml
CHANGED
@@ -48,6 +48,8 @@ nl:
|
|
48
48
|
title: titel
|
49
49
|
posts:
|
50
50
|
show:
|
51
|
+
back: Terug naar het overzicht
|
52
|
+
comments: Opmerkingen
|
51
53
|
view: Bekijk
|
52
54
|
sidebar_blog:
|
53
55
|
comments: reacties
|
@@ -60,9 +62,12 @@ nl:
|
|
60
62
|
global:
|
61
63
|
announcement: Aankondiging
|
62
64
|
comments_enabled: Reacties ingeschakeld
|
65
|
+
comments_max_length: Commentaar maximale lengte (laat 0 voor standaard waarde)
|
63
66
|
step:
|
64
67
|
announcement: Aankondiging
|
65
68
|
comments_blocked: Reacties geblokkeerd
|
69
|
+
endorsements_blocked: Aanbevelingen geblokkeerd
|
70
|
+
endorsements_enabled: Aanbevelingen ingeschakeld
|
66
71
|
events:
|
67
72
|
blogs:
|
68
73
|
post_created:
|
data/config/locales/no.yml
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
"no":
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/blogs/create_post_event: Nytt blogg-innlegg
|
5
|
+
activerecord:
|
6
|
+
models:
|
7
|
+
decidim/blogs/post:
|
8
|
+
one: Innlegg
|
9
|
+
other: Innlegg
|
2
10
|
decidim:
|
3
11
|
blogs:
|
4
12
|
actions:
|
5
13
|
confirm_destroy: Er du sikker på at du vil slette dette innlegget?
|
14
|
+
destroy: Slett
|
6
15
|
edit: Editar
|
16
|
+
new: Nytt innlegg
|
7
17
|
title: Handlinger
|
8
18
|
admin:
|
9
19
|
models:
|
10
20
|
components:
|
11
21
|
body: Tekst
|
22
|
+
post:
|
23
|
+
name: Innlegg
|
24
|
+
posts:
|
25
|
+
create:
|
26
|
+
invalid: Det oppstod et problem med å opprette dette innlegget
|
27
|
+
success: Innlegget ble opprettet
|
28
|
+
destroy:
|
29
|
+
success: Innlegget ble slettet
|
30
|
+
edit:
|
31
|
+
save: Oppdater
|
32
|
+
index:
|
33
|
+
title: Innlegg
|
34
|
+
new:
|
35
|
+
create: Opprett
|
36
|
+
title: Opprett innlegg
|
37
|
+
update:
|
38
|
+
invalid: Det oppstod et problem med å lagre dette innlegget.
|
39
|
+
success: Innlegget ble lagret
|
12
40
|
last_activity:
|
13
41
|
new_post_at_html: "<span>Nytt innlegg på %{link}</span>"
|
14
42
|
models:
|
@@ -16,11 +44,41 @@
|
|
16
44
|
fields:
|
17
45
|
author: Forfatter
|
18
46
|
body: Tekst
|
47
|
+
created_at: Opprettet på
|
19
48
|
title: tittel
|
49
|
+
posts:
|
50
|
+
show:
|
51
|
+
back: Tilbake til listen
|
52
|
+
comments: Kommentarer
|
53
|
+
view: Vis
|
54
|
+
sidebar_blog:
|
55
|
+
comments: kommentarer
|
56
|
+
most_commented_posts: Mest kommenterte innlegg
|
57
|
+
read_more: Les mer
|
20
58
|
components:
|
21
59
|
blogs:
|
60
|
+
name: Blogg
|
22
61
|
settings:
|
23
62
|
global:
|
24
63
|
announcement: Kunngjøring
|
64
|
+
comments_enabled: Kommentarer aktivert
|
65
|
+
comments_max_length: Maks lengde på kommentarer (Sett 0 for standardverdi)
|
25
66
|
step:
|
26
67
|
announcement: Kunngjøring
|
68
|
+
comments_blocked: Kommentarer blokkert
|
69
|
+
endorsements_blocked: Påtegnelser blokkert
|
70
|
+
endorsements_enabled: Påtegnelser aktivert
|
71
|
+
events:
|
72
|
+
blogs:
|
73
|
+
post_created:
|
74
|
+
email_intro: Innlegget "%{resource_title}" er publisert til "%{participatory_space_title}" som du følger.
|
75
|
+
email_outro: Du har mottatt denne varslingen fordi du følger "%{participatory_space_title}". Du kan slutte å følge den fra den forrige lenken.
|
76
|
+
email_subject: Nytt innlegg publisert i %{participatory_space_title}
|
77
|
+
notification_title: Innlegget <a href="%{resource_path}">%{resource_title}</a> er blitt publisert til %{participatory_space_title}
|
78
|
+
pages:
|
79
|
+
home:
|
80
|
+
statistics:
|
81
|
+
posts_count: Innlegg
|
82
|
+
participatory_processes:
|
83
|
+
statistics:
|
84
|
+
posts_count: Innlegg
|