decidim-blogs 0.20.1 → 0.23.1
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 +13 -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.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.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 +5 -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 +8 -0
- data/lib/decidim/blogs/test/factories.rb +8 -0
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +69 -20
@@ -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
@@ -48,6 +48,8 @@
|
|
48
48
|
title: tittel
|
49
49
|
posts:
|
50
50
|
show:
|
51
|
+
back: Tilbake til listen
|
52
|
+
comments: Kommentarer
|
51
53
|
view: Vis
|
52
54
|
sidebar_blog:
|
53
55
|
comments: kommentarer
|
@@ -60,9 +62,12 @@
|
|
60
62
|
global:
|
61
63
|
announcement: Kunngjøring
|
62
64
|
comments_enabled: Kommentarer aktivert
|
65
|
+
comments_max_length: Maks lengde på kommentarer (Sett 0 for standardverdi)
|
63
66
|
step:
|
64
67
|
announcement: Kunngjøring
|
65
68
|
comments_blocked: Kommentarer blokkert
|
69
|
+
endorsements_blocked: Påtegnelser blokkert
|
70
|
+
endorsements_enabled: Påtegnelser aktivert
|
66
71
|
events:
|
67
72
|
blogs:
|
68
73
|
post_created:
|
@@ -0,0 +1 @@
|
|
1
|
+
om:
|
data/config/locales/pl.yml
CHANGED
@@ -5,55 +5,57 @@ pl:
|
|
5
5
|
activerecord:
|
6
6
|
models:
|
7
7
|
decidim/blogs/post:
|
8
|
-
one:
|
9
|
-
few:
|
10
|
-
many:
|
11
|
-
other:
|
8
|
+
one: Wpis
|
9
|
+
few: Wpisy
|
10
|
+
many: Wpisy
|
11
|
+
other: Wpisy
|
12
12
|
decidim:
|
13
13
|
blogs:
|
14
14
|
actions:
|
15
15
|
confirm_destroy: Czy na pewno chcesz usunąć ten wpis?
|
16
|
-
destroy:
|
17
|
-
edit:
|
18
|
-
new: Nowy
|
19
|
-
title:
|
16
|
+
destroy: Usuń
|
17
|
+
edit: Edytuj
|
18
|
+
new: Nowy wpis
|
19
|
+
title: Działania
|
20
20
|
admin:
|
21
21
|
models:
|
22
22
|
components:
|
23
|
-
body:
|
23
|
+
body: Treść
|
24
24
|
post:
|
25
|
-
name:
|
25
|
+
name: Wpis
|
26
26
|
posts:
|
27
27
|
create:
|
28
|
-
invalid: Podczas tworzenia tego
|
29
|
-
success:
|
28
|
+
invalid: Podczas tworzenia tego wpisy wystąpił błąd
|
29
|
+
success: Wpis został utworzony
|
30
30
|
destroy:
|
31
|
-
success: Wpis został
|
31
|
+
success: Wpis został usunięty
|
32
32
|
edit:
|
33
|
-
save:
|
33
|
+
save: Aktualizuj
|
34
34
|
index:
|
35
|
-
title:
|
35
|
+
title: Wpisy
|
36
36
|
new:
|
37
|
-
create:
|
37
|
+
create: Utwórz
|
38
38
|
title: Utwórz wpis
|
39
39
|
update:
|
40
|
-
invalid: Podczas zapisywania
|
41
|
-
success:
|
40
|
+
invalid: Podczas zapisywania wpisu wystąpiły błędy.
|
41
|
+
success: Wpis został pomyślnie zapisany
|
42
42
|
last_activity:
|
43
|
-
new_post_at_html: "<span>Nowy
|
43
|
+
new_post_at_html: "<span>Nowy wpis na %{link}</span>"
|
44
44
|
models:
|
45
45
|
post:
|
46
46
|
fields:
|
47
47
|
author: Autor
|
48
|
-
body:
|
49
|
-
created_at: Utworzono
|
48
|
+
body: Treść
|
49
|
+
created_at: Utworzono
|
50
50
|
title: tytuł
|
51
51
|
posts:
|
52
52
|
show:
|
53
|
-
|
53
|
+
back: Powrót do listy
|
54
|
+
comments: Komentarze
|
55
|
+
view: Zobacz
|
54
56
|
sidebar_blog:
|
55
57
|
comments: komentarze
|
56
|
-
most_commented_posts: Najczęściej komentowane
|
58
|
+
most_commented_posts: Najczęściej komentowane wpisy
|
57
59
|
read_more: Czytaj więcej
|
58
60
|
components:
|
59
61
|
blogs:
|
@@ -62,20 +64,23 @@ pl:
|
|
62
64
|
global:
|
63
65
|
announcement: Ogłoszenie
|
64
66
|
comments_enabled: Komentarze włączone
|
67
|
+
comments_max_length: Maksymalna długość komentarzy (Pozostaw 0 dla wartości domyślnej)
|
65
68
|
step:
|
66
69
|
announcement: Ogłoszenie
|
67
70
|
comments_blocked: Komentarze zablokowane
|
71
|
+
endorsements_blocked: Możliwość rekomendowania zablokowana
|
72
|
+
endorsements_enabled: Rekomendowanie włączone
|
68
73
|
events:
|
69
74
|
blogs:
|
70
75
|
post_created:
|
71
|
-
email_intro:
|
72
|
-
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz "%{participatory_space_title}". Możesz
|
73
|
-
email_subject:
|
74
|
-
notification_title:
|
76
|
+
email_intro: Wpis "%{resource_title}" został opublikowany w obserwowanym przez Ciebie "%{participatory_space_title}".
|
77
|
+
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz "%{participatory_space_title}". Możesz zrezygnować z obserwowania klikając w poprzedni link.
|
78
|
+
email_subject: Opublikowano nowy wpis w %{participatory_space_title}
|
79
|
+
notification_title: Wpis <a href="%{resource_path}">%{resource_title}</a> został opublikowany w %{participatory_space_title}
|
75
80
|
pages:
|
76
81
|
home:
|
77
82
|
statistics:
|
78
|
-
posts_count:
|
83
|
+
posts_count: Wpisy
|
79
84
|
participatory_processes:
|
80
85
|
statistics:
|
81
|
-
posts_count:
|
86
|
+
posts_count: Wpisy
|
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/pt.yml
CHANGED
@@ -1,44 +1,44 @@
|
|
1
1
|
pt:
|
2
2
|
activemodel:
|
3
3
|
models:
|
4
|
-
decidim/blogs/create_post_event: Nova
|
4
|
+
decidim/blogs/create_post_event: Nova publicação no blog
|
5
5
|
activerecord:
|
6
6
|
models:
|
7
7
|
decidim/blogs/post:
|
8
|
-
one:
|
9
|
-
other:
|
8
|
+
one: Publicação
|
9
|
+
other: Publicações
|
10
10
|
decidim:
|
11
11
|
blogs:
|
12
12
|
actions:
|
13
|
-
confirm_destroy: Tem certeza de que deseja
|
14
|
-
destroy:
|
13
|
+
confirm_destroy: Tem a certeza de que deseja eliminar esta publicação?
|
14
|
+
destroy: Eliminar
|
15
15
|
edit: Editar
|
16
|
-
new: Nova
|
16
|
+
new: Nova publicação
|
17
17
|
title: Ações
|
18
18
|
admin:
|
19
19
|
models:
|
20
20
|
components:
|
21
21
|
body: Corpo
|
22
22
|
post:
|
23
|
-
name:
|
23
|
+
name: Publicação
|
24
24
|
posts:
|
25
25
|
create:
|
26
|
-
invalid:
|
27
|
-
success:
|
26
|
+
invalid: Ocorreu um problema ao criar esta publicação
|
27
|
+
success: Publicação criada corretamente
|
28
28
|
destroy:
|
29
|
-
success:
|
29
|
+
success: Publicação eliminada corretamente
|
30
30
|
edit:
|
31
31
|
save: Atualizar
|
32
32
|
index:
|
33
|
-
title:
|
33
|
+
title: Publicações
|
34
34
|
new:
|
35
|
-
create:
|
36
|
-
title: Criar
|
35
|
+
create: Criar
|
36
|
+
title: Criar publicação
|
37
37
|
update:
|
38
|
-
invalid:
|
39
|
-
success:
|
38
|
+
invalid: Ocorreu um problema ao guardar a publicação.
|
39
|
+
success: Publicação guardada corretamente
|
40
40
|
last_activity:
|
41
|
-
new_post_at_html: "<span>
|
41
|
+
new_post_at_html: "<span>Nova publicação em %{link}</span>"
|
42
42
|
models:
|
43
43
|
post:
|
44
44
|
fields:
|
@@ -48,11 +48,13 @@ pt:
|
|
48
48
|
title: título
|
49
49
|
posts:
|
50
50
|
show:
|
51
|
+
back: Retroceder à lista
|
52
|
+
comments: Comentários
|
51
53
|
view: Visão
|
52
54
|
sidebar_blog:
|
53
55
|
comments: comentários
|
54
|
-
most_commented_posts:
|
55
|
-
read_more:
|
56
|
+
most_commented_posts: Publicações mais comentadas
|
57
|
+
read_more: Ler mais
|
56
58
|
components:
|
57
59
|
blogs:
|
58
60
|
name: Blog
|
@@ -60,20 +62,23 @@ pt:
|
|
60
62
|
global:
|
61
63
|
announcement: Anúncio
|
62
64
|
comments_enabled: Comentários ativados
|
65
|
+
comments_max_length: Comprimento máximo dos comentários (Deixar 0 para o valor predefinido)
|
63
66
|
step:
|
64
67
|
announcement: Anúncio
|
65
68
|
comments_blocked: Comentários bloqueados
|
69
|
+
endorsements_blocked: Endossamentos bloqueados
|
70
|
+
endorsements_enabled: Endossamentos ativados
|
66
71
|
events:
|
67
72
|
blogs:
|
68
73
|
post_created:
|
69
|
-
email_intro: A
|
70
|
-
email_outro:
|
71
|
-
email_subject: Nova
|
72
|
-
notification_title: A
|
74
|
+
email_intro: A publicação "%{resource_title}" foi publicada em "%{participatory_space_title}" que segue.
|
75
|
+
email_outro: Recebeu esta notificação porque segue "%{participatory_space_title}". Pode deixar de segui-lo através da hiperligação anterior.
|
76
|
+
email_subject: Nova publicação publicada em %{participatory_space_title}
|
77
|
+
notification_title: A publicação <a href="%{resource_path}">%{resource_title}</a> foi publicada em %{participatory_space_title}
|
73
78
|
pages:
|
74
79
|
home:
|
75
80
|
statistics:
|
76
|
-
posts_count:
|
81
|
+
posts_count: Publicações
|
77
82
|
participatory_processes:
|
78
83
|
statistics:
|
79
|
-
posts_count:
|
84
|
+
posts_count: Publicações
|