decidim-blogs 0.19.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/decidim/blogs/icon.svg +1 -3
  3. data/app/cells/decidim/blogs/post_m/footer.erb +1 -1
  4. data/app/cells/decidim/blogs/post_m_cell.rb +6 -0
  5. data/app/helpers/decidim/blogs/application_helper.rb +2 -0
  6. data/app/models/decidim/blogs/post.rb +14 -0
  7. data/app/types/decidim/blogs/blogs_type.rb +30 -0
  8. data/app/types/decidim/blogs/post_input_filter.rb +29 -0
  9. data/app/types/decidim/blogs/post_input_sort.rb +15 -0
  10. data/app/types/decidim/blogs/post_type.rb +24 -0
  11. data/app/views/decidim/blogs/posts/_posts.html.erb +4 -4
  12. data/app/views/decidim/blogs/posts/_sidebar_blog.html.erb +1 -1
  13. data/app/views/decidim/blogs/posts/show.html.erb +34 -9
  14. data/config/locales/bg-BG.yml +13 -0
  15. data/config/locales/ca.yml +4 -0
  16. data/config/locales/cs.yml +16 -12
  17. data/config/locales/da-DK.yml +1 -0
  18. data/config/locales/de.yml +4 -0
  19. data/config/locales/el-GR.yml +1 -0
  20. data/config/locales/el.yml +83 -0
  21. data/config/locales/en.yml +4 -0
  22. data/config/locales/es-MX.yml +4 -0
  23. data/config/locales/es-PY.yml +4 -0
  24. data/config/locales/es.yml +4 -0
  25. data/config/locales/et-EE.yml +1 -0
  26. data/config/locales/fi-plain.yml +4 -0
  27. data/config/locales/fi.yml +8 -4
  28. data/config/locales/fr-CA.yml +83 -0
  29. data/config/locales/fr.yml +4 -0
  30. data/config/locales/ga-IE.yml +1 -0
  31. data/config/locales/hr-HR.yml +1 -0
  32. data/config/locales/hu.yml +4 -0
  33. data/config/locales/is-IS.yml +56 -0
  34. data/config/locales/it.yml +4 -0
  35. data/config/locales/ja-JP.yml +82 -0
  36. data/config/locales/lt-LT.yml +1 -0
  37. data/config/locales/lv-LV.yml +84 -0
  38. data/config/locales/mt-MT.yml +1 -0
  39. data/config/locales/nl.yml +4 -0
  40. data/config/locales/no.yml +78 -0
  41. data/config/locales/pl.yml +32 -28
  42. data/config/locales/pt-BR.yml +1 -1
  43. data/config/locales/pt.yml +28 -24
  44. data/config/locales/ro-RO.yml +84 -0
  45. data/config/locales/ru.yml +2 -0
  46. data/config/locales/sk-SK.yml +85 -0
  47. data/config/locales/sk.yml +85 -0
  48. data/config/locales/sl.yml +5 -0
  49. data/config/locales/sr-CS.yml +13 -0
  50. data/config/locales/sv.yml +4 -0
  51. data/db/migrate/20191212162606_add_user_group_author_to_blogs.rb +7 -0
  52. data/db/migrate/20200128094730_add_endorsements_counter_cache_to_blogs.rb +7 -0
  53. data/db/migrate/20200320105910_index_foreign_keys_in_decidim_blogs_posts.rb +7 -0
  54. data/lib/decidim/blogs/component.rb +8 -0
  55. data/lib/decidim/blogs/test/factories.rb +8 -0
  56. data/lib/decidim/blogs/version.rb +1 -1
  57. metadata +50 -19
@@ -49,6 +49,8 @@ en:
49
49
  title: title
50
50
  posts:
51
51
  show:
52
+ back: Back to list
53
+ comments: Comments
52
54
  view: View
53
55
  sidebar_blog:
54
56
  comments: comments
@@ -64,6 +66,8 @@ en:
64
66
  step:
65
67
  announcement: Announcement
66
68
  comments_blocked: Comments blocked
69
+ endorsements_blocked: Endorsements blocked
70
+ endorsements_enabled: Endorsements enabled
67
71
  events:
68
72
  blogs:
69
73
  post_created:
@@ -48,6 +48,8 @@ es-MX:
48
48
  title: título
49
49
  posts:
50
50
  show:
51
+ back: Volver al listado
52
+ comments: Comentarios
51
53
  view: Ver
52
54
  sidebar_blog:
53
55
  comments: comentarios
@@ -63,6 +65,8 @@ es-MX:
63
65
  step:
64
66
  announcement: Anuncio
65
67
  comments_blocked: Comentarios bloqueados
68
+ endorsements_blocked: Adhesiones bloqueadas
69
+ endorsements_enabled: Adhesiones habilitadas
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -48,6 +48,8 @@ es-PY:
48
48
  title: título
49
49
  posts:
50
50
  show:
51
+ back: Volver al listado
52
+ comments: Comentarios
51
53
  view: Ver
52
54
  sidebar_blog:
53
55
  comments: comentarios
@@ -63,6 +65,8 @@ es-PY:
63
65
  step:
64
66
  announcement: Anuncio
65
67
  comments_blocked: Comentarios bloqueados
68
+ endorsements_blocked: Adhesiones bloqueadas
69
+ endorsements_enabled: Adhesiones habilitadas
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -48,6 +48,8 @@ es:
48
48
  title: título
49
49
  posts:
50
50
  show:
51
+ back: Volver al listado
52
+ comments: Comentarios
51
53
  view: Ver
52
54
  sidebar_blog:
53
55
  comments: comentarios
@@ -63,6 +65,8 @@ es:
63
65
  step:
64
66
  announcement: Aviso
65
67
  comments_blocked: Comentarios bloqueados
68
+ endorsements_blocked: Adhesiones bloqueadas
69
+ endorsements_enabled: Adhesiones habilitadas
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -0,0 +1 @@
1
+ et:
@@ -48,6 +48,8 @@ fi-pl:
48
48
  title: otsikko
49
49
  posts:
50
50
  show:
51
+ back: Takaisin listaan
52
+ comments: Kommentit
51
53
  view: Näytä
52
54
  sidebar_blog:
53
55
  comments: kommentit
@@ -63,6 +65,8 @@ fi-pl:
63
65
  step:
64
66
  announcement: Ilmoitus
65
67
  comments_blocked: Kommentointi estetty
68
+ endorsements_blocked: Suositukset estetty
69
+ endorsements_enabled: Suositukset käytössä
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -24,9 +24,9 @@ fi:
24
24
  posts:
25
25
  create:
26
26
  invalid: Tämän artikkelin luonti epäonnistui
27
- success: Artikkeli luotu onnistuneesti
27
+ success: Artikkelin luonti onnistui
28
28
  destroy:
29
- success: Artikkeli poistettu onnistuneesti
29
+ success: Artikkelin poisto onnistui
30
30
  edit:
31
31
  save: Päivitä
32
32
  index:
@@ -42,12 +42,14 @@ fi:
42
42
  models:
43
43
  post:
44
44
  fields:
45
- author: Kirjoittaja
45
+ author: Laatija
46
46
  body: Leipäteksti
47
47
  created_at: Luotu
48
48
  title: otsikko
49
49
  posts:
50
50
  show:
51
+ back: Takaisin listaan
52
+ comments: Kommentit
51
53
  view: Näytä
52
54
  sidebar_blog:
53
55
  comments: kommentit
@@ -63,12 +65,14 @@ fi:
63
65
  step:
64
66
  announcement: Ilmoitus
65
67
  comments_blocked: Kommentointi estetty
68
+ endorsements_blocked: Suositukset estetty
69
+ endorsements_enabled: Suositukset käytössä
66
70
  events:
67
71
  blogs:
68
72
  post_created:
69
73
  email_intro: Seuraamassasi kohteessa "%{participatory_space_title}" on julkaistu artikkeli "%{resource_title}".
70
74
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta "%{participatory_space_title}". Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
71
- email_subject: Uusi artikkeli julkaistiin tilassa %{participatory_space_title}
75
+ email_subject: Uusi artikkeli julkaistiin osallistumistilassa %{participatory_space_title}
72
76
  notification_title: Kohteessa %{participatory_space_title} on julkaistu artikkeli <a href="%{resource_path}">%{resource_title}</a>
73
77
  pages:
74
78
  home:
@@ -0,0 +1,83 @@
1
+ fr-CA:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Nouvel article
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Article
9
+ other: Articles
10
+ decidim:
11
+ blogs:
12
+ actions:
13
+ confirm_destroy: Êtes-vous certain de vouloir supprimer cet article ?
14
+ destroy: Supprimer
15
+ edit: Modifier
16
+ new: Nouvel article
17
+ title: Actions
18
+ admin:
19
+ models:
20
+ components:
21
+ body: Corps du texte
22
+ post:
23
+ name: Publier
24
+ posts:
25
+ create:
26
+ invalid: Un problème est survenu lors de la création de cet article
27
+ success: Article créé avec succès
28
+ destroy:
29
+ success: Article supprimé avec succès
30
+ edit:
31
+ save: Mettre à jour
32
+ index:
33
+ title: Articles
34
+ new:
35
+ create: Créer
36
+ title: Créer un article
37
+ update:
38
+ invalid: Il y a eu des erreurs lors de l'enregistrement de l'article.
39
+ success: Article enregistré avec succès
40
+ last_activity:
41
+ new_post_at_html: "<span>Nouvel article à %{link}</span>"
42
+ models:
43
+ post:
44
+ fields:
45
+ author: Auteur
46
+ body: Corps du texte
47
+ created_at: Créé à
48
+ title: titre
49
+ posts:
50
+ show:
51
+ back: Retour à la liste
52
+ comments: Commentaires
53
+ view: Voir
54
+ sidebar_blog:
55
+ comments: commentaires
56
+ most_commented_posts: Articles les plus commentés
57
+ read_more: Voir la suite
58
+ components:
59
+ blogs:
60
+ name: Actualités
61
+ settings:
62
+ global:
63
+ announcement: Annonce
64
+ comments_enabled: Activer le module de commentaire
65
+ step:
66
+ announcement: Annonce
67
+ comments_blocked: Commentaires désactivés
68
+ endorsements_blocked: Soutiens bloqués
69
+ endorsements_enabled: Soutiens activés
70
+ events:
71
+ blogs:
72
+ post_created:
73
+ email_intro: L'article "%{resource_title}" a été publié dans "%{participatory_space_title}" que vous suivez.
74
+ email_outro: Vous avez reçu cette notification parce que vous suivez "%{participatory_space_title}". Vous pouvez le retirer du lien précédent.
75
+ email_subject: Nouvel article publié dans %{participatory_space_title}
76
+ notification_title: L'article <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
77
+ pages:
78
+ home:
79
+ statistics:
80
+ posts_count: Articles
81
+ participatory_processes:
82
+ statistics:
83
+ posts_count: Articles
@@ -48,6 +48,8 @@ fr:
48
48
  title: titre
49
49
  posts:
50
50
  show:
51
+ back: Retour à la liste
52
+ comments: Commentaires
51
53
  view: Voir
52
54
  sidebar_blog:
53
55
  comments: commentaires
@@ -63,6 +65,8 @@ fr:
63
65
  step:
64
66
  announcement: Annonce
65
67
  comments_blocked: Commentaires désactivés
68
+ endorsements_blocked: Soutiens bloqués
69
+ endorsements_enabled: Soutiens activés
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -0,0 +1 @@
1
+ ga:
@@ -0,0 +1 @@
1
+ hr:
@@ -48,6 +48,8 @@ hu:
48
48
  title: cím
49
49
  posts:
50
50
  show:
51
+ back: Vissza a listához
52
+ comments: Hozzászólások
51
53
  view: Nézet
52
54
  sidebar_blog:
53
55
  comments: hozzászólások
@@ -63,6 +65,8 @@ hu:
63
65
  step:
64
66
  announcement: Közlemény
65
67
  comments_blocked: Megjegyzések letiltva
68
+ endorsements_blocked: Jóváhagyások letiltva
69
+ endorsements_enabled: Jóváhagyások engedélyezve
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -0,0 +1,56 @@
1
+ is-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
@@ -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
@@ -63,6 +65,8 @@ it:
63
65
  step:
64
66
  announcement: Annuncio
65
67
  comments_blocked: Commenti bloccati
68
+ endorsements_blocked: Appoggi bloccati
69
+ endorsements_enabled: Appoggi abilitati
66
70
  events:
67
71
  blogs:
68
72
  post_created:
@@ -0,0 +1,82 @@
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
+ step:
65
+ announcement: お知らせ
66
+ comments_blocked: コメントがブロックされました
67
+ endorsements_blocked: エンドースメントがブロックされました
68
+ endorsements_enabled: エンドースメントを有効にする
69
+ events:
70
+ blogs:
71
+ post_created:
72
+ email_intro: The post "%{resource_title}" has been published in "%{participatory_space_title}" that you are following.
73
+ email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
74
+ email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
75
+ notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
76
+ pages:
77
+ home:
78
+ statistics:
79
+ posts_count: 投稿
80
+ participatory_processes:
81
+ statistics:
82
+ posts_count: 投稿
@@ -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