decidim-dev 0.19.1 → 0.23.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 (96) 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/controllers/decidim/dummy_resources/dummy_resources_controller.rb +1 -0
  6. data/app/forms/decidim/dummy_resources/dummy_resource_form.rb +3 -0
  7. data/app/views/decidim/dummy_resources/dummy_resources/show.html.erb +4 -0
  8. data/config/locales/am-ET.yml +1 -0
  9. data/config/locales/bg-BG.yml +56 -0
  10. data/config/locales/bg.yml +56 -0
  11. data/config/locales/ca.yml +15 -0
  12. data/config/locales/cs.yml +16 -1
  13. data/config/locales/da-DK.yml +1 -0
  14. data/config/locales/da.yml +1 -0
  15. data/config/locales/de.yml +16 -0
  16. data/config/locales/el-GR.yml +1 -0
  17. data/config/locales/el.yml +56 -0
  18. data/config/locales/en.yml +15 -0
  19. data/config/locales/eo.yml +1 -0
  20. data/config/locales/es-MX.yml +15 -0
  21. data/config/locales/es-PY.yml +15 -0
  22. data/config/locales/es.yml +15 -0
  23. data/config/locales/et-EE.yml +1 -0
  24. data/config/locales/et.yml +1 -0
  25. data/config/locales/fi-plain.yml +15 -0
  26. data/config/locales/fi.yml +15 -0
  27. data/config/locales/fr-CA.yml +56 -0
  28. data/config/locales/fr.yml +15 -0
  29. data/config/locales/ga-IE.yml +1 -0
  30. data/config/locales/hr-HR.yml +1 -0
  31. data/config/locales/hr.yml +1 -0
  32. data/config/locales/hu.yml +11 -2
  33. data/config/locales/is-IS.yml +21 -0
  34. data/config/locales/is.yml +21 -0
  35. data/config/locales/it.yml +17 -2
  36. data/config/locales/ja-JP.yml +56 -0
  37. data/config/locales/ja.yml +56 -0
  38. data/config/locales/ko-KR.yml +1 -0
  39. data/config/locales/ko.yml +1 -0
  40. data/config/locales/lt-LT.yml +1 -0
  41. data/config/locales/lt.yml +1 -0
  42. data/config/locales/lv.yml +54 -0
  43. data/config/locales/mt-MT.yml +1 -0
  44. data/config/locales/mt.yml +1 -0
  45. data/config/locales/nl.yml +15 -0
  46. data/config/locales/no.yml +31 -0
  47. data/config/locales/om-ET.yml +1 -0
  48. data/config/locales/pl.yml +26 -10
  49. data/config/locales/pt-BR.yml +1 -1
  50. data/config/locales/pt.yml +26 -10
  51. data/config/locales/ro-RO.yml +56 -0
  52. data/config/locales/sk-SK.yml +47 -0
  53. data/config/locales/sk.yml +47 -0
  54. data/config/locales/sl.yml +5 -0
  55. data/config/locales/so-SO.yml +1 -0
  56. data/config/locales/sr-CS.yml +8 -0
  57. data/config/locales/sv.yml +15 -0
  58. data/config/locales/ti-ER.yml +1 -0
  59. data/config/locales/vi-VN.yml +1 -0
  60. data/config/locales/vi.yml +1 -0
  61. data/config/locales/zh-CN.yml +56 -0
  62. data/config/locales/zh-TW.yml +1 -0
  63. data/lib/decidim/dev.rb +2 -0
  64. data/lib/decidim/dev/assets/assemblies.json +816 -0
  65. data/lib/decidim/dev/assets/assemblies_with_null.json +135 -0
  66. data/lib/decidim/dev/assets/city.jpeg +0 -0
  67. data/lib/decidim/dev/assets/city2.jpeg +0 -0
  68. data/lib/decidim/dev/assets/city3.jpeg +0 -0
  69. data/lib/decidim/dev/assets/geocoder_result_here.json +72 -0
  70. data/lib/decidim/dev/assets/geocoder_result_osm.json +150 -0
  71. data/lib/decidim/dev/assets/import_participatory_space_private_users_nok.csv +2 -0
  72. data/lib/decidim/dev/assets/participatory_processes.json +434 -0
  73. data/lib/decidim/dev/assets/participatory_processes_with_null.json +103 -0
  74. data/lib/decidim/dev/dummy_translator.rb +32 -0
  75. data/lib/decidim/dev/test/base_spec_helper.rb +14 -0
  76. data/lib/decidim/dev/test/rspec_support/authorization.rb +3 -0
  77. data/lib/decidim/dev/test/rspec_support/capybara.rb +6 -2
  78. data/lib/decidim/dev/test/rspec_support/capybara_data_picker.rb +15 -5
  79. data/lib/decidim/dev/test/rspec_support/capybara_scopes_picker.rb +5 -5
  80. data/lib/decidim/dev/test/rspec_support/comments.rb +2 -2
  81. data/lib/decidim/dev/test/rspec_support/component.rb +104 -5
  82. data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -2
  83. data/lib/decidim/dev/test/rspec_support/confirmation_helpers.rb +60 -0
  84. data/lib/decidim/dev/test/rspec_support/content_processing.rb +4 -4
  85. data/lib/decidim/dev/test/rspec_support/frontend.rb +20 -0
  86. data/lib/decidim/dev/test/rspec_support/geocoder.rb +150 -7
  87. data/lib/decidim/dev/test/rspec_support/helpers.rb +2 -2
  88. data/lib/decidim/dev/test/rspec_support/organization.rb +7 -0
  89. data/lib/decidim/dev/test/rspec_support/rake_tasks.rb +75 -0
  90. data/lib/decidim/dev/test/rspec_support/timezone.rb +7 -0
  91. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +2 -0
  92. data/lib/decidim/dev/version.rb +1 -1
  93. data/lib/tasks/generators.rake +2 -1
  94. data/lib/tasks/locale_checker.rake +1 -1
  95. metadata +94 -16
  96. data/lib/decidim/dev/test/rspec_support/capybara_proposals_picker.rb +0 -51
@@ -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,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
+ ko:
@@ -0,0 +1 @@
1
+ ko:
@@ -0,0 +1 @@
1
+ lt:
@@ -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:
@@ -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,9 +2,40 @@
2
2
  activemodel:
3
3
  attributes:
4
4
  dummy_resource:
5
+ created_at: Opprettet på
6
+ field: Mitt felt
7
+ start_date: Startdato
5
8
  title: Tittel
9
+ translatable_text: Oversettbar tekst
10
+ updated_at: Oppdatert på
6
11
  decidim:
12
+ dummy:
13
+ admin:
14
+ exports:
15
+ dummies: Dukker
16
+ gamification:
17
+ badges:
18
+ test:
19
+ conditions:
20
+ - Bruk et testmiljø for decidim.
21
+ description: Deltakerne får dette merket ved å lage tester.
22
+ description_another: Denne deltakeren har opprettet %{score} tester.
23
+ description_own: Du har opprettet %{score} tester.
24
+ name: Tester
25
+ next_level_in: Opprett %{score} flere tester for å nå neste nivå!
26
+ unearned_another: Denne deltakeren har ikke opprettet en test ennå.
27
+ unearned_own: Du har ikke laget noen tester ennå.
7
28
  pages:
8
29
  home:
9
30
  statistics:
10
31
  bar: Felt
32
+ dummies_count_high: Dukker høy
33
+ dummies_count_medium: Dukker medium
34
+ foo: Foo
35
+ participatory_processes:
36
+ statistics:
37
+ dummies_count_high: Dukker høy
38
+ dummies_count_medium: Dukker medium
39
+ resource_links:
40
+ test_link:
41
+ dummy_resource_dummy: Relaterte dukke
@@ -0,0 +1 @@
1
+ om:
@@ -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ść rekomendacji zablokowana
25
+ endorsements_enabled: Rekomendacje 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
@@ -1,4 +1,4 @@
1
- pt-BR:
1
+ pt:
2
2
  activemodel:
3
3
  attributes:
4
4
  dummy_resource:
@@ -3,11 +3,27 @@ pt:
3
3
  attributes:
4
4
  dummy_resource:
5
5
  created_at: Criado em
6
- field: Meu campo
6
+ decidim_scope_id: Âmbito
7
+ field: O meu campo
7
8
  start_date: Data de início
8
9
  title: Título
10
+ translatable_text: Texto traduzível
9
11
  updated_at: Atualizado em
10
12
  decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Atributo só de leitura
18
+ test: Teste A
19
+ test_choices:
20
+ a: Escolha A
21
+ b: Escolha B
22
+ c: Escolha C
23
+ step:
24
+ endorsements_blocked: Endossamentos bloqueados
25
+ endorsements_enabled: Endossamentos ativados
26
+ readonly_step_attribute: Atributo de passo só de leitura
11
27
  dummy:
12
28
  admin:
13
29
  exports:
@@ -16,24 +32,24 @@ pt:
16
32
  badges:
17
33
  test:
18
34
  conditions:
19
- - Use um ambiente de teste para decidim.
20
- description: Os usuários obtêm esse selo criando testes.
21
- description_another: Este usuário criou %{score} testes.
22
- description_own: Você criou %{score} testes.
35
+ - Utilize um ambiente de teste para decidim.
36
+ description: Os participantes obtêm este distintivo ao criarem testes.
37
+ description_another: Este participante criou %{score} testes.
38
+ description_own: Criou %{score} testes.
23
39
  name: Testes
24
40
  next_level_in: Crie mais %{score} testes para alcançar o próximo nível!
25
- unearned_another: Este usuário ainda não criou nenhum teste.
26
- unearned_own: Você não criou testes ainda.
41
+ unearned_another: Este participante ainda não criou nenhum teste.
42
+ unearned_own: Ainda não criou qualquer teste.
27
43
  pages:
28
44
  home:
29
45
  statistics:
30
46
  bar: Barra
31
- dummies_count_high: Dummies alta
32
- dummies_count_medium: Dummies medium
47
+ dummies_count_high: Fictícias alto
48
+ dummies_count_medium: Fictícias médio
33
49
  foo: Foo
34
50
  participatory_processes:
35
51
  statistics:
36
- dummies_count_high: Dummies alta
52
+ dummies_count_high: Fictícias alto
37
53
  dummies_count_medium: Dummies médio
38
54
  resource_links:
39
55
  test_link:
@@ -0,0 +1,56 @@
1
+ ro:
2
+ activemodel:
3
+ attributes:
4
+ dummy_resource:
5
+ created_at: Creat la
6
+ decidim_scope_id: Domeniu
7
+ field: Câmpul meu
8
+ start_date: Data de început
9
+ title: Titlu
10
+ translatable_text: Text traductibil
11
+ updated_at: Actualizat la
12
+ decidim:
13
+ components:
14
+ dummy:
15
+ settings:
16
+ global:
17
+ readonly_attribute: Atribut Readonly
18
+ test: Un test
19
+ test_choices:
20
+ a: O alegere
21
+ b: Alegere B
22
+ c: Alegere C
23
+ step:
24
+ endorsements_blocked: Aprobări blocate
25
+ endorsements_enabled: Aprobări activate
26
+ readonly_step_attribute: Atribut pas Readonly
27
+ dummy:
28
+ admin:
29
+ exports:
30
+ dummies: Dummieri
31
+ gamification:
32
+ badges:
33
+ test:
34
+ conditions:
35
+ - Utilizaţi un mediu de testare pentru decidim.
36
+ description: Participanții obțin această insignă prin crearea de teste.
37
+ description_another: Acest participant a creat %{score} teste.
38
+ description_own: Ați creat %{score} teste.
39
+ name: Teste
40
+ next_level_in: Crează încă %{score} teste pentru a atinge următorul nivel!
41
+ unearned_another: Acest participant nu a creat încă niciun test.
42
+ unearned_own: Nu ați creat încă niciun test.
43
+ pages:
44
+ home:
45
+ statistics:
46
+ bar: Bară
47
+ dummies_count_high: Dummieri mari
48
+ dummies_count_medium: Medie de ficare
49
+ foo: Foo
50
+ participatory_processes:
51
+ statistics:
52
+ dummies_count_high: Dummieri mari
53
+ dummies_count_medium: Medie de ficare
54
+ resource_links:
55
+ test_link:
56
+ dummy_resource_dummy: Legat de manechin