decidim-pages 0.26.10 → 0.27.0.rc1

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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/pages/admin/update_page.rb +1 -1
  3. data/app/commands/decidim/pages/copy_page.rb +1 -1
  4. data/app/commands/decidim/pages/create_page.rb +1 -1
  5. data/app/commands/decidim/pages/destroy_page.rb +1 -1
  6. data/app/views/decidim/pages/admin/pages/_form.html.erb +1 -1
  7. data/app/views/decidim/pages/admin/pages/edit.html.erb +0 -1
  8. data/app/views/decidim/pages/application/show.html.erb +1 -1
  9. data/config/locales/am-ET.yml +1 -0
  10. data/config/locales/ar.yml +1 -5
  11. data/config/locales/bg.yml +1 -0
  12. data/config/locales/ca.yml +1 -0
  13. data/config/locales/cs.yml +1 -0
  14. data/config/locales/da.yml +1 -0
  15. data/config/locales/de.yml +1 -2
  16. data/config/locales/el.yml +1 -5
  17. data/config/locales/eo.yml +1 -0
  18. data/config/locales/es-MX.yml +1 -0
  19. data/config/locales/es-PY.yml +1 -0
  20. data/config/locales/es.yml +1 -0
  21. data/config/locales/et.yml +1 -0
  22. data/config/locales/eu.yml +6 -7
  23. data/config/locales/fi-plain.yml +1 -0
  24. data/config/locales/fi.yml +1 -0
  25. data/config/locales/fr-CA.yml +1 -0
  26. data/config/locales/fr.yml +1 -0
  27. data/config/locales/ga-IE.yml +1 -0
  28. data/config/locales/gl.yml +1 -0
  29. data/config/locales/hr.yml +1 -0
  30. data/config/locales/hu.yml +1 -5
  31. data/config/locales/id-ID.yml +1 -0
  32. data/config/locales/is-IS.yml +2 -1
  33. data/config/locales/it.yml +1 -0
  34. data/config/locales/ja.yml +1 -0
  35. data/config/locales/ko.yml +1 -0
  36. data/config/locales/lb.yml +1 -0
  37. data/config/locales/lt.yml +1 -36
  38. data/config/locales/lv.yml +1 -0
  39. data/config/locales/mt.yml +1 -0
  40. data/config/locales/nl.yml +1 -0
  41. data/config/locales/no.yml +1 -0
  42. data/config/locales/om-ET.yml +1 -0
  43. data/config/locales/pl.yml +1 -0
  44. data/config/locales/pt-BR.yml +2 -3
  45. data/config/locales/pt.yml +1 -0
  46. data/config/locales/ro-RO.yml +1 -2
  47. data/config/locales/ru.yml +1 -0
  48. data/config/locales/si-LK.yml +1 -0
  49. data/config/locales/sk.yml +1 -0
  50. data/config/locales/sl.yml +1 -0
  51. data/config/locales/so-SO.yml +1 -0
  52. data/config/locales/sr-CS.yml +1 -0
  53. data/config/locales/sv.yml +1 -0
  54. data/config/locales/sw-KE.yml +1 -0
  55. data/config/locales/ti-ER.yml +1 -0
  56. data/config/locales/tr-TR.yml +1 -0
  57. data/config/locales/uk.yml +1 -0
  58. data/config/locales/val-ES.yml +1 -0
  59. data/config/locales/vi.yml +1 -0
  60. data/config/locales/zh-CN.yml +1 -0
  61. data/config/locales/zh-TW.yml +1 -33
  62. data/lib/decidim/pages/component.rb +0 -3
  63. data/lib/decidim/pages/version.rb +1 -1
  64. metadata +12 -23
  65. data/app/serializers/decidim/pages/data_importer.rb +0 -27
  66. data/app/serializers/decidim/pages/data_serializer.rb +0 -22
  67. data/config/environment.rb +0 -3
  68. data/config/locales/fa-IR.yml +0 -1
  69. data/config/locales/gn-PY.yml +0 -1
  70. data/config/locales/ka-GE.yml +0 -1
  71. data/config/locales/kaa.yml +0 -7
  72. data/config/locales/lo-LA.yml +0 -1
  73. data/config/locales/oc-FR.yml +0 -1
  74. data/config/locales/sq-AL.yml +0 -1
  75. data/config/locales/th-TH.yml +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2d1ed45b14f73407331af387fedd07aada761735da3a020c6316031b727109d
4
- data.tar.gz: e464634131f769a5f7cc19857d63ee2464d5f6f783e19fae221d903e54d61565
3
+ metadata.gz: 30f594258b31fbf7e292ec3f8af2403131fb40d163771ca5074b2e6e21a627d7
4
+ data.tar.gz: 3a65184f0b078b710d730f515d32e883dbcd55a2aecc96babbbf46beae2752f6
5
5
  SHA512:
6
- metadata.gz: ac864b98ff158c35212eb5ed3614252840dc84e0fd44ffe6468f78358b5e77829e689604f8bd8da0c8ce483ce47461f1768f2abaf9807a0e7ae2076f175c5bb5
7
- data.tar.gz: 1ed8200879f87411c6b15b1cd0c692508eab1e90d56d3fa2e8bb67c42ce179df98998246f47ed27f1ea634dc0d9c0d8db4178543002cf4c4c31a50a52ae18115
6
+ metadata.gz: 154347ec05c32f8a723f2998686717f46c5c75ccc42d618ca9b0f6cd7babacb969842d1c2ae9610ef1cfc1be69e7e72022f748e2f84a311284057123284f3b8a
7
+ data.tar.gz: 642b14e8daa549018ac3b91e2e3c272ce9467d220a3383a698e253438cf403f6d22ed8e2d7220ef659e902c63cec10b55e2ce6b17e7b9209f20db4dd68907b0c
@@ -5,7 +5,7 @@ module Decidim
5
5
  module Admin
6
6
  # This command is executed when the user changes a Page from the admin
7
7
  # panel.
8
- class UpdatePage < Rectify::Command
8
+ class UpdatePage < Decidim::Command
9
9
  # Initializes a UpdatePage Command.
10
10
  #
11
11
  # form - The form from which to get the data.
@@ -5,7 +5,7 @@ module Decidim
5
5
  # Command that gets called whenever a component's page has to be duplicated.
6
6
  # It's need a context with the old component that
7
7
  # is going to be duplicated on the new one
8
- class CopyPage < Rectify::Command
8
+ class CopyPage < Decidim::Command
9
9
  def initialize(context)
10
10
  @context = context
11
11
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  module Pages
5
5
  # Command that gets called whenever a component's page has to be created. It
6
6
  # usually happens as a callback when the component itself is created.
7
- class CreatePage < Rectify::Command
7
+ class CreatePage < Decidim::Command
8
8
  def initialize(component)
9
9
  @component = component
10
10
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  module Pages
5
5
  # Command that gets called when the page of this component needs to be
6
6
  # destroyed. It usually happens as a callback when the component is removed.
7
- class DestroyPage < Rectify::Command
7
+ class DestroyPage < Decidim::Command
8
8
  def initialize(component)
9
9
  @component = component
10
10
  end
@@ -4,7 +4,7 @@
4
4
  </div>
5
5
  <div class="card-section">
6
6
  <div class="row column">
7
- <%= form.translated :editor, :body, lines: 30, label: t("models.components.body", scope: "decidim.pages.admin") %>
7
+ <%= form.translated :editor, :body, toolbar: :full, lines: 30, label: t("models.components.body", scope: "decidim.pages.admin") %>
8
8
  </div>
9
9
  </div>
10
10
  </div>
@@ -1,4 +1,3 @@
1
- <% add_decidim_page_title(t(".title")) %>
2
1
  <%= decidim_form_for(@form, url: page_path, method: :post, html: { class: "form edit_page" }) do |form| %>
3
2
  <%= render partial: "form", object: form, locals: { title: t(".title") } %>
4
3
 
@@ -8,7 +8,7 @@
8
8
  <div class="row">
9
9
  <div class="columns medium-7 mediumlarge-8">
10
10
  <div class="section">
11
- <%= decidim_sanitize_editor_admin translated_attribute(@page.body) %>
11
+ <%= decidim_sanitize_editor translated_attribute(@page.body) %>
12
12
  </div>
13
13
  </div>
14
14
  </div>
@@ -1 +1,2 @@
1
+ ---
1
2
  am:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ar:
2
3
  activerecord:
3
4
  models:
@@ -32,8 +33,3 @@ ar:
32
33
  update:
33
34
  invalid: حدثت مشكلة أثناء حفظ الصفحة.
34
35
  success: تم حفظ الصفحة بنجاح.
35
- home:
36
- hero:
37
- participate_title: المشاركة في مسارات المنصة
38
- sub_hero:
39
- register_title: قم بالتسجيل لإنشاء حساب
@@ -1,3 +1,4 @@
1
+ ---
1
2
  bg:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ca:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  cs:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  da:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  de:
2
3
  activerecord:
3
4
  models:
@@ -29,7 +30,5 @@ de:
29
30
  invalid: Beim Speichern der Seite sind Fehler aufgetreten.
30
31
  success: Seite erfolgreich gespeichert
31
32
  home:
32
- hero:
33
- participate_title: Beteiligen Sie sich an den Prozessen auf dieser Plattform
34
33
  sub_hero:
35
34
  register_title: Registrieren
@@ -1,3 +1,4 @@
1
+ ---
1
2
  el:
2
3
  activerecord:
3
4
  models:
@@ -28,8 +29,3 @@ el:
28
29
  update:
29
30
  invalid: Υπήρξε ένα πρόβλημα κατά την αποθήκευση της σελίδας.
30
31
  success: Η σελίδα αποθηκεύτηκε με επιτυχία.
31
- home:
32
- hero:
33
- participate_title: Συμμετάσχετε στις διαδικασίες της πλατφόρμας
34
- sub_hero:
35
- register_title: Εγγραφείτε για να δημιουργήσετε ένα λογαριασμό
@@ -1 +1,2 @@
1
+ ---
1
2
  eo:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es-MX:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es-PY:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  et:
@@ -1,13 +1,14 @@
1
+ ---
1
2
  eu:
2
3
  activerecord:
3
4
  models:
4
5
  decidim/pages/page:
5
- one: Orria
6
- other: Orriak
6
+ one: page
7
+ other: orrialdeak
7
8
  decidim:
8
9
  admin_log:
9
10
  page:
10
- update: "%{user_name} k %{resource_name} orrialdea hemen %{space_name} eguneratu du"
11
+ update: "%{user_name} %{resource_name} orrialdea %{space_name} eguneratu du"
11
12
  components:
12
13
  pages:
13
14
  name: Orria
@@ -20,16 +21,14 @@ eu:
20
21
  admin:
21
22
  models:
22
23
  components:
23
- body: Gorputza
24
+ body: Testua
24
25
  pages:
25
26
  edit:
26
27
  save: Eguneratu
27
28
  title: Editatu orria
28
29
  update:
29
- invalid: Arazo bat egon da argitalpena gordetzean.
30
+ invalid: Erroreak gertatu dira orria gordetzean.
30
31
  success: Orria zuzen gorde da.
31
32
  home:
32
- hero:
33
- participate_title: Hartu parte plataformako prozesuetan
34
33
  sub_hero:
35
34
  register_title: Erregistratu kontu bat edukitzeko
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fi-pl:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fi:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fr-CA:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fr:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ga:
2
3
  decidim:
3
4
  components:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  gl:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  hr:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  hu:
2
3
  activerecord:
3
4
  models:
@@ -28,8 +29,3 @@ hu:
28
29
  update:
29
30
  invalid: Hiba történt az oldal mentése során.
30
31
  success: Oldal mentése sikeres.
31
- home:
32
- hero:
33
- participate_title: Részvétel a platform folyamataiban
34
- sub_hero:
35
- register_title: A fiók létrehozásához iratkozz fel
@@ -1,3 +1,4 @@
1
+ ---
1
2
  id:
2
3
  activerecord:
3
4
  models:
@@ -1,4 +1,5 @@
1
- is-IS:
1
+ ---
2
+ is:
2
3
  decidim:
3
4
  admin_log:
4
5
  page:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  it:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ja:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  ko:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lb:
2
3
  activerecord:
3
4
  models:
@@ -1,37 +1,2 @@
1
+ ---
1
2
  lt:
2
- activerecord:
3
- models:
4
- decidim/pages/page:
5
- one: Puslapis
6
- few: Puslapiai
7
- many: Puslapiai
8
- other: Puslapiai
9
- decidim:
10
- admin_log:
11
- page:
12
- update: "%{user_name} atnaujino %{resource_name} puslapį %{space_name}"
13
- components:
14
- pages:
15
- name: Puslapis
16
- settings:
17
- global:
18
- announcement: Pranešimas
19
- step:
20
- announcement: Pranešimas
21
- pages:
22
- admin:
23
- models:
24
- components:
25
- body: Pagrindinė dalis
26
- pages:
27
- edit:
28
- save: Atnaujinimas
29
- title: Redaguoti puslapį
30
- update:
31
- invalid: Išsaugant šį puslapį iškilo problema.
32
- success: Puslapis išsaugotas.
33
- home:
34
- hero:
35
- participate_title: Dalyvauti platformos procesuose
36
- sub_hero:
37
- register_title: Užsiregistruokite norėdami susikurti paskyrą
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lv:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  mt:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  nl:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  "no":
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  om:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  pl:
2
3
  activerecord:
3
4
  models:
@@ -1,4 +1,5 @@
1
- pt-BR:
1
+ ---
2
+ pt:
2
3
  activerecord:
3
4
  models:
4
5
  decidim/pages/page:
@@ -29,7 +30,5 @@ pt-BR:
29
30
  invalid: Ocorreu erros ao salvar a página.
30
31
  success: Página salva com sucesso.
31
32
  home:
32
- hero:
33
- participate_title: Participe dos processos da plataforma
34
33
  sub_hero:
35
34
  register_title: Cadastre-se para criar uma conta
@@ -1,3 +1,4 @@
1
+ ---
1
2
  pt:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ro:
2
3
  activerecord:
3
4
  models:
@@ -30,7 +31,5 @@ ro:
30
31
  invalid: A apărut o eroare la salvarea paginii.
31
32
  success: Pagina a fost salvată cu succes.
32
33
  home:
33
- hero:
34
- participate_title: Participă la procesele platformei
35
34
  sub_hero:
36
35
  register_title: Înregistrează-te pentru a crea un cont
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ru:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  si:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sk:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sl:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  so:
@@ -1 +1,2 @@
1
+ ---
1
2
  sr:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sv:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  sw:
@@ -1 +1,2 @@
1
+ ---
1
2
  ti:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  tr:
2
3
  activerecord:
3
4
  models:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  uk:
2
3
  activerecord:
3
4
  models:
@@ -1 +1,2 @@
1
+ ---
1
2
  val:
@@ -1 +1,2 @@
1
+ ---
1
2
  vi:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  zh-CN:
2
3
  activerecord:
3
4
  models:
@@ -1,34 +1,2 @@
1
+ ---
1
2
  zh-TW:
2
- activerecord:
3
- models:
4
- decidim/pages/page:
5
- other: 頁面
6
- decidim:
7
- admin_log:
8
- page:
9
- update: "%{user_name} 在%{space_name} 中更新了%{resource_name} 頁面"
10
- components:
11
- pages:
12
- name: 頁面
13
- settings:
14
- global:
15
- announcement: 公告
16
- step:
17
- announcement: 公告
18
- pages:
19
- admin:
20
- models:
21
- components:
22
- body: 內容
23
- pages:
24
- edit:
25
- save: 更新
26
- title: 編輯頁面
27
- update:
28
- invalid: 保存頁面時出現問題
29
- success: 頁面保存成功
30
- home:
31
- hero:
32
- participate_title: 參與平台的流程
33
- sub_hero:
34
- register_title: 註冊以創建帳戶
@@ -6,9 +6,6 @@ Decidim.register_component(:pages) do |component|
6
6
  component.engine = Decidim::Pages::Engine
7
7
  component.admin_engine = Decidim::Pages::AdminEngine
8
8
  component.icon = "media/images/decidim_pages.svg"
9
- component.serializes_specific_data = true
10
- component.specific_data_serializer_class_name = "Decidim::Pages::DataSerializer"
11
- component.specific_data_importer_class_name = "Decidim::Pages::DataImporter"
12
9
  component.permissions_class_name = "Decidim::Pages::Permissions"
13
10
 
14
11
  component.query_type = "Decidim::Pages::PagesType"
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Pages
6
6
  def self.version
7
- "0.26.10"
7
+ "0.27.0.rc1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.10
4
+ version: 0.27.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-04-30 00:00:00.000000000 Z
13
+ date: 2022-06-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,42 +18,42 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.26.10
21
+ version: 0.27.0.rc1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.26.10
28
+ version: 0.27.0.rc1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-dev
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.26.10
35
+ version: 0.27.0.rc1
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.26.10
42
+ version: 0.27.0.rc1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-participatory_processes
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.26.10
49
+ version: 0.27.0.rc1
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.26.10
56
+ version: 0.27.0.rc1
57
57
  description: A pages component for decidim's participatory processes.
58
58
  email:
59
59
  - josepjaume@gmail.com
@@ -80,13 +80,10 @@ files:
80
80
  - app/packs/images/decidim/pages/decidim_pages.svg
81
81
  - app/permissions/decidim/pages/permissions.rb
82
82
  - app/presenters/decidim/pages/admin_log/page_presenter.rb
83
- - app/serializers/decidim/pages/data_importer.rb
84
- - app/serializers/decidim/pages/data_serializer.rb
85
83
  - app/views/decidim/pages/admin/pages/_form.html.erb
86
84
  - app/views/decidim/pages/admin/pages/edit.html.erb
87
85
  - app/views/decidim/pages/application/show.html.erb
88
86
  - config/assets.rb
89
- - config/environment.rb
90
87
  - config/locales/am-ET.yml
91
88
  - config/locales/ar-SA.yml
92
89
  - config/locales/ar.yml
@@ -109,7 +106,6 @@ files:
109
106
  - config/locales/et-EE.yml
110
107
  - config/locales/et.yml
111
108
  - config/locales/eu.yml
112
- - config/locales/fa-IR.yml
113
109
  - config/locales/fi-pl.yml
114
110
  - config/locales/fi-plain.yml
115
111
  - config/locales/fi.yml
@@ -118,7 +114,6 @@ files:
118
114
  - config/locales/fr.yml
119
115
  - config/locales/ga-IE.yml
120
116
  - config/locales/gl.yml
121
- - config/locales/gn-PY.yml
122
117
  - config/locales/hr-HR.yml
123
118
  - config/locales/hr.yml
124
119
  - config/locales/hu.yml
@@ -127,13 +122,10 @@ files:
127
122
  - config/locales/is.yml
128
123
  - config/locales/it.yml
129
124
  - config/locales/ja.yml
130
- - config/locales/ka-GE.yml
131
- - config/locales/kaa.yml
132
125
  - config/locales/ko-KR.yml
133
126
  - config/locales/ko.yml
134
127
  - config/locales/lb-LU.yml
135
128
  - config/locales/lb.yml
136
- - config/locales/lo-LA.yml
137
129
  - config/locales/lt-LT.yml
138
130
  - config/locales/lt.yml
139
131
  - config/locales/lv.yml
@@ -141,7 +133,6 @@ files:
141
133
  - config/locales/mt.yml
142
134
  - config/locales/nl.yml
143
135
  - config/locales/no.yml
144
- - config/locales/oc-FR.yml
145
136
  - config/locales/om-ET.yml
146
137
  - config/locales/pl.yml
147
138
  - config/locales/pt-BR.yml
@@ -153,11 +144,9 @@ files:
153
144
  - config/locales/sk.yml
154
145
  - config/locales/sl.yml
155
146
  - config/locales/so-SO.yml
156
- - config/locales/sq-AL.yml
157
147
  - config/locales/sr-CS.yml
158
148
  - config/locales/sv.yml
159
149
  - config/locales/sw-KE.yml
160
- - config/locales/th-TH.yml
161
150
  - config/locales/ti-ER.yml
162
151
  - config/locales/tr-TR.yml
163
152
  - config/locales/uk.yml
@@ -192,14 +181,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
181
  requirements:
193
182
  - - ">="
194
183
  - !ruby/object:Gem::Version
195
- version: '2.7'
184
+ version: '3.0'
196
185
  required_rubygems_version: !ruby/object:Gem::Requirement
197
186
  requirements:
198
- - - ">="
187
+ - - ">"
199
188
  - !ruby/object:Gem::Version
200
- version: '0'
189
+ version: 1.3.1
201
190
  requirements: []
202
- rubygems_version: 3.1.6
191
+ rubygems_version: 3.2.22
203
192
  signing_key:
204
193
  specification_version: 4
205
194
  summary: Decidim pages module
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Pages
5
- # Importer for Pages specific data (i.e. its page content).
6
- class DataImporter < Decidim::Importers::Importer
7
- def initialize(component)
8
- @component = component
9
- end
10
-
11
- # Creates a new Decidim::Pages::Page associated to the given **component**
12
- # for the serialized page object.
13
- #
14
- # @param serialized [Hash] The serialized data read from the import file.
15
- # @param _user [Decidim::User] The user performing the import.
16
- # @return [Decidim::Pages::Page] The imported page
17
- def import(serialized, _user)
18
- return unless serialized
19
-
20
- Page.create!(
21
- component: @component,
22
- body: serialized["body"]
23
- )
24
- end
25
- end
26
- end
27
- end
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Pages
5
- # This class serializes the specific data in each Page. This is the page
6
- # data outside of the component settings.
7
- class DataSerializer < Decidim::Exporters::Serializer
8
- include Decidim::TranslationsHelper
9
-
10
- # Serializes the page data for this component.
11
- #
12
- # @return [Hash] The serialized data
13
- def serialize
14
- page = Page.find_by(component: resource)
15
-
16
- {
17
- body: page&.body || empty_translatable
18
- }
19
- end
20
- end
21
- end
22
- end
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Empty line for playing nice with tpope/vim-rails
@@ -1 +0,0 @@
1
- fa:
@@ -1 +0,0 @@
1
- gn:
@@ -1 +0,0 @@
1
- ka:
@@ -1,7 +0,0 @@
1
- kaa:
2
- decidim:
3
- pages:
4
- admin:
5
- pages:
6
- edit:
7
- save: Jańalaw
@@ -1 +0,0 @@
1
- lo:
@@ -1 +0,0 @@
1
- oc:
@@ -1 +0,0 @@
1
- sq:
@@ -1 +0,0 @@
1
- th: