decidim-blogs 0.20.0 → 0.23.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) 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 +30 -0
  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 +24 -0
  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 +34 -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 +5 -0
  23. data/config/locales/el-GR.yml +1 -0
  24. data/config/locales/el.yml +84 -0
  25. data/config/locales/en.yml +5 -0
  26. data/config/locales/eo.yml +1 -0
  27. data/config/locales/es-MX.yml +5 -0
  28. data/config/locales/es-PY.yml +5 -0
  29. data/config/locales/es.yml +5 -0
  30. data/config/locales/et-EE.yml +1 -0
  31. data/config/locales/et.yml +1 -0
  32. data/config/locales/fi-plain.yml +5 -0
  33. data/config/locales/fi.yml +9 -4
  34. data/config/locales/fr-CA.yml +84 -0
  35. data/config/locales/fr.yml +5 -0
  36. data/config/locales/ga-IE.yml +1 -0
  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-IS.yml +56 -0
  41. data/config/locales/is.yml +56 -0
  42. data/config/locales/it.yml +5 -0
  43. data/config/locales/ja-JP.yml +83 -0
  44. data/config/locales/ja.yml +83 -0
  45. data/config/locales/ko-KR.yml +1 -0
  46. data/config/locales/ko.yml +1 -0
  47. data/config/locales/lt-LT.yml +1 -0
  48. data/config/locales/lt.yml +1 -0
  49. data/config/locales/lv.yml +84 -0
  50. data/config/locales/mt-MT.yml +1 -0
  51. data/config/locales/mt.yml +1 -0
  52. data/config/locales/nl.yml +5 -0
  53. data/config/locales/no.yml +58 -0
  54. data/config/locales/om-ET.yml +1 -0
  55. data/config/locales/pl.yml +34 -29
  56. data/config/locales/pt-BR.yml +1 -1
  57. data/config/locales/pt.yml +29 -24
  58. data/config/locales/ro-RO.yml +85 -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/ti-ER.yml +1 -0
  66. data/config/locales/vi-VN.yml +1 -0
  67. data/config/locales/vi.yml +1 -0
  68. data/config/locales/zh-CN.yml +83 -0
  69. data/config/locales/zh-TW.yml +1 -0
  70. data/db/migrate/20191212162606_add_user_group_author_to_blogs.rb +7 -0
  71. data/db/migrate/20200128094730_add_endorsements_counter_cache_to_blogs.rb +7 -0
  72. data/db/migrate/20200320105910_index_foreign_keys_in_decidim_blogs_posts.rb +7 -0
  73. data/db/migrate/20200827153709_add_commentable_counter_cache_to_posts.rb +9 -0
  74. data/lib/decidim/blogs/component.rb +8 -0
  75. data/lib/decidim/blogs/test/factories.rb +8 -0
  76. data/lib/decidim/blogs/version.rb +1 -1
  77. metadata +72 -21
@@ -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:
@@ -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:
@@ -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
@@ -0,0 +1 @@
1
+ om:
@@ -5,55 +5,57 @@ pl:
5
5
  activerecord:
6
6
  models:
7
7
  decidim/blogs/post:
8
- one: Stanowisko
9
- few: Posty
10
- many: Posty
11
- other: Posty
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: Kasować
17
- edit: Edytować
18
- new: Nowy post
19
- title: działania
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: Ciało
23
+ body: Treść
24
24
  post:
25
- name: Stanowisko
25
+ name: Wpis
26
26
  posts:
27
27
  create:
28
- invalid: Podczas tworzenia tego posta wystąpił problem
29
- success: Po pomyślnym utworzeniu
28
+ invalid: Podczas tworzenia tego wpisy wystąpił błąd
29
+ success: Wpis został utworzony
30
30
  destroy:
31
- success: Wpis został pomyślnie usunięty
31
+ success: Wpis został usunięty
32
32
  edit:
33
- save: Aktualizacja
33
+ save: Aktualizuj
34
34
  index:
35
- title: Posty
35
+ title: Wpisy
36
36
  new:
37
- create: Stwórz
37
+ create: Utwórz
38
38
  title: Utwórz wpis
39
39
  update:
40
- invalid: Podczas zapisywania posta wystąpiły błędy.
41
- success: Zapis został pomyślnie zapisany
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 post na %{link}</span>"
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: Ciało
49
- created_at: Utworzono w
48
+ body: Treść
49
+ created_at: Utworzono
50
50
  title: tytuł
51
51
  posts:
52
52
  show:
53
- view: Widok
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 posty
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: Post "%{resource_title}" został opublikowany w "%{participatory_space_title}", którego obserwujesz.
72
- email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz "%{participatory_space_title}". Możesz przestać go obserwować z poprzedniego linku.
73
- email_subject: Nowy wpis opublikowany w %{participatory_space_title}
74
- notification_title: Post <a href="%{resource_path}">%{resource_title}</a> został opublikowany w %{participatory_space_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: Posty
83
+ posts_count: Wpisy
79
84
  participatory_processes:
80
85
  statistics:
81
- posts_count: Posty
86
+ posts_count: Wpisy