decidim-dev 0.31.8 → 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.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -12
  3. data/app/commands/decidim/dev/create_dummy_resource.rb +6 -6
  4. data/app/controllers/decidim/dev/dummy_resources_controller.rb +0 -2
  5. data/app/models/decidim/dev/dummy_resource.rb +4 -1
  6. data/app/models/decidim/dev/nested_dummy_resource.rb +1 -0
  7. data/app/packs/src/decidim/dev/accessibility.js +1 -1
  8. data/config/locales/ar.yml +1 -2
  9. data/config/locales/bg.yml +1 -2
  10. data/config/locales/ca-IT.yml +1 -2
  11. data/config/locales/ca.yml +1 -2
  12. data/config/locales/cs.yml +1 -2
  13. data/config/locales/de.yml +1 -2
  14. data/config/locales/el.yml +1 -2
  15. data/config/locales/es-MX.yml +1 -2
  16. data/config/locales/es-PY.yml +1 -2
  17. data/config/locales/es.yml +1 -2
  18. data/config/locales/eu.yml +7 -8
  19. data/config/locales/fi-plain.yml +1 -2
  20. data/config/locales/fi.yml +1 -2
  21. data/config/locales/fr-CA.yml +1 -2
  22. data/config/locales/fr.yml +1 -2
  23. data/config/locales/ga-IE.yml +0 -1
  24. data/config/locales/gl.yml +2 -17
  25. data/config/locales/hu.yml +1 -2
  26. data/config/locales/id-ID.yml +1 -2
  27. data/config/locales/is-IS.yml +1 -2
  28. data/config/locales/it.yml +1 -2
  29. data/config/locales/ja.yml +1 -2
  30. data/config/locales/lt.yml +1 -2
  31. data/config/locales/lv.yml +1 -2
  32. data/config/locales/nl.yml +1 -2
  33. data/config/locales/no.yml +1 -2
  34. data/config/locales/pl.yml +1 -2
  35. data/config/locales/pt-BR.yml +1 -2
  36. data/config/locales/pt.yml +1 -2
  37. data/config/locales/ro-RO.yml +1 -2
  38. data/config/locales/ru.yml +1 -2
  39. data/config/locales/sk.yml +1 -26
  40. data/config/locales/sl.yml +0 -1
  41. data/config/locales/sv.yml +1 -2
  42. data/config/locales/tr-TR.yml +1 -2
  43. data/config/locales/uk.yml +0 -1
  44. data/config/locales/zh-CN.yml +1 -2
  45. data/config/locales/zh-TW.yml +1 -2
  46. data/config/rubocop/decidim-linters/configuration.yml +4 -36
  47. data/config/rubocop/rails/disabled.yml +6 -0
  48. data/config/rubocop/rspec/configuration.yml +5 -1
  49. data/config/rubocop/ruby/configuration.yml +2 -3
  50. data/config/rubocop/ruby/disabled.yml +9 -0
  51. data/config/rubocop/yard/configuration.yml +1 -0
  52. data/decidim-dev.gemspec +21 -23
  53. data/lib/decidim/dev/assets/assemblies.json +1 -21
  54. data/lib/decidim/dev/assets/assemblies_with_null.json +1 -2
  55. data/lib/decidim/dev/assets/participatory_processes.json +1 -4
  56. data/lib/decidim/dev/assets/participatory_processes_with_null.json +1 -1
  57. data/lib/decidim/dev/dummy_translator.rb +1 -1
  58. data/lib/decidim/dev/rubocop/cop/decidim/message_antipattern.rb +76 -0
  59. data/lib/decidim/dev/test/rspec_support/active_job.rb +5 -0
  60. data/lib/decidim/dev/test/rspec_support/capybara.rb +0 -54
  61. data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -1
  62. data/lib/decidim/dev/test/rspec_support/helpers.rb +10 -17
  63. data/lib/decidim/dev/test/rspec_support/tom_select.rb +7 -4
  64. data/lib/decidim/dev/version.rb +1 -1
  65. data/lib/decidim/dev.rb +1 -33
  66. data/lib/erb_lint/linters/admin_page_title_linter.rb +46 -0
  67. data/lib/erb_lint/linters/partial_path_linter.rb +101 -0
  68. data/rubocop-decidim.yml +1 -0
  69. metadata +133 -131
  70. data/lib/decidim/dev/assets/8001x4000.png +0 -0
  71. data/lib/decidim/dev/assets/empty_file.png +0 -0
  72. data/lib/decidim/dev/assets/malformed_svg_unclosed_element.svg +0 -7
  73. data/lib/decidim/dev/assets/malicious_svg_animation.svg +0 -1
  74. data/lib/decidim/dev/assets/malicious_svg_animation_attribute_names.svg +0 -1
  75. data/lib/decidim/dev/assets/malicious_svg_animation_fill.svg +0 -1
  76. data/lib/decidim/dev/assets/malicious_svg_animation_style.svg +0 -1
  77. data/lib/decidim/dev/assets/malicious_svg_animation_values.svg +0 -1
  78. data/lib/decidim/dev/assets/malicious_svg_attributename_case.svg +0 -1
  79. data/lib/decidim/dev/assets/malicious_svg_backslash_reference.svg +0 -1
  80. data/lib/decidim/dev/assets/malicious_svg_css_backslash_url.svg +0 -1
  81. data/lib/decidim/dev/assets/malicious_svg_css_comment_in_url.svg +0 -1
  82. data/lib/decidim/dev/assets/malicious_svg_css_image_set.svg +0 -1
  83. data/lib/decidim/dev/assets/malicious_svg_css_image_set_nested_parentheses.svg +0 -1
  84. data/lib/decidim/dev/assets/malicious_svg_cursor.svg +0 -1
  85. data/lib/decidim/dev/assets/malicious_svg_cursor_attribute.svg +0 -1
  86. data/lib/decidim/dev/assets/malicious_svg_data_uri_declared_encoding.svg +0 -1
  87. data/lib/decidim/dev/assets/malicious_svg_data_uri_deep_nested.svg +0 -1
  88. data/lib/decidim/dev/assets/malicious_svg_data_uri_leading_space.svg +0 -1
  89. data/lib/decidim/dev/assets/malicious_svg_data_uri_nested.svg +0 -1
  90. data/lib/decidim/dev/assets/malicious_svg_data_uri_parameter.svg +0 -1
  91. data/lib/decidim/dev/assets/malicious_svg_entity.svg +0 -5
  92. data/lib/decidim/dev/assets/malicious_svg_entity_parameter.svg +0 -7
  93. data/lib/decidim/dev/assets/malicious_svg_external_animation.svg +0 -1
  94. data/lib/decidim/dev/assets/malicious_svg_external_animation_missing_target.svg +0 -1
  95. data/lib/decidim/dev/assets/malicious_svg_external_animation_target.svg +0 -1
  96. data/lib/decidim/dev/assets/malicious_svg_external_feimage.svg +0 -1
  97. data/lib/decidim/dev/assets/malicious_svg_external_image.svg +0 -1
  98. data/lib/decidim/dev/assets/malicious_svg_external_use.svg +0 -1
  99. data/lib/decidim/dev/assets/malicious_svg_fill_external_reference.svg +0 -1
  100. data/lib/decidim/dev/assets/malicious_svg_foreign_object.svg +0 -1
  101. data/lib/decidim/dev/assets/malicious_svg_handler.svg +0 -1
  102. data/lib/decidim/dev/assets/malicious_svg_marker_external_reference.svg +0 -1
  103. data/lib/decidim/dev/assets/malicious_svg_mask_attribute.svg +0 -1
  104. data/lib/decidim/dev/assets/malicious_svg_script.svg +0 -1
  105. data/lib/decidim/dev/assets/malicious_svg_style_comment_string.svg +0 -1
  106. data/lib/decidim/dev/assets/malicious_svg_style_import.svg +0 -1
  107. data/lib/decidim/dev/assets/malicious_svg_style_import_string.svg +0 -1
  108. data/lib/decidim/dev/assets/malicious_svg_style_url_escape.svg +0 -1
  109. data/lib/decidim/dev/assets/malicious_svg_style_url_string.svg +0 -1
  110. data/lib/decidim/dev/assets/malicious_svg_stylesheet_pi.svg +0 -1
  111. data/lib/decidim/dev/assets/malicious_svg_uri.svg +0 -1
  112. data/lib/decidim/dev/assets/spoofed_image.png +0 -0
  113. data/lib/decidim/dev/assets/spoofed_image_binary.png +0 -1
  114. data/lib/decidim/dev/assets/spoofed_image_html.png +0 -5
  115. data/lib/decidim/dev/assets/spoofed_svg_xml.svg +0 -2
  116. data/lib/decidim/dev/assets/test.avif +0 -0
  117. data/lib/decidim/dev/assets/test.gif +0 -0
  118. data/lib/decidim/dev/assets/test.heic +0 -0
  119. data/lib/decidim/dev/assets/test.svg +0 -1
  120. data/lib/decidim/dev/assets/test_animation.svg +0 -1
  121. data/lib/decidim/dev/assets/test_animation_link.svg +0 -7
  122. data/lib/decidim/dev/assets/test_animation_presentation_reference.svg +0 -8
  123. data/lib/decidim/dev/assets/test_complex.svg +0 -12
  124. data/lib/decidim/dev/assets/test_css_references.svg +0 -14
  125. data/lib/decidim/dev/assets/test_data_uri_declared_encoding.svg +0 -5
  126. data/lib/decidim/dev/assets/test_entity_in_comment.svg +0 -8
  127. data/lib/decidim/dev/assets/test_entity_in_processing_instruction.svg +0 -7
  128. data/lib/decidim/dev/assets/test_percent_encoded_fragment.svg +0 -7
  129. data/lib/decidim/dev/assets/test_percent_encoded_multibyte_reference.svg +0 -7
  130. data/lib/decidim/dev/assets/test_percent_encoded_multibyte_reference_mixed.svg +0 -8
  131. data/lib/decidim/dev/assets/test_presentation_attribute_references.svg +0 -13
  132. data/lib/decidim/dev/assets/test_references.svg +0 -12
  133. data/lib/decidim/dev/assets/test_style_text.svg +0 -9
  134. data/lib/decidim/dev/assets/video.mp4 +0 -0
  135. data/lib/decidim/dev/rubocop/cop/decidim/enforce_permission_to.rb +0 -459
  136. data/lib/decidim/dev/rubocop/cop/decidim/organization_scoped_finder.rb +0 -200
  137. /data/lib/decidim/dev/assets/{import_participatory_space_private_users.csv → import_members.csv} +0 -0
  138. /data/lib/decidim/dev/assets/{import_participatory_space_private_users_invalid_col_sep.csv → import_members_invalid_col_sep.csv} +0 -0
  139. /data/lib/decidim/dev/assets/{import_participatory_space_private_users_iso8859-1.csv → import_members_iso8859-1.csv} +0 -0
  140. /data/lib/decidim/dev/assets/{import_participatory_space_private_users_nok.csv → import_members_nok.csv} +0 -0
  141. /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: 233e63689f47b301ee8c1705b54514b214492cf773c809dbea59b3c3123007c3
4
- data.tar.gz: 62593ef44761497308726e12365b1860a5684e00421748d26ab04f4101df5e3a
3
+ metadata.gz: 9789d8422d4f2c6a4607074b9d86c516ef4e56540f3fb980922769212dfda5f7
4
+ data.tar.gz: 106c5e3ca7f77cda7bb17f3968ec62b4cc2e2b87b95e5f8629a3aa4c533405a9
5
5
  SHA512:
6
- metadata.gz: 29f076657738d241823247cc8cf53f161b1dc9eb363017525bc1f8ab67cc622cc546448b2d81ca624b782f16a179fba56ae98a87fe8c983cc438c729bbce6983
7
- data.tar.gz: 261ae6b7bbd101c3b23784fad0988a0c8ce389036cd90220680d167194bf5fb7310d8c689ecfb8a6a3391d4bb1e6bf91e610a332116a3ce23c16642d6dc0da3b
6
+ metadata.gz: ddd287450604407bf297fb5350167f1cba9b393ff232579f6d7c3c1d06109ce8d95102d51d4984b88c5c45b1bf891cd9662fbae654acade865086590ac6a6de5
7
+ data.tar.gz: 673c410f97e34122b08bf4b061715360693e0a4a0916517d1a4fc53deb2e0df8dc0e2d0b46c3c59ee39c6180fd3dc3457fafe22bc5f5c18f94e95701be65cc16
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Decidim::Dev
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
- ## Installation
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
- ```ruby
17
- gem 'decidim-dev'
18
- ```
19
-
20
- And then execute:
14
+ ## Installation
21
15
 
22
- ```bash
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
 
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Dev
5
5
  class CreateDummyResource < Decidim::Command
6
- include Decidim::MultipleAttachmentsMethods
6
+ include Decidim::GalleryMethods
7
7
 
8
8
  def initialize(form)
9
9
  @form = form
@@ -15,14 +15,14 @@ module Decidim
15
15
  def call
16
16
  return broadcast(:invalid) if @form.invalid?
17
17
 
18
- if process_attachments?
19
- build_attachments
20
- return broadcast(:invalid) if attachments_invalid?
18
+ if process_gallery?
19
+ build_gallery
20
+ return broadcast(:invalid) if gallery_invalid?
21
21
  end
22
22
 
23
23
  transaction do
24
24
  create_dummy_resource
25
- create_attachments if process_attachments?
25
+ create_gallery if process_gallery?
26
26
  end
27
27
 
28
28
  broadcast(:ok)
@@ -30,7 +30,7 @@ module Decidim
30
30
 
31
31
  private
32
32
 
33
- attr_reader :form, :dummy_resource, :attachments
33
+ attr_reader :form, :dummy_resource, :gallery
34
34
 
35
35
  def create_dummy_resource
36
36
  @dummy_resource = DummyResource.create!(
@@ -7,8 +7,6 @@ module Decidim
7
7
  include Decidim::TranslatableAttributes
8
8
 
9
9
  def show
10
- enforce_permission_to :read, :component
11
-
12
10
  @commentable = Dev::DummyResource.find(params[:id])
13
11
  end
14
12
  end
@@ -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
- component.can_participate_in_space?(user)
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)
@@ -4,6 +4,7 @@ module Decidim
4
4
  module Dev
5
5
  class NestedDummyResource < ApplicationRecord
6
6
  include Decidim::Resourceable
7
+
7
8
  belongs_to :dummy_resource
8
9
  end
9
10
  end
@@ -41,7 +41,7 @@ const htmlEncode = (text) => {
41
41
 
42
42
  document.addEventListener("turbo:load", () => {
43
43
  const $badge = $(`
44
- <div lang="en" class="decidim-accessibility-badge" tabindex="0" role="button" aria-label="Toggle accessibility report">
44
+ <div lang="en" class="decidim-accessibility-badge" tabindex="0" aria-label="Toggle accessibility report">
45
45
  <div class="decidim-accessibility-title">WAI WCAG</div>
46
46
  <div class="decidim-accessibility-info"></div>
47
47
  </div>
@@ -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
- - استخدام بيئة اختبار ل decidim.
50
+ - استخدام بيئة اختبار ل decidim.
52
51
  description: يحصل المشاركون على هذه الشارة عن طريق إنشاء اختبارات.
53
52
  description_another: قام هذا المشارك بإنشاء %{score} اختبار.
54
53
  description_own: لقد أنشأت %{score} اختبارات.
@@ -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
- - Използвайте тестова среда за decidim.
47
+ - Използвайте тестова среда за decidim.
49
48
  description: Участниците получават тази значка като създават тестове.
50
49
  description_another: Участниците създадоха %{score} теста.
51
50
  description_own: Вие създадохте %{score} теста.
@@ -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
- - Utilitza un entorn de prova per decidim.
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.
@@ -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
- - Utilitza un entorn de prova per decidim.
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.
@@ -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
- - Použijte testovací prostředí pro decidim.
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ů.
@@ -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
- - Verwenden Sie eine Testumgebung für Decidim.
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.
@@ -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
- - Χρησιμοποιήστε ένα περιβάλλον δοκιμής για το decidim.
49
+ - Χρησιμοποιήστε ένα περιβάλλον δοκιμής για το decidim.
51
50
  description: Οι συμμετέχοντες αποκτούν αυτό το έμβλημα δημιουργώντας δοκιμές.
52
51
  description_another: Αυτός ο συμμετέχων έχει δημιουργήσει %{score} δοκιμές.
53
52
  description_own: Έχετε δημιουργήσει %{score} δοκιμές.
@@ -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
- - Utilice un entorno de prueba para decidim.
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.
@@ -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
- - Utilice un entorno de prueba para decidim.
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.
@@ -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
- - Utilice un entorno de prueba para decidim.
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.
@@ -1,4 +1,3 @@
1
- ---
2
1
  eu:
3
2
  activemodel:
4
3
  attributes:
@@ -9,10 +8,10 @@ eu:
9
8
  created_at: Sortua
10
9
  decidim_scope_id: Eremua
11
10
  field: Nire datu-eremua
12
- start_date: Hasiera-data
11
+ start_date: Hasiera data
13
12
  title: Izenburua
14
13
  translatable_text: Itzul daitekeen testua
15
- updated_at: Eguneratze-data
14
+ updated_at: Eguneratuta
16
15
  decidim:
17
16
  components:
18
17
  dummy:
@@ -35,10 +34,10 @@ eu:
35
34
  test_options:
36
35
  bar: Bar
37
36
  baz: Baz
38
- foo: Foo
37
+ foo: foo
39
38
  step:
40
- likes_blocked: Atsegin dut blokeatuta
41
- likes_enabled: Atsegin dut gaituta
39
+ likes_blocked: Likeak blokeatuta
40
+ likes_enabled: Likeak gaituta
42
41
  readonly_step_attribute: Soilik irakurtzeko atributua
43
42
  test_options:
44
43
  bar: Bar
@@ -52,14 +51,14 @@ eu:
52
51
  badges:
53
52
  test:
54
53
  conditions:
55
- - Erabili proba-ingurune bat Decidim-erako.
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.'
59
58
  name: Probak
60
59
  next_level_in: Sortu %{score} proba gehiago hurrengo mailara iristeko!
61
60
  unearned_another: Parte-hartzaile honek oraindik ez du inkestarik sortu.
62
- unearned_own: Oraindik ez duzu probarik sortu.
61
+ unearned_own: Oraindik ez duzu probak sortu.
63
62
  resource_links:
64
63
  test_link:
65
64
  dummy_resource_dummy: ' Honekin lotutako proba'
@@ -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
- - Käytä testiympäristöä Decidimille.
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ä.
@@ -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
- - Käytä testiympäristöä Decidimille.
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ä.
@@ -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
- - Utilisez un environnement de test pour decidim.
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.
@@ -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
- - Utilisez un environnement de test pour decidim.
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.
@@ -1,4 +1,3 @@
1
- ---
2
1
  ga:
3
2
  activemodel:
4
3
  attributes:
@@ -1,10 +1,6 @@
1
- ---
2
1
  gl:
3
2
  activemodel:
4
3
  attributes:
5
- dummy:
6
- image: Imaxe
7
- dummy_attribute: Atributo de proba
8
4
  dummy_resource:
9
5
  created_at: Creado en
10
6
  decidim_scope_id: Ámbito
@@ -18,16 +14,8 @@ gl:
18
14
  dummy:
19
15
  settings:
20
16
  global:
21
- clear_all: Limpar todo
22
- guided: Campo guiado
23
- guided_help: Texto de axuda
24
- guided_readonly: Campo desactivado
25
- guided_rich: Campo enriquecido guiado
26
- guided_rich_help_html: Texto HTML de <strong>axuda</strong>
27
- guided_rich_readonly_html: Texto HTML de <strong>axuda</strong> para o campo desactivado
28
17
  readonly_attribute: Atributo de só lectura
29
18
  test: Unha proba
30
- test_add: Engadir proba
31
19
  test_choices:
32
20
  a: Opción A
33
21
  b: Opción B
@@ -37,8 +25,6 @@ gl:
37
25
  baz: Baz
38
26
  foo: Foo
39
27
  step:
40
- likes_blocked: Gústame bloqueados
41
- likes_enabled: Gústame activados
42
28
  readonly_step_attribute: Atributo de paso de só lectura
43
29
  test_options:
44
30
  bar: Bar
@@ -52,13 +38,12 @@ gl:
52
38
  badges:
53
39
  test:
54
40
  conditions:
55
- - Use un entorno de proba para decidir.
56
- description: Os participantes obtén esta insignia creando probas.
41
+ - Use un entorno de proba para decidir.
42
+ description: Os usuarios obtén esta insignia creando probas.
57
43
  description_another: Este usuario creou %{score} probas.
58
44
  description_own: Creaches %{score} probas.
59
45
  name: Probas
60
46
  next_level_in: Crea %{score} probas máis para chegar ao seguinte nivel!
61
- unearned_another: Esta persoa participante aínda non creou ningunha proba.
62
47
  unearned_own: Non creaches probas aínda.
63
48
  resource_links:
64
49
  test_link:
@@ -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
- - Használjon teszt környezetet a decidim számára.
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.
@@ -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
- - Gunakan lingkungan uji untuk decidim.
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.
@@ -1,5 +1,4 @@
1
- ---
2
- is:
1
+ is-IS:
3
2
  activemodel:
4
3
  attributes:
5
4
  dummy_resource:
@@ -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
- - Utilizzare un ambiente di prova per decidim.
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.
@@ -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
- - テスト環境を使用してdecidim.
54
+ - テスト環境を使用してdecidim.
56
55
  description: 参加者はテストを作成することによってこのバッジを受け取ります。
57
56
  description_another: この参加者は %{score} テストを作成しました。
58
57
  description_own: テストを %{score} 作成しました。
@@ -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
- - Naudokite testinę aplinką.
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.
@@ -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
- - Izmantot testa vidi decidim.
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.
@@ -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
- - Gebruik een testomgeving voor decidim.
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.
@@ -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
- - Bruk et testmiljø for decidim.
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.
@@ -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
- - Użyj środowiska testowego dla decidim.
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.
@@ -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
- - Use um ambiente de teste para decidim.
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.
@@ -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
- - Utilize um ambiente de teste para decidim.
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.
@@ -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
- - Utilizaţi un mediu de testare pentru decidim.
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.
@@ -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
- - Используйте тестовую среду для decidim.
31
+ - Используйте тестовую среду для decidim.
33
32
  description: Участники получают этот значок за написание тестов.
34
33
  description_another: Этот участник написал %{score} тестов.
35
34
  description_own: Вы написали %{score} тест.