decidim-dev 0.29.3 → 0.30.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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/decidim/dev/dummy_resource.rb +4 -2
  3. data/app/views/decidim/dev/dummy_resources/show.html.erb +1 -1
  4. data/config/locales/ar.yml +1 -1
  5. data/config/locales/bg.yml +1 -1
  6. data/config/locales/ca.yml +3 -1
  7. data/config/locales/cs.yml +3 -1
  8. data/config/locales/de.yml +3 -1
  9. data/config/locales/el.yml +1 -1
  10. data/config/locales/en.yml +2 -0
  11. data/config/locales/es-MX.yml +3 -1
  12. data/config/locales/es-PY.yml +3 -1
  13. data/config/locales/es.yml +3 -1
  14. data/config/locales/eu.yml +3 -1
  15. data/config/locales/fi-plain.yml +3 -1
  16. data/config/locales/fi.yml +3 -1
  17. data/config/locales/fr-CA.yml +1 -1
  18. data/config/locales/fr.yml +1 -1
  19. data/config/locales/gl.yml +1 -1
  20. data/config/locales/hu.yml +1 -1
  21. data/config/locales/id-ID.yml +1 -1
  22. data/config/locales/it.yml +1 -1
  23. data/config/locales/ja.yml +3 -1
  24. data/config/locales/lt.yml +1 -1
  25. data/config/locales/lv.yml +1 -1
  26. data/config/locales/nl.yml +1 -1
  27. data/config/locales/no.yml +1 -1
  28. data/config/locales/pl.yml +1 -1
  29. data/config/locales/pt-BR.yml +1 -1
  30. data/config/locales/pt.yml +1 -1
  31. data/config/locales/ro-RO.yml +2 -2
  32. data/config/locales/ru.yml +1 -1
  33. data/config/locales/sk.yml +1 -1
  34. data/config/locales/sv.yml +3 -1
  35. data/config/locales/tr-TR.yml +1 -1
  36. data/config/locales/zh-CN.yml +1 -1
  37. data/config/locales/zh-TW.yml +1 -1
  38. data/config/rubocop/disabled.yml +0 -27
  39. data/config/rubocop/faker.yml +1 -1
  40. data/config/rubocop/graphql.yml +23 -0
  41. data/config/rubocop/rspec.yml +1 -0
  42. data/config/rubocop/ruby.yml +1 -1
  43. data/decidim-dev.gemspec +12 -6
  44. data/lib/decidim/dev/auth_engine.rb +2 -0
  45. data/lib/decidim/dev/component.rb +1 -2
  46. data/lib/decidim/dev/test/rspec_support/capybara.rb +10 -25
  47. data/lib/decidim/dev/test/rspec_support/component.rb +2 -0
  48. data/lib/decidim/dev/test/rspec_support/component_context.rb +13 -7
  49. data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +4 -4
  50. data/lib/decidim/dev/test/rspec_support/controller_example_group.rb +8 -0
  51. data/lib/decidim/dev/test/rspec_support/screenshot_helper.rb +2 -2
  52. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +0 -1
  53. data/lib/decidim/dev/version.rb +1 -1
  54. data/lib/tasks/generators.rake +2 -1
  55. data/lib/tasks/lighthouse_report.rake +3 -3
  56. data/rubocop-decidim.yml +1 -0
  57. metadata +100 -24
  58. data/app/presenters/decidim/dev/dummy_resource_presenter.rb +0 -13
  59. data/config/locales/ca-IT.yml +0 -68
  60. data/lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec66f29d93ebb391a4e83417274557eb3f08dfac49ad2adba0f60a2c21afc702
4
- data.tar.gz: 063c0320b4fb6c464082202422aa83777f8a436faa66db36305bb7b36dbf5726
3
+ metadata.gz: 7891e1eca562a32c8ef097ee8be8c3eb15720b76a2fc318643b511d41bedcc24
4
+ data.tar.gz: ed69ff0258bed24254c0d95fd9332c0d79d44acc49dbd85ae941c1889cd3423a
5
5
  SHA512:
6
- metadata.gz: f3831a70d0ecba9e196f816a56712d0ac48e6f63b4296dddaae491323e1490af28fec35164c37df5582cddf4b5091b16c63d41da3678cffe288afd777beea608
7
- data.tar.gz: 932a0bbe78950e1af5455ec9adb94991d8afd2d4da74753844a63cae0dbb1504fd916b7bed3dc900f52cc00e8597a8ac17ebb22f2ba0ba402b21ead4f79d9d50
6
+ metadata.gz: 6c07853481af8a39e83ee9bcff96e149fa0334a6a579d1f91880b917a4ee4fe1b352b1c444825b2f122a0f481f7bbff50a5ee2a68a7316d44ef5dbb6eb67dacc
7
+ data.tar.gz: 6c8309b90c9a9978e9f00287247718abf8b8009514691373329cec7f54911e283fc34fcc9404f8378ff3dbd8a14f6dd82e7e06d5312cf790a82a32ceef336149
@@ -10,6 +10,7 @@ module Decidim
10
10
  include Authorable
11
11
  include HasCategory
12
12
  include ScopableResource
13
+ include Taxonomizable
13
14
  include Decidim::Comments::Commentable
14
15
  include Followable
15
16
  include Traceable
@@ -23,6 +24,7 @@ module Decidim
23
24
  include Decidim::HasAttachments
24
25
  include Decidim::ShareableWithToken
25
26
  include Decidim::TranslatableResource
27
+ include Decidim::SoftDeletable
26
28
 
27
29
  translatable_fields :title
28
30
  searchable_fields(
@@ -40,8 +42,8 @@ module Decidim
40
42
 
41
43
  component_manifest_name "dummy"
42
44
 
43
- def presenter
44
- Decidim::Dev::DummyResourcePresenter.new(self)
45
+ def reported_content_url
46
+ ResourceLocatorPresenter.new(self).url
45
47
  end
46
48
 
47
49
  def reported_attributes
@@ -17,7 +17,7 @@
17
17
  <section class="layout-main__section layout-main__buttons" data-buttons>
18
18
  <%= cell "decidim/comments_button", nil %>
19
19
  <div class="ml-auto">
20
- <%= cell "decidim/share_button", nil %>
20
+ <%= cell "decidim/share_widget", @commentable %>
21
21
  </div>
22
22
  </section>
23
23
  <% end %>
@@ -50,7 +50,7 @@ ar:
50
50
  badges:
51
51
  test:
52
52
  conditions:
53
- - استخدام بيئة اختبار ل decidim.
53
+ - استخدام بيئة اختبار ل decidim.
54
54
  description: يحصل المشاركون على هذه الشارة عن طريق إنشاء اختبارات.
55
55
  description_another: قام هذا المشارك بإنشاء %{score} اختبار.
56
56
  description_own: لقد أنشأت %{score} اختبارات.
@@ -47,7 +47,7 @@ bg:
47
47
  badges:
48
48
  test:
49
49
  conditions:
50
- - Използвайте тестова среда за decidim.
50
+ - Използвайте тестова среда за decidim.
51
51
  description: Участниците получават тази значка като създават тестове.
52
52
  description_another: Участниците създадоха %{score} теста.
53
53
  description_own: Вие създадохте %{score} теста.
@@ -18,6 +18,7 @@ ca:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Netejar-ho tot
21
22
  guided: Entrada guiada
22
23
  guided_help: Text d'ajuda
23
24
  guided_readonly: Entrada deshabilitada
@@ -26,6 +27,7 @@ ca:
26
27
  guided_rich_readonly_html: HTML <strong>ajuda</strong> text per l'entrada deshabilitada
27
28
  readonly_attribute: Atribut de només lectura
28
29
  test: Una prova
30
+ test_add: Afegir una prova
29
31
  test_choices:
30
32
  a: Opció A
31
33
  b: Opció B
@@ -50,7 +52,7 @@ ca:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Utilitza un entorn de prova per decidim.
55
+ - Utilitza un entorn de prova per decidim.
54
56
  description: Les participants obtenen aquesta insígnia creant proves.
55
57
  description_another: Aquesta participant ha creat %{score} proves.
56
58
  description_own: Has creat %{score} proves.
@@ -18,6 +18,7 @@ cs:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Vymazat vše
21
22
  guided: Řízené zadávání
22
23
  guided_help: Text nápovědy
23
24
  guided_readonly: Zakázaný zápis
@@ -26,6 +27,7 @@ cs:
26
27
  guided_rich_readonly_html: HTML <strong>nápověda</strong> text pro zakázaný zápis
27
28
  readonly_attribute: Atribut pouze pro čtení
28
29
  test: Zkouška A
30
+ test_add: Přidat test
29
31
  test_choices:
30
32
  a: Možnost A
31
33
  b: Možnost B
@@ -50,7 +52,7 @@ cs:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Použijte testovací prostředí pro decidim.
55
+ - Použijte testovací prostředí pro decidim.
54
56
  description: Uživatelé získají tento odznak vytvořením testů.
55
57
  description_another: Tento uživatel vytvořil %{score} testů.
56
58
  description_own: Vytvořili jste %{score} testů.
@@ -18,6 +18,7 @@ de:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Alles löschen
21
22
  guided: Geführte Eingabe
22
23
  guided_help: Hilfetext
23
24
  guided_readonly: Deaktivierte Eingabe
@@ -26,6 +27,7 @@ de:
26
27
  guided_rich_readonly_html: HTML <strong>Hilfe</strong> Text für deaktivierte Eingabe
27
28
  readonly_attribute: Attribut schreibgeschützt
28
29
  test: Test A
30
+ test_add: Test hinzufügen
29
31
  test_choices:
30
32
  a: Wahl A
31
33
  b: Wahl B
@@ -50,7 +52,7 @@ de:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Verwenden Sie eine Testumgebung für Decidim.
55
+ - Verwenden Sie eine Testumgebung für Decidim.
54
56
  description: Benutzer erhalten dieses Badge, indem sie Tests erstellen.
55
57
  description_another: Dieser Benutzer hat %{score} Tests erstellt.
56
58
  description_own: Sie haben %{score} Tests erstellt.
@@ -39,7 +39,7 @@ el:
39
39
  badges:
40
40
  test:
41
41
  conditions:
42
- - Χρησιμοποιήστε ένα περιβάλλον δοκιμής για το decidim.
42
+ - Χρησιμοποιήστε ένα περιβάλλον δοκιμής για το decidim.
43
43
  description: Οι συμμετέχοντες αποκτούν αυτό το έμβλημα δημιουργώντας δοκιμές.
44
44
  description_another: Αυτός ο συμμετέχων έχει δημιουργήσει %{score} δοκιμές.
45
45
  description_own: Έχετε δημιουργήσει %{score} δοκιμές.
@@ -18,6 +18,7 @@ en:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Clear all
21
22
  guided: Guided input
22
23
  guided_help: Help text
23
24
  guided_readonly: Disabled input
@@ -26,6 +27,7 @@ en:
26
27
  guided_rich_readonly_html: HTML <strong>help</strong> text for disabled input
27
28
  readonly_attribute: Readonly attribute
28
29
  test: A test
30
+ test_add: Add test
29
31
  test_choices:
30
32
  a: A choice
31
33
  b: B choice
@@ -18,6 +18,7 @@ es-MX:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Limpiar todo
21
22
  guided: Entrada guiada
22
23
  guided_help: Texto de ayuda
23
24
  guided_readonly: Entrada deshabilitada
@@ -26,6 +27,7 @@ es-MX:
26
27
  guided_rich_readonly_html: Texto de <strong>ayuda</strong> HTML para la entrada deshabilitada
27
28
  readonly_attribute: Atributo de sólo lectura
28
29
  test: Test A
30
+ test_add: Añadir una prueba
29
31
  test_choices:
30
32
  a: Opción A
31
33
  b: Opción B
@@ -50,7 +52,7 @@ es-MX:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Utilice un entorno de prueba para decidim.
55
+ - Utilice un entorno de prueba para decidim.
54
56
  description: Los usuarios obtienen esta insignia al crear pruebas.
55
57
  description_another: Este usuario ha creado %{score} pruebas.
56
58
  description_own: Has creado %{score} pruebas.
@@ -18,6 +18,7 @@ es-PY:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Limpiar todo
21
22
  guided: Entrada guiada
22
23
  guided_help: Texto de ayuda
23
24
  guided_readonly: Entrada deshabilitada
@@ -26,6 +27,7 @@ es-PY:
26
27
  guided_rich_readonly_html: Texto de <strong>ayuda</strong> HTML para la entrada deshabilitada
27
28
  readonly_attribute: Atributo de sólo lectura
28
29
  test: Test A
30
+ test_add: Añadir una prueba
29
31
  test_choices:
30
32
  a: Opción A
31
33
  b: Opción B
@@ -50,7 +52,7 @@ es-PY:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Utilice un entorno de prueba para decidim.
55
+ - Utilice un entorno de prueba para decidim.
54
56
  description: Los usuarios obtienen esta insignia al crear pruebas.
55
57
  description_another: Este usuario ha creado %{score} pruebas.
56
58
  description_own: Has creado %{score} pruebas.
@@ -18,6 +18,7 @@ es:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Limpiar todo
21
22
  guided: Entrada guiada
22
23
  guided_help: Texto de ayuda
23
24
  guided_readonly: Entrada deshabilitada
@@ -26,6 +27,7 @@ es:
26
27
  guided_rich_readonly_html: Texto de <strong>ayuda</strong> HTML para la entrada deshabilitada
27
28
  readonly_attribute: Atributo de sólo lectura
28
29
  test: Una prueba
30
+ test_add: Añadir una prueba
29
31
  test_choices:
30
32
  a: Opción A
31
33
  b: Opción B
@@ -50,7 +52,7 @@ es:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Utilice un entorno de prueba para decidim.
55
+ - Utilice un entorno de prueba para decidim.
54
56
  description: Las participantes obtienen esta insignia al crear pruebas.
55
57
  description_another: Esta participante ha creado %{score} pruebas.
56
58
  description_own: Has creado %{score} pruebas.
@@ -18,6 +18,7 @@ eu:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Garbitu dena
21
22
  guided: Input gidatua
22
23
  guided_help: Laguntza-testua
23
24
  guided_readonly: Input desgaitua
@@ -26,6 +27,7 @@ eu:
26
27
  guided_rich_readonly_html: HTML<strong>laguntza</strong>testua input desgaiturako
27
28
  readonly_attribute: Soilik irakurtzeko atributua
28
29
  test: Proba bat
30
+ test_add: Erantsi testa
29
31
  test_choices:
30
32
  a: A aukera
31
33
  b: B aukera
@@ -50,7 +52,7 @@ eu:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Erabili probako ingurunea erabakitzeko.
55
+ - Erabili probako ingurunea erabakitzeko.
54
56
  description: Parte-hartzaileek garaikur hau lortzen dute probak sortzeagatik.
55
57
  description_another: Parte-hartzaile honek %{score} proba egin ditu.
56
58
  description_own: '%{score} proba sortu dituzu.'
@@ -18,6 +18,7 @@ fi-pl:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Tyhjennä kaikki
21
22
  guided: Ohjeistettu syöte
22
23
  guided_help: Ohjeteksti
23
24
  guided_readonly: Käytöstä poistettu syöte
@@ -26,6 +27,7 @@ fi-pl:
26
27
  guided_rich_readonly_html: Käytöstä poistettu HTML <strong>ohjeteksti</strong>
27
28
  readonly_attribute: Vain luku -attribuutti
28
29
  test: Testi
30
+ test_add: Lisää testi
29
31
  test_choices:
30
32
  a: A-valinta
31
33
  b: B-valinta
@@ -50,7 +52,7 @@ fi-pl:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Käytä testiympäristöä Decidimille.
55
+ - Käytä testiympäristöä Decidimille.
54
56
  description: Käyttäjät saavat tämän kunniamerkin luomalla testejä.
55
57
  description_another: Tämä käyttäjä on luonut %{score} testiä.
56
58
  description_own: Olet luonut %{score} testiä.
@@ -18,6 +18,7 @@ fi:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Tyhjennä kaikki
21
22
  guided: Ohjeistettu syöte
22
23
  guided_help: Ohjeteksti
23
24
  guided_readonly: Käytöstä poistettu syöte
@@ -26,6 +27,7 @@ fi:
26
27
  guided_rich_readonly_html: Käytöstä poistettu HTML <strong>ohjeteksti</strong>
27
28
  readonly_attribute: Vain luku -attribuutti
28
29
  test: Testi
30
+ test_add: Lisää testi
29
31
  test_choices:
30
32
  a: A-valinta
31
33
  b: B-valinta
@@ -50,7 +52,7 @@ fi:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Käytä testiympäristöä Decidimille.
55
+ - Käytä testiympäristöä Decidimille.
54
56
  description: Käyttäjät saavat tämän kunniamerkin luomalla testejä.
55
57
  description_another: Tämä käyttäjä on luonut %{score} testiä.
56
58
  description_own: Olet luonut %{score} testiä.
@@ -50,7 +50,7 @@ fr-CA:
50
50
  badges:
51
51
  test:
52
52
  conditions:
53
- - Utilisez un environnement de test pour decidim.
53
+ - Utilisez un environnement de test pour decidim.
54
54
  description: Les utilisateurs obtiennent ce badge en créant des tests.
55
55
  description_another: Cet utilisateur a créé %{score} tests.
56
56
  description_own: Vous avez créé %{score} tests.
@@ -50,7 +50,7 @@ fr:
50
50
  badges:
51
51
  test:
52
52
  conditions:
53
- - Utilisez un environnement de test pour decidim.
53
+ - Utilisez un environnement de test pour decidim.
54
54
  description: Les utilisateurs obtiennent ce badge en créant des tests.
55
55
  description_another: Cet utilisateur a créé %{score} tests.
56
56
  description_own: Vous avez créé %{score} tests.
@@ -41,7 +41,7 @@ gl:
41
41
  badges:
42
42
  test:
43
43
  conditions:
44
- - Use un entorno de proba para decidir.
44
+ - Use un entorno de proba para decidir.
45
45
  description: Os usuarios obtén esta insignia creando probas.
46
46
  description_another: Este usuario creou %{score} probas.
47
47
  description_own: Creaches %{score} probas.
@@ -33,7 +33,7 @@ hu:
33
33
  badges:
34
34
  test:
35
35
  conditions:
36
- - Használjon teszt környezetet a decidim számára.
36
+ - Használjon teszt környezetet a decidim számára.
37
37
  description: A résztvevők ezt a jelvényt tesztek létrehozásával kapják meg.
38
38
  description_another: Ez a résztvevő %{score} tesztet hozott létre.
39
39
  description_own: Létrehoztad a(z) %{score} teszteket.
@@ -28,7 +28,7 @@ id:
28
28
  badges:
29
29
  test:
30
30
  conditions:
31
- - Gunakan lingkungan uji untuk decidim.
31
+ - Gunakan lingkungan uji untuk decidim.
32
32
  description: Peserta mendapatkan lencana ini dengan membuat tes.
33
33
  description_another: Peserta ini telah membuat %{score} tes.
34
34
  description_own: Anda telah membuat %{score} tes.
@@ -41,7 +41,7 @@ it:
41
41
  badges:
42
42
  test:
43
43
  conditions:
44
- - Utilizzare un ambiente di prova per decidim.
44
+ - Utilizzare un ambiente di prova per decidim.
45
45
  description: Gli utenti ottengono questo badge creando test.
46
46
  description_another: Questo utente ha creato %{score} test.
47
47
  description_own: Hai creato %{score} test.
@@ -18,6 +18,7 @@ ja:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: すべてクリア
21
22
  guided: ガイド付き入力
22
23
  guided_help: ヘルプテキスト
23
24
  guided_readonly: 無効化された入力
@@ -26,6 +27,7 @@ ja:
26
27
  guided_rich_readonly_html: HTML <strong>ヘルプ</strong> の入力を無効にする
27
28
  readonly_attribute: 読み取り専用属性
28
29
  test: テスト
30
+ test_add: テストの追加
29
31
  test_choices:
30
32
  a: 選択
31
33
  b: B の選択
@@ -50,7 +52,7 @@ ja:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - テスト環境を使用してdecidim.
55
+ - テスト環境を使用してdecidim.
54
56
  description: 参加者はテストを作成することによってこのバッジを受け取ります。
55
57
  description_another: この参加者は %{score} テストを作成しました。
56
58
  description_own: テストを %{score} 作成しました。
@@ -47,7 +47,7 @@ lt:
47
47
  badges:
48
48
  test:
49
49
  conditions:
50
- - Naudokite testinę aplinką.
50
+ - Naudokite testinę aplinką.
51
51
  description: Dalyviai šį ženklelį pelno kurdami testus.
52
52
  description_another: Šis dalyvis sukūrė %{score} testus.
53
53
  description_own: Jūs sukūrėte %{score} testus.
@@ -33,7 +33,7 @@ lv:
33
33
  badges:
34
34
  test:
35
35
  conditions:
36
- - Izmantot testa vidi decidim.
36
+ - Izmantot testa vidi decidim.
37
37
  description: Dalībnieki iegūst šo žetonu, izveidojot testus.
38
38
  description_another: Šis dalībnieks ir izveidojis %{score} testus.
39
39
  description_own: Jūs esat izveidojis %{score} testus.
@@ -41,7 +41,7 @@ nl:
41
41
  badges:
42
42
  test:
43
43
  conditions:
44
- - Gebruik een testomgeving voor decidim.
44
+ - Gebruik een testomgeving voor decidim.
45
45
  description: Gebruikers krijgen deze badge door tests te maken.
46
46
  description_another: Deze gebruiker heeft %{score} tests gemaakt.
47
47
  description_own: U hebt %{score} tests gemaakt.
@@ -41,7 +41,7 @@
41
41
  badges:
42
42
  test:
43
43
  conditions:
44
- - Bruk et testmiljø for decidim.
44
+ - Bruk et testmiljø for decidim.
45
45
  description: Deltakerne får dette merket ved å lage tester.
46
46
  description_another: Denne deltakeren har opprettet %{score} tester.
47
47
  description_own: Du har opprettet %{score} tester.
@@ -47,7 +47,7 @@ pl:
47
47
  badges:
48
48
  test:
49
49
  conditions:
50
- - Użyj środowiska testowego dla decidim.
50
+ - Użyj środowiska testowego dla decidim.
51
51
  description: Użytkownicy otrzymują tę odznakę tworząc testy.
52
52
  description_another: Ten użytkownik utworzył %{score} testów.
53
53
  description_own: Utworzyłeś %{score} testów.
@@ -47,7 +47,7 @@ pt-BR:
47
47
  badges:
48
48
  test:
49
49
  conditions:
50
- - Use um ambiente de teste para decidim.
50
+ - Use um ambiente de teste para decidim.
51
51
  description: Os usuários obtêm esse selo criando testes.
52
52
  description_another: Este usuário criou %{score} testes.
53
53
  description_own: Você criou %{score} testes.
@@ -41,7 +41,7 @@ pt:
41
41
  badges:
42
42
  test:
43
43
  conditions:
44
- - Utilize um ambiente de teste para decidim.
44
+ - Utilize um ambiente de teste para decidim.
45
45
  description: Os participantes obtêm este distintivo ao criarem testes.
46
46
  description_another: Este participante criou %{score} testes.
47
47
  description_own: Criou %{score} testes.
@@ -9,7 +9,7 @@ ro:
9
9
  start_date: Data de început
10
10
  title: Titlu
11
11
  translatable_text: Text traductibil
12
- updated_at: Ultima actualizare
12
+ updated_at: Actualizat la
13
13
  decidim:
14
14
  components:
15
15
  dummy:
@@ -47,7 +47,7 @@ ro:
47
47
  badges:
48
48
  test:
49
49
  conditions:
50
- - Utilizaţi un mediu de testare pentru decidim.
50
+ - Utilizaţi un mediu de testare pentru decidim.
51
51
  description: Participanții obțin această insignă prin crearea de teste.
52
52
  description_another: Acest participant a creat %{score} teste.
53
53
  description_own: Ați creat %{score} teste.
@@ -29,7 +29,7 @@ ru:
29
29
  badges:
30
30
  test:
31
31
  conditions:
32
- - Используйте тестовую среду для decidim.
32
+ - Используйте тестовую среду для decidim.
33
33
  description: Участники получают этот значок за написание тестов.
34
34
  description_another: Этот участник написал %{score} тестов.
35
35
  description_own: Вы написали %{score} тест.
@@ -31,7 +31,7 @@ sk:
31
31
  badges:
32
32
  test:
33
33
  conditions:
34
- - Použiť testovacie prostredie pre decidim.
34
+ - Použiť testovacie prostredie pre decidim.
35
35
  description: Účastníci dostanú tento odznak za vytváranie testov.
36
36
  description_another: Tento účastník vytvoril %{score} testov.
37
37
  description_own: Vytvorili ste %{score} testov.
@@ -18,6 +18,7 @@ sv:
18
18
  dummy:
19
19
  settings:
20
20
  global:
21
+ clear_all: Rensa alla
21
22
  guided: Guidad inmatning
22
23
  guided_help: Hjälptext
23
24
  guided_readonly: Inmatning inaktiverad
@@ -26,6 +27,7 @@ sv:
26
27
  guided_rich_readonly_html: HTML <strong>hjälp</strong>-text för inaktiverad inmatning
27
28
  readonly_attribute: Skrivskyddat attribut
28
29
  test: Ett test
30
+ test_add: Lägg till test
29
31
  test_choices:
30
32
  a: Alternativ A
31
33
  b: Alternativ B
@@ -50,7 +52,7 @@ sv:
50
52
  badges:
51
53
  test:
52
54
  conditions:
53
- - Använd en testmiljö för decidim.
55
+ - Använd en testmiljö för decidim.
54
56
  description: Deltagare får detta märke genom att skapa tester.
55
57
  description_another: Deltagaren har skapat %{score} tester.
56
58
  description_own: Du har skapat %{score} tester.
@@ -39,7 +39,7 @@ tr:
39
39
  badges:
40
40
  test:
41
41
  conditions:
42
- - Decidim için bir test ortamı kullanın.
42
+ - Decidim için bir test ortamı kullanın.
43
43
  description: Katılımcılar testler oluşturarak bu rozeti alırlar.
44
44
  description_another: Bu katılımcı %{score} test oluşturdu.
45
45
  description_own: '%{score} test oluşturdunuz.'
@@ -39,7 +39,7 @@ zh-CN:
39
39
  badges:
40
40
  test:
41
41
  conditions:
42
- - 对判定环境使用测试环境。
42
+ - 对判定环境使用测试环境。
43
43
  description: 参与者通过创建测试获得这个徽章。
44
44
  description_another: 此参与者已创建了 %{score} 个测试。
45
45
  description_own: 您已创建了 %{score} 个测试。
@@ -47,7 +47,7 @@ zh-TW:
47
47
  badges:
48
48
  test:
49
49
  conditions:
50
- - 在Decidim中使用測試環境。
50
+ - 在Decidim中使用測試環境。
51
51
  description: 參與者通過建立測試可獲得此徽章。
52
52
  description_another: 此參與者已建立了 %{score} 個測試。
53
53
  description_own: 您已建立了 %{score} 個測試。
@@ -10,9 +10,6 @@ Naming/MemoizedInstanceVariableName:
10
10
  RSpec/VerifiedDoubleReference:
11
11
  Enabled: false
12
12
 
13
- FactoryBot/ConsistentParenthesesStyle:
14
- Enabled: false
15
-
16
13
  FactoryBot/ExcessiveCreateList:
17
14
  Enabled: false
18
15
 
@@ -43,29 +40,5 @@ FactoryBot/AssociationStyle:
43
40
  Rubycw/Rubycw:
44
41
  Enabled: false
45
42
 
46
- Lint/SymbolConversion:
47
- Enabled: false
48
-
49
- Style/RedundantParentheses:
50
- Enabled: false
51
-
52
- Style/MapIntoArray:
53
- Enabled: false
54
-
55
- Style/SuperWithArgsParentheses:
56
- Enabled: false
57
-
58
- Style/ArgumentsForwarding:
59
- Enabled: false
60
-
61
- Style/SuperArguments:
62
- Enabled: false
63
-
64
43
  Lint/SelfAssignment:
65
44
  Enabled: false
66
-
67
- Style/SendWithLiteralMethodName:
68
- Enabled: false
69
-
70
- Rails/WhereRange:
71
- Enabled: false
@@ -172,7 +172,7 @@ Faker/DeprecatedArguments:
172
172
  paragraph_by_chars:
173
173
  - characters
174
174
  - supplemental
175
- Faker::IDNumber:
175
+ Faker::IdNumber:
176
176
  brazilian_citizen_number:
177
177
  - formatted
178
178
  brazilian_id:
@@ -0,0 +1,23 @@
1
+ require: rubocop-graphql
2
+
3
+ GraphQL:
4
+ Enabled: true
5
+ Include:
6
+ - "**/lib/decidim/api/**/*"
7
+ Exclude:
8
+ - "**/lib/decidim/api/test/**/*"
9
+ - "**/lib/decidim/api/functions/*"
10
+ - "spec/**/*"
11
+ - "test/**/*"
12
+
13
+ GraphQL/ObjectDescription:
14
+ Exclude:
15
+ - "**/lib/decidim/api/engine.rb"
16
+ - "**/lib/decidim/api/schema.rb"
17
+ - "**/lib/decidim/api/graphiql/config.rb"
18
+ - "**/lib/decidim/api/functions/*"
19
+ - "spec/**/*"
20
+ - "test/**/*"
21
+
22
+ GraphQL/ExtractType:
23
+ Enabled: false