decidim-sortitions 0.24.3 → 0.25.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/decidim/sortitions/sortition.rb +4 -9
  3. data/app/packs/entrypoints/decidim_sortitions.js +2 -0
  4. data/app/{assets → packs}/images/decidim/sortitions/icon.svg +0 -0
  5. data/app/{assets → packs}/stylesheets/decidim/sortitions/_sortitions.scss +0 -0
  6. data/app/views/decidim/sortitions/admin/sortitions/index.html.erb +2 -0
  7. data/app/views/decidim/sortitions/sortitions/_filters.html.erb +1 -1
  8. data/app/views/decidim/sortitions/sortitions/_linked_sortitions.html.erb +1 -1
  9. data/app/views/decidim/sortitions/sortitions/_sortition_author.html.erb +1 -1
  10. data/app/views/decidim/sortitions/sortitions/_sortition_cancel_author.html.erb +1 -1
  11. data/app/views/decidim/sortitions/sortitions/index.html.erb +0 -3
  12. data/config/assets.rb +8 -0
  13. data/config/locales/ar.yml +0 -7
  14. data/config/locales/ca.yml +2 -7
  15. data/config/locales/cs.yml +2 -7
  16. data/config/locales/de.yml +2 -7
  17. data/config/locales/el.yml +0 -7
  18. data/config/locales/en.yml +4 -7
  19. data/config/locales/es-MX.yml +2 -7
  20. data/config/locales/es-PY.yml +2 -7
  21. data/config/locales/es.yml +2 -7
  22. data/config/locales/eu.yml +0 -7
  23. data/config/locales/fi-plain.yml +2 -7
  24. data/config/locales/fi.yml +2 -7
  25. data/config/locales/fr-CA.yml +0 -7
  26. data/config/locales/fr-LU.yml +146 -0
  27. data/config/locales/fr.yml +0 -7
  28. data/config/locales/gl.yml +2 -7
  29. data/config/locales/hu.yml +0 -7
  30. data/config/locales/id-ID.yml +0 -7
  31. data/config/locales/is-IS.yml +0 -7
  32. data/config/locales/it.yml +2 -7
  33. data/config/locales/ja.yml +2 -7
  34. data/config/locales/lb-LU.yml +1 -0
  35. data/config/locales/lv.yml +0 -7
  36. data/config/locales/nl.yml +2 -7
  37. data/config/locales/no.yml +0 -7
  38. data/config/locales/pl.yml +0 -7
  39. data/config/locales/pt-BR.yml +4 -7
  40. data/config/locales/pt.yml +0 -7
  41. data/config/locales/ro-RO.yml +2 -7
  42. data/config/locales/ru.yml +0 -7
  43. data/config/locales/sk.yml +0 -7
  44. data/config/locales/sv.yml +2 -7
  45. data/config/locales/tr-TR.yml +0 -7
  46. data/config/locales/uk.yml +0 -7
  47. data/config/locales/zh-CN.yml +0 -7
  48. data/lib/decidim/sortitions/component.rb +3 -2
  49. data/lib/decidim/sortitions/version.rb +1 -1
  50. metadata +21 -19
  51. data/app/assets/javascripts/decidim/sortitions/admin/sortitions.js +0 -2
  52. data/config/locales/ja-JP.yml +0 -147
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c02abeb158a4d2d3527ad223672fbee6c471590446eaa75c8bd2d7c9063f6496
4
- data.tar.gz: 6ccab5156d48967cb2d345588818cd8379f2edc1f0d5f5ff9b591caaf981e42b
3
+ metadata.gz: ad119b8927ed13e90b61b4fdf5d1ba4daf8c18a14eb11cb3e02bb8f848d70d39
4
+ data.tar.gz: cffabd3e5462320c37edd840176347d4ad6f9e019554678fdb78817d955636b2
5
5
  SHA512:
6
- metadata.gz: b039bdf1bd8e90366f4e871a548d44352661b1364be0beee709499a95ab1e1826d48555fad777a5009e93d631a9c0e26ec9904ad64796b81b6501ac7ea81bfc9
7
- data.tar.gz: 664f7a4657c7ccbb7f1b1033f2ac09cc3232dc1831b2cbaa3ab37b3e8491363e798db9a6f6bbea339a4a5aae39f98588f3a9fd525a72b0a0db705136a4acf500
6
+ metadata.gz: c97c1959a7fe5e605492feecb1d7cb70d375790c234795503cbb63cd8dfa380df4bd90af64680fd21a9c6fb15fddf00579c7185a07e338457f847457bdcb2d89
7
+ data.tar.gz: b4678f8cf64d59558b2191e8644c24347d96e46b32a691c9f75860b8c5ba21556ecf3bac6aa6835d1bb0793960f29470674b02757ef39611210a2ed7fc5e3266
@@ -11,7 +11,7 @@ module Decidim
11
11
  include Decidim::HasReference
12
12
  include Decidim::Traceable
13
13
  include Decidim::Loggable
14
- include Decidim::Comments::Commentable
14
+ include Decidim::Comments::CommentableWithComponent
15
15
  include Decidim::Randomable
16
16
  include Decidim::TranslatableResource
17
17
 
@@ -58,11 +58,6 @@ module Decidim
58
58
  cancelled_on.present?
59
59
  end
60
60
 
61
- # Public: Overrides the `commentable?` Commentable concern method.
62
- def commentable?
63
- component.settings.comments_enabled?
64
- end
65
-
66
61
  # Public: Overrides the `accepts_new_comments?` Commentable concern method.
67
62
  def accepts_new_comments?
68
63
  commentable?
@@ -78,9 +73,9 @@ module Decidim
78
73
  true
79
74
  end
80
75
 
81
- # Public: Whether the object can have new comments or not.
82
- def user_allowed_to_comment?(user)
83
- can_participate_in_space?(user)
76
+ # Public: Overrides the `allow_resource_permissions?` Resourceable concern method.
77
+ def allow_resource_permissions?
78
+ true
84
79
  end
85
80
  end
86
81
  end
@@ -0,0 +1,2 @@
1
+ // Images
2
+ require.context("../images", true)
@@ -42,6 +42,8 @@
42
42
  <span class="action-space icon"></span>
43
43
  <% end %>
44
44
 
45
+ <%= resource_permissions_link(sortition) %>
46
+
45
47
  <% if allowed_to? :destroy, :sortition, sortition: sortition %>
46
48
  <%= icon_link_to "circle-x",
47
49
  confirm_destroy_sortition_path(sortition),
@@ -4,7 +4,7 @@
4
4
  <div class="filters__section">
5
5
  <div class="filters__search">
6
6
  <div class="input-group">
7
- <%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
7
+ <%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), "aria-label": t(".search"), data: { disable_dynamic_change: true } %>
8
8
  <div class="input-group-button">
9
9
  <button type="submit" class="button" aria-controls="sortitions">
10
10
  <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
@@ -11,7 +11,7 @@
11
11
  <% end %>
12
12
  <div class="author">
13
13
  <span class="author__avatar">
14
- <%= image_tag sortition.author.avatar_url %>
14
+ <%= image_tag present(sortition.author).avatar_url %>
15
15
  </span>
16
16
  <span class="author__name">
17
17
  <%= sortition.author.name %>
@@ -1,7 +1,7 @@
1
1
  <div class="author-data__main">
2
2
  <div class="author author--inline">
3
3
  <span class="author__avatar author__avatar--small">
4
- <%= image_tag sortition.author.avatar_url %>
4
+ <%= image_tag present(sortition.author).avatar_url %>
5
5
  </span>
6
6
  <span class="author__name">
7
7
  <% if sortition.author&.deleted? %>
@@ -1,7 +1,7 @@
1
1
  <div class="author-data__main">
2
2
  <div class="author author--inline">
3
3
  <span class="author__avatar author__avatar--small">
4
- <%= image_tag sortition.cancelled_by_user.avatar_url %>
4
+ <%= image_tag present(sortition.cancelled_by_user).avatar_url %>
5
5
  </span>
6
6
  <span class="author__name">
7
7
  <% if sortition.cancelled_by_user&.deleted? %>
@@ -16,6 +16,3 @@
16
16
  <%= render partial: "sortitions" %>
17
17
  </div>
18
18
  </div>
19
-
20
- <%= javascript_include_tag("decidim/filters") %>
21
- <%= javascript_include_tag "decidim/results_listing" %>
data/config/assets.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ base_path = File.expand_path("..", __dir__)
4
+
5
+ Decidim::Webpacker.register_path("#{base_path}/app/packs")
6
+ Decidim::Webpacker.register_entrypoints(
7
+ decidim_sortitions: "#{base_path}/app/packs/entrypoints/decidim_sortitions.js"
8
+ )
@@ -34,13 +34,6 @@ ar:
34
34
  email_outro: لقد تلقيت هذا الإشعار لأنك تتابع "%{participatory_space_title}". يمكنك إلغاء تتبعه من الرابط السابق.
35
35
  email_subject: تمت إضافة تصنيف جديد إلى %{participatory_space_title}
36
36
  notification_title: تمت إضافة التصنيف <a href="%{resource_path}">%{resource_title}</a> إلى %{participatory_space_title}
37
- pages:
38
- home:
39
- statistics:
40
- sortitions_count: Sortitions
41
- participatory_processes:
42
- statistics:
43
- sortitions_count: Sortitions
44
37
  sortitions:
45
38
  admin:
46
39
  actions:
@@ -31,13 +31,6 @@ ca:
31
31
  email_outro: Has rebut aquesta notificació perquè estàs seguint "%{participatory_space_title}". Pots deixar de seguir-lo des de l'enllaç anterior.
32
32
  email_subject: Nou sorteig afegit a %{participatory_space_title}
33
33
  notification_title: El sorteig <a href="%{resource_path}">%{resource_title}</a> s'ha afegit a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sortejos
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sortejos
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ ca:
151
144
  count:
152
145
  one: 1 sorteig
153
146
  other: "%{count} classificacions"
147
+ statistics:
148
+ sortitions_count: Sortejos
@@ -33,13 +33,6 @@ cs:
33
33
  email_outro: Toto oznámení jste obdrželi, protože sledujete "%{participatory_space_title}". Můžete sledování odhlásit na předchozím odkazu.
34
34
  email_subject: Nové losování bylo přidáno k %{participatory_space_title}
35
35
  notification_title: Losování <a href="%{resource_path}">%{resource_title}</a> bylo přidáno k %{participatory_space_title}
36
- pages:
37
- home:
38
- statistics:
39
- sortitions_count: Losování
40
- participatory_processes:
41
- statistics:
42
- sortitions_count: Losování
43
36
  sortitions:
44
37
  admin:
45
38
  actions:
@@ -163,3 +156,5 @@ cs:
163
156
  few: "%{count} sortitions"
164
157
  many: "%{count} sortitions"
165
158
  other: "%{count} losování"
159
+ statistics:
160
+ sortitions_count: Losování
@@ -31,13 +31,6 @@ de:
31
31
  email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie "%{participatory_space_title}" folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
32
32
  email_subject: Neue Sortierung wurde zu %{participatory_space_title}hinzugefügt
33
33
  notification_title: Die Auslosung <a href="%{resource_path}">%{resource_title}</a> wurde zu %{participatory_space_title} hinzugefügt
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sortierungen
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sortierungen
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ de:
151
144
  count:
152
145
  one: 1 Sortierung
153
146
  other: "%{count} Sortierungen"
147
+ statistics:
148
+ sortitions_count: Sortierungen
@@ -30,13 +30,6 @@ el:
30
30
  email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής «%{participatory_space_title}». Μπορείτε να σταματήσετε να τον ακολουθείτε από τον προηγούμενο σύνδεσμο.
31
31
  email_subject: Προστέθηκε νέα κλήρωση στον χώρο συμμετοχής %{participatory_space_title}
32
32
  notification_title: Η κλήρωση <a href="%{resource_path}">%{resource_title}</a> προστέθηκε στον χώρο συμμετοχής %{participatory_space_title}
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: Κληρώσεις
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: Κληρώσεις
40
33
  sortitions:
41
34
  admin:
42
35
  actions:
@@ -20,6 +20,8 @@ en:
20
20
  decidim:
21
21
  components:
22
22
  sortitions:
23
+ actions:
24
+ comment: Comment
23
25
  name: Sortitions
24
26
  settings:
25
27
  global:
@@ -32,13 +34,6 @@ en:
32
34
  email_outro: You have received this notification because you are following "%{participatory_space_title}". You can unfollow it from the previous link.
33
35
  email_subject: New sortition added to %{participatory_space_title}
34
36
  notification_title: The sortition <a href="%{resource_path}">%{resource_title}</a> has been added to %{participatory_space_title}
35
- pages:
36
- home:
37
- statistics:
38
- sortitions_count: Sortitions
39
- participatory_processes:
40
- statistics:
41
- sortitions_count: Sortitions
42
37
  sortitions:
43
38
  admin:
44
39
  actions:
@@ -152,3 +147,5 @@ en:
152
147
  count:
153
148
  one: 1 sortition
154
149
  other: "%{count} sortitions"
150
+ statistics:
151
+ sortitions_count: Sortitions
@@ -31,13 +31,6 @@ es-MX:
31
31
  email_outro: Recibiste esta notificación porque estás siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
32
32
  email_subject: Nuevo sorteo añadida a %{participatory_space_title}
33
33
  notification_title: El sorteo <a href="%{resource_path}">%{resource_title}</a> se ha agregado a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sorteos
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sorteos
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ es-MX:
151
144
  count:
152
145
  one: 1 sorteo
153
146
  other: "%{count} clasificaciones"
147
+ statistics:
148
+ sortitions_count: Sorteos
@@ -31,13 +31,6 @@ es-PY:
31
31
  email_outro: Recibiste esta notificación porque estás siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
32
32
  email_subject: Nuevo sorteo añadida a %{participatory_space_title}
33
33
  notification_title: El sorteo <a href="%{resource_path}">%{resource_title}</a> se ha agregado a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sorteos
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sorteos
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ es-PY:
151
144
  count:
152
145
  one: 1 sorteo
153
146
  other: "%{count} clasificaciones"
147
+ statistics:
148
+ sortitions_count: Sorteos
@@ -31,13 +31,6 @@ es:
31
31
  email_outro: Recibiste esta notificación porque estás siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
32
32
  email_subject: Nuevo sorteo añadida a %{participatory_space_title}
33
33
  notification_title: El sorteo <a href="%{resource_path}">%{resource_title}</a> se ha agregado a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sorteos
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sorteos
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ es:
151
144
  count:
152
145
  one: 1 sorteo
153
146
  other: "%{count} clasificaciones"
147
+ statistics:
148
+ sortitions_count: Sorteos
@@ -30,13 +30,6 @@ eu:
30
30
  email_outro: Jakinarazpena jaso duzu "%{participatory_space_title}" jarraitzen ari zarenagatik. Aurreko esteka estekan jarrai dezakezu.
31
31
  email_subject: Sortze berria %{participatory_space_title}-ra gehitu da
32
32
  notification_title: <a href="%{resource_path}">%{resource_title}</a> kokalekua %{participatory_space_title} gehitu da
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: Sortitions
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: Sortitions
40
33
  sortitions:
41
34
  admin:
42
35
  actions:
@@ -31,13 +31,6 @@ fi-pl:
31
31
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta "%{participatory_space_title}". Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
32
32
  email_subject: Uusi satunnaistaminen lisättiin kohteeseen %{participatory_space_title}
33
33
  notification_title: Satunnaistaminen <a href="%{resource_path}">%{resource_title}</a> on lisätty kohteeseen %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Satunnaistamiset
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Satunnaistamiset
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ fi-pl:
151
144
  count:
152
145
  one: 1 satunnaisvalinta
153
146
  other: "%{count} satunnaisvalintaa"
147
+ statistics:
148
+ sortitions_count: Satunnaistamista
@@ -31,13 +31,6 @@ fi:
31
31
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta "%{participatory_space_title}". Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
32
32
  email_subject: Uusi satunnaistaminen lisättiin kohteeseen %{participatory_space_title}
33
33
  notification_title: Satunnaistaminen <a href="%{resource_path}">%{resource_title}</a> on lisätty kohteeseen %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Satunnaistamiset
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Satunnaistamiset
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ fi:
151
144
  count:
152
145
  one: 1 satunnaisvalinta
153
146
  other: "%{count} satunnaisvalintaa"
147
+ statistics:
148
+ sortitions_count: Satunnaistamista
@@ -31,13 +31,6 @@ fr-CA:
31
31
  email_outro: Vous avez reçu cette notification car vous suivez "%{participatory_space_title}". Vous pouvez à tout moment ne plus suivre cet espace participatif en cliquant sur le lien précédent.
32
32
  email_subject: Un nouveau tirage au sort vient d'être ajouté à %{participatory_space_title}
33
33
  notification_title: Le tirage au sort <a href="%{resource_path}">%{resource_title}</a> a été ajouté à %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Tirages au sort
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Tirages au sort
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -0,0 +1,146 @@
1
+ fr-LU:
2
+ activemodel:
3
+ attributes:
4
+ sortition:
5
+ additional_info: Information sur le tirage au sort
6
+ decidim_category_id: Catégories des propositions sur lesquelles vous souhaitez appliquer le tirage au sort
7
+ decidim_proposals_component_id: Ensemble de propositions
8
+ dice: Résultat de votre tirage au dé. Tirez au sort un nombre de 1 à 6, soit à l'aide d'un dé à 6 faces soit par tout autre moyen, et entrez ici le nombre obtenu devant témoin(s). Cette procédure contribue à garantir la sincérité et le caractère aléatoire du résultat.
9
+ target_items: Nombre de propositions à sélectionner (indique le nombre de propositions que vous voulez tirer au sort parmi celles du groupe de propositions que vous avez choisi précédemment)
10
+ title: Titre
11
+ witnesses: Témoins
12
+ models:
13
+ decidim/sortitions/create_sortition_event: Tirage au sort
14
+ activerecord:
15
+ models:
16
+ decidim/sortitions/sortition:
17
+ one: Tirage au sort
18
+ other: Tirages au sort
19
+ decidim:
20
+ components:
21
+ sortitions:
22
+ name: Tirages au sort
23
+ settings:
24
+ global:
25
+ comments_enabled: Commentaires activés
26
+ comments_max_length: Longueur max des commentaires (laisser 0 pour la valeur par défaut)
27
+ events:
28
+ sortitions:
29
+ sortition_created:
30
+ email_intro: Le tirage au sort "%{resource_title}" a été ajouté à "%{participatory_space_title}" que vous suivez.
31
+ email_outro: Vous avez reçu cette notification car vous suivez "%{participatory_space_title}". Vous pouvez à tout moment ne plus suivre cet espace participatif en cliquant sur le lien précédent.
32
+ email_subject: Un nouveau tirage au sort vient d'être ajouté à %{participatory_space_title}
33
+ notification_title: Le tirage au sort <a href="%{resource_path}">%{resource_title}</a> a été ajouté à %{participatory_space_title}
34
+ sortitions:
35
+ admin:
36
+ actions:
37
+ destroy: Annuler le tirage au sort
38
+ edit: Éditer
39
+ new: Nouveau tirage au sort
40
+ show: Détails du tirage au sort
41
+ models:
42
+ sortition:
43
+ fields:
44
+ category: Catégorie
45
+ created_at: Date de création
46
+ decidim_proposals_component: Module de propositions
47
+ dice: Dé
48
+ reference: Référence
49
+ request_timestamp: Date et heure
50
+ seed: Valeur aléatoire
51
+ target_items: Éléments à sélectionner
52
+ title: Titre
53
+ name:
54
+ one: Tirage au sort
55
+ other: Tirages au sort
56
+ sortitions:
57
+ confirm_destroy:
58
+ confirm_destroy: Êtes-vous sûr de vouloir annuler ce tirage au sort ?
59
+ destroy: Annuler le tirage au sort
60
+ title: Annulation du tirage au sort
61
+ create:
62
+ error: Une erreur s'est produite lors de la création d'un nouveau tirage au sort.
63
+ success: Le tirage au sort a été créé avec succès
64
+ destroy:
65
+ error: Impossible d'annuler le tirage au sort.
66
+ success: Le tirage au sort a été annulé avec succès
67
+ edit:
68
+ title: Mettre à jour les informations sur le tirage au sort
69
+ update: Mettre à jour
70
+ form:
71
+ all_categories: Toutes les catégories
72
+ select_proposal_component: Sélectionnez un ensemble de propositions
73
+ title: Nouveau tirage au sort de propositions
74
+ index:
75
+ title: Tirages au sort
76
+ new:
77
+ confirm: 'En appuyant sur le bouton suivant, Decidim enregistrera la date et l''heure à la seconde près et, en association avec le résultat du tirage de dé, générera un choix aléatoire. Cette action est irréversible : une fois que vous aurez cliqué sur le bouton, le résultat du tirage ainsi que les données saisies dans le formulaire seront publiés et ne pourront pas être modifiés. Veillez donc bien à vérifier les informations renseignées en amont'
78
+ create: Créer
79
+ title: Nouveau tirage au sort
80
+ show:
81
+ selected_proposals: Propositions sélectionnées pour le tirage au sort
82
+ update:
83
+ error: Une erreur est survenue lors de la mise à jour du tirage au sort.
84
+ success: Le tirage au sort a bien été mis à jour
85
+ admin_log:
86
+ sortition:
87
+ create: "%{user_name} a créé le tirage au sort %{resource_name} dans %{space_name}"
88
+ delete: "%{user_name} a annulé le tirage au sort %{resource_name} dans %{space_name}"
89
+ update: "%{user_name} a mis à jour le tirage au sort %{resource_name} dans %{space_name}"
90
+ sortitions:
91
+ count:
92
+ proposals_count:
93
+ one: 1 proposition
94
+ other: "%{count} propositions"
95
+ filters:
96
+ active: Actif
97
+ all: Tout
98
+ cancelled: Annulé
99
+ category: Catégorie
100
+ category_prompt: Sélectionner une catégorie
101
+ search: Rechercher
102
+ state: État
103
+ filters_small_view:
104
+ close_modal: Fermer la fenêtre de dialogue
105
+ filter: Filtrer
106
+ filter_by: Filtrer par
107
+ unfold: Dérouler
108
+ linked_sortitions:
109
+ selected_proposals: Propositions sélectionnées
110
+ orders:
111
+ label: 'Trier les tirages au sort par :'
112
+ random: Aléatoire
113
+ recent: Récent
114
+ results_count:
115
+ count:
116
+ one: proposition sélectionnée
117
+ other: propositions sélectionnées
118
+ show:
119
+ algorithm: Code de l'algorithme de tirage au sort
120
+ any_category: toutes les catégories
121
+ back: Retour à la liste
122
+ cancelled: Tirage au sort annulé
123
+ candidate_proposal_ids: Ordre des propositions du tirage au sort et identifiants
124
+ candidate_proposals_info: 'Le tirage au sort a été effectué parmi les propositions suivantes (%{category_label}), avec les identifiants suivants (en gras les propositions sélectionnées) '
125
+ category: de la catégorie %{category}
126
+ dice_result: "(1) Résultat du tirage de dé"
127
+ introduction: 'Cette page contient le résultat du tirage au sort %{reference}. Avec le tirage au sort, %{target_items} éléments ont été sélectionnés aléatoirement et avec une distribution de probabilité égale à partir de l''ensemble des propositions affichées ci-dessous. En plus du résultat, cette page fournit toutes les informations nécessaires pour maximiser les garanties et permettre de reproduire le résultat. Le tirage au sort résulte d''un double hasard fourni par le lancer d''un dé (vérifié par des témoins) et l''heure précise du tirage au sort, qui fournit l''entrée pour un algorithme qui génère une sélection aléatoire. La variable temporelle pour le tirage est si précise (de l''ordre de la seconde) qu''il est impossible de la contrôler par des humains fournissant ainsi une double entrée "infalsifiable" pour garantir un résultat juste. '
128
+ mathematical_result: Résultat (1) x (2)
129
+ proposals_selected_by_sortition: Propositions sélectionnées par tirage au sort
130
+ sortition_reproducibility_details: Détails de reproductibilité du tirage au sort
131
+ time_seed: "(2) Date et Heure"
132
+ witnesses: Témoins
133
+ sortition:
134
+ random_seed: Valeur aléatoire
135
+ selected_proposals:
136
+ one: proposition sélectionnée
137
+ other: '%{count} propositions sélectionnées'
138
+ view: Voir
139
+ sortition_author:
140
+ deleted: Utilisateur supprimé
141
+ sortition_cancel_author:
142
+ deleted: Utilisateur supprimé
143
+ sortitions_count:
144
+ count:
145
+ one: 1 tirage au sort
146
+ other: "%{count} tirages au sort"
@@ -31,13 +31,6 @@ fr:
31
31
  email_outro: Vous avez reçu cette notification car vous suivez "%{participatory_space_title}". Vous pouvez à tout moment ne plus suivre cet espace participatif en cliquant sur le lien précédent.
32
32
  email_subject: Un nouveau tirage au sort vient d'être ajouté à %{participatory_space_title}
33
33
  notification_title: Le tirage au sort <a href="%{resource_path}">%{resource_title}</a> a été ajouté à %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Tirages au sort
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Tirages au sort
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -31,13 +31,6 @@ gl:
31
31
  email_outro: Recibiches esta notificación porque estás seguindo "%{participatory_space_title}". Podes deixar de seguir desde a ligazón anterior.
32
32
  email_subject: Nova xeración engadida a %{participatory_space_title}
33
33
  notification_title: A clasificación <a href="%{resource_path}">%{resource_title}</a> engadiuse a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Edicións
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Edicións
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ gl:
151
144
  count:
152
145
  one: 1 sortition
153
146
  other: "%{count} sortións"
147
+ statistics:
148
+ sortitions_count: Sorteos
@@ -30,13 +30,6 @@ hu:
30
30
  email_outro: 'Ezt az értesítést azért kaptad, mert ezt követed: "%{participatory_space_title}". Leiratkozás az előző link segítségével.'
31
31
  email_subject: 'Új sorsolás hozzáadva ehhez: %{participatory_space_title}'
32
32
  notification_title: 'A(z) <a href="%{resource_path}">%{resource_title}</a> sorsolás hozzáadva ehhez: %{participatory_space_title}'
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: Sorsolások
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: Sorsolások
40
33
  sortitions:
41
34
  admin:
42
35
  actions:
@@ -29,13 +29,6 @@ id:
29
29
  email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti "%{participatory_space_title}". Anda dapat berhenti mengikutinya dari tautan sebelumnya.
30
30
  email_subject: Sortasi baru ditambahkan ke %{participatory_space_title}
31
31
  notification_title: Sortasi <a href="%{resource_path}">%{resource_title}</a> telah ditambahkan ke %{participatory_space_title}
32
- pages:
33
- home:
34
- statistics:
35
- sortitions_count: Sortasi
36
- participatory_processes:
37
- statistics:
38
- sortitions_count: Sortasi
39
32
  sortitions:
40
33
  admin:
41
34
  actions:
@@ -22,13 +22,6 @@ is-IS:
22
22
  email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með "%{participatory_space_title}". Þú getur sleppt því frá fyrri tengilinn.
23
23
  email_subject: Ný flokkun bætt við %{participatory_space_title}
24
24
  notification_title: Flokkunin <a href="%{resource_path}">%{resource_title}</a> hefur verið bætt við %{participatory_space_title}
25
- pages:
26
- home:
27
- statistics:
28
- sortitions_count: Flokkanir
29
- participatory_processes:
30
- statistics:
31
- sortitions_count: Flokkanir
32
25
  sortitions:
33
26
  admin:
34
27
  actions:
@@ -31,13 +31,6 @@ it:
31
31
  email_outro: Hai ricevuto questa notifica perché stai seguendo "%{participatory_space_title}". Puoi smettere di seguirlo dal link precedente.
32
32
  email_subject: Nuova sortizione aggiunta a %{participatory_space_title}
33
33
  notification_title: Il sorteggio <a href="%{resource_path}">%{resource_title}</a> è stato aggiunto a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sorteggi
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sorteggi
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ it:
151
144
  count:
152
145
  one: 1 sorteggio
153
146
  other: "%{count} sorteggi"
147
+ statistics:
148
+ sortitions_count: Sorteggi
@@ -30,13 +30,6 @@ ja:
30
30
  email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
31
31
  email_subject: '%{participatory_space_title} に新しいソートが追加されました'
32
32
  notification_title: ソート <a href="%{resource_path}">%{resource_title}</a> が %{participatory_space_title} に追加されました
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: 並べ替え
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: 並べ替え
40
33
  sortitions:
41
34
  admin:
42
35
  actions:
@@ -145,3 +138,5 @@ ja:
145
138
  sortitions_count:
146
139
  count:
147
140
  other: "%{count} ソート数"
141
+ statistics:
142
+ sortitions_count: 並べ替え
@@ -0,0 +1 @@
1
+ lb:
@@ -31,13 +31,6 @@ lv:
31
31
  email_outro: Jūs saņēmāt šo paziņojumu, jo sekojat "%{participatory_space_title}". Jūs varat atsekot tai no iepriekšējās saites.
32
32
  email_subject: Jauna izloze pievienota telpai %{participatory_space_title}
33
33
  notification_title: Izloze <a href="%{resource_path}">%{resource_title}</a> ir pievienota telpai%{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Izlozes
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Izlozes
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -31,13 +31,6 @@ nl:
31
31
  email_outro: Je hebt deze melding ontvangen omdat je "%{participatory_space_title}" volgt. Ontvolgen kan door te klikken op de voorgaande link.
32
32
  email_subject: Nieuwe loting toegevoegd aan %{participatory_space_title}
33
33
  notification_title: De loting <a href="%{resource_path}">%{resource_title}</a> is toegevoegd aan %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Loting
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Loting
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ nl:
151
144
  count:
152
145
  one: 1 loting
153
146
  other: "%{count} lotingen"
147
+ statistics:
148
+ sortitions_count: Lotingen
@@ -30,13 +30,6 @@
30
30
  email_outro: Du har mottatt denne varslingen fordi du følger "%{participatory_space_title}". Du kan slutte å følge den fra den forrige lenken.
31
31
  email_subject: Ny sortering lagt til %{participatory_space_title}
32
32
  notification_title: Sorteringen <a href="%{resource_path}">%{resource_title}</a> har blitt lagt til %{participatory_space_title}
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: Sorteringer
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: Sorteringer
40
33
  sortitions:
41
34
  admin:
42
35
  actions:
@@ -33,13 +33,6 @@ pl:
33
33
  email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz "%{participatory_space_title}". Możesz przestać ją obserwować po kliknięciu w poprzedni link.
34
34
  email_subject: Dodano nowy wybór losowy do %{participatory_space_title}
35
35
  notification_title: Wybór losowy <a href="%{resource_path}">%{resource_title}</a> został dodany do %{participatory_space_title}
36
- pages:
37
- home:
38
- statistics:
39
- sortitions_count: Wybory losowe
40
- participatory_processes:
41
- statistics:
42
- sortitions_count: Wybory losowe
43
36
  sortitions:
44
37
  admin:
45
38
  actions:
@@ -23,6 +23,7 @@ pt:
23
23
  settings:
24
24
  global:
25
25
  comments_enabled: Comentários ativados
26
+ comments_max_length: Tamanho máximo de comentários (deixe 0 para o valor padrão)
26
27
  events:
27
28
  sortitions:
28
29
  sortition_created:
@@ -30,13 +31,6 @@ pt:
30
31
  email_outro: Você recebeu esta notificação porque está seguindo "%{participatory_space_title}". Você pode deixar de segui-lo no link anterior.
31
32
  email_subject: Nova classificação adicionada a %{participatory_space_title}
32
33
  notification_title: A classificação <a href="%{resource_path}">%{resource_title}</a> foi adicionada a %{participatory_space_title}
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: Sorteios
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: Sorteios
40
34
  sortitions:
41
35
  admin:
42
36
  actions:
@@ -124,6 +118,7 @@ pt:
124
118
  show:
125
119
  algorithm: Código de Algoritmo da Classificação
126
120
  any_category: de todas as categorias
121
+ back: Voltar para a lista
127
122
  cancelled: Sortição cancelada
128
123
  candidate_proposal_ids: Ordem de propostas de classificação e IDs
129
124
  candidate_proposals_info: 'A ordenação foi realizada entre as seguintes propostas (%{category_label}), com os seguintes IDs (em negrito as propostas selecionadas) '
@@ -149,3 +144,5 @@ pt:
149
144
  count:
150
145
  one: 1 ordenação
151
146
  other: "%{count} ordenações"
147
+ statistics:
148
+ sortitions_count: Sorteios
@@ -31,13 +31,6 @@ pt:
31
31
  email_outro: Recebeu esta notificação porque segue "%{participatory_space_title}". Pode deixar de segui-lo a partir da hiperligação anterior.
32
32
  email_subject: Novo sorteio adicionado a %{participatory_space_title}
33
33
  notification_title: A classificação <a href="%{resource_path}">%{resource_title}</a> foi adicionada a %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sorteios
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sorteios
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -32,13 +32,6 @@ ro:
32
32
  email_outro: Ați primit această notificare deoarece urmăriți „%{participatory_space_title}”. O puteți anula de la link-ul anterior.
33
33
  email_subject: Sortare nouă adăugată la %{participatory_space_title}
34
34
  notification_title: Sortarea <a href="%{resource_path}">%{resource_title}</a> a fost adăugată la %{participatory_space_title}
35
- pages:
36
- home:
37
- statistics:
38
- sortitions_count: Sortări
39
- participatory_processes:
40
- statistics:
41
- sortitions_count: Sortări
42
35
  sortitions:
43
36
  admin:
44
37
  actions:
@@ -157,3 +150,5 @@ ro:
157
150
  one: O sortare
158
151
  few: "%{count} sortări"
159
152
  other: "%{count} sortări"
153
+ statistics:
154
+ sortitions_count: Trageri la sorți
@@ -32,13 +32,6 @@ ru:
32
32
  email_outro: Вы получили это уведомление, потому что вы следите за «%{participatory_space_title}». Вы можете перестать за ним следить, перейдя по приведенной выше ссылке.
33
33
  email_subject: В %{participatory_space_title} добавлена новая жеребьевка
34
34
  notification_title: В %{participatory_space_title} была добавлена жеребьевка <a href="%{resource_path}">%{resource_title}</a>
35
- pages:
36
- home:
37
- statistics:
38
- sortitions_count: Жеребьевки
39
- participatory_processes:
40
- statistics:
41
- sortitions_count: Жеребьевки
42
35
  sortitions:
43
36
  admin:
44
37
  actions:
@@ -32,13 +32,6 @@ sk:
32
32
  email_outro: Toto oznámenie ste dostali, pretože sledujete "%{participatory_space_title}". Môžete ho odhlásiť od predchádzajúceho odkazu.
33
33
  email_subject: Nová voľba losovaním bola pridaná ku %{participatory_space_title}
34
34
  notification_title: Vvoľba losovaním <a href="%{resource_path}">%{resource_title} </a> bola pridaná ku %{participatory_space_title}
35
- pages:
36
- home:
37
- statistics:
38
- sortitions_count: Voľby losovaním
39
- participatory_processes:
40
- statistics:
41
- sortitions_count: Voľby losovaním
42
35
  sortitions:
43
36
  admin:
44
37
  actions:
@@ -31,13 +31,6 @@ sv:
31
31
  email_outro: Du har fått det här meddelandet eftersom du följer "%{participatory_space_title}". Du kan sluta att följa det via föregående länk.
32
32
  email_subject: Ny tilldelning har lagts till i %{participatory_space_title}
33
33
  notification_title: Tilldelningen <a href="%{resource_path}">%{resource_title}</a> har lagts till i %{participatory_space_title}
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Tilldelningar
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Tilldelningar
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -151,3 +144,5 @@ sv:
151
144
  count:
152
145
  one: 1 tilldelning
153
146
  other: "%{count} tilldelningar"
147
+ statistics:
148
+ sortitions_count: Lottdragningar
@@ -31,13 +31,6 @@ tr:
31
31
  email_outro: Bu bildirimi, "%{participatory_space_title}" adlı kişiyi takip ettiğiniz için aldınız. Önceki bağlantıdan takibini bırakabilirsiniz.
32
32
  email_subject: '%{participatory_space_title} alanına yeni sıralama eklendi'
33
33
  notification_title: <a href="%{resource_path}">%{resource_title} </a> sıralaması %{participatory_space_title} alanına eklendi
34
- pages:
35
- home:
36
- statistics:
37
- sortitions_count: Sıralama
38
- participatory_processes:
39
- statistics:
40
- sortitions_count: Sıralama
41
34
  sortitions:
42
35
  admin:
43
36
  actions:
@@ -32,13 +32,6 @@ uk:
32
32
  email_outro: Ви отримали це сповіщення, тому що ви стежите за "%{participatory_space_title}". Ви можете припинити стежити за ним, перейшовши за наведеним вище посиланням.
33
33
  email_subject: До %{participatory_space_title} додано нове жеребкування
34
34
  notification_title: До %{participatory_space_title} була додано жеребкування <a href="%{resource_path}">%{resource_title}</a>
35
- pages:
36
- home:
37
- statistics:
38
- sortitions_count: Жеребкування
39
- participatory_processes:
40
- statistics:
41
- sortitions_count: Жеребкування
42
35
  sortitions:
43
36
  admin:
44
37
  actions:
@@ -30,13 +30,6 @@ zh-CN:
30
30
  email_outro: 您收到此通知是因为您正在关注 "%{participatory_space_title}"。您可以从上一个链接取消关注它。
31
31
  email_subject: 新的排序添加到 %{participatory_space_title}
32
32
  notification_title: 吸附 <a href="%{resource_path}">%{resource_title}</a> 已被添加到 %{participatory_space_title}
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: 联谊会
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: 联谊会
40
33
  sortitions:
41
34
  admin:
42
35
  actions:
@@ -3,7 +3,7 @@
3
3
  Decidim.register_component(:sortitions) do |component|
4
4
  component.engine = Decidim::Sortitions::Engine
5
5
  component.admin_engine = Decidim::Sortitions::AdminEngine
6
- component.icon = "decidim/sortitions/icon.svg"
6
+ component.icon = "media/images/decidim_sortitions.svg"
7
7
  # component.stylesheet = "decidim/sortitions/sortitions"
8
8
  component.permissions_class_name = "Decidim::Sortitions::Permissions"
9
9
  component.query_type = "Decidim::Sortitions::SortitionsType"
@@ -13,7 +13,7 @@ Decidim.register_component(:sortitions) do |component|
13
13
  end
14
14
 
15
15
  # These actions permissions can be configured in the admin panel
16
- component.actions = %w()
16
+ component.actions = %w(comment)
17
17
 
18
18
  component.settings(:global) do |settings|
19
19
  settings.attribute :comments_enabled, type: :boolean, default: true
@@ -25,6 +25,7 @@ Decidim.register_component(:sortitions) do |component|
25
25
  resource.model_class_name = "Decidim::Sortitions::Sortition"
26
26
  resource.template = "decidim/sortitions/sortitions/linked_sortitions"
27
27
  resource.card = "decidim/sortitions/sortition"
28
+ resource.actions = %w(comment)
28
29
  end
29
30
 
30
31
  component.register_stat :sortitions_count, primary: true, priority: Decidim::StatsRegistry::HIGH_PRIORITY do |components, start_at, end_at|
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Sortitions
5
5
  def self.version
6
- "0.24.3"
6
+ "0.25.0.rc1"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-sortitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.3
4
+ version: 0.25.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-01 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.24.3
19
+ version: 0.25.0.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.24.3
26
+ version: 0.25.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.24.3
33
+ version: 0.25.0.rc1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.24.3
40
+ version: 0.25.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.24.3
47
+ version: 0.25.0.rc1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.24.3
54
+ version: 0.25.0.rc1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-proposals
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.24.3
61
+ version: 0.25.0.rc1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.24.3
68
+ version: 0.25.0.rc1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-dev
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.24.3
75
+ version: 0.25.0.rc1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.24.3
82
+ version: 0.25.0.rc1
83
83
  description: This module makes possible to select amont a set of proposal by sortition
84
84
  email:
85
85
  - jsperezg@gmail.com
@@ -89,9 +89,6 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - README.md
91
91
  - Rakefile
92
- - app/assets/images/decidim/sortitions/icon.svg
93
- - app/assets/javascripts/decidim/sortitions/admin/sortitions.js
94
- - app/assets/stylesheets/decidim/sortitions/_sortitions.scss
95
92
  - app/cells/decidim/sortitions/sortition_cell.rb
96
93
  - app/cells/decidim/sortitions/sortition_m/data.erb
97
94
  - app/cells/decidim/sortitions/sortition_m/footer.erb
@@ -113,6 +110,9 @@ files:
113
110
  - app/helpers/decidim/sortitions/sortitions_helper.rb
114
111
  - app/models/decidim/sortitions/application_record.rb
115
112
  - app/models/decidim/sortitions/sortition.rb
113
+ - app/packs/entrypoints/decidim_sortitions.js
114
+ - app/packs/images/decidim/sortitions/icon.svg
115
+ - app/packs/stylesheets/decidim/sortitions/_sortitions.scss
116
116
  - app/permissions/decidim/sortitions/admin/permissions.rb
117
117
  - app/permissions/decidim/sortitions/permissions.rb
118
118
  - app/presenters/decidim/sortitions/admin_log/sortition_presenter.rb
@@ -144,6 +144,7 @@ files:
144
144
  - app/views/decidim/sortitions/sortitions/index.html.erb
145
145
  - app/views/decidim/sortitions/sortitions/index.js.erb
146
146
  - app/views/decidim/sortitions/sortitions/show.html.erb
147
+ - config/assets.rb
147
148
  - config/locales/am-ET.yml
148
149
  - config/locales/ar-SA.yml
149
150
  - config/locales/ar.yml
@@ -170,6 +171,7 @@ files:
170
171
  - config/locales/fi-plain.yml
171
172
  - config/locales/fi.yml
172
173
  - config/locales/fr-CA.yml
174
+ - config/locales/fr-LU.yml
173
175
  - config/locales/fr.yml
174
176
  - config/locales/ga-IE.yml
175
177
  - config/locales/gl.yml
@@ -180,10 +182,10 @@ files:
180
182
  - config/locales/is-IS.yml
181
183
  - config/locales/is.yml
182
184
  - config/locales/it.yml
183
- - config/locales/ja-JP.yml
184
185
  - config/locales/ja.yml
185
186
  - config/locales/ko-KR.yml
186
187
  - config/locales/ko.yml
188
+ - config/locales/lb-LU.yml
187
189
  - config/locales/lt-LT.yml
188
190
  - config/locales/lt.yml
189
191
  - config/locales/lv.yml
@@ -253,11 +255,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
255
  version: '2.7'
254
256
  required_rubygems_version: !ruby/object:Gem::Requirement
255
257
  requirements:
256
- - - ">="
258
+ - - ">"
257
259
  - !ruby/object:Gem::Version
258
- version: '0'
260
+ version: 1.3.1
259
261
  requirements: []
260
- rubygems_version: 3.1.2
262
+ rubygems_version: 3.1.4
261
263
  signing_key:
262
264
  specification_version: 4
263
265
  summary: Decidim sortitions module
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
@@ -1,147 +0,0 @@
1
- ja:
2
- activemodel:
3
- attributes:
4
- sortition:
5
- additional_info: 並べ替え情報
6
- decidim_category_id: 図面を適用したい提案のセット
7
- decidim_proposals_component_id: 提案セット
8
- dice: ダイロールの結果。 6面ダイをロールするか、1から6まで数字を生成する別のランダムな方法を探します そして目撃者の前にナンバーを入力します。 これにより、品質と結果のランダム性を保証します
9
- target_items: 選択される提案の数 (選択した提案のグループをたくさん描画して選択したい提案の数を示します)
10
- title: タイトル
11
- witnesses: Witnes
12
- models:
13
- decidim/sortitions/create_sortition_event: 並べ替え
14
- activerecord:
15
- models:
16
- decidim/sortitions/sortition:
17
- other: 並べ替え
18
- decidim:
19
- components:
20
- sortitions:
21
- name: 並べ替え
22
- settings:
23
- global:
24
- comments_enabled: コメントは有効です
25
- comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
26
- events:
27
- sortitions:
28
- sortition_created:
29
- email_intro: あなたがフォローしている「%{resource_title}」にソート「%{participatory_space_title}」が追加されました。
30
- email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
31
- email_subject: '%{participatory_space_title} に新しいソートが追加されました'
32
- notification_title: ソート <a href="%{resource_path}">%{resource_title}</a> が %{participatory_space_title} に追加されました
33
- pages:
34
- home:
35
- statistics:
36
- sortitions_count: 並べ替え
37
- participatory_processes:
38
- statistics:
39
- sortitions_count: 並べ替え
40
- sortitions:
41
- admin:
42
- actions:
43
- destroy: 並べ替えをキャンセル
44
- edit: 編集
45
- new: 新しいソート順
46
- show: 並べ替えの詳細
47
- models:
48
- sortition:
49
- fields:
50
- category: カテゴリ
51
- created_at: 作成日
52
- decidim_proposals_component: 提案コンポーネント
53
- dice: ダイス
54
- reference: 参照
55
- request_timestamp: ドロー時間
56
- seed: Seed
57
- target_items: 選択するアイテム
58
- title: タイトル
59
- name:
60
- other: 並べ替え
61
- sortitions:
62
- confirm_destroy:
63
- confirm_destroy: この並べ替えをキャンセルしてもよろしいですか?
64
- destroy: 並べ替えをキャンセル
65
- title: 並べ替えのキャンセル
66
- create:
67
- error: 新しいソートの作成中に問題が発生しました。
68
- success: ソートが正常に作成されました
69
- destroy:
70
- error: ソートをキャンセルできません。
71
- success: 並べ替えをキャンセルしました
72
- edit:
73
- title: 並べ替えに関する情報を更新する
74
- update: 更新
75
- form:
76
- all_categories: すべてのカテゴリ
77
- select_proposal_component: 提案セットを選択
78
- title: 提案のための新しい並べ替え
79
- index:
80
- title: 並べ替え
81
- new:
82
- confirm: 次のボタンを押すと、日付と時刻(秒の精度で)が記録され、サイコロロールと一緒に記録されます。 この情報はランダムな選択を生成するために使用されます アクションは元に戻せません。ボタンをクリックすると、この描画の結果が公開されます。 このフォームに入力されたデータと一緒に変更することはできません。コンテンツを注意深く確認してください。
83
- create: 作成
84
- title: 新しいソート順
85
- show:
86
- selected_proposals: ドローのために選択された提案
87
- update:
88
- error: ソートの更新に問題がありました。
89
- success: ソートが正常に更新されました
90
- admin_log:
91
- sortition:
92
- create: "%{user_name} が %{resource_name} で %{space_name}ソートを作成しました"
93
- delete: "%{user_name} が %{resource_name} で %{space_name}ソートを取り消しました"
94
- update: "%{user_name} が %{resource_name} のソートを %{space_name}で更新しました"
95
- sortitions:
96
- count:
97
- proposals_count:
98
- other: "%{count} の提案"
99
- filters:
100
- active: アクティブ
101
- all: すべて
102
- cancelled: キャンセルしました
103
- category: カテゴリ
104
- category_prompt: カテゴリを選択
105
- search: 検索
106
- state: ステータス
107
- filters_small_view:
108
- close_modal: モーダルを閉じる
109
- filter: フィルター
110
- filter_by: フィルター
111
- unfold: 展開する
112
- linked_sortitions:
113
- selected_proposals: 選択された提案
114
- orders:
115
- label: '並べ替え順:'
116
- random: Random
117
- recent: 最近のもの
118
- results_count:
119
- count:
120
- other: 選択された提案
121
- show:
122
- algorithm: 並べ替えのアルゴリズム コード
123
- any_category: すべてのカテゴリから
124
- back: リストに戻る
125
- cancelled: キャンセルされた並べ替え
126
- candidate_proposal_ids: 並べ替え提案の順序とID
127
- candidate_proposals_info: '次の提案の中でソートが行われました (%{category_label}), 以下のIDを持つ(選択した提案を太字で) '
128
- category: from the %{category} category
129
- dice_result: "(1)サイコロ結果"
130
- introduction: 'このページには、ソート %{reference} の結果が含まれています。このソートにより、%{target_items} の数の結果が、以下に表示されている提案の集合から同確率でランダムに選択されています。結果とともにこのページに表示される情報は、保証を最大化し、結果を再現するために必要なすべての情報を提供します。このソートの品質の鍵となるのは、転がるサイコロ(目撃者による検証) による二重のランダム性と、ランダムな選択を生成するアルゴリズムの入力となるソートの正確な時間です。ソートのタイムシードは、人間がコントロールすることが不可能な正確さ(秒単位) を持っているため、公平な結果を保証するための二重の「コントロール不可能な」入力を提供しています。 '
131
- mathematical_result: 結果 (1) x (2)
132
- proposals_selected_by_sortition: 並べ替えによって選択された提案
133
- sortition_reproducibility_details: 並べ替え再現性の詳細
134
- time_seed: "(2) 時間の種"
135
- witnesses: Witnes
136
- sortition:
137
- random_seed: ランダムな種
138
- selected_proposals:
139
- other: 提案を選択しました
140
- view: 表示
141
- sortition_author:
142
- deleted: 参加者を削除しました
143
- sortition_cancel_author:
144
- deleted: 参加者を削除しました
145
- sortitions_count:
146
- count:
147
- other: "%{count} ソート数"