decidim-blogs 0.21.0 → 0.23.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) 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/controllers/decidim/blogs/posts_controller.rb +2 -0
  6. data/app/helpers/decidim/blogs/application_helper.rb +2 -0
  7. data/app/models/decidim/blogs/post.rb +13 -0
  8. data/app/types/decidim/blogs/blogs_type.rb +14 -16
  9. data/app/types/decidim/blogs/post_input_filter.rb +29 -0
  10. data/app/types/decidim/blogs/post_input_sort.rb +15 -0
  11. data/app/types/decidim/blogs/post_type.rb +4 -3
  12. data/app/views/decidim/blogs/posts/_posts.html.erb +4 -4
  13. data/app/views/decidim/blogs/posts/_sidebar_blog.html.erb +2 -2
  14. data/app/views/decidim/blogs/posts/show.html.erb +36 -9
  15. data/config/locales/am-ET.yml +1 -0
  16. data/config/locales/bg-BG.yml +13 -0
  17. data/config/locales/bg.yml +13 -0
  18. data/config/locales/ca.yml +5 -0
  19. data/config/locales/cs.yml +17 -12
  20. data/config/locales/da-DK.yml +1 -0
  21. data/config/locales/da.yml +1 -0
  22. data/config/locales/de.yml +8 -3
  23. data/config/locales/el.yml +83 -0
  24. data/config/locales/en.yml +5 -0
  25. data/config/locales/eo.yml +1 -0
  26. data/config/locales/es-MX.yml +5 -0
  27. data/config/locales/es-PY.yml +5 -0
  28. data/config/locales/es.yml +5 -0
  29. data/config/locales/et-EE.yml +1 -0
  30. data/config/locales/et.yml +1 -0
  31. data/config/locales/fi-plain.yml +5 -0
  32. data/config/locales/fi.yml +9 -4
  33. data/config/locales/fr-CA.yml +84 -0
  34. data/config/locales/fr.yml +5 -0
  35. data/config/locales/ga-IE.yml +1 -0
  36. data/config/locales/gl.yml +16 -11
  37. data/config/locales/hr-HR.yml +1 -0
  38. data/config/locales/hr.yml +1 -0
  39. data/config/locales/hu.yml +4 -0
  40. data/config/locales/is.yml +56 -0
  41. data/config/locales/it.yml +5 -0
  42. data/config/locales/ja-JP.yml +83 -0
  43. data/config/locales/ja.yml +83 -0
  44. data/config/locales/ko-KR.yml +1 -0
  45. data/config/locales/ko.yml +1 -0
  46. data/config/locales/lt-LT.yml +1 -0
  47. data/config/locales/lt.yml +1 -0
  48. data/config/locales/lv.yml +84 -0
  49. data/config/locales/mt-MT.yml +1 -0
  50. data/config/locales/mt.yml +1 -0
  51. data/config/locales/nl.yml +5 -0
  52. data/config/locales/no.yml +5 -0
  53. data/config/locales/om-ET.yml +1 -0
  54. data/config/locales/pl.yml +34 -29
  55. data/config/locales/pt-BR.yml +1 -1
  56. data/config/locales/pt.yml +29 -24
  57. data/config/locales/ro-RO.yml +85 -0
  58. data/config/locales/si-LK.yml +1 -0
  59. data/config/locales/sk-SK.yml +85 -0
  60. data/config/locales/sk.yml +85 -0
  61. data/config/locales/sl.yml +5 -0
  62. data/config/locales/so-SO.yml +1 -0
  63. data/config/locales/sr-CS.yml +13 -0
  64. data/config/locales/sv.yml +5 -0
  65. data/config/locales/sw-KE.yml +1 -0
  66. data/config/locales/ti-ER.yml +1 -0
  67. data/config/locales/tr-TR.yml +5 -0
  68. data/config/locales/vi-VN.yml +1 -0
  69. data/config/locales/vi.yml +1 -0
  70. data/config/locales/zh-CN.yml +83 -0
  71. data/config/locales/zh-TW.yml +1 -0
  72. data/db/migrate/20200128094730_add_endorsements_counter_cache_to_blogs.rb +7 -0
  73. data/db/migrate/20200320105910_index_foreign_keys_in_decidim_blogs_posts.rb +7 -0
  74. data/db/migrate/20200827153709_add_commentable_counter_cache_to_posts.rb +9 -0
  75. data/lib/decidim/blogs/component.rb +6 -0
  76. data/lib/decidim/blogs/test/factories.rb +8 -0
  77. data/lib/decidim/blogs/version.rb +1 -1
  78. metadata +70 -23
@@ -1,4 +1,4 @@
1
- pt-BR:
1
+ pt:
2
2
  activemodel:
3
3
  models:
4
4
  decidim/blogs/create_post_event: Novo post de blog
@@ -1,44 +1,44 @@
1
1
  pt:
2
2
  activemodel:
3
3
  models:
4
- decidim/blogs/create_post_event: Nova postagem no blog
4
+ decidim/blogs/create_post_event: Nova publicação no blog
5
5
  activerecord:
6
6
  models:
7
7
  decidim/blogs/post:
8
- one: Postar
9
- other: Postagens
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 excluir esta postagem?
14
- destroy: Excluir
13
+ confirm_destroy: Tem a certeza de que deseja eliminar esta publicação?
14
+ destroy: Eliminar
15
15
  edit: Editar
16
- new: Nova postagem
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: Postar
23
+ name: Publicação
24
24
  posts:
25
25
  create:
26
- invalid: Houve um problema ao criar esta postagem
27
- success: Post criado com sucesso
26
+ invalid: Ocorreu um problema ao criar esta publicação
27
+ success: Publicação criada corretamente
28
28
  destroy:
29
- success: Postagem excluída com sucesso
29
+ success: Publicação eliminada corretamente
30
30
  edit:
31
31
  save: Atualizar
32
32
  index:
33
- title: Postagens
33
+ title: Publicações
34
34
  new:
35
- create: Crio
36
- title: Criar post
35
+ create: Criar
36
+ title: Criar publicação
37
37
  update:
38
- invalid: Houve erros ao salvar a postagem.
39
- success: Post salvo com sucesso
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>Novo post em %{link}</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: Posts mais comentados
55
- read_more: Consulte Mais informação
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 postagem "%{resource_title}" foi publicada em "%{participatory_space_title}" que você está seguindo.
70
- email_outro: Você recebeu esta notificação porque está seguindo "%{participatory_space_title}". Você pode deixar de segui-lo no link anterior.
71
- email_subject: Nova postagem publicada em %{participatory_space_title}
72
- notification_title: A postagem <a href="%{resource_path}">%{resource_title}</a> foi publicada em %{participatory_space_title}
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: Postagens
81
+ posts_count: Publicações
77
82
  participatory_processes:
78
83
  statistics:
79
- posts_count: Postagens
84
+ posts_count: Publicações
@@ -0,0 +1,85 @@
1
+ ro:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Postare nouă pe blog
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Postează
9
+ few: Mesaje
10
+ other: Mesaje
11
+ decidim:
12
+ blogs:
13
+ actions:
14
+ confirm_destroy: Sunteţi sigur că doriţi să ştergeţi acest post?
15
+ destroy: Ștergere
16
+ edit: Editare
17
+ new: Postare nouă
18
+ title: Acțiuni
19
+ admin:
20
+ models:
21
+ components:
22
+ body: Corp
23
+ post:
24
+ name: Postează
25
+ posts:
26
+ create:
27
+ invalid: A apărut o eroare la crearea acestei postări
28
+ success: Postare creată cu succes
29
+ destroy:
30
+ success: Postare stearsa cu succes
31
+ edit:
32
+ save: Actualizare
33
+ index:
34
+ title: Mesaje
35
+ new:
36
+ create: Crează
37
+ title: Crează postare
38
+ update:
39
+ invalid: A apărut o eroare la salvarea postării.
40
+ success: Postare salvata cu succes
41
+ last_activity:
42
+ new_post_at_html: "<span>Postare nouă la %{link}</span>"
43
+ models:
44
+ post:
45
+ fields:
46
+ author: Autor
47
+ body: Corp
48
+ created_at: Creat la
49
+ title: titlu
50
+ posts:
51
+ show:
52
+ back: Înapoi la listă
53
+ comments: Comentarii
54
+ view: Vizualizare
55
+ sidebar_blog:
56
+ comments: comentarii
57
+ most_commented_posts: Cele mai comentate mesaje
58
+ read_more: Citește mai mult
59
+ components:
60
+ blogs:
61
+ name: Blog
62
+ settings:
63
+ global:
64
+ announcement: Anunţ
65
+ comments_enabled: Comentarii activate
66
+ comments_max_length: Lungimea maximă a comentariilor (Leave 0 pentru valoarea implicită)
67
+ step:
68
+ announcement: Anunţ
69
+ comments_blocked: Comentarii blocate
70
+ endorsements_blocked: Aprobări blocate
71
+ endorsements_enabled: Aprobări activate
72
+ events:
73
+ blogs:
74
+ post_created:
75
+ email_intro: Postarea "%{resource_title}" a fost publicată în "%{participatory_space_title}" pe care o urmărești.
76
+ email_outro: Ați primit această notificare deoarece urmăriți „%{participatory_space_title}”. O puteți anula de la link-ul anterior.
77
+ email_subject: Postare nouă publicată în %{participatory_space_title}
78
+ notification_title: Postarea <a href="%{resource_path}">%{resource_title}</a> a fost publicată în %{participatory_space_title}
79
+ pages:
80
+ home:
81
+ statistics:
82
+ posts_count: Mesaje
83
+ participatory_processes:
84
+ statistics:
85
+ posts_count: Mesaje
@@ -0,0 +1 @@
1
+ si:
@@ -0,0 +1,85 @@
1
+ sk:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Nový príspevok na blogu
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Príspevok
9
+ few: Príspevky
10
+ many: Príspevky
11
+ other: Príspevky
12
+ decidim:
13
+ blogs:
14
+ actions:
15
+ confirm_destroy: Naozaj chcete odstrániť tento príspevok?
16
+ destroy: Odstrániť
17
+ edit: Upraviť
18
+ new: Nový príspevok
19
+ title: Akcie
20
+ admin:
21
+ models:
22
+ components:
23
+ body: Telo textu
24
+ post:
25
+ name: Príspevok
26
+ posts:
27
+ create:
28
+ invalid: Vyskytol sa problém s vytváraním príspevku
29
+ success: Príspevok úspešne vytvorený
30
+ destroy:
31
+ success: Príspevok úspešne odstránený
32
+ edit:
33
+ save: Aktualizovať
34
+ index:
35
+ title: Príspevky
36
+ new:
37
+ create: Vytvoriť
38
+ title: Vytvort príspevok
39
+ update:
40
+ invalid: Vyskytol sa problém s ukladaním príspevku.
41
+ success: Príspevok úspešne uložený
42
+ last_activity:
43
+ new_post_at_html: "<span>Nový príspevok na %{link}</span>"
44
+ models:
45
+ post:
46
+ fields:
47
+ author: Autor
48
+ body: Telo textu
49
+ created_at: Vytvorené
50
+ title: názov
51
+ posts:
52
+ show:
53
+ back: Späť na zoznam
54
+ comments: Komentáre
55
+ view: Zobraziť
56
+ sidebar_blog:
57
+ comments: komentáre
58
+ most_commented_posts: Najviac komentované príspevky
59
+ read_more: Čítať ďalej
60
+ components:
61
+ blogs:
62
+ name: Blog
63
+ settings:
64
+ global:
65
+ announcement: Oznámenie
66
+ comments_enabled: Komentáre povolené
67
+ step:
68
+ announcement: Oznámenie
69
+ comments_blocked: Zablokované komentáre
70
+ endorsements_blocked: Zablokované schválenia
71
+ endorsements_enabled: Povolené schválenia
72
+ events:
73
+ blogs:
74
+ post_created:
75
+ email_intro: Príspevok "%{resource_title}" bol publikovaný v priestore "%{participatory_space_title}", ktorý sledujete.
76
+ email_outro: Túto notifikáciu ste dostali, pretože sledujete priestor "%{participatory_space_title}". Notifikácie môžete zrušiť po kliknutí na predchádzajúci odkaz.
77
+ email_subject: Nový príspevok publikovaný v %{participatory_space_title}
78
+ notification_title: Príspevok <a href="%{resource_path}">%{resource_title}</a> bol publikovaný v %{participatory_space_title}
79
+ pages:
80
+ home:
81
+ statistics:
82
+ posts_count: Príspevky
83
+ participatory_processes:
84
+ statistics:
85
+ posts_count: Príspevky
@@ -0,0 +1,85 @@
1
+ sk:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Nový príspevok na blogu
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Príspevok
9
+ few: Príspevky
10
+ many: Príspevky
11
+ other: Príspevky
12
+ decidim:
13
+ blogs:
14
+ actions:
15
+ confirm_destroy: Naozaj chcete odstrániť tento príspevok?
16
+ destroy: Odstrániť
17
+ edit: Upraviť
18
+ new: Nový príspevok
19
+ title: Akcie
20
+ admin:
21
+ models:
22
+ components:
23
+ body: Telo textu
24
+ post:
25
+ name: Príspevok
26
+ posts:
27
+ create:
28
+ invalid: Vyskytol sa problém s vytváraním príspevku
29
+ success: Príspevok úspešne vytvorený
30
+ destroy:
31
+ success: Príspevok úspešne odstránený
32
+ edit:
33
+ save: Aktualizovať
34
+ index:
35
+ title: Príspevky
36
+ new:
37
+ create: Vytvoriť
38
+ title: Vytvort príspevok
39
+ update:
40
+ invalid: Vyskytol sa problém s ukladaním príspevku.
41
+ success: Príspevok úspešne uložený
42
+ last_activity:
43
+ new_post_at_html: "<span>Nový príspevok na %{link}</span>"
44
+ models:
45
+ post:
46
+ fields:
47
+ author: Autor
48
+ body: Telo textu
49
+ created_at: Vytvorené
50
+ title: názov
51
+ posts:
52
+ show:
53
+ back: Späť na zoznam
54
+ comments: Komentáre
55
+ view: Zobraziť
56
+ sidebar_blog:
57
+ comments: komentáre
58
+ most_commented_posts: Najviac komentované príspevky
59
+ read_more: Čítať ďalej
60
+ components:
61
+ blogs:
62
+ name: Blog
63
+ settings:
64
+ global:
65
+ announcement: Oznámenie
66
+ comments_enabled: Komentáre povolené
67
+ step:
68
+ announcement: Oznámenie
69
+ comments_blocked: Zablokované komentáre
70
+ endorsements_blocked: Zablokované schválenia
71
+ endorsements_enabled: Povolené schválenia
72
+ events:
73
+ blogs:
74
+ post_created:
75
+ email_intro: Príspevok "%{resource_title}" bol publikovaný v priestore "%{participatory_space_title}", ktorý sledujete.
76
+ email_outro: Túto notifikáciu ste dostali, pretože sledujete priestor "%{participatory_space_title}". Notifikácie môžete zrušiť po kliknutí na predchádzajúci odkaz.
77
+ email_subject: Nový príspevok publikovaný v %{participatory_space_title}
78
+ notification_title: Príspevok <a href="%{resource_path}">%{resource_title}</a> bol publikovaný v %{participatory_space_title}
79
+ pages:
80
+ home:
81
+ statistics:
82
+ posts_count: Príspevky
83
+ participatory_processes:
84
+ statistics:
85
+ posts_count: Príspevky
@@ -0,0 +1,5 @@
1
+ sl:
2
+ decidim:
3
+ blogs:
4
+ actions:
5
+ destroy: Izbriši
@@ -0,0 +1 @@
1
+ so:
@@ -0,0 +1,13 @@
1
+ sr:
2
+ decidim:
3
+ blogs:
4
+ posts:
5
+ show:
6
+ back: Nazad na listu
7
+ comments: Komentari
8
+ components:
9
+ blogs:
10
+ settings:
11
+ step:
12
+ endorsements_blocked: Podržavanja su onemogućena
13
+ endorsements_enabled: Podržavanja su omogućena
@@ -48,6 +48,8 @@ sv:
48
48
  title: titel
49
49
  posts:
50
50
  show:
51
+ back: Tillbaka till listan
52
+ comments: Kommentarer
51
53
  view: Visa
52
54
  sidebar_blog:
53
55
  comments: kommentarer
@@ -60,9 +62,12 @@ sv:
60
62
  global:
61
63
  announcement: Meddelande
62
64
  comments_enabled: Kommentarer aktiverade
65
+ comments_max_length: Maximal längd för kommentarer (Lämna 0 för standardvärde)
63
66
  step:
64
67
  announcement: Meddelande
65
68
  comments_blocked: Kommentarer blockerade
69
+ endorsements_blocked: Instämmanden är blockerade
70
+ endorsements_enabled: Instämmanden tillåtna
66
71
  events:
67
72
  blogs:
68
73
  post_created:
@@ -0,0 +1 @@
1
+ sw:
@@ -0,0 +1 @@
1
+ ti:
@@ -48,6 +48,8 @@ tr:
48
48
  title: Başlık
49
49
  posts:
50
50
  show:
51
+ back: Listeye geri dön
52
+ comments: Yorumlar
51
53
  view: Görünüm
52
54
  sidebar_blog:
53
55
  comments: yorumlar
@@ -60,9 +62,12 @@ tr:
60
62
  global:
61
63
  announcement: duyuru
62
64
  comments_enabled: Yorumlar etkin
65
+ comments_max_length: Maksimum yorum uzunluğu (Varsayılan değer için 0 bırakın)
63
66
  step:
64
67
  announcement: duyuru
65
68
  comments_blocked: Yorumlar engellendi
69
+ endorsements_blocked: Yorumlar engellendi
70
+ endorsements_enabled: Yorumlar etkin
66
71
  events:
67
72
  blogs:
68
73
  post_created: