decidim-dev 0.31.3 → 0.32.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.
- checksums.yaml +4 -4
- data/README.md +4 -12
- data/app/models/decidim/dev/dummy_resource.rb +4 -1
- data/app/models/decidim/dev/nested_dummy_resource.rb +1 -0
- data/config/locales/ar.yml +1 -2
- data/config/locales/bg.yml +1 -2
- data/config/locales/ca-IT.yml +1 -2
- data/config/locales/ca.yml +1 -2
- data/config/locales/cs.yml +1 -2
- data/config/locales/de.yml +1 -2
- data/config/locales/el.yml +1 -2
- data/config/locales/es-MX.yml +1 -2
- data/config/locales/es-PY.yml +1 -2
- data/config/locales/es.yml +1 -2
- data/config/locales/eu.yml +1 -2
- data/config/locales/fi-plain.yml +1 -2
- data/config/locales/fi.yml +1 -2
- data/config/locales/fr-CA.yml +1 -2
- data/config/locales/fr.yml +1 -2
- data/config/locales/ga-IE.yml +0 -1
- data/config/locales/gl.yml +1 -2
- data/config/locales/hu.yml +1 -2
- data/config/locales/id-ID.yml +1 -2
- data/config/locales/is-IS.yml +1 -2
- data/config/locales/it.yml +1 -2
- data/config/locales/ja.yml +1 -2
- data/config/locales/lt.yml +1 -2
- data/config/locales/lv.yml +1 -2
- data/config/locales/nl.yml +1 -2
- data/config/locales/no.yml +1 -2
- data/config/locales/pl.yml +1 -2
- data/config/locales/pt-BR.yml +1 -2
- data/config/locales/pt.yml +1 -2
- data/config/locales/ro-RO.yml +1 -2
- data/config/locales/ru.yml +1 -2
- data/config/locales/sk.yml +1 -2
- data/config/locales/sl.yml +0 -1
- data/config/locales/sv.yml +1 -2
- data/config/locales/tr-TR.yml +1 -2
- data/config/locales/uk.yml +0 -1
- data/config/locales/zh-CN.yml +1 -2
- data/config/locales/zh-TW.yml +1 -2
- data/config/rubocop/decidim-linters/configuration.yml +8 -0
- data/config/rubocop/rails/disabled.yml +6 -0
- data/config/rubocop/rspec/configuration.yml +5 -0
- data/config/rubocop/ruby/configuration.yml +2 -3
- data/config/rubocop/ruby/disabled.yml +9 -0
- data/config/rubocop/yard/configuration.yml +1 -0
- data/decidim-dev.gemspec +21 -23
- data/lib/decidim/dev/assets/assemblies.json +1 -21
- data/lib/decidim/dev/assets/assemblies_with_null.json +1 -2
- data/lib/decidim/dev/assets/participatory_processes.json +1 -4
- data/lib/decidim/dev/assets/participatory_processes_with_null.json +1 -1
- data/lib/decidim/dev/dummy_translator.rb +1 -1
- data/lib/decidim/dev/rubocop/cop/decidim/message_antipattern.rb +76 -0
- data/lib/decidim/dev/test/rspec_support/active_job.rb +5 -0
- data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -1
- data/lib/decidim/dev/test/rspec_support/helpers.rb +9 -3
- data/lib/decidim/dev/test/rspec_support/tom_select.rb +7 -4
- data/lib/decidim/dev/version.rb +1 -1
- data/lib/decidim/dev.rb +0 -1
- data/lib/erb_lint/linters/admin_page_title_linter.rb +46 -0
- data/lib/erb_lint/linters/partial_path_linter.rb +101 -0
- data/rubocop-decidim.yml +2 -0
- metadata +134 -64
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users.csv → import_members.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_invalid_col_sep.csv → import_members_invalid_col_sep.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_iso8859-1.csv → import_members_iso8859-1.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_nok.csv → import_members_nok.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_with_bom.csv → import_members_with_bom.csv} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9789d8422d4f2c6a4607074b9d86c516ef4e56540f3fb980922769212dfda5f7
|
|
4
|
+
data.tar.gz: 106c5e3ca7f77cda7bb17f3968ec62b4cc2e2b87b95e5f8629a3aa4c533405a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddd287450604407bf297fb5350167f1cba9b393ff232579f6d7c3c1d06109ce8d95102d51d4984b88c5c45b1bf891cd9662fbae654acade865086590ac6a6de5
|
|
7
|
+
data.tar.gz: 673c410f97e34122b08bf4b061715360693e0a4a0916517d1a4fc53deb2e0df8dc0e2d0b46c3c59ee39c6180fd3dc3457fafe22bc5f5c18f94e95701be65cc16
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# decidim-dev
|
|
2
2
|
|
|
3
3
|
This module allows local development of decidim's components and other features.
|
|
4
4
|
|
|
@@ -9,19 +9,11 @@ dummy assets or resources that you can use to test your own modules. It also
|
|
|
9
9
|
provides a `decidim:generate_external_test_app` rails task that you can use to
|
|
10
10
|
generate a dummy application to test your module.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Add this line to your application's Gemfile:
|
|
12
|
+
This is a module oriented for developers, as a building block to be used by other modules.
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
gem 'decidim-dev'
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
And then execute:
|
|
14
|
+
## Installation
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
bundle
|
|
24
|
-
```
|
|
16
|
+
This is on the default Decidim installation so you should not change anything to use this module.
|
|
25
17
|
|
|
26
18
|
## Contributing
|
|
27
19
|
|
|
@@ -78,7 +78,10 @@ module Decidim
|
|
|
78
78
|
|
|
79
79
|
# Public: Whether the object can have new comment votes or not.
|
|
80
80
|
def user_allowed_to_vote_comment?(user)
|
|
81
|
-
|
|
81
|
+
return false unless accepts_new_comments?
|
|
82
|
+
return unless component.can_participate_in_space?(user)
|
|
83
|
+
|
|
84
|
+
ActionAuthorizer.new(user, "vote_comment", component, self).authorize.ok?
|
|
82
85
|
end
|
|
83
86
|
|
|
84
87
|
def self.user_collection(user)
|
data/config/locales/ar.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ar:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -48,7 +47,7 @@ ar:
|
|
|
48
47
|
badges:
|
|
49
48
|
test:
|
|
50
49
|
conditions:
|
|
51
|
-
|
|
50
|
+
- استخدام بيئة اختبار ل decidim.
|
|
52
51
|
description: يحصل المشاركون على هذه الشارة عن طريق إنشاء اختبارات.
|
|
53
52
|
description_another: قام هذا المشارك بإنشاء %{score} اختبار.
|
|
54
53
|
description_own: لقد أنشأت %{score} اختبارات.
|
data/config/locales/bg.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
bg:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -45,7 +44,7 @@ bg:
|
|
|
45
44
|
badges:
|
|
46
45
|
test:
|
|
47
46
|
conditions:
|
|
48
|
-
|
|
47
|
+
- Използвайте тестова среда за decidim.
|
|
49
48
|
description: Участниците получават тази значка като създават тестове.
|
|
50
49
|
description_another: Участниците създадоха %{score} теста.
|
|
51
50
|
description_own: Вие създадохте %{score} теста.
|
data/config/locales/ca-IT.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ca-IT:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ ca-IT:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Utilitza un entorn de prova per decidim.
|
|
56
55
|
description: Les participants obtenen aquesta ensenya creant proves.
|
|
57
56
|
description_another: Aquesta participant ha creat %{score} proves.
|
|
58
57
|
description_own: Has creat %{score} proves.
|
data/config/locales/ca.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ca:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ ca:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Utilitza un entorn de prova per decidim.
|
|
56
55
|
description: Les participants obtenen aquesta ensenya creant proves.
|
|
57
56
|
description_another: Aquesta participant ha creat %{score} proves.
|
|
58
57
|
description_own: Has creat %{score} proves.
|
data/config/locales/cs.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
cs:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ cs:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Použijte testovací prostředí pro decidim.
|
|
56
55
|
description: Uživatelé získají tento odznak vytvořením testů.
|
|
57
56
|
description_another: Tento uživatel vytvořil %{score} testů.
|
|
58
57
|
description_own: Vytvořili jste %{score} testů.
|
data/config/locales/de.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
de:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ de:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Verwenden Sie eine Testumgebung für Decidim.
|
|
56
55
|
description: Benutzer erhalten dieses Badge, indem sie Tests erstellen.
|
|
57
56
|
description_another: Dieser Benutzer hat %{score} Tests erstellt.
|
|
58
57
|
description_own: Sie haben %{score} Tests erstellt.
|
data/config/locales/el.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
el:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -47,7 +46,7 @@ el:
|
|
|
47
46
|
badges:
|
|
48
47
|
test:
|
|
49
48
|
conditions:
|
|
50
|
-
|
|
49
|
+
- Χρησιμοποιήστε ένα περιβάλλον δοκιμής για το decidim.
|
|
51
50
|
description: Οι συμμετέχοντες αποκτούν αυτό το έμβλημα δημιουργώντας δοκιμές.
|
|
52
51
|
description_another: Αυτός ο συμμετέχων έχει δημιουργήσει %{score} δοκιμές.
|
|
53
52
|
description_own: Έχετε δημιουργήσει %{score} δοκιμές.
|
data/config/locales/es-MX.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
es-MX:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ es-MX:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Utilice un entorno de prueba para decidim.
|
|
56
55
|
description: Los usuarios obtienen esta insignia al crear pruebas.
|
|
57
56
|
description_another: Este usuario ha creado %{score} pruebas.
|
|
58
57
|
description_own: Has creado %{score} pruebas.
|
data/config/locales/es-PY.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
es-PY:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ es-PY:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Utilice un entorno de prueba para decidim.
|
|
56
55
|
description: Los usuarios obtienen esta insignia al crear pruebas.
|
|
57
56
|
description_another: Este usuario ha creado %{score} pruebas.
|
|
58
57
|
description_own: Has creado %{score} pruebas.
|
data/config/locales/es.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
es:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ es:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Utilice un entorno de prueba para decidim.
|
|
56
55
|
description: Las participantes obtienen esta insignia al crear pruebas.
|
|
57
56
|
description_another: Esta participante ha creado %{score} pruebas.
|
|
58
57
|
description_own: Has creado %{score} pruebas.
|
data/config/locales/eu.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
eu:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ eu:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Erabili probako ingurune bat Decidim-erako.
|
|
56
55
|
description: Parte-hartzaileek garaikur hau lortzen dute probak sortzeagatik.
|
|
57
56
|
description_another: Parte-hartzaile honek %{score} proba egin ditu.
|
|
58
57
|
description_own: '%{score} proba sortu dituzu.'
|
data/config/locales/fi-plain.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
fi-pl:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ fi-pl:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Käytä testiympäristöä Decidimille.
|
|
56
55
|
description: Käyttäjät saavat tämän kunniamerkin luomalla testejä.
|
|
57
56
|
description_another: Tämä käyttäjä on luonut %{score} testiä.
|
|
58
57
|
description_own: Olet luonut %{score} testiä.
|
data/config/locales/fi.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
fi:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ fi:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Käytä testiympäristöä Decidimille.
|
|
56
55
|
description: Käyttäjät saavat tämän kunniamerkin luomalla testejä.
|
|
57
56
|
description_another: Tämä käyttäjä on luonut %{score} testiä.
|
|
58
57
|
description_own: Olet luonut %{score} testiä.
|
data/config/locales/fr-CA.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
fr-CA:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -48,7 +47,7 @@ fr-CA:
|
|
|
48
47
|
badges:
|
|
49
48
|
test:
|
|
50
49
|
conditions:
|
|
51
|
-
|
|
50
|
+
- Utilisez un environnement de test pour decidim.
|
|
52
51
|
description: Les utilisateurs obtiennent ce badge en créant des tests.
|
|
53
52
|
description_another: Cet utilisateur a créé %{score} tests.
|
|
54
53
|
description_own: Vous avez créé %{score} tests.
|
data/config/locales/fr.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
fr:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -48,7 +47,7 @@ fr:
|
|
|
48
47
|
badges:
|
|
49
48
|
test:
|
|
50
49
|
conditions:
|
|
51
|
-
|
|
50
|
+
- Utilisez un environnement de test pour decidim.
|
|
52
51
|
description: Les utilisateurs obtiennent ce badge en créant des tests.
|
|
53
52
|
description_another: Cet utilisateur a créé %{score} tests.
|
|
54
53
|
description_own: Vous avez créé %{score} tests.
|
data/config/locales/ga-IE.yml
CHANGED
data/config/locales/gl.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
gl:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -39,7 +38,7 @@ gl:
|
|
|
39
38
|
badges:
|
|
40
39
|
test:
|
|
41
40
|
conditions:
|
|
42
|
-
|
|
41
|
+
- Use un entorno de proba para decidir.
|
|
43
42
|
description: Os usuarios obtén esta insignia creando probas.
|
|
44
43
|
description_another: Este usuario creou %{score} probas.
|
|
45
44
|
description_own: Creaches %{score} probas.
|
data/config/locales/hu.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
hu:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -31,7 +30,7 @@ hu:
|
|
|
31
30
|
badges:
|
|
32
31
|
test:
|
|
33
32
|
conditions:
|
|
34
|
-
|
|
33
|
+
- Használjon teszt környezetet a decidim számára.
|
|
35
34
|
description: A résztvevők ezt a jelvényt tesztek létrehozásával kapják meg.
|
|
36
35
|
description_another: Ez a résztvevő %{score} tesztet hozott létre.
|
|
37
36
|
description_own: Létrehoztad a(z) %{score} teszteket.
|
data/config/locales/id-ID.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
id:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -28,7 +27,7 @@ id:
|
|
|
28
27
|
badges:
|
|
29
28
|
test:
|
|
30
29
|
conditions:
|
|
31
|
-
|
|
30
|
+
- Gunakan lingkungan uji untuk decidim.
|
|
32
31
|
description: Peserta mendapatkan lencana ini dengan membuat tes.
|
|
33
32
|
description_another: Peserta ini telah membuat %{score} tes.
|
|
34
33
|
description_own: Anda telah membuat %{score} tes.
|
data/config/locales/is-IS.yml
CHANGED
data/config/locales/it.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
it:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -39,7 +38,7 @@ it:
|
|
|
39
38
|
badges:
|
|
40
39
|
test:
|
|
41
40
|
conditions:
|
|
42
|
-
|
|
41
|
+
- Utilizzare un ambiente di prova per decidim.
|
|
43
42
|
description: Gli utenti ottengono questo badge creando test.
|
|
44
43
|
description_another: Questo utente ha creato %{score} test.
|
|
45
44
|
description_own: Hai creato %{score} test.
|
data/config/locales/ja.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ja:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ ja:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- テスト環境を使用してdecidim.
|
|
56
55
|
description: 参加者はテストを作成することによってこのバッジを受け取ります。
|
|
57
56
|
description_another: この参加者は %{score} テストを作成しました。
|
|
58
57
|
description_own: テストを %{score} 作成しました。
|
data/config/locales/lt.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
lt:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -45,7 +44,7 @@ lt:
|
|
|
45
44
|
badges:
|
|
46
45
|
test:
|
|
47
46
|
conditions:
|
|
48
|
-
|
|
47
|
+
- Naudokite testinę aplinką.
|
|
49
48
|
description: Dalyviai šį ženklelį pelno kurdami testus.
|
|
50
49
|
description_another: Šis dalyvis sukūrė %{score} testus.
|
|
51
50
|
description_own: Jūs sukūrėte %{score} testus.
|
data/config/locales/lv.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
lv:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -31,7 +30,7 @@ lv:
|
|
|
31
30
|
badges:
|
|
32
31
|
test:
|
|
33
32
|
conditions:
|
|
34
|
-
|
|
33
|
+
- Izmantot testa vidi decidim.
|
|
35
34
|
description: Dalībnieki iegūst šo žetonu, izveidojot testus.
|
|
36
35
|
description_another: Šis dalībnieks ir izveidojis %{score} testus.
|
|
37
36
|
description_own: Jūs esat izveidojis %{score} testus.
|
data/config/locales/nl.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
nl:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -39,7 +38,7 @@ nl:
|
|
|
39
38
|
badges:
|
|
40
39
|
test:
|
|
41
40
|
conditions:
|
|
42
|
-
|
|
41
|
+
- Gebruik een testomgeving voor decidim.
|
|
43
42
|
description: Gebruikers krijgen deze badge door tests te maken.
|
|
44
43
|
description_another: Deze gebruiker heeft %{score} tests gemaakt.
|
|
45
44
|
description_own: U hebt %{score} tests gemaakt.
|
data/config/locales/no.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
"no":
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
badges:
|
|
40
39
|
test:
|
|
41
40
|
conditions:
|
|
42
|
-
|
|
41
|
+
- Bruk et testmiljø for decidim.
|
|
43
42
|
description: Deltakerne får dette merket ved å lage tester.
|
|
44
43
|
description_another: Denne deltakeren har opprettet %{score} tester.
|
|
45
44
|
description_own: Du har opprettet %{score} tester.
|
data/config/locales/pl.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
pl:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -45,7 +44,7 @@ pl:
|
|
|
45
44
|
badges:
|
|
46
45
|
test:
|
|
47
46
|
conditions:
|
|
48
|
-
|
|
47
|
+
- Użyj środowiska testowego dla decidim.
|
|
49
48
|
description: Użytkownicy otrzymują tę odznakę tworząc testy.
|
|
50
49
|
description_another: Ten użytkownik utworzył %{score} testów.
|
|
51
50
|
description_own: Utworzyłeś %{score} testów.
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
pt-BR:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -45,7 +44,7 @@ pt-BR:
|
|
|
45
44
|
badges:
|
|
46
45
|
test:
|
|
47
46
|
conditions:
|
|
48
|
-
|
|
47
|
+
- Use um ambiente de teste para decidim.
|
|
49
48
|
description: Os usuários obtêm esse selo criando testes.
|
|
50
49
|
description_another: Este usuário criou %{score} testes.
|
|
51
50
|
description_own: Você criou %{score} testes.
|
data/config/locales/pt.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
pt:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -39,7 +38,7 @@ pt:
|
|
|
39
38
|
badges:
|
|
40
39
|
test:
|
|
41
40
|
conditions:
|
|
42
|
-
|
|
41
|
+
- Utilize um ambiente de teste para decidim.
|
|
43
42
|
description: Os participantes obtêm este distintivo ao criarem testes.
|
|
44
43
|
description_another: Este participante criou %{score} testes.
|
|
45
44
|
description_own: Criou %{score} testes.
|
data/config/locales/ro-RO.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ro:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ ro:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Utilizaţi un mediu de testare pentru decidim.
|
|
56
55
|
description: Participanții obțin această insignă prin crearea de teste.
|
|
57
56
|
description_another: Acest participant a creat %{score} teste.
|
|
58
57
|
description_own: Ați creat %{score} teste.
|
data/config/locales/ru.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ru:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -29,7 +28,7 @@ ru:
|
|
|
29
28
|
badges:
|
|
30
29
|
test:
|
|
31
30
|
conditions:
|
|
32
|
-
|
|
31
|
+
- Используйте тестовую среду для decidim.
|
|
33
32
|
description: Участники получают этот значок за написание тестов.
|
|
34
33
|
description_another: Этот участник написал %{score} тестов.
|
|
35
34
|
description_own: Вы написали %{score} тест.
|
data/config/locales/sk.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
sk:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -29,7 +28,7 @@ sk:
|
|
|
29
28
|
badges:
|
|
30
29
|
test:
|
|
31
30
|
conditions:
|
|
32
|
-
|
|
31
|
+
- Použiť testovacie prostredie pre decidim.
|
|
33
32
|
description: Účastníci dostanú tento odznak za vytváranie testov.
|
|
34
33
|
description_another: Tento účastník vytvoril %{score} testov.
|
|
35
34
|
description_own: Vytvorili ste %{score} testov.
|
data/config/locales/sl.yml
CHANGED
data/config/locales/sv.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
sv:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -52,7 +51,7 @@ sv:
|
|
|
52
51
|
badges:
|
|
53
52
|
test:
|
|
54
53
|
conditions:
|
|
55
|
-
|
|
54
|
+
- Använd en testmiljö för decidim.
|
|
56
55
|
description: Deltagare får detta märke genom att skapa tester.
|
|
57
56
|
description_another: Deltagaren har skapat %{score} tester.
|
|
58
57
|
description_own: Du har skapat %{score} tester.
|
data/config/locales/tr-TR.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
tr:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -37,7 +36,7 @@ tr:
|
|
|
37
36
|
badges:
|
|
38
37
|
test:
|
|
39
38
|
conditions:
|
|
40
|
-
|
|
39
|
+
- Decidim için bir test ortamı kullanın.
|
|
41
40
|
description: Katılımcılar testler oluşturarak bu rozeti alırlar.
|
|
42
41
|
description_another: Bu katılımcı %{score} test oluşturdu.
|
|
43
42
|
description_own: '%{score} test oluşturdunuz.'
|
data/config/locales/uk.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
zh-CN:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -37,7 +36,7 @@ zh-CN:
|
|
|
37
36
|
badges:
|
|
38
37
|
test:
|
|
39
38
|
conditions:
|
|
40
|
-
|
|
39
|
+
- 对判定环境使用测试环境。
|
|
41
40
|
description: 参与者通过创建测试获得这个徽章。
|
|
42
41
|
description_another: 此参与者已创建了 %{score} 个测试。
|
|
43
42
|
description_own: 您已创建了 %{score} 个测试。
|
data/config/locales/zh-TW.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
zh-TW:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -45,7 +44,7 @@ zh-TW:
|
|
|
45
44
|
badges:
|
|
46
45
|
test:
|
|
47
46
|
conditions:
|
|
48
|
-
|
|
47
|
+
- 在Decidim中使用測試環境。
|
|
49
48
|
description: 參與者通過建立測試可獲得此徽章。
|
|
50
49
|
description_another: 此參與者已建立了 %{score} 個測試。
|
|
51
50
|
description_own: 您已建立了 %{score} 個測試。
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
require: rubocop
|
|
2
|
-
|
|
3
1
|
# Common configuration.
|
|
4
2
|
AllCops:
|
|
5
3
|
Include:
|
|
@@ -68,7 +66,7 @@ AllCops:
|
|
|
68
66
|
# If a value is specified for TargetRubyVersion then it is used.
|
|
69
67
|
# Else if .ruby-version exists and it contains an MRI version it is used.
|
|
70
68
|
# Otherwise we fallback to the oldest officially supported Ruby version (2.0).
|
|
71
|
-
TargetRubyVersion: 3.
|
|
69
|
+
TargetRubyVersion: 3.4
|
|
72
70
|
|
|
73
71
|
# Indent private/protected/public as deep as method definitions
|
|
74
72
|
Layout/AccessModifierIndentation:
|
|
@@ -521,6 +519,7 @@ Style/GuardClause:
|
|
|
521
519
|
MinBodyLength: 6
|
|
522
520
|
|
|
523
521
|
Style/HashSyntax:
|
|
522
|
+
EnforcedShorthandSyntax: always
|
|
524
523
|
EnforcedStyle: no_mixed_keys
|
|
525
524
|
SupportedStyles:
|
|
526
525
|
# checks for 1.9 syntax (e.g. {a: 1}) for all symbol keys
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
plugins: rubocop-yard
|