decidim-budgets 0.27.0.rc2 → 0.27.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9298facc7d7638d2e7c3e94cf26ed4aaae0a8fe19688240f1bfff4d75d00f6f
4
- data.tar.gz: 6660a551c8bacb4561639ef50ae672e41a1ae7dc0451f1095d9e508f3dae564a
3
+ metadata.gz: aad2655922c674d27b9e6aa02a17e70091c7daa82ff250d3541a9e60cf252faf
4
+ data.tar.gz: 3e15e7cd4118815c3989a3b917d3420c87448290581e13ad3e5229750d905e84
5
5
  SHA512:
6
- metadata.gz: c08076c938815c28eaf4ec8a601433812b57ccad5c46a3b0c63728786ec3baff8257a7838dba678af556f110da40b64d4f30d1d860c56e484a9df698fc69caff
7
- data.tar.gz: d7ce76fbc30f45949b0c7b9b86cf552d197ceb61927a48f5aeb541fdb53bf15ee34bc71b6c31e7e51aa43de2fde7276dc816c523a97ff62fda44a79a0e610e7b
6
+ metadata.gz: 99c8466fccdd95d615578f2a4e78d535ab2e4877c9da1001847bd2c30e9a88566741a14eacecdecc9f2624b5e7bf84e0f88907f35540e2875166120ec1d73622
7
+ data.tar.gz: 30e2ea3911eab84850f87e31ec088e8a11313327b16c249f6d9cacbd6f599ba12292e024e1d2376fe4814d45ddd6a39d6c3e0b456d921635fef85ee22cd41495
@@ -84,7 +84,10 @@ module Decidim
84
84
  end
85
85
 
86
86
  def proposal_already_copied?(original_proposal)
87
- original_proposal.linked_resources(:projects, "included_proposals").any? do |project|
87
+ # Note: we are including also projects from unpublished components
88
+ # because otherwise duplicates could be created until the component is
89
+ # published.
90
+ original_proposal.linked_resources(:projects, "included_proposals", component_published: false).any? do |project|
88
91
  project.budget == form.budget
89
92
  end
90
93
  end
@@ -152,8 +152,8 @@ module Decidim
152
152
  end
153
153
 
154
154
  on(:update_projects_selection) do
155
- flash.now[:notice] = update_projects_bulk_response_successful(@response, :selected)
156
- flash.now[:alert] = update_projects_bulk_response_errored(@response, :selected)
155
+ flash.now[:notice] = update_projects_bulk_response_successful(@response, :selected, selection: @selection)
156
+ flash.now[:alert] = update_projects_bulk_response_errored(@response, :selected, selection: @selection)
157
157
  end
158
158
  end
159
159
 
@@ -188,59 +188,47 @@ module Decidim
188
188
  @project ||= projects.find(params[:id])
189
189
  end
190
190
 
191
- def update_projects_bulk_response_successful(response, subject)
191
+ def update_projects_bulk_response_successful(response, subject, extra = {})
192
192
  return if response[:successful].blank?
193
193
 
194
+ interpolations = {
195
+ subject_name: response[:subject_name],
196
+ projects: response[:successful].to_sentence
197
+ }
198
+
194
199
  case subject
195
200
  when :category
196
- t(
197
- "projects.update_category.success",
198
- subject_name: response[:subject_name],
199
- projects: response[:successful].to_sentence,
200
- scope: "decidim.budgets.admin"
201
- )
201
+ t("projects.update_category.success", scope: "decidim.budgets.admin", **interpolations)
202
202
  when :scope
203
- t(
204
- "projects.update_scope.success",
205
- subject_name: response[:subject_name],
206
- projects: response[:successful].to_sentence,
207
- scope: "decidim.budgets.admin"
208
- )
203
+ t("projects.update_scope.success", scope: "decidim.budgets.admin", **interpolations)
209
204
  when :selected
210
- t(
211
- "projects.update_selected.success",
212
- subject_name: response[:subject_name],
213
- projects: response[:successful].to_sentence,
214
- scope: "decidim.budgets.admin"
215
- )
205
+ if extra[:selection]
206
+ t("projects.update_selected.success.selected", scope: "decidim.budgets.admin", **interpolations)
207
+ else
208
+ t("projects.update_selected.success.unselected", scope: "decidim.budgets.admin", **interpolations)
209
+ end
216
210
  end
217
211
  end
218
212
 
219
- def update_projects_bulk_response_errored(response, subject)
213
+ def update_projects_bulk_response_errored(response, subject, extra = {})
220
214
  return if response[:errored].blank?
221
215
 
216
+ interpolations = {
217
+ subject_name: response[:subject_name],
218
+ projects: response[:errored].to_sentence
219
+ }
220
+
222
221
  case subject
223
222
  when :category
224
- t(
225
- "projects.update_category.invalid",
226
- subject_name: response[:subject_name],
227
- projects: response[:errored].to_sentence,
228
- scope: "decidim.budgets.admin"
229
- )
223
+ t("projects.update_category.invalid", scope: "decidim.budgets.admin", **interpolations)
230
224
  when :scope
231
- t(
232
- "projects.update_scope.invalid",
233
- subject_name: response[:subject_name],
234
- projects: response[:errored].to_sentence,
235
- scope: "decidim.budgets.admin"
236
- )
225
+ t("projects.update_scope.invalid", scope: "decidim.budgets.admin", **interpolations)
237
226
  when :selected
238
- t(
239
- "projects.update_selected.invalid",
240
- subject_name: response[:subject_name],
241
- projects: response[:errored].to_sentence,
242
- scope: "decidim.budgets.admin"
243
- )
227
+ if extra[:selection]
228
+ t("projects.update_selected.invalid.selected", scope: "decidim.budgets.admin", **interpolations)
229
+ else
230
+ t("projects.update_selected.invalid.unselected", scope: "decidim.budgets.admin", **interpolations)
231
+ end
244
232
  end
245
233
  end
246
234
  end
@@ -28,8 +28,8 @@ module Decidim
28
28
  def projects
29
29
  return @projects if @projects
30
30
 
31
- @projects = search.result.page(params[:page]).per(current_component.settings.projects_per_page)
32
- @projects = reorder(@projects)
31
+ @projects = reorder(search.result)
32
+ @projects = @projects.page(params[:page]).per(current_component.settings.projects_per_page)
33
33
  end
34
34
 
35
35
  def all_geocoded_projects
@@ -93,11 +93,11 @@ ca:
93
93
  cancel: Cancel·lar
94
94
  change_category: Canviar categoria
95
95
  change_scope: Canviar àmbit
96
- change_selected: Canviar la selecció
97
- deselect_implementation: Deseleccionar
96
+ change_selected: Canviar l'estat seleccionat
97
+ deselect_implementation: No s'ha seleccionat per implementar
98
98
  finished_orders: Vots finalitzats
99
99
  pending_orders: Vots en procés
100
- select_for_implementation: Seleccionar
100
+ select_for_implementation: Seleccionat per implementar
101
101
  selected: Seleccionat
102
102
  title: Projectes
103
103
  update: Actualitzar
@@ -119,10 +119,14 @@ ca:
119
119
  select_a_scope: Si us plau, selecciona un àmbit
120
120
  success: 'Els projectes s''han actualitzat correctament a l''àmbit %{subject_name}: %{projects}.'
121
121
  update_selected:
122
- invalid: 'Aquests projectes ja estaven seleccionats: %{projects}.'
122
+ invalid:
123
+ selected: 'Aquests projectes ja han estat seleccionats per a ser implementats: %{projects}.'
124
+ unselected: 'Aquests projectes han estat deseleccionats de ser implementats: %{projects}.'
123
125
  select_a_project: Si us plau, selecciona un projecte
124
- select_a_selection: Si us plau, fes una selecció
125
- success: 'Selecció de projectes modificada correctament: %{projects}.'
126
+ select_a_selection: Si us plau, selecciona un estat d'implementació
127
+ success:
128
+ selected: 'Aquests projectes s''han seleccionat correctament per a ser implementats: %{projects}.'
129
+ unselected: 'Aquests projectes s''han deseleccionat correctament per a ser implementats: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: S'ha produït un error en importar les propostes en projectes
@@ -95,11 +95,11 @@ cs:
95
95
  cancel: Zrušit
96
96
  change_category: Změnit kategorii
97
97
  change_scope: Změnit rozsah
98
- change_selected: Změnit vybrané
99
- deselect_implementation: Zrušit výběr
98
+ change_selected: Změnit vybraný stav
99
+ deselect_implementation: Zrušit výběr z implementace
100
100
  finished_orders: Dokončené hlasy
101
101
  pending_orders: Čeká na hlasování
102
- select_for_implementation: Vybrat
102
+ select_for_implementation: Vybrat pro implementaci
103
103
  selected: Vybrané
104
104
  title: Projekty
105
105
  update: Aktualizovat
@@ -121,10 +121,14 @@ cs:
121
121
  select_a_scope: Vyberte prosím rozsah
122
122
  success: 'Projekty byly úspěšně aktualizovány na rozsah %{subject_name}: %{projects}.'
123
123
  update_selected:
124
- invalid: 'Tyto projekty již mají stejný výběr: %{projects}.'
124
+ invalid:
125
+ selected: 'Tyto projekty již byly vybrány pro implementaci: %{projects}.'
126
+ unselected: 'Tyto projekty již byly odebrány z implementace: %{projects}.'
125
127
  select_a_project: Vyberte projekt
126
- select_a_selection: Vyberte prosím výběr
127
- success: 'Výběr projektů byl úspěšně změněn: %{projects}.'
128
+ select_a_selection: Vyberte prosím stav implementace
129
+ success:
130
+ selected: 'Tyto projekty byly úspěšně vybrány pro implementaci: %{projects}.'
131
+ unselected: 'Tyto projekty byly úspěšně odebrány z implementace: %{projects}.'
128
132
  proposals_imports:
129
133
  create:
130
134
  invalid: Při importu návrhů do projektů došlo k problému
@@ -91,11 +91,9 @@ de:
91
91
  cancel: Abbrechen
92
92
  change_category: Kategorie ändern
93
93
  change_scope: Themenbereich ändern
94
- change_selected: Auswahl ändern
95
- deselect_implementation: Auswahl aufheben
94
+ change_selected: Ausgewählten Status ändern
96
95
  finished_orders: Abgeschlossene Stimmen
97
96
  pending_orders: Ausstehende Stimmen
98
- select_for_implementation: Auswählen
99
97
  selected: Ausgewählt
100
98
  title: Projekte
101
99
  update: Aktualisieren
@@ -117,10 +115,7 @@ de:
117
115
  select_a_scope: Bitte wählen Sie einen Themenbereich
118
116
  success: 'Die folgenden Projekte wurden erfolgreich zum Themenbereich %{subject_name} hinzugefügt: %{projects}.'
119
117
  update_selected:
120
- invalid: 'Diese Projekte wurden bereits zur Umsetzung ausgewählt: %{projects}.'
121
118
  select_a_project: Bitte wählen Sie ein Projekt
122
- select_a_selection: Bitte wähle einen Umsetzungsstatus
123
- success: 'Ausgewählte Projekte erfolgreich geändert: %{projects}.'
124
119
  proposals_imports:
125
120
  create:
126
121
  invalid: Beim Importieren der Vorschläge in Projekte ist ein Problem aufgetreten
@@ -93,11 +93,11 @@ en:
93
93
  cancel: Cancel
94
94
  change_category: Change category
95
95
  change_scope: Change scope
96
- change_selected: Change selected
97
- deselect_implementation: Unselect
96
+ change_selected: Change selected state
97
+ deselect_implementation: Unselect from implementation
98
98
  finished_orders: Finished votes
99
99
  pending_orders: Pending votes
100
- select_for_implementation: Select
100
+ select_for_implementation: Select for implementation
101
101
  selected: Selected
102
102
  title: Projects
103
103
  update: Update
@@ -119,10 +119,14 @@ en:
119
119
  select_a_scope: Please select a scope
120
120
  success: 'Projects successfully updated to the %{subject_name} scope: %{projects}.'
121
121
  update_selected:
122
- invalid: 'These projects already had the same selected: %{projects}.'
122
+ invalid:
123
+ selected: 'These projects were already selected for implementation: %{projects}.'
124
+ unselected: 'These projects were already unselected from implementation: %{projects}.'
123
125
  select_a_project: Please select a project
124
- select_a_selection: Please select a selection
125
- success: 'Projects selection successfully changed: %{projects}.'
126
+ select_a_selection: Please select an implementation state
127
+ success:
128
+ selected: 'These projects were successfully selected for implementation: %{projects}.'
129
+ unselected: 'These projects were successfully unselected from implementation: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: There was a problem importing the proposals into projects
@@ -93,11 +93,11 @@ es-MX:
93
93
  cancel: Cancelar
94
94
  change_category: Cambiar categoría
95
95
  change_scope: Cambiar ámbito
96
- change_selected: Cambiar la selección
97
- deselect_implementation: Deseleccionar
96
+ change_selected: Cambiar estado seleccionado
97
+ deselect_implementation: No seleccionado para implementar
98
98
  finished_orders: Votos terminados
99
99
  pending_orders: Votos pendientes
100
- select_for_implementation: Seleccionar
100
+ select_for_implementation: Seleccionado para implementar
101
101
  selected: Seleccionado
102
102
  title: Proyectos
103
103
  update: Actualizar
@@ -119,10 +119,14 @@ es-MX:
119
119
  select_a_scope: Por favor, selecciona un ámbito
120
120
  success: 'Los siguientes proyectos se han actualizado correctamente al ámbito %{subject_name}: %{projects}.'
121
121
  update_selected:
122
- invalid: 'Estos proyectos ya estaban seleccionados: %{projects}.'
122
+ invalid:
123
+ selected: 'Estos proyectos ya han sido seleccionados para ser implementados: %{projects}.'
124
+ unselected: 'Estos proyectos han sido fueron deseleccionados de ser implementados: %{projects}.'
123
125
  select_a_project: Por favor, selecciona un proyecto
124
- select_a_selection: Por favor, elige un estado
125
- success: 'Selección de proyectos cambiada con éxito: %{projects}.'
126
+ select_a_selection: Por favor, seleccione un estado de implementación
127
+ success:
128
+ selected: 'Estos proyectos fueron seleccionados con éxito para ser implementados: %{projects}.'
129
+ unselected: 'Estos proyectos fueron deseleccionados con éxito para ser implementados: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Ha habido un problema al importar las propuestas en proyectos
@@ -93,11 +93,11 @@ es-PY:
93
93
  cancel: Cancelar
94
94
  change_category: Cambiar categoría
95
95
  change_scope: Cambiar ámbito
96
- change_selected: Cambiar la selección
97
- deselect_implementation: Deseleccionar
96
+ change_selected: Cambiar estado seleccionado
97
+ deselect_implementation: No seleccionado para implementar
98
98
  finished_orders: Votos terminados
99
99
  pending_orders: Votos pendientes
100
- select_for_implementation: Seleccionar
100
+ select_for_implementation: Seleccionado para implementar
101
101
  selected: Seleccionado
102
102
  title: Proyectos
103
103
  update: Actualizar
@@ -119,10 +119,14 @@ es-PY:
119
119
  select_a_scope: Por favor, selecciona un ámbito
120
120
  success: 'Los proyectos se han actualizado correctamente al ámbito %{subject_name}: %{projects}.'
121
121
  update_selected:
122
- invalid: 'Estos proyectos ya estaban seleccionados: %{projects}.'
122
+ invalid:
123
+ selected: 'Estos proyectos ya han sido seleccionados para ser implementados: %{projects}.'
124
+ unselected: 'Estos proyectos han sido fueron deseleccionados de ser implementados: %{projects}.'
123
125
  select_a_project: Por favor, selecciona un proyecto
124
- select_a_selection: Por favor, elige un estado
125
- success: 'Selección de proyectos cambiada con éxito: %{projects}.'
126
+ select_a_selection: Por favor, seleccione un estado de implementación
127
+ success:
128
+ selected: 'Estos proyectos fueron seleccionados con éxito para ser implementados: %{projects}.'
129
+ unselected: 'Estos proyectos fueron deseleccionados con éxito para ser implementados: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Ha habido un problema al importar las propuestas en proyectos
@@ -93,11 +93,11 @@ es:
93
93
  cancel: Cancelar
94
94
  change_category: Cambiar categoría
95
95
  change_scope: Cambiar ámbito
96
- change_selected: Cambiar la selección
97
- deselect_implementation: Deseleccionar
96
+ change_selected: Cambiar estado seleccionado
97
+ deselect_implementation: No seleccionado para implementar
98
98
  finished_orders: Votos terminados
99
99
  pending_orders: Votos pendientes
100
- select_for_implementation: Seleccionar
100
+ select_for_implementation: Seleccionado para implementar
101
101
  selected: Seleccionado
102
102
  title: Proyectos
103
103
  update: Actualizar
@@ -119,10 +119,14 @@ es:
119
119
  select_a_scope: Por favor, selecciona un ámbito
120
120
  success: 'Los proyectos se han actualizado correctamente al ámbito %{subject_name}: %{projects}.'
121
121
  update_selected:
122
- invalid: 'Estos proyectos ya estaban seleccionados: %{projects}.'
122
+ invalid:
123
+ selected: 'Estos proyectos ya han sido seleccionados para ser implementados: %{projects}.'
124
+ unselected: 'Estos proyectos han sido fueron deseleccionados de ser implementados: %{projects}.'
123
125
  select_a_project: Por favor, selecciona un proyecto
124
- select_a_selection: Por favor, elige un estado
125
- success: 'Selección de proyectos cambiada con éxito: %{projects}.'
126
+ select_a_selection: Por favor, seleccione un estado de implementación
127
+ success:
128
+ selected: 'Estos proyectos fueron seleccionados con éxito para ser implementados: %{projects}.'
129
+ unselected: 'Estos proyectos fueron deseleccionados con éxito para ser implementados: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Se ha producido un error al importar las propuestas a proyectos
@@ -84,8 +84,11 @@ eu:
84
84
  title: Editatu proiektua
85
85
  update: Eguneratu
86
86
  index:
87
+ change_selected: Aldatu hautatutako eremua
88
+ deselect_implementation: Gauzatzekoetatik kendu
87
89
  finished_orders: Bukatutako botoak
88
90
  pending_orders: Zain dauden botoei
91
+ select_for_implementation: Gauzatzeko hautatua
89
92
  selected: Hautatua
90
93
  title: Proiektuak
91
94
  new:
@@ -94,6 +97,14 @@ eu:
94
97
  update:
95
98
  invalid: Arazo bat izan da proiektu hau eguneratzean
96
99
  success: Proiektua zuzen eguneratu da
100
+ update_selected:
101
+ invalid:
102
+ selected: 'Honako proiektu hauek dagoeneko gauzatzeko hautatu dira: %{projects}.'
103
+ unselected: 'Honako proiektu hauek dagoeneko gauzatzekoetatik kendu dira: %{projects}.'
104
+ select_a_selection: Hautatu gauzatzearen egoera
105
+ success:
106
+ selected: 'Honako proiektu hauek dagoeneko gauzatzeko hautatu dira: %{projects}.'
107
+ unselected: 'Honako proiektu hauek dagoeneko gauzatzekoetatik kendu dira: %{projects}.'
97
108
  proposals_imports:
98
109
  create:
99
110
  invalid: Arazo bat izan da proiektuen proposamenak inportatzea
@@ -93,8 +93,8 @@ fi-pl:
93
93
  cancel: Peruuta
94
94
  change_category: Vaihda aihepiiri
95
95
  change_scope: Vaihda teema
96
- change_selected: Vaihda valittu-tilaa
97
- deselect_implementation: Ei toteutukseen
96
+ change_selected: Muuta tilaa
97
+ deselect_implementation: Ei valittu toteutukseen
98
98
  finished_orders: Valmiit äänet
99
99
  pending_orders: Odottavat äänet
100
100
  select_for_implementation: Valittu toteutukseen
@@ -119,10 +119,14 @@ fi-pl:
119
119
  select_a_scope: Valitse teema
120
120
  success: 'Seuraavien projektien teeman päivitys onnistui %{subject_name}: %{projects}.'
121
121
  update_selected:
122
- invalid: 'Nämä projektit oli jo merkitty toteutettaviksi: %{projects}.'
122
+ invalid:
123
+ selected: 'Nämä projektit oli jo valittu toteutukseen: %{projects}.'
124
+ unselected: 'Näitä projekteja ei oltu valittu toteutukseen: %{projects}.'
123
125
  select_a_project: Valitse projekti
124
- select_a_selection: Valitse toteutuksen tila
125
- success: 'Toteutuksen tilan päivitys onnistui projekteille: %{projects}.'
126
+ select_a_selection: Valitse tila
127
+ success:
128
+ selected: 'Näiden projektien valinta toteutukseen onnistui: %{projects}.'
129
+ unselected: 'Näiden projektien toteutukseen valinnan poistaminen onnistui: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Ehdotusten tuomisessa suunnitelmiin esiintyi ongelmia
@@ -93,8 +93,8 @@ fi:
93
93
  cancel: Peruuta
94
94
  change_category: Vaihda aihepiiri
95
95
  change_scope: Vaihda teema
96
- change_selected: Vaihda valittu-tilaa
97
- deselect_implementation: Ei toteutukseen
96
+ change_selected: Muuta tilaa
97
+ deselect_implementation: Ei valittu toteutukseen
98
98
  finished_orders: Valmiit äänet
99
99
  pending_orders: Odottavat äänet
100
100
  select_for_implementation: Valittu toteutukseen
@@ -119,10 +119,14 @@ fi:
119
119
  select_a_scope: Valitse teema
120
120
  success: 'Seuraavien projektien teeman päivitys onnistui %{subject_name}: %{projects}.'
121
121
  update_selected:
122
- invalid: 'Nämä projektit oli jo merkitty toteutettaviksi: %{projects}.'
122
+ invalid:
123
+ selected: 'Nämä projektit oli jo valittu toteutukseen: %{projects}.'
124
+ unselected: 'Näitä projekteja ei oltu valittu toteutukseen: %{projects}.'
123
125
  select_a_project: Valitse projekti
124
- select_a_selection: Valitse toteutuksen tila
125
- success: 'Toteutuksen tilan päivitys onnistui projekteille: %{projects}.'
126
+ select_a_selection: Valitse tila
127
+ success:
128
+ selected: 'Näiden projektien valinta toteutukseen onnistui: %{projects}.'
129
+ unselected: 'Näiden projektien toteutukseen valinnan poistaminen onnistui: %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Ehdotusten tuonti suunnitelmiksi epäonnistui
@@ -93,11 +93,11 @@ fr-CA:
93
93
  cancel: Annuler
94
94
  change_category: Modifier la catégorie
95
95
  change_scope: Changer le secteur
96
- change_selected: Changer l'état "sélectionné"
97
- deselect_implementation: Annuler la sélection
96
+ change_selected: Changer l'état sélectionné
97
+ deselect_implementation: Retirer de la sélection pour une implémentation
98
98
  finished_orders: Votes terminés
99
99
  pending_orders: Votes en cours
100
- select_for_implementation: Sélectionné pour implémentation
100
+ select_for_implementation: Sélectionner pour une implémentation
101
101
  selected: Sélectionné
102
102
  title: Projets
103
103
  update: Mettre à jour
@@ -119,10 +119,14 @@ fr-CA:
119
119
  select_a_scope: Veuillez sélectionner un secteur
120
120
  success: 'Les projets ont été mis à jour avec succès avec le secteur %{subject_name} : %{projects}.'
121
121
  update_selected:
122
- invalid: 'Ces projets étaient déjà sélectionnés pour l''implémentation : %{projects}.'
122
+ invalid:
123
+ selected: 'Ces projets ont déjà été sélectionnés pour une implémentation : %{projects}.'
124
+ unselected: 'Ces projets ont déjà été retirés de la sélection pour une implémentation : %{projects}.'
123
125
  select_a_project: Veuillez selectionner un projet
124
- select_a_selection: Veuillez sélectionner un état de sélection pour implémentation
125
- success: 'La sélection des projets a été modifiée avec succès : %{projects}.'
126
+ select_a_selection: Veuillez sélectionner un état d'implémentation
127
+ success:
128
+ selected: 'Ces projets ont été bien été sélectionnés pour une implémentation : %{projects}.'
129
+ unselected: 'Ces projets ont été retirés de la sélection pour une implémentation : %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Un problème est survenu lors de l'importation des propositions dans des projets
@@ -93,11 +93,11 @@ fr:
93
93
  cancel: Annuler
94
94
  change_category: Modifier la catégorie
95
95
  change_scope: Changer le secteur
96
- change_selected: Changer l'état "sélectionné"
97
- deselect_implementation: Annuler la sélection
96
+ change_selected: Changer l'état sélectionné
97
+ deselect_implementation: Retirer de la sélection pour une implémentation
98
98
  finished_orders: Votes terminés
99
99
  pending_orders: Votes en cours
100
- select_for_implementation: Sélectionné pour implémentation
100
+ select_for_implementation: Sélectionner pour une implémentation
101
101
  selected: Sélectionné
102
102
  title: Projets
103
103
  update: Mettre à jour
@@ -119,10 +119,14 @@ fr:
119
119
  select_a_scope: Veuillez sélectionner un secteur
120
120
  success: 'Les projets ont été mis à jour avec succès avec le secteur %{subject_name} : %{projects}.'
121
121
  update_selected:
122
- invalid: 'Ces projets étaient déjà sélectionnés pour l''implémentation : %{projects}.'
122
+ invalid:
123
+ selected: 'Ces projets ont déjà été sélectionnés pour une implémentation : %{projects}.'
124
+ unselected: 'Ces projets ont déjà été retirés de la sélection pour une implémentation : %{projects}.'
123
125
  select_a_project: Veuillez selectionner un projet
124
- select_a_selection: Veuillez sélectionner un état de sélection pour implémentation
125
- success: 'La sélection des projets a été modifiée avec succès : %{projects}.'
126
+ select_a_selection: Veuillez sélectionner un état d'implémentation
127
+ success:
128
+ selected: 'Ces projets ont été bien été sélectionnés pour une implémentation : %{projects}.'
129
+ unselected: 'Ces projets ont été retirés de la sélection pour une implémentation : %{projects}.'
126
130
  proposals_imports:
127
131
  create:
128
132
  invalid: Un problème est survenu lors de l'importation des propositions dans des projets
@@ -0,0 +1 @@
1
+ gn:
@@ -42,11 +42,8 @@ hu:
42
42
  cancel: Mégsem
43
43
  change_category: Kategória módosítása
44
44
  change_scope: Hatáskör megváltoztatása
45
- change_selected: Kijelölés módosítása
46
- deselect_implementation: Kiválasztás törlése
47
45
  finished_orders: Befejezett szavazások
48
46
  pending_orders: Függőben lévő szavazások
49
- select_for_implementation: Kijelölés
50
47
  title: Projektek
51
48
  update: Frissítés
52
49
  update_scope_button: Hatáskör frissítése
@@ -92,11 +92,11 @@ ja:
92
92
  cancel: キャンセル
93
93
  change_category: カテゴリの変更
94
94
  change_scope: スコープの変更
95
- change_selected: 選択した項目を変更
96
- deselect_implementation: 選択解除
95
+ change_selected: 選択した状態を変更
96
+ deselect_implementation: 実装から選択解除
97
97
  finished_orders: 完了した投票
98
98
  pending_orders: 保留中の投票
99
- select_for_implementation: 選択
99
+ select_for_implementation: 実装のために選択
100
100
  selected: 選択済
101
101
  title: プロジェクト
102
102
  update: 更新
@@ -118,10 +118,14 @@ ja:
118
118
  select_a_scope: スコープを選択してください
119
119
  success: 'プロジェクトは %{subject_name} スコープに正常に更新されました: %{projects}'
120
120
  update_selected:
121
- invalid: 'これらのプロジェクトは既に選択されています: %{projects}'
121
+ invalid:
122
+ selected: 'これらのプロジェクトはすでに実装のために選択されています: %{projects}。'
123
+ unselected: 'これらのプロジェクトは既に実装から選択解除されています: %{projects}。'
122
124
  select_a_project: プロジェクトを選択してください
123
- select_a_selection: 選択してください
124
- success: 'プロジェクトの選択が変更されました: %{projects}.'
125
+ select_a_selection: 実装の状態を選択してください
126
+ success:
127
+ selected: 'これらのプロジェクトは、実装のために正常に選択されました: %{projects}。'
128
+ unselected: 'これらのプロジェクトは、実装から正常に選択解除されました: %{projects}。'
125
129
  proposals_imports:
126
130
  create:
127
131
  invalid: 提案をプロジェクトにインポートする際に問題が発生しました
@@ -0,0 +1 @@
1
+ lo:
@@ -95,11 +95,8 @@ lt:
95
95
  cancel: Atšaukti
96
96
  change_category: Keisti kategoriją
97
97
  change_scope: Keisti sritį
98
- change_selected: Pakeisti pasirinkimą
99
- deselect_implementation: Atžymėti
100
98
  finished_orders: Baigti balsavimai
101
99
  pending_orders: Balsai laukiantys patvirtinimo
102
- select_for_implementation: Pasirinkti
103
100
  selected: Pasirinkta
104
101
  title: Projektai
105
102
  update: Atnaujinimas
@@ -121,10 +118,7 @@ lt:
121
118
  select_a_scope: Pasirinkite sritį
122
119
  success: 'Projektai sėkmingai atnaujinti %{subject_name} srityje: %{projects}.'
123
120
  update_selected:
124
- invalid: 'Šie projektai jau buvo pasirinkti įgyvendinimui: %{projects}.'
125
121
  select_a_project: Pasirinkite projektą
126
- select_a_selection: Prašau pasirinkite įgyvendinimo būseną
127
- success: 'Projektų pasirinkimas sėkmingai pakeistas: %{projects}.'
128
122
  proposals_imports:
129
123
  create:
130
124
  invalid: Importuojant pasiūlymus į projektus kilo problema
@@ -93,11 +93,8 @@ nl:
93
93
  cancel: Annuleren
94
94
  change_category: Categorie wijzigen
95
95
  change_scope: Scope wijzigen
96
- change_selected: Selectie wijzigen
97
- deselect_implementation: Selectie ongedaan maken
98
96
  finished_orders: Voltooide stemmen
99
97
  pending_orders: Afwachtende stemmen
100
- select_for_implementation: Selecteer
101
98
  selected: Geselecteerd
102
99
  title: Projecten
103
100
  update: Bijwerken
@@ -119,10 +116,7 @@ nl:
119
116
  select_a_scope: Selecteer een scope
120
117
  success: 'Voorstellen succesvol bijgewerkt naar categorie %{subject_name}: %{projects}.'
121
118
  update_selected:
122
- invalid: 'Deze projecten zijn al geselecteerd voor implementatie: %{projects}.'
123
119
  select_a_project: Selecteer een project
124
- select_a_selection: Selecteer een implementatie status
125
- success: 'Projectselectie succesvol gewijzigd: %{projects}.'
126
120
  proposals_imports:
127
121
  create:
128
122
  invalid: Er is een probleem opgetreden bij het importeren van de voorstellen in projecten
@@ -0,0 +1 @@
1
+ oc:
@@ -14,6 +14,7 @@ ro:
14
14
  decidim_scope_id: Domeniu de interes
15
15
  description: Descriere
16
16
  proposal_ids: Propuneri asociate
17
+ proposals: Propuneri
17
18
  selected: Selectate pentru implementare
18
19
  title: Titlu
19
20
  activerecord:
@@ -91,12 +92,20 @@ ro:
91
92
  pending_orders: Voturi în așteptare
92
93
  selected: Selectate
93
94
  title: Proiecte
95
+ update: Actualizare
94
96
  new:
95
97
  create: Creează
96
98
  title: Proiect nou
97
99
  update:
98
100
  invalid: A apărut o eroare la actualizarea acestui proiect
99
101
  success: Proiectul a fost actualizat cu succes
102
+ update_category:
103
+ select_a_category: Te rugăm să selectezi o categorie
104
+ select_a_project: Vă rugăm să selectaţi un proiect
105
+ update_scope:
106
+ select_a_project: Te rugăm să selectezi un proiect
107
+ update_selected:
108
+ select_a_project: Te rugăm să selectezi un proiect
100
109
  proposals_imports:
101
110
  create:
102
111
  invalid: A apărut o problemă la importul propunerilor în proiecte
@@ -220,6 +229,8 @@ ro:
220
229
  filter: Filtrare
221
230
  filter_by: Filtrează după
222
231
  unfold: Extinde
232
+ index:
233
+ view_project: Vizualizare proiect
223
234
  order_progress:
224
235
  vote: Votează
225
236
  order_selected_projects:
@@ -90,10 +90,8 @@ sv:
90
90
  index:
91
91
  actions: Åtgärder
92
92
  cancel: Avbryt
93
- deselect_implementation: Avmarkera
94
93
  finished_orders: Avslutade omröstningar
95
94
  pending_orders: Pågående omröstningar
96
- select_for_implementation: Välj
97
95
  selected: Valda
98
96
  title: Projekt
99
97
  update: Uppdatera
@@ -150,6 +148,8 @@ sv:
150
148
  show: Visa projekt
151
149
  vote: Rösta
152
150
  voted_on: Du har röstat på %{links}
151
+ last_activity:
152
+ new_vote_at_html: "<span>Ny omröstning på %{link}</span>"
153
153
  limit_announcement:
154
154
  cant_vote: Du kan inte rösta på denna budget. <a href="%{landing_path}">Pröva en annan budget</a>.
155
155
  limit_reached: Du har aktiva röster i %{links}. För att rösta måste du <a href="%{landing_path}">ta bort din röst och börja om</a>.
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-budgets version.
5
5
  module Budgets
6
6
  def self.version
7
- "0.27.0.rc2"
7
+ "0.27.1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-budgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0.rc2
4
+ version: 0.27.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-09-19 00:00:00.000000000 Z
13
+ date: 2022-11-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-comments
@@ -18,70 +18,70 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.27.0.rc2
21
+ version: 0.27.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.27.0.rc2
28
+ version: 0.27.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-core
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.27.0.rc2
35
+ version: 0.27.1
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.27.0.rc2
42
+ version: 0.27.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-admin
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.27.0.rc2
49
+ version: 0.27.1
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.27.0.rc2
56
+ version: 0.27.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-dev
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.27.0.rc2
63
+ version: 0.27.1
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.27.0.rc2
70
+ version: 0.27.1
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-proposals
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.27.0.rc2
77
+ version: 0.27.1
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.27.0.rc2
84
+ version: 0.27.1
85
85
  description: A budgets component for decidim's participatory spaces.
86
86
  email:
87
87
  - josepjaume@gmail.com
@@ -264,6 +264,7 @@ files:
264
264
  - config/locales/fr.yml
265
265
  - config/locales/ga-IE.yml
266
266
  - config/locales/gl.yml
267
+ - config/locales/gn-PY.yml
267
268
  - config/locales/hr-HR.yml
268
269
  - config/locales/hr.yml
269
270
  - config/locales/hu.yml
@@ -276,6 +277,7 @@ files:
276
277
  - config/locales/ko.yml
277
278
  - config/locales/lb-LU.yml
278
279
  - config/locales/lb.yml
280
+ - config/locales/lo-LA.yml
279
281
  - config/locales/lt-LT.yml
280
282
  - config/locales/lt.yml
281
283
  - config/locales/lv.yml
@@ -283,6 +285,7 @@ files:
283
285
  - config/locales/mt.yml
284
286
  - config/locales/nl.yml
285
287
  - config/locales/no.yml
288
+ - config/locales/oc-FR.yml
286
289
  - config/locales/om-ET.yml
287
290
  - config/locales/pl.yml
288
291
  - config/locales/pt-BR.yml
@@ -358,9 +361,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
361
  version: '3.0'
359
362
  required_rubygems_version: !ruby/object:Gem::Requirement
360
363
  requirements:
361
- - - ">"
364
+ - - ">="
362
365
  - !ruby/object:Gem::Version
363
- version: 1.3.1
366
+ version: '0'
364
367
  requirements: []
365
368
  rubygems_version: 3.2.22
366
369
  signing_key: