decidim-dev 0.21.0 → 0.22.0

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 (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/decidim/dummy.svg +1 -4
  3. data/app/assets/images/decidim/gamification/badges/test.svg +1 -145
  4. data/app/commands/decidim/dummy_resources/create_dummy_resource.rb +48 -0
  5. data/app/forms/decidim/dummy_resources/dummy_resource_form.rb +3 -0
  6. data/config/locales/bg-BG.yml +56 -0
  7. data/config/locales/ca.yml +15 -0
  8. data/config/locales/cs.yml +16 -1
  9. data/config/locales/da-DK.yml +1 -0
  10. data/config/locales/de.yml +16 -0
  11. data/config/locales/el.yml +55 -0
  12. data/config/locales/en.yml +15 -0
  13. data/config/locales/es-MX.yml +15 -0
  14. data/config/locales/es-PY.yml +15 -0
  15. data/config/locales/es.yml +15 -0
  16. data/config/locales/et-EE.yml +1 -0
  17. data/config/locales/fi-plain.yml +15 -0
  18. data/config/locales/fi.yml +15 -0
  19. data/config/locales/fr-CA.yml +56 -0
  20. data/config/locales/fr.yml +15 -0
  21. data/config/locales/ga-IE.yml +1 -0
  22. data/config/locales/hr-HR.yml +1 -0
  23. data/config/locales/hu.yml +9 -0
  24. data/config/locales/it.yml +17 -2
  25. data/config/locales/ja-JP.yml +56 -0
  26. data/config/locales/lt-LT.yml +1 -0
  27. data/config/locales/lv-LV.yml +54 -0
  28. data/config/locales/mt-MT.yml +1 -0
  29. data/config/locales/nl.yml +15 -0
  30. data/config/locales/pl.yml +26 -10
  31. data/config/locales/pt-BR.yml +1 -1
  32. data/config/locales/pt.yml +26 -10
  33. data/config/locales/ro-RO.yml +56 -0
  34. data/config/locales/sk-SK.yml +47 -0
  35. data/config/locales/sk.yml +47 -0
  36. data/config/locales/sl.yml +5 -0
  37. data/config/locales/sr-CS.yml +8 -0
  38. data/config/locales/sv.yml +15 -0
  39. data/lib/decidim/dev/assets/city.jpeg +0 -0
  40. data/lib/decidim/dev/assets/city2.jpeg +0 -0
  41. data/lib/decidim/dev/assets/city3.jpeg +0 -0
  42. data/lib/decidim/dev/test/rspec_support/authorization.rb +3 -0
  43. data/lib/decidim/dev/test/rspec_support/capybara_data_picker.rb +15 -5
  44. data/lib/decidim/dev/test/rspec_support/capybara_scopes_picker.rb +5 -5
  45. data/lib/decidim/dev/test/rspec_support/component.rb +71 -2
  46. data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +60 -0
  47. data/lib/decidim/dev/test/rspec_support/helpers.rb +2 -2
  48. data/lib/decidim/dev/version.rb +1 -1
  49. metadata +23 -7
  50. data/lib/decidim/dev/test/rspec_support/capybara_proposals_picker.rb +0 -51
@@ -3,12 +3,27 @@ es-MX:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Creado en
6
+ decidim_scope_id: Ámbito
6
7
  field: Mi campo
7
8
  start_date: Fecha de inicio
8
9
  title: Título
9
10
  translatable_text: Texto traducible
10
11
  updated_at: Actualizado en
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Atributo de sólo lectura
18
+ test: Test A
19
+ test_choices:
20
+ a: Opción A
21
+ b: Opción B
22
+ c: Opción C
23
+ step:
24
+ endorsements_blocked: Adhesiones bloqueadas
25
+ endorsements_enabled: Adhesiones habilitadas
26
+ readonly_step_attribute: Atributo de sólo lectura
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -3,12 +3,27 @@ es-PY:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Creado en
6
+ decidim_scope_id: Ámbito
6
7
  field: Mi campo
7
8
  start_date: Fecha de inicio
8
9
  title: Título
9
10
  translatable_text: Texto traducible
10
11
  updated_at: Actualizado en
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Atributo de sólo lectura
18
+ test: Test A
19
+ test_choices:
20
+ a: Opción A
21
+ b: Opción B
22
+ c: Opción C
23
+ step:
24
+ endorsements_blocked: Adhesiones bloqueadas
25
+ endorsements_enabled: Adhesiones habilitadas
26
+ readonly_step_attribute: Atributo de sólo lectura
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -3,12 +3,27 @@ es:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Creado en
6
+ decidim_scope_id: Ámbito
6
7
  field: Mi campo
7
8
  start_date: Fecha de inicio
8
9
  title: Título
9
10
  translatable_text: Texto traducible
10
11
  updated_at: Actualizado en
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Atributo de sólo lectura
18
+ test: Test A
19
+ test_choices:
20
+ a: Opción A
21
+ b: Opción B
22
+ c: Opción C
23
+ step:
24
+ endorsements_blocked: Adhesiones bloqueadas
25
+ endorsements_enabled: Adhesiones habilitadas
26
+ readonly_step_attribute: Atributo de sólo lectura
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -0,0 +1 @@
1
+ et:
@@ -3,12 +3,27 @@ fi-pl:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Luontiaika
6
+ decidim_scope_id: Teema
6
7
  field: Oma kenttä
7
8
  start_date: Alkamispäivä
8
9
  title: Otsikko
9
10
  translatable_text: Käännettävä teksti
10
11
  updated_at: Päivitysaika
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Vain luku -attribuutti
18
+ test: Testi
19
+ test_choices:
20
+ a: A-valinta
21
+ b: B-valinta
22
+ c: C-valinta
23
+ step:
24
+ endorsements_blocked: Suositukset estetty
25
+ endorsements_enabled: Suositukset käytössä
26
+ readonly_step_attribute: Vain luku -attribuutti vaiheelle
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -3,12 +3,27 @@ fi:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Luontiaika
6
+ decidim_scope_id: Teema
6
7
  field: Oma kenttä
7
8
  start_date: Alkamispäivä
8
9
  title: Otsikko
9
10
  translatable_text: Käännettävä teksti
10
11
  updated_at: Päivitysaika
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Vain luku -attribuutti
18
+ test: Testi
19
+ test_choices:
20
+ a: A-valinta
21
+ b: B-valinta
22
+ c: C-valinta
23
+ step:
24
+ endorsements_blocked: Suositukset estetty
25
+ endorsements_enabled: Suositukset käytössä
26
+ readonly_step_attribute: Vain luku -attribuutti vaiheelle
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -0,0 +1,56 @@
1
+ fr-CA:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: Créé le
6
+ decidim_scope_id: Périmètre d'application
7
+ field: Champ
8
+ start_date: Date de début
9
+ title: Titre
10
+ translatable_text: Texte traduisible
11
+ updated_at: Mis à jour à
12
+ decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Attribut en lecture seule
18
+ test: Un test
19
+ test_choices:
20
+ a: Choix A
21
+ b: Choix B
22
+ c: Choix C
23
+ step:
24
+ endorsements_blocked: Bloquer les soutiens
25
+ endorsements_enabled: Soutiens activés
26
+ readonly_step_attribute: Attribut étape en lecture seule
27
+ dummy:
28
+ admin:
29
+ exports:
30
+ dummies: Référence de test
31
+ gamification:
32
+ badges:
33
+ test:
34
+ conditions:
35
+ - Utilisez un environnement de test pour decidim.
36
+ description: Les utilisateurs obtiennent ce badge en créant des tests.
37
+ description_another: Cet utilisateur a créé %{score} tests.
38
+ description_own: Vous avez créé %{score} tests.
39
+ name: Tests
40
+ next_level_in: Créez %{score} autres tests pour atteindre le niveau suivant !
41
+ unearned_another: Cet utilisateur n'a pas encore créé de test.
42
+ unearned_own: Vous n'avez créé aucun test pour le moment.
43
+ pages:
44
+ home:
45
+ statistics:
46
+ bar: Seuil
47
+ dummies_count_high: Référence de test haute
48
+ dummies_count_medium: Référence de test moyenne
49
+ foo: Foo
50
+ participatory_processes:
51
+ statistics:
52
+ dummies_count_high: Référence de test haute
53
+ dummies_count_medium: Référence de test moyenne
54
+ resource_links:
55
+ test_link:
56
+ dummy_resource_dummy: Référence de test concernée
@@ -3,12 +3,27 @@ fr:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Créé le
6
+ decidim_scope_id: Périmètre d'application
6
7
  field: Champ
7
8
  start_date: Date de début
8
9
  title: Titre
9
10
  translatable_text: Texte traduisible
10
11
  updated_at: Mis à jour à
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Attribut en lecture seule
18
+ test: Un test
19
+ test_choices:
20
+ a: Choix A
21
+ b: Choix B
22
+ c: Choix C
23
+ step:
24
+ endorsements_blocked: Bloquer les soutiens
25
+ endorsements_enabled: Soutiens activés
26
+ readonly_step_attribute: Attribut étape en lecture seule
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -0,0 +1 @@
1
+ ga:
@@ -0,0 +1 @@
1
+ hr:
@@ -9,6 +9,15 @@ hu:
9
9
  translatable_text: Lefordítható szöveg
10
10
  updated_at: 'Frissítve:'
11
11
  decidim:
12
+ components:
13
+ dummy:
14
+ settings:
15
+ global:
16
+ test_choices:
17
+ a: Egy választás
18
+ step:
19
+ endorsements_blocked: Jóváhagyások letiltva
20
+ endorsements_enabled: Jóváhagyások engedélyezve
12
21
  dummy:
13
22
  admin:
14
23
  exports:
@@ -2,13 +2,28 @@ it:
2
2
  activemodel:
3
3
  attributes:
4
4
  dummy_resource:
5
- created_at: Creato a
5
+ created_at: Creato il
6
+ decidim_scope_id: Obiettivi
6
7
  field: Il mio campo
7
8
  start_date: Data d'inizio
8
9
  title: Titolo
9
10
  translatable_text: Testo traducibile
10
11
  updated_at: Aggiornato a
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Attributi di sola lettura
18
+ test: Un test
19
+ test_choices:
20
+ a: Scelta A
21
+ b: Scelta B
22
+ c: Scelta C
23
+ step:
24
+ endorsements_blocked: Appoggi bloccati
25
+ endorsements_enabled: Appoggi abilitati
26
+ readonly_step_attribute: Attributo di sola lettura
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -21,7 +36,7 @@ it:
21
36
  description: Gli utenti ottengono questo badge creando test.
22
37
  description_another: Questo utente ha creato %{score} test.
23
38
  description_own: Hai creato %{score} test.
24
- name: test
39
+ name: Test
25
40
  next_level_in: Crea altri %{score} test per raggiungere il livello successivo!
26
41
  unearned_another: Questo utente non ha ancora creato alcun test.
27
42
  unearned_own: Non hai ancora creato alcun test.
@@ -0,0 +1,56 @@
1
+ ja:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: 作成日時
6
+ decidim_scope_id: スコープ
7
+ field: 自分のフィールド
8
+ start_date: 開始日
9
+ title: タイトル
10
+ translatable_text: 翻訳可能なテキスト
11
+ updated_at: 更新日時
12
+ decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: 読み取り専用属性
18
+ test: テスト
19
+ test_choices:
20
+ a: 選択
21
+ b: B の選択
22
+ c: C の選択
23
+ step:
24
+ endorsements_blocked: エンドースメントがブロックされました
25
+ endorsements_enabled: エンドースメントを有効にする
26
+ readonly_step_attribute: 読み取り専用ステップ属性
27
+ dummy:
28
+ admin:
29
+ exports:
30
+ dummies: Dummies
31
+ gamification:
32
+ badges:
33
+ test:
34
+ conditions:
35
+ - テスト環境を使用してdecidim.
36
+ description: 参加者はテストを作成することによってこのバッジを受け取ります。
37
+ description_another: この参加者は %{score} テストを作成しました。
38
+ description_own: テストを %{score} 作成しました。
39
+ name: テスト
40
+ next_level_in: '%{score} 個のテストを作成して、次のレベルに到達しましょう!'
41
+ unearned_another: この参加者はまだテストを作成していません。
42
+ unearned_own: テストはまだ作成されていません。
43
+ pages:
44
+ home:
45
+ statistics:
46
+ bar: バー
47
+ dummies_count_high: 高いダミー数
48
+ dummies_count_medium: Dummies Medium
49
+ foo: Foo
50
+ participatory_processes:
51
+ statistics:
52
+ dummies_count_high: 高いダミー数
53
+ dummies_count_medium: Dummies Medium
54
+ resource_links:
55
+ test_link:
56
+ dummy_resource_dummy: 関連ダミー
@@ -0,0 +1 @@
1
+ lt:
@@ -0,0 +1,54 @@
1
+ lv:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: Izveidots plkst.
6
+ decidim_scope_id: Darbības tvērums
7
+ field: Mans lauks
8
+ start_date: Sākuma datums
9
+ title: Nosaukums
10
+ translatable_text: Tulkojamais teksts
11
+ updated_at: Atjaunināts plkst.
12
+ decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Tikai lasāms atribūts
18
+ test: A tests
19
+ test_choices:
20
+ a: A izvēle
21
+ b: B izvēle
22
+ c: C izvēle
23
+ step:
24
+ endorsements_blocked: Atbalsti ir bloķēti
25
+ endorsements_enabled: Atbalsti ir iespējoti
26
+ readonly_step_attribute: Tikai lasāms soļa atribūts
27
+ dummy:
28
+ admin:
29
+ exports:
30
+ dummies: Vietturi
31
+ gamification:
32
+ badges:
33
+ test:
34
+ conditions:
35
+ - Izmantot testa vidi decidim.
36
+ description: Dalībnieki iegūst šo žetonu, izveidojot testus.
37
+ description_another: Šis dalībnieks ir izveidojis %{score} testus.
38
+ description_own: Jūs esat izveidojis %{score} testus.
39
+ name: Testi
40
+ next_level_in: Izveidojiet vēl dažus %{score} testus, lai sasniegtu nākamo līmeni!
41
+ unearned_another: Šis dalībnieks vēl nav izveidojis nevienu testu.
42
+ unearned_own: Jūs vēl neesat izveidojis nevienu testu.
43
+ pages:
44
+ home:
45
+ statistics:
46
+ dummies_count_high: Augstie vietturi
47
+ dummies_count_medium: Vidējie vietturi
48
+ participatory_processes:
49
+ statistics:
50
+ dummies_count_high: Augstie vietturi
51
+ dummies_count_medium: Vidējie vietturi
52
+ resource_links:
53
+ test_link:
54
+ dummy_resource_dummy: Saistītie vietturi
@@ -0,0 +1 @@
1
+ mt:
@@ -3,12 +3,27 @@ nl:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Aangemaakt op
6
+ decidim_scope_id: Bereik
6
7
  field: Mijn veld
7
8
  start_date: Begindatum
8
9
  title: Titel
9
10
  translatable_text: Vertaal mijn tekst
10
11
  updated_at: Bijgewerkt op
11
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Alleen-lezen attribuut
18
+ test: Een test
19
+ test_choices:
20
+ a: Een keuze
21
+ b: B keuze
22
+ c: C keuze
23
+ step:
24
+ endorsements_blocked: Aanbevelingen geblokkeerd
25
+ endorsements_enabled: Aanbevelingen ingeschakeld
26
+ readonly_step_attribute: Kenmerk van alleen-lezenstap
12
27
  dummy:
13
28
  admin:
14
29
  exports:
@@ -2,12 +2,28 @@ pl:
2
2
  activemodel:
3
3
  attributes:
4
4
  dummy_resource:
5
- created_at: Utworzono w
5
+ created_at: Utworzono
6
+ decidim_scope_id: Zakres
6
7
  field: Moja dziedzina
7
8
  start_date: Data rozpoczęcia
8
9
  title: Tytuł
9
- updated_at: Zaktualizowano na
10
+ translatable_text: Tekst do przetłumaczenia
11
+ updated_at: Zaktualizowano
10
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Atrybut tylko do odczytu
18
+ test: Test A
19
+ test_choices:
20
+ a: Opcja A
21
+ b: Opcja B
22
+ c: Opcja C
23
+ step:
24
+ endorsements_blocked: Możliwość poparcia zablokowana
25
+ endorsements_enabled: Popieranie włączone
26
+ readonly_step_attribute: Atrybut kroku tylko do odczytu
11
27
  dummy:
12
28
  admin:
13
29
  exports:
@@ -17,9 +33,9 @@ pl:
17
33
  test:
18
34
  conditions:
19
35
  - Użyj środowiska testowego dla decidim.
20
- description: Użytkownicy otrzymują tę odznakę, tworząc testy.
36
+ description: Użytkownicy otrzymują tę odznakę tworząc testy.
21
37
  description_another: Ten użytkownik utworzył %{score} testów.
22
- description_own: Stworzyłeś %{score} testów.
38
+ description_own: Utworzyłeś %{score} testów.
23
39
  name: Testy
24
40
  next_level_in: Stwórz %{score} dodatkowych testów, aby przejść do następnego poziomu!
25
41
  unearned_another: Ten użytkownik nie utworzył jeszcze żadnych testów.
@@ -28,13 +44,13 @@ pl:
28
44
  home:
29
45
  statistics:
30
46
  bar: Bar
31
- dummies_count_high: Atrapy wysokie
32
- dummies_count_medium: Średni manekin
33
- foo: bla
47
+ dummies_count_high: Przykładowa duża liczba
48
+ dummies_count_medium: Przykładowa średnia liczba
49
+ foo: Foo
34
50
  participatory_processes:
35
51
  statistics:
36
- dummies_count_high: Atrapy wysokie
37
- dummies_count_medium: Średni manekin
52
+ dummies_count_high: Przykładowa duża liczba
53
+ dummies_count_medium: Przykładowa średnia liczba
38
54
  resource_links:
39
55
  test_link:
40
- dummy_resource_dummy: Podobne manekina
56
+ dummy_resource_dummy: Przykładowe powiązanie