decidim-blogs 0.27.10 → 0.28.0.rc4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/blogs/content_blocks/highlighted_posts/content.erb +17 -0
  3. data/app/cells/decidim/blogs/content_blocks/highlighted_posts_cell.rb +52 -0
  4. data/app/cells/decidim/blogs/post_activity_cell.rb +1 -4
  5. data/app/cells/decidim/blogs/post_cell.rb +9 -2
  6. data/app/cells/decidim/blogs/post_g_cell.rb +31 -0
  7. data/app/cells/decidim/blogs/post_l_cell.rb +35 -0
  8. data/app/cells/decidim/blogs/post_metadata_cell.rb +29 -0
  9. data/app/cells/decidim/blogs/post_metadata_g_cell.rb +14 -0
  10. data/app/cells/decidim/blogs/post_s_cell.rb +15 -0
  11. data/app/commands/decidim/blogs/admin/create_post.rb +1 -0
  12. data/app/commands/decidim/blogs/admin/update_post.rb +10 -1
  13. data/app/controllers/decidim/blogs/admin/posts_controller.rb +2 -2
  14. data/app/controllers/decidim/blogs/posts_controller.rb +16 -4
  15. data/app/forms/decidim/blogs/admin/post_form.rb +2 -1
  16. data/app/helpers/decidim/blogs/admin/posts_helper.rb +11 -1
  17. data/app/helpers/decidim/blogs/application_helper.rb +4 -0
  18. data/app/helpers/decidim/blogs/posts_helper.rb +2 -4
  19. data/app/models/decidim/blogs/post.rb +14 -3
  20. data/app/packs/entrypoints/decidim_blogs.js +3 -0
  21. data/app/packs/stylesheets/blogs.scss +53 -0
  22. data/app/presenters/decidim/blogs/admin_log/post_presenter.rb +2 -2
  23. data/app/views/decidim/blogs/admin/posts/_form.html.erb +19 -13
  24. data/app/views/decidim/blogs/admin/posts/edit.html.erb +16 -6
  25. data/app/views/decidim/blogs/admin/posts/index.html.erb +60 -52
  26. data/app/views/decidim/blogs/admin/posts/new.html.erb +17 -6
  27. data/app/views/decidim/blogs/posts/_actions.html.erb +18 -0
  28. data/app/views/decidim/blogs/posts/index.html.erb +22 -9
  29. data/app/views/decidim/blogs/posts/show.html.erb +37 -47
  30. data/config/locales/ar.yml +2 -20
  31. data/config/locales/bg.yml +0 -86
  32. data/config/locales/ca.yml +16 -18
  33. data/config/locales/cs.yml +17 -17
  34. data/config/locales/de.yml +15 -17
  35. data/config/locales/el.yml +7 -18
  36. data/config/locales/en.yml +15 -17
  37. data/config/locales/es-MX.yml +15 -17
  38. data/config/locales/es-PY.yml +15 -17
  39. data/config/locales/es.yml +15 -17
  40. data/config/locales/eu.yml +16 -18
  41. data/config/locales/fi-plain.yml +15 -17
  42. data/config/locales/fi.yml +15 -17
  43. data/config/locales/fr-CA.yml +15 -17
  44. data/config/locales/fr.yml +15 -17
  45. data/config/locales/ga-IE.yml +0 -12
  46. data/config/locales/gl.yml +0 -21
  47. data/config/locales/hu.yml +15 -23
  48. data/config/locales/id-ID.yml +0 -19
  49. data/config/locales/is-IS.yml +0 -13
  50. data/config/locales/it.yml +0 -24
  51. data/config/locales/ja.yml +14 -17
  52. data/config/locales/ko.yml +0 -38
  53. data/config/locales/lb.yml +0 -24
  54. data/config/locales/lt.yml +12 -18
  55. data/config/locales/lv.yml +0 -21
  56. data/config/locales/nl.yml +0 -21
  57. data/config/locales/no.yml +0 -21
  58. data/config/locales/pl.yml +0 -42
  59. data/config/locales/pt-BR.yml +12 -27
  60. data/config/locales/pt.yml +0 -24
  61. data/config/locales/ro-RO.yml +7 -18
  62. data/config/locales/ru.yml +12 -18
  63. data/config/locales/sk.yml +0 -21
  64. data/config/locales/sq-AL.yml +0 -79
  65. data/config/locales/sr-CS.yml +0 -5
  66. data/config/locales/sv.yml +6 -29
  67. data/config/locales/tr-TR.yml +0 -21
  68. data/config/locales/uk.yml +0 -17
  69. data/config/locales/zh-CN.yml +0 -21
  70. data/config/locales/zh-TW.yml +3 -14
  71. data/db/migrate/20220812122940_add_published_at_to_decidim_blogs_posts.rb +17 -0
  72. data/lib/decidim/api/blogs_type.rb +14 -2
  73. data/lib/decidim/api/post_type.rb +1 -0
  74. data/lib/decidim/blogs/admin_engine.rb +2 -2
  75. data/lib/decidim/blogs/component.rb +4 -60
  76. data/lib/decidim/blogs/engine.rb +16 -1
  77. data/lib/decidim/blogs/seeds.rb +76 -0
  78. data/lib/decidim/blogs/test/factories.rb +9 -19
  79. data/lib/decidim/blogs/version.rb +1 -1
  80. metadata +39 -30
  81. data/app/cells/decidim/blogs/post_m/footer.erb +0 -5
  82. data/app/cells/decidim/blogs/post_m_cell.rb +0 -21
  83. data/app/views/decidim/blogs/posts/_datetime.html.erb +0 -1
  84. data/app/views/decidim/blogs/posts/_posts.html.erb +0 -24
  85. data/app/views/decidim/blogs/posts/_sidebar_blog.html.erb +0 -21
  86. data/config/locales/he-IL.yml +0 -1
  87. data/decidim-blogs.gemspec +0 -36
@@ -24,52 +24,50 @@ de:
24
24
  new: Neuer Beitrag
25
25
  title: Aktionen
26
26
  admin:
27
- models:
28
- post:
29
- name: Post
30
27
  posts:
31
28
  create:
32
- invalid: Beim Erstellen dieses Posts ist ein Problem aufgetreten
33
- success: Post erfolgreich erstellt
29
+ invalid: Beim Erstellen dieses Beitrags ist ein Problem aufgetreten.
30
+ success: Beitrag wurde erfolgreich erstellt.
34
31
  destroy:
35
- success: Beitrag wurde erfolgreich gelöscht
32
+ success: Beitrag wurde erfolgreich gelöscht.
36
33
  edit:
37
34
  save: Aktualisieren
38
35
  title: Post bearbeiten
39
36
  index:
37
+ not_published_yet: Noch nicht veröffentlicht.
40
38
  title: Beiträge
41
39
  new:
42
40
  create: Erstellen
43
41
  title: Post erstellen
44
42
  update:
45
43
  invalid: Beim Speichern des Posts sind Fehler aufgetreten.
46
- success: Beitrag wurde erfolgreich gespeichert
44
+ success: Beitrag wurde erfolgreich gespeichert.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} hat den Blogpost %{resource_name} in %{space_name} erstellt"
50
48
  delete: "%{user_name} hat den Blogpost %{resource_name} in %{space_name} gelöscht"
51
49
  update: "%{user_name} hat den Blogpost %{resource_name} in %{space_name} aktualisiert"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Zuletzt veröffentlicht
53
+ name: Beiträge
54
+ see_all: Alle Beiträge ansehen
52
55
  last_activity:
53
- new_post_at_html: "<span>Neuer Beitrag auf %{link}</span>"
56
+ new_post: 'Neuer Beitrag:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Autor
58
61
  body: Haupttext
59
- created_at: Erstellt am
60
62
  official_blog_post: Offizieller Post
63
+ published_at: Veröffentlicht am
61
64
  title: Titel
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} Beitrag"
69
+ other: "%{count} Beiträge"
64
70
  empty: Es sind noch keine Beiträge vorhanden.
65
- show:
66
- back: Zurück zur Liste
67
- comments: Kommentare
68
- view: Anzeigen
69
- sidebar_blog:
70
- comments: Bemerkungen
71
- most_commented_posts: Meist kommentierte Posts
72
- read_more: Weiterlesen
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,50 +24,39 @@ el:
24
24
  new: Νέα δημοσίευση
25
25
  title: Ενέργειες
26
26
  admin:
27
- models:
28
- post:
29
- name: Δημοσίευση
30
27
  posts:
31
28
  create:
32
- invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτής της ανάρτησης
33
- success: Η δημοσίευση δημιουργήθηκε με επιτυχία
29
+ invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτής της ανάρτησης.
30
+ success: Η ανάρτηση δημιουργήθηκε επιτυχώς.
34
31
  destroy:
35
- success: Η ανάρτηση διαγράφηκε με επιτυχία
32
+ success: Η ανάρτηση διαγράφηκε επιτυχώς.
36
33
  edit:
37
34
  save: Ενημέρωση
38
35
  title: Επεξεργασία ανάρτησης
39
36
  index:
37
+ not_published_yet: Δεν έχει δημοσιευθεί ακόμα.
40
38
  title: Δημοσιεύσεις
41
39
  new:
42
40
  create: Δημιουργία
43
41
  title: Δημιουργία δημοσίευσης
44
42
  update:
45
43
  invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της ανάρτησης.
46
- success: Η ανάρτηση αποθηκεύτηκε με επιτυχία
44
+ success: Η ανάρτηση αποθηκεύτηκε επιτυχώς.
47
45
  admin_log:
48
46
  post:
49
47
  create: "Ο/Η %{user_name} δημιούργησε την ανάρτηση %{resource_name} στο %{space_name}"
50
48
  delete: "Ο/Η %{user_name} διέγραψε την ανάρτηση %{resource_name} στο %{space_name}"
51
49
  update: "Ο/Η %{user_name} ενημέρωση την ανάρτηση %{resource_name} στο %{space_name}"
52
50
  last_activity:
53
- new_post_at_html: "<span>Νέα ανάρτηση στις %{link}</span>"
51
+ new_post: 'Νέα ανάρτηση:'
54
52
  models:
55
53
  post:
56
54
  fields:
57
55
  author: Συντάκτης
58
56
  body: Σώμα
59
- created_at: Δημιουργήθηκε στις
60
57
  official_blog_post: Επίσημη ανάρτηση
58
+ published_at: Ώρα δημοσίευσης
61
59
  title: Τίτλος
62
- posts:
63
- show:
64
- back: Επιστροφή στη λίστα
65
- comments: Σχόλια
66
- view: Προβολή
67
- sidebar_blog:
68
- comments: σχόλια
69
- most_commented_posts: Ανάρτήσεις με τα περισσότερα σχόλια
70
- read_more: Διαβάστε περισσότερα
71
60
  components:
72
61
  blogs:
73
62
  actions:
@@ -24,52 +24,50 @@ en:
24
24
  new: New post
25
25
  title: Actions
26
26
  admin:
27
- models:
28
- post:
29
- name: Post
30
27
  posts:
31
28
  create:
32
- invalid: There was a problem creating this post
33
- success: Post successfully created
29
+ invalid: There was a problem creating this post.
30
+ success: Post successfully created.
34
31
  destroy:
35
- success: Post successfully deleted
32
+ success: Post successfully deleted.
36
33
  edit:
37
34
  save: Update
38
35
  title: Edit post
39
36
  index:
37
+ not_published_yet: Not published yet.
40
38
  title: Posts
41
39
  new:
42
40
  create: Create
43
41
  title: Create post
44
42
  update:
45
43
  invalid: There was a problem saving the post.
46
- success: Post successfully saved
44
+ success: Post successfully saved.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} created the %{resource_name} blog post in %{space_name}"
50
48
  delete: "%{user_name} deleted the %{resource_name} blog post from %{space_name}"
51
49
  update: "%{user_name} updated the %{resource_name} blog post in %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Last published
53
+ name: Posts
54
+ see_all: See all posts
52
55
  last_activity:
53
- new_post_at_html: "<span>New post at %{link}</span>"
56
+ new_post: 'New post:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Author
58
61
  body: Body
59
- created_at: Created at
60
62
  official_blog_post: Official post
63
+ published_at: Publish time
61
64
  title: Title
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} post"
69
+ other: "%{count} posts"
64
70
  empty: There are no posts yet.
65
- show:
66
- back: Back to list
67
- comments: Comments
68
- view: View
69
- sidebar_blog:
70
- comments: comments
71
- most_commented_posts: Most commented posts
72
- read_more: Read more
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ es-MX:
24
24
  new: Nueva publicación
25
25
  title: Comportamiento
26
26
  admin:
27
- models:
28
- post:
29
- name: Enviar
30
27
  posts:
31
28
  create:
32
- invalid: Ha habido un problema al crear esta publicación
33
- success: Publicación creada con éxito
29
+ invalid: Se ha producido un error al crear esta publicación.
30
+ success: Publicación creada correctamente.
34
31
  destroy:
35
- success: Publicación eliminada con éxito
32
+ success: La publicación se ha eliminado correctamente.
36
33
  edit:
37
34
  save: Actualizar
38
35
  title: Editar publicación
39
36
  index:
37
+ not_published_yet: No publicada aún.
40
38
  title: Publicaciones
41
39
  new:
42
40
  create: Crear
43
41
  title: Crear publicación
44
42
  update:
45
43
  invalid: Ha habido errores al guardar la publicación.
46
- success: Publicación guardada con éxito
44
+ success: Se ha guardado la publicación correctamente.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} creó el post %{resource_name} en el blog de %{space_name}"
50
48
  delete: "%{user_name} ha eliminado el post %{resource_name} en el blog de %{space_name}"
51
49
  update: "%{user_name} ha actualizado el post %{resource_name} en el blog de %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Última publicación
53
+ name: Publicaciones
54
+ see_all: Per todas las publicaciones
52
55
  last_activity:
53
- new_post_at_html: "<span>Nueva publicación en %{link}</span>"
56
+ new_post: 'Nueva publicación:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Autoría
58
61
  body: Cuerpo
59
- created_at: Creado en
60
62
  official_blog_post: Post oficial
63
+ published_at: Hora de publicación
61
64
  title: Título
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} publicación"
69
+ other: "%{count} publicaciones"
64
70
  empty: Aún no hay ninguna publicación.
65
- show:
66
- back: Volver al listado
67
- comments: Comentarios
68
- view: Ver
69
- sidebar_blog:
70
- comments: comentarios
71
- most_commented_posts: Publicaciones más comentadas
72
- read_more: Leer más
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ es-PY:
24
24
  new: Nueva publicación
25
25
  title: Comportamiento
26
26
  admin:
27
- models:
28
- post:
29
- name: Enviar
30
27
  posts:
31
28
  create:
32
- invalid: Ha habido un problema al crear esta publicación
33
- success: Publicación creada con éxito
29
+ invalid: Se ha producido un error al crear esta publicación.
30
+ success: Publicación creada correctamente.
34
31
  destroy:
35
- success: Publicación eliminada con éxito
32
+ success: La publicación se ha eliminado correctamente.
36
33
  edit:
37
34
  save: Actualizar
38
35
  title: Editar publicación
39
36
  index:
37
+ not_published_yet: No publicada aún.
40
38
  title: Publicaciones
41
39
  new:
42
40
  create: Crear
43
41
  title: Crear publicación
44
42
  update:
45
43
  invalid: Ha habido errores al guardar la publicación.
46
- success: Publicación guardada con éxito
44
+ success: Se ha guardado la publicación correctamente.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} creó el post %{resource_name} en el blog de %{space_name}"
50
48
  delete: "%{user_name} ha eliminado el post %{resource_name} en el blog de %{space_name}"
51
49
  update: "%{user_name} ha actualizado el post %{resource_name} en el blog de %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Última publicación
53
+ name: Publicaciones
54
+ see_all: Per todas las publicaciones
52
55
  last_activity:
53
- new_post_at_html: "<span>Nueva publicación en %{link}</span>"
56
+ new_post: 'Nueva publicación:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Autoría
58
61
  body: Cuerpo
59
- created_at: Creado en
60
62
  official_blog_post: Post oficial
63
+ published_at: Hora de publicación
61
64
  title: Título
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} publicación"
69
+ other: "%{count} publicaciones"
64
70
  empty: Aún no hay ninguna publicación.
65
- show:
66
- back: Volver al listado
67
- comments: Comentarios
68
- view: Ver
69
- sidebar_blog:
70
- comments: comentarios
71
- most_commented_posts: Publicaciones más comentadas
72
- read_more: Leer más
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ es:
24
24
  new: Nueva publicación
25
25
  title: Acciones
26
26
  admin:
27
- models:
28
- post:
29
- name: Publicar
30
27
  posts:
31
28
  create:
32
- invalid: Se ha producido un error al crear esta publicación
33
- success: Publicación creada correctamente
29
+ invalid: Se ha producido un error al crear esta publicación.
30
+ success: Publicación creada correctamente.
34
31
  destroy:
35
- success: La publicación se ha eliminado correctamente
32
+ success: La publicación se ha eliminado correctamente.
36
33
  edit:
37
34
  save: Actualizar
38
35
  title: Editar publicación
39
36
  index:
37
+ not_published_yet: No publicada aún.
40
38
  title: Publicaciones
41
39
  new:
42
40
  create: Crear
43
41
  title: Crear publicación
44
42
  update:
45
43
  invalid: Se ha producido un error al guardar la publicación.
46
- success: Se ha guardado la publicación correctamente
44
+ success: Se ha guardado la publicación correctamente.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} creó el post %{resource_name} en el blog de %{space_name}"
50
48
  delete: "%{user_name} ha eliminado el post %{resource_name} en el blog de %{space_name}"
51
49
  update: "%{user_name} ha actualizado el post %{resource_name} en el blog de %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Última publicación
53
+ name: Publicaciones
54
+ see_all: Per todas las publicaciones
52
55
  last_activity:
53
- new_post_at_html: "<span>Nueva publicación en %{link}</span>"
56
+ new_post: 'Nueva publicación:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Autora
58
61
  body: Cuerpo
59
- created_at: Creado en
60
62
  official_blog_post: Post oficial
63
+ published_at: Hora de publicación
61
64
  title: Título
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} publicación"
69
+ other: "%{count} publicaciones"
64
70
  empty: Aún no hay ninguna publicación.
65
- show:
66
- back: Volver al listado
67
- comments: Comentarios
68
- view: Ver
69
- sidebar_blog:
70
- comments: comentarios
71
- most_commented_posts: Publicaciones más comentadas
72
- read_more: Leer más
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ eu:
24
24
  new: Beste argitalpen bat
25
25
  title: Ekintzak
26
26
  admin:
27
- models:
28
- post:
29
- name: Argitalpena
30
27
  posts:
31
28
  create:
32
- invalid: Arazo bat egon da argitalpen hau sortzean
33
- success: Argitalpena zuzen sortua
29
+ invalid: Arazo bat egon da argitalpen hau sortzean.
30
+ success: Argitalpena zuzen sortua.
34
31
  destroy:
35
- success: Argitalpena behar bezala ezabatua
32
+ success: Argitalpena behar bezala ezabatua.
36
33
  edit:
37
34
  save: Eguneratu
38
35
  title: Editatu argitalpena
39
36
  index:
37
+ not_published_yet: Oraindik argitaratu gabe.
40
38
  title: Argitalpenak
41
39
  new:
42
40
  create: Sortu
43
- title: Sortu mezua
41
+ title: Sortu argitalpena
44
42
  update:
45
43
  invalid: Arazo bat egon da argitalpena gordetzean.
46
- success: Argitalpena zuzen gordea
44
+ success: Argitalpena zuzen gordea.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} k %{resource_name} blogeko argitalpena sortu du %{space_name} espazioan"
50
48
  delete: "%{user_name} k %{resource_name} blogeko argitalpena ezabatu du %{space_name} espazioan"
51
49
  update: "%{user_name} k %{resource_name} blogeko argitalpena eguneratu egin da %{space_name} espazioan"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Azken argitarapena
53
+ name: Argitalpenak
54
+ see_all: Ikusi argitalpen guztiak
52
55
  last_activity:
53
- new_post_at_html: "<span> %{link}</span>-ean emaitza berria"
56
+ new_post: 'Beste argitalpen bat blogean:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Egilea
58
61
  body: Gorputza
59
- created_at: Sortze-data
60
62
  official_blog_post: Argitalpen ofiziala
63
+ published_at: Argitaratze-data
61
64
  title: Izenburua
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} argitalpen"
69
+ other: "%{count} edukin"
64
70
  empty: Oraindik ez dago argitalpenik.
65
- show:
66
- back: Itzuli zerrendara
67
- comments: Iruzkinak
68
- view: Ikusi
69
- sidebar_blog:
70
- comments: iruzkinak
71
- most_commented_posts: Gehien iruzkinatutako mezu
72
- read_more: Gehiago irakurri
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ fi-pl:
24
24
  new: Uusi artikkeli
25
25
  title: Toiminnot
26
26
  admin:
27
- models:
28
- post:
29
- name: Artikkeli
30
27
  posts:
31
28
  create:
32
- invalid: Tämän artikkelin luomisessa esiintyi ongelma
33
- success: Artikkeli luotu onnistuneesti
29
+ invalid: Artikkelin luonti epäonnistui.
30
+ success: Artikkelin luonti onnistui.
34
31
  destroy:
35
- success: Artikkeli poistettu onnistuneesti
32
+ success: Artikkelin poisto onnistui.
36
33
  edit:
37
34
  save: Päivitä
38
35
  title: Muokkaa artikkelia
39
36
  index:
37
+ not_published_yet: Ei vielä julkaistu.
40
38
  title: Artikkelit
41
39
  new:
42
40
  create: Luo
43
41
  title: Luo artikkeli
44
42
  update:
45
43
  invalid: Artikkelin tallennuksessa tapahtui virheitä.
46
- success: Artikkeli tallennettu onnistuneesti
44
+ success: Artikkelin tallennus onnistui.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} loi blogikirjoituksen %{resource_name} tilassa %{space_name}"
50
48
  delete: "%{user_name} poisti blogikirjoituksen %{resource_name} tilasta %{space_name}"
51
49
  update: "%{user_name} päivitti blogikirjoitusta %{resource_name} tilassa %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Viimeksi julkaistu
53
+ name: Artikkelit
54
+ see_all: Näytä kaikki kirjoitukset
52
55
  last_activity:
53
- new_post_at_html: "<span>Uusi artikkeli osoitteessa %{link}</span>"
56
+ new_post: 'Uusi artikkeli:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Kirjoittaja
58
61
  body: Leipäteksti
59
- created_at: Luotu
60
62
  official_blog_post: Virallinen artikkeli
63
+ published_at: Julkaisuaika
61
64
  title: Otsikko
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} artikkeli"
69
+ other: "%{count} artikkelia"
64
70
  empty: Ei yhtään artikkelia.
65
- show:
66
- back: Takaisin listaan
67
- comments: Kommentit
68
- view: Näytä
69
- sidebar_blog:
70
- comments: kommentit
71
- most_commented_posts: Eniten kommentoidut artikkelit
72
- read_more: Lue lisää
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ fi:
24
24
  new: Uusi artikkeli
25
25
  title: Toiminnot
26
26
  admin:
27
- models:
28
- post:
29
- name: Artikkeli
30
27
  posts:
31
28
  create:
32
- invalid: Tämän artikkelin luonti epäonnistui
33
- success: Artikkelin luonti onnistui
29
+ invalid: Artikkelin luonti epäonnistui.
30
+ success: Artikkelin luonti onnistui.
34
31
  destroy:
35
- success: Artikkelin poisto onnistui
32
+ success: Artikkelin poisto onnistui.
36
33
  edit:
37
34
  save: Päivitä
38
35
  title: Muokkaa artikkelia
39
36
  index:
37
+ not_published_yet: Ei vielä julkaistu.
40
38
  title: Artikkelit
41
39
  new:
42
40
  create: Luo
43
41
  title: Luo artikkeli
44
42
  update:
45
43
  invalid: Artikkelin tallennus epäonnistui.
46
- success: Artikkeli tallennus onnistui
44
+ success: Artikkelin tallennus onnistui.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} loi blogikirjoituksen %{resource_name} tilassa %{space_name}"
50
48
  delete: "%{user_name} poisti blogikirjoituksen %{resource_name} tilasta %{space_name}"
51
49
  update: "%{user_name} päivitti blogikirjoitusta %{resource_name} tilassa %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Viimeksi julkaistu
53
+ name: Artikkelit
54
+ see_all: Näytä kaikki kirjoitukset
52
55
  last_activity:
53
- new_post_at_html: "<span>Uusi artikkeli osoitteessa %{link}</span>"
56
+ new_post: 'Uusi artikkeli:'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Laatija
58
61
  body: Leipäteksti
59
- created_at: Luotu
60
62
  official_blog_post: Virallinen artikkeli
63
+ published_at: Julkaisuaika
61
64
  title: Otsikko
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} artikkeli"
69
+ other: "%{count} artikkelia"
64
70
  empty: Ei yhtään artikkelia.
65
- show:
66
- back: Takaisin listaan
67
- comments: Kommentit
68
- view: Näytä
69
- sidebar_blog:
70
- comments: kommentit
71
- most_commented_posts: Eniten kommentoidut artikkelit
72
- read_more: Lue lisää
73
71
  components:
74
72
  blogs:
75
73
  actions:
@@ -24,52 +24,50 @@ fr-CA:
24
24
  new: Nouvel article
25
25
  title: Actions
26
26
  admin:
27
- models:
28
- post:
29
- name: Publier
30
27
  posts:
31
28
  create:
32
- invalid: Un problème est survenu lors de la création de cet article
33
- success: Article créé avec succès
29
+ invalid: Un problème est survenu lors de la création de cet article.
30
+ success: Article créé avec succès.
34
31
  destroy:
35
- success: Article supprimé avec succès
32
+ success: Article supprimé avec succès.
36
33
  edit:
37
34
  save: Mettre à jour
38
35
  title: Éditer le post
39
36
  index:
37
+ not_published_yet: Pas encore publié.
40
38
  title: Articles
41
39
  new:
42
40
  create: Créer
43
41
  title: Créer un article
44
42
  update:
45
43
  invalid: Il y a eu des erreurs lors de l'enregistrement de l'article.
46
- success: Article enregistré avec succès
44
+ success: Article enregistré avec succès.
47
45
  admin_log:
48
46
  post:
49
47
  create: "%{user_name} a créé l'article de blog %{resource_name} dans %{space_name}"
50
48
  delete: "%{user_name} a supprimé l'article de blog %{resource_name} dans %{space_name}"
51
49
  update: "%{user_name} a mis à jour l'article de blog %{resource_name} dans %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Dernière publication
53
+ name: Articles
54
+ see_all: Voir tous les articles
52
55
  last_activity:
53
- new_post_at_html: "<span>Nouvel article à %{link}</span>"
56
+ new_post: 'Nouvel article :'
54
57
  models:
55
58
  post:
56
59
  fields:
57
60
  author: Auteur
58
61
  body: Corps du texte
59
- created_at: Créé à
60
62
  official_blog_post: Article officiel
63
+ published_at: Date de publication
61
64
  title: Titre
62
65
  posts:
63
66
  index:
67
+ count:
68
+ one: "%{count} article"
69
+ other: "%{count} articles"
64
70
  empty: Il n'y a pas encore d'articles.
65
- show:
66
- back: Retour à la liste
67
- comments: Commentaires
68
- view: Voir
69
- sidebar_blog:
70
- comments: commentaires
71
- most_commented_posts: Articles les plus commentés
72
- read_more: Voir la suite
73
71
  components:
74
72
  blogs:
75
73
  actions: