decidim-budgets 0.29.2 → 0.30.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/budgets/budget_list_item/vote_action.erb +2 -2
  3. data/app/cells/decidim/budgets/project_history_cell.rb +48 -0
  4. data/app/cells/decidim/budgets/project_metadata_cell.rb +3 -3
  5. data/app/cells/decidim/budgets/project_vote_button/show.erb +4 -2
  6. data/app/cells/decidim/budgets/project_vote_button_cell.rb +4 -0
  7. data/app/commands/decidim/budgets/admin/create_budget.rb +1 -1
  8. data/app/commands/decidim/budgets/admin/create_project.rb +1 -1
  9. data/app/commands/decidim/budgets/admin/import_proposals_to_budgets.rb +1 -8
  10. data/app/commands/decidim/budgets/admin/update_budget.rb +1 -1
  11. data/app/commands/decidim/budgets/admin/update_project.rb +2 -2
  12. data/app/commands/decidim/budgets/admin/update_project_selection.rb +1 -1
  13. data/app/controllers/concerns/decidim/budgets/admin/filterable.rb +7 -11
  14. data/app/controllers/decidim/budgets/admin/budgets_controller.rb +12 -15
  15. data/app/controllers/decidim/budgets/admin/projects_controller.rb +61 -85
  16. data/app/controllers/decidim/budgets/orders_controller.rb +7 -3
  17. data/app/controllers/decidim/budgets/projects_controller.rb +7 -16
  18. data/app/forms/decidim/budgets/admin/budget_form.rb +0 -17
  19. data/app/forms/decidim/budgets/admin/project_form.rb +7 -33
  20. data/app/forms/decidim/budgets/admin/project_import_proposals_form.rb +0 -11
  21. data/app/helpers/decidim/budgets/projects_helper.rb +6 -31
  22. data/app/models/decidim/budgets/budget.rb +2 -0
  23. data/app/models/decidim/budgets/project.rb +21 -1
  24. data/app/packs/stylesheets/budgets.scss +0 -2
  25. data/app/permissions/decidim/budgets/admin/permissions.rb +4 -4
  26. data/app/presenters/decidim/budgets/admin_log/budget_presenter.rb +1 -1
  27. data/app/presenters/decidim/budgets/admin_log/project_presenter.rb +1 -1
  28. data/app/presenters/decidim/budgets/project_presenter.rb +28 -0
  29. data/app/queries/decidim/budgets/filtered_projects.rb +2 -2
  30. data/app/queries/decidim/budgets/metrics/budget_followers_metric_measure.rb +2 -2
  31. data/app/queries/decidim/budgets/metrics/budget_participants_metric_measure.rb +2 -2
  32. data/app/serializers/decidim/budgets/download_your_data_budgets_order_serializer.rb +2 -2
  33. data/app/views/decidim/budgets/admin/budgets/_actions.html.erb +21 -0
  34. data/app/views/decidim/budgets/admin/budgets/_budget-tr.html.erb +18 -0
  35. data/app/views/decidim/budgets/admin/budgets/_budgets-thead.html.erb +8 -0
  36. data/app/views/decidim/budgets/admin/budgets/_form.html.erb +0 -6
  37. data/app/views/decidim/budgets/admin/budgets/index.html.erb +16 -48
  38. data/app/views/decidim/budgets/admin/budgets/manage_trash.html.erb +19 -0
  39. data/app/views/decidim/budgets/admin/projects/_actions.html.erb +27 -0
  40. data/app/views/decidim/budgets/admin/projects/_bulk-actions.html.erb +0 -2
  41. data/app/views/decidim/budgets/admin/projects/_form.html.erb +6 -8
  42. data/app/views/decidim/budgets/admin/projects/_project-tr.html.erb +2 -27
  43. data/app/views/decidim/budgets/admin/projects/_projects-thead.html.erb +14 -0
  44. data/app/views/decidim/budgets/admin/projects/bulk_actions/_dropdown.html.erb +7 -10
  45. data/app/views/decidim/budgets/admin/projects/bulk_actions/_taxonomy_change.html.erb +23 -0
  46. data/app/views/decidim/budgets/admin/projects/index.html.erb +19 -21
  47. data/app/views/decidim/budgets/admin/projects/manage_trash.html.erb +26 -0
  48. data/app/views/decidim/budgets/admin/projects/update_attribute.js.erb +1 -1
  49. data/app/views/decidim/budgets/admin/proposals_imports/new.html.erb +0 -5
  50. data/app/views/decidim/budgets/budgets/index.html.erb +6 -1
  51. data/app/views/decidim/budgets/order_summary_mailer/order_summary.html.erb +0 -10
  52. data/app/views/decidim/budgets/orders/status.html.erb +52 -0
  53. data/app/views/decidim/budgets/projects/_order_progress_summary_content.html.erb +3 -3
  54. data/app/views/decidim/budgets/projects/index.html.erb +10 -17
  55. data/app/views/decidim/budgets/projects/index.js.erb +1 -1
  56. data/app/views/decidim/budgets/projects/show.html.erb +19 -11
  57. data/config/locales/ar.yml +3 -10
  58. data/config/locales/bg.yml +3 -43
  59. data/config/locales/ca.yml +95 -42
  60. data/config/locales/cs.yml +101 -42
  61. data/config/locales/de.yml +95 -42
  62. data/config/locales/el.yml +3 -39
  63. data/config/locales/en.yml +95 -42
  64. data/config/locales/es-MX.yml +95 -42
  65. data/config/locales/es-PY.yml +95 -42
  66. data/config/locales/es.yml +95 -42
  67. data/config/locales/eu.yml +95 -42
  68. data/config/locales/fi-plain.yml +95 -42
  69. data/config/locales/fi.yml +94 -41
  70. data/config/locales/fr-CA.yml +38 -44
  71. data/config/locales/fr.yml +38 -44
  72. data/config/locales/ga-IE.yml +0 -3
  73. data/config/locales/gl.yml +3 -7
  74. data/config/locales/hu.yml +3 -40
  75. data/config/locales/id-ID.yml +3 -3
  76. data/config/locales/is-IS.yml +0 -3
  77. data/config/locales/it.yml +3 -5
  78. data/config/locales/ja.yml +92 -42
  79. data/config/locales/kaa.yml +0 -1
  80. data/config/locales/ko.yml +0 -20
  81. data/config/locales/lb.yml +3 -5
  82. data/config/locales/lt.yml +3 -41
  83. data/config/locales/lv.yml +3 -3
  84. data/config/locales/nl.yml +3 -24
  85. data/config/locales/no.yml +3 -8
  86. data/config/locales/pl.yml +5 -43
  87. data/config/locales/pt-BR.yml +4 -43
  88. data/config/locales/pt.yml +3 -5
  89. data/config/locales/ro-RO.yml +3 -17
  90. data/config/locales/ru.yml +3 -3
  91. data/config/locales/sk.yml +3 -3
  92. data/config/locales/sq-AL.yml +0 -16
  93. data/config/locales/sv.yml +94 -41
  94. data/config/locales/tr-TR.yml +3 -5
  95. data/config/locales/uk.yml +3 -3
  96. data/config/locales/zh-CN.yml +3 -4
  97. data/config/locales/zh-TW.yml +3 -39
  98. data/db/migrate/20200827154129_add_commentable_counter_cache_to_projects.rb +1 -1
  99. data/db/migrate/20210310120613_add_followable_counter_cache_to_budgets.rb +1 -1
  100. data/db/migrate/20240828103724_add_deleted_at_to_decidim_budgets_budgets.rb +8 -0
  101. data/db/migrate/20240916135141_add_deleted_at_to_decidim_budgets_projects.rb +8 -0
  102. data/decidim-budgets.gemspec +1 -1
  103. data/lib/decidim/api/budget_type.rb +3 -6
  104. data/lib/decidim/api/budgets_type.rb +4 -5
  105. data/lib/decidim/api/project_type.rb +6 -8
  106. data/lib/decidim/budgets/admin_engine.rb +16 -2
  107. data/lib/decidim/budgets/component.rb +4 -5
  108. data/lib/decidim/budgets/engine.rb +1 -0
  109. data/lib/decidim/budgets/project_serializer.rb +16 -14
  110. data/lib/decidim/budgets/seeds.rb +0 -2
  111. data/lib/decidim/budgets/version.rb +1 -1
  112. metadata +27 -22
  113. data/app/cells/decidim/budgets/project_tags/show.erb +0 -5
  114. data/app/cells/decidim/budgets/project_tags_cell.rb +0 -18
  115. data/app/commands/decidim/budgets/admin/destroy_budget.rb +0 -17
  116. data/app/commands/decidim/budgets/admin/update_project_category.rb +0 -48
  117. data/app/commands/decidim/budgets/admin/update_project_scope.rb +0 -54
  118. data/app/helpers/decidim/budgets/admin/application_helper.rb +0 -13
  119. data/app/views/decidim/budgets/admin/projects/bulk_actions/_recategorize.html.erb +0 -15
  120. data/app/views/decidim/budgets/admin/projects/bulk_actions/_scope-change.html.erb +0 -22
@@ -3,15 +3,12 @@ en:
3
3
  activemodel:
4
4
  attributes:
5
5
  budget:
6
- decidim_scope_id: Scope
7
6
  description: Description
8
7
  title: Title
9
8
  total_budget: Total budget
10
9
  weight: Order position
11
10
  project:
12
11
  budget_amount: Budget amount
13
- decidim_category_id: Category
14
- decidim_scope_id: Scope
15
12
  description: Description
16
13
  proposal_ids: Related proposals
17
14
  proposals: Proposals
@@ -21,6 +18,10 @@ en:
21
18
  scope_id: Scope
22
19
  activerecord:
23
20
  models:
21
+ decidim:
22
+ budgets:
23
+ project:
24
+ text: 'It was added to this budget: %{link}'
24
25
  decidim/budgets/budget:
25
26
  one: Budget
26
27
  other: Budgets
@@ -29,23 +30,25 @@ en:
29
30
  other: Projects
30
31
  decidim:
31
32
  admin:
33
+ admin_log:
34
+ changeset:
35
+ projects: Projects
32
36
  filters:
33
37
  projects:
34
- category_id_eq:
35
- label: Category
36
- scope_id_eq:
37
- label: Scope
38
38
  selected_at_null:
39
39
  label: Selected
40
40
  values:
41
41
  'false': Selected for implementation
42
42
  'true': Not selected for implementation
43
+ taxonomies_part_of_contains:
44
+ label: Taxonomy
43
45
  budgets:
44
46
  actions:
45
47
  attachment_collections: Folders
46
48
  attachments: Attachments
47
- confirm_destroy: Are you sure you want to delete this project?
48
- destroy: Delete
49
+ confirm_delete_budget: Are you sure you want to delete this budget?
50
+ confirm_delete_project: Are you sure you want to delete this project?
51
+ deleted_budgets_info: Deleted budgets can be restored from the trash.
49
52
  edit: Edit
50
53
  edit_projects: Manage projects
51
54
  import: Import proposals to projects
@@ -54,14 +57,13 @@ en:
54
57
  preview: Preview
55
58
  send_voting_reminders: Send voting reminders
56
59
  title: Actions
60
+ view_deleted_budgets: View deleted budgets
61
+ view_deleted_projects: View deleted projects
57
62
  admin:
58
63
  budgets:
59
64
  create:
60
65
  invalid: There was a problem creating this budget.
61
66
  success: Budget successfully created.
62
- destroy:
63
- invalid: There was a problem deleting this budget.
64
- success: Budget successfully deleted.
65
67
  edit:
66
68
  title: Edit budget
67
69
  update: Update budget
@@ -71,6 +73,8 @@ en:
71
73
  title: Budgets
72
74
  users_with_finished_orders: Users with finished votes
73
75
  users_with_pending_orders: Users with pending votes
76
+ manage_trash:
77
+ title: Deleted budgets
74
78
  new:
75
79
  create: Create budget
76
80
  title: New budget
@@ -88,8 +92,6 @@ en:
88
92
  create:
89
93
  invalid: There was a problem creating this project.
90
94
  success: Project successfully created.
91
- destroy:
92
- success: Project successfully deleted.
93
95
  edit:
94
96
  title: Edit project
95
97
  update: Update
@@ -97,9 +99,8 @@ en:
97
99
  actions: Actions
98
100
  cancel: Cancel
99
101
  change_budget: Change budget
100
- change_category: Change category
101
- change_scope: Change scope
102
102
  change_selected: Change selected state
103
+ change_taxonomies: Change taxonomies
103
104
  deselect_implementation: Unselect from implementation
104
105
  finished_orders: Finished votes
105
106
  pending_orders: Pending votes
@@ -111,7 +112,8 @@ en:
111
112
  title: Projects
112
113
  update: Update
113
114
  update_budget_button: Update project's budget
114
- update_scope_button: Update scope
115
+ manage_trash:
116
+ title: Deleted projects
115
117
  new:
116
118
  create: Create
117
119
  title: New project
@@ -119,28 +121,23 @@ en:
119
121
  invalid: There was a problem updating this project.
120
122
  success: Project successfully updated.
121
123
  update_budget:
122
- invalid: 'These projects already are in the same budget or their budgets are more than the maximum allowed: %{projects}.'
123
- select_a_project: Please select a project.
124
- success: 'Projects successfully updated to the %{subject_name} budget: %{projects}.'
125
- update_category:
126
- invalid: 'These projects already had the %{subject_name} category: %{projects}.'
127
- select_a_category: Please select a category.
124
+ invalid: 'These projects already are in the same budget or their budgets are more than the maximum allowed: %{errored}.'
128
125
  select_a_project: Please select a project.
129
- success: 'Projects successfully updated to the %{subject_name} category: %{projects}.'
130
- update_scope:
131
- invalid: 'These projects already had the %{subject_name} scope: %{projects}.'
132
- select_a_project: Please select a project.
133
- select_a_scope: Please select a scope.
134
- success: 'Projects successfully updated to the %{subject_name} scope: %{projects}.'
126
+ success: 'Projects successfully updated to the %{subject_name} budget: %{successful}.'
135
127
  update_selected:
136
128
  invalid:
137
- selected: 'These projects were already selected for implementation: %{projects}.'
138
- unselected: 'These projects were already unselected from implementation: %{projects}.'
129
+ selected: 'These projects were already selected for implementation: %{errored}.'
130
+ unselected: 'These projects were already unselected from implementation: %{errored}.'
139
131
  select_a_project: Please select a project.
140
132
  select_a_selection: Please select an implementation state.
141
133
  success:
142
- selected: 'These projects were successfully selected for implementation: %{projects}.'
143
- unselected: 'These projects were successfully unselected from implementation: %{projects}.'
134
+ selected: 'These projects were successfully selected for implementation: %{successful}.'
135
+ unselected: 'These projects were successfully unselected from implementation: %{successful}.'
136
+ update_taxonomies:
137
+ invalid: 'Taxonomies %{taxonomies} where already assigned on these projects: %{errored}.'
138
+ select_a_project: Please select a project.
139
+ select_a_taxonomy: Please select a taxonomy.
140
+ success: 'Projects successfully updated to the %{taxonomies} taxonomies: %{successful}.'
144
141
  proposals_imports:
145
142
  create:
146
143
  invalid: There was a problem importing the proposals into projects.
@@ -163,10 +160,14 @@ en:
163
160
  budget:
164
161
  create: "%{user_name} created the %{resource_name} budget in the %{space_name} space"
165
162
  delete: "%{user_name} deleted the %{resource_name} budget in the %{space_name} space"
163
+ restore: "%{user_name} restored the %{resource_name} budget in %{space_name}"
164
+ soft_delete: "%{user_name} moved the %{resource_name} budget in %{space_name} to the trash"
166
165
  update: "%{user_name} updated the %{resource_name} budget in the %{space_name} space"
167
166
  project:
168
167
  create: "%{user_name} created the %{resource_name} project in the %{space_name} space"
169
168
  delete: "%{user_name} deleted the %{resource_name} project in the %{space_name} space"
169
+ restore: "%{user_name} restored the %{resource_name} project in %{space_name}"
170
+ soft_delete: "%{user_name} moved the %{resource_name} project in %{space_name} to the trash"
170
171
  update: "%{user_name} updated the %{resource_name} project in the %{space_name} space"
171
172
  budget_information_modal:
172
173
  back_to: Back to %{component_name}
@@ -196,6 +197,8 @@ en:
196
197
  vote: Vote
197
198
  voted_budgets: Voted budgets
198
199
  voted_on: You have voted on %{links}.
200
+ creation:
201
+ text: They were added to this budget
199
202
  last_activity:
200
203
  new_vote_at: New budgeting vote at
201
204
  limit_announcement:
@@ -209,16 +212,30 @@ en:
209
212
  total_budget: Total budget
210
213
  project:
211
214
  fields:
212
- category: Category
213
215
  id: ID
214
216
  map: Map
217
+ taxonomies: Taxonomies
215
218
  title: Title
219
+ order:
220
+ status:
221
+ continue_voting: Continue voting
222
+ download_vote: Download your vote
223
+ pending_to_vote_budgets:
224
+ one: You can vote in other budget
225
+ other: You can vote in other budgets
226
+ share_vote: Share your vote
227
+ title: Your vote has been successfully accepted
228
+ view_votes:
229
+ one: View vote
230
+ other: View votes
231
+ votes_count:
232
+ one: Your vote for %{budget_name} has already been registered.
233
+ other: Your %{count} votes for %{budget_name} have already been registered.
216
234
  order_summary_mailer:
217
235
  order_summary:
218
236
  selected_projects: 'The projects that you have selected are:'
219
237
  subject: You have voted on the %{space_name} participatory space
220
238
  voted_on_space: You have voted on the %{budget_name} budget for the %{space_name} participatory space.
221
- voted_on_space_with_scope: You have voted on the %{budget_name} budget for the %{space_name} participatory space on %{scope_name} (%{scope_type}).
222
239
  projects:
223
240
  budget_confirm:
224
241
  are_you_sure: If you change your mind, you can change your vote later.
@@ -253,8 +270,6 @@ en:
253
270
  message: Your vote has not been registered because you have not yet completed the voting process. Are you sure you want to exit voting?
254
271
  title: You have not yet voted
255
272
  filters:
256
- category: Category
257
- scope: Scope
258
273
  search: Search
259
274
  status: Status
260
275
  status_values:
@@ -323,19 +338,22 @@ en:
323
338
  settings:
324
339
  global:
325
340
  announcement: Announcement
341
+ clear_all: Clear all
326
342
  comments_enabled: Comments enabled
327
343
  comments_max_length: Comments max length (Leave 0 for default value)
344
+ define_taxonomy_filters: Please define some filters for this participatory space before using this setting.
328
345
  form:
329
346
  errors:
330
347
  budget_voting_rule_only_one: Only one voting rule must be enabled.
331
348
  budget_voting_rule_required: One voting rule is required.
332
- geocoding_enabled: Geocoding enabled
349
+ geocoding_enabled: Maps enabled
333
350
  landing_page_content: Budgets landing page
334
351
  more_information_modal: More information modal
352
+ no_taxonomy_filters_found: No taxonomy filters found.
335
353
  projects_per_page: Projects per page
336
354
  resources_permissions_enabled: Actions permissions can be set for each project
337
- scope_id: Scope
338
- scopes_enabled: Scopes enabled
355
+ taxonomy_filters: Select filters for the component
356
+ taxonomy_filters_add: Add filter
339
357
  title: Title
340
358
  total_budget: Total budget
341
359
  vote_minimum_budget_projects_number: Minimum number of projects to vote
@@ -363,6 +381,18 @@ en:
363
381
  disabled: Voting disabled
364
382
  enabled: Voting enabled
365
383
  finished: Voting finished
384
+ download_your_data:
385
+ help:
386
+ orders:
387
+ budget: The budget that the order is related to
388
+ checked_out_at: The date and time when the order was checked out
389
+ component: The component that the order is related to
390
+ created_at: The date and time when the order was created
391
+ id: The unique identifier of the order
392
+ projects: The projects that the order has voted on
393
+ updated_at: The date and time when the order was updated
394
+ show:
395
+ projects: Projects export
366
396
  events:
367
397
  budgets:
368
398
  budget_published:
@@ -370,11 +400,34 @@ en:
370
400
  email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
371
401
  email_subject: The %{resource_title} budget is now active for %{participatory_space_title}.
372
402
  notification_title: The <a href="%{resource_path}">%{resource_title}</a> budget is now active for %{participatory_space_title}.
403
+ open_data:
404
+ help:
405
+ projects:
406
+ address: The address of the project (if any)
407
+ budget: Data regarding the budget (e.g. "2021 Budget") of the project
408
+ budget_amount: The total amount of the budget for this project
409
+ comments: The number of comments this project has received
410
+ component: The component that the project belongs to
411
+ confirmed_votes: The number of confirmed votes this project has received
412
+ created_at: The date and time when the project was created
413
+ description: The description of the project
414
+ follows_count: The number of follows the project has
415
+ id: The unique identifier of the project
416
+ latitude: The latitude of the project in case it has a physical location
417
+ longitude: The longitude of the project in case it has a physical location
418
+ participatory_space: To which space (e.g. Participatory Process, or Assembly) this project belongs to
419
+ reference: The unique reference of the project
420
+ related_proposal_titles: The titles of the related proposals
421
+ related_proposal_urls: The URLs of the related proposals
422
+ related_proposals: The related proposals to this project
423
+ selected_at: The time at which the project was selected
424
+ taxonomies: The taxonomies of the project
425
+ title: The title of the project
426
+ updated_at: The last date the project was updated
427
+ url: The URL of the project
373
428
  orders:
374
429
  checkout:
375
430
  error: There was a problem processing your vote.
376
- success_html: <p>Your vote has been successfully accepted.</p> <p class="text-sm font-normal">You can explore the <a class="text-secondary underline" href="%{rest_of_budgets_link}">rest of budgets</a>.</p>
377
- success_no_left_budgets_html: Your vote has been successfully accepted.
378
431
  destroy:
379
432
  error: There was a problem canceling your vote.
380
433
  success: Your vote has been successfully canceled.
@@ -3,15 +3,12 @@ es-MX:
3
3
  activemodel:
4
4
  attributes:
5
5
  budget:
6
- decidim_scope_id: Ámbito
7
6
  description: Descripción
8
7
  title: Título
9
8
  total_budget: Presupuesto total
10
9
  weight: Orden de posición
11
10
  project:
12
11
  budget_amount: Importe del presupuesto
13
- decidim_category_id: Categoría
14
- decidim_scope_id: Ámbito
15
12
  description: Descripción
16
13
  proposal_ids: Propuestas relacionadas
17
14
  proposals: Propuestas
@@ -21,6 +18,10 @@ es-MX:
21
18
  scope_id: Ámbito
22
19
  activerecord:
23
20
  models:
21
+ decidim:
22
+ budgets:
23
+ project:
24
+ text: 'Se añadió a este presupuesto: %{link}'
24
25
  decidim/budgets/budget:
25
26
  one: Presupuesto
26
27
  other: Presupuestos
@@ -29,23 +30,25 @@ es-MX:
29
30
  other: Proyectos
30
31
  decidim:
31
32
  admin:
33
+ admin_log:
34
+ changeset:
35
+ projects: Proyectos
32
36
  filters:
33
37
  projects:
34
- category_id_eq:
35
- label: Categoría
36
- scope_id_eq:
37
- label: Ámbito
38
38
  selected_at_null:
39
39
  label: Seleccionado
40
40
  values:
41
41
  'false': Seleccionado para implementación
42
42
  'true': No seleccionado para la implementación
43
+ taxonomies_part_of_contains:
44
+ label: Taxonomía
43
45
  budgets:
44
46
  actions:
45
47
  attachment_collections: Carpetas
46
48
  attachments: Archivos adjuntos
47
- confirm_destroy: '¿Seguro que deseas eliminar este proyecto?'
48
- destroy: Borrar
49
+ confirm_delete_budget: '¿Seguro que deseas eliminar este presupuesto?'
50
+ confirm_delete_project: '¿Seguro que deseas eliminar este proyecto?'
51
+ deleted_budgets_info: Los presupuestos eliminados se pueden restaurar desde papelera.
49
52
  edit: Editar
50
53
  edit_projects: Gestionar proyectos
51
54
  import: Importar propuestas a proyectos
@@ -54,14 +57,13 @@ es-MX:
54
57
  preview: Previsualizar
55
58
  send_voting_reminders: Enviar recordatorios de votación
56
59
  title: Acciones
60
+ view_deleted_budgets: Ver los presupuestos eliminados
61
+ view_deleted_projects: Ver los proyectos eliminados
57
62
  admin:
58
63
  budgets:
59
64
  create:
60
65
  invalid: Se ha producido un error al crear este proyecto.
61
66
  success: Presupuesto creado correctamente.
62
- destroy:
63
- invalid: Hubo un problema al eliminar este presupuesto.
64
- success: Presupuesto eliminado correctamente.
65
67
  edit:
66
68
  title: Editar presupuesto
67
69
  update: Actualizar presupuesto
@@ -71,6 +73,8 @@ es-MX:
71
73
  title: Presupuestos
72
74
  users_with_finished_orders: Usuarias con votos finalizados
73
75
  users_with_pending_orders: Usuarias con votos pendientes
76
+ manage_trash:
77
+ title: Presupuestos eliminados
74
78
  new:
75
79
  create: Crear presupuesto
76
80
  title: Nuevo presupuesto
@@ -88,8 +92,6 @@ es-MX:
88
92
  create:
89
93
  invalid: Se ha producido un error al crear este proyecto.
90
94
  success: Proyecto creado correctamente.
91
- destroy:
92
- success: Proyecto eliminado correctamente.
93
95
  edit:
94
96
  title: Editar proyecto
95
97
  update: Actualizar
@@ -97,9 +99,8 @@ es-MX:
97
99
  actions: Acciones
98
100
  cancel: Cancelar
99
101
  change_budget: Cambiar presupuesto
100
- change_category: Cambiar categoría
101
- change_scope: Cambiar ámbito
102
102
  change_selected: Cambiar estado seleccionado
103
+ change_taxonomies: Cambiar taxonomías
103
104
  deselect_implementation: No seleccionado para implementar
104
105
  finished_orders: Votos terminados
105
106
  pending_orders: Votos pendientes
@@ -111,7 +112,8 @@ es-MX:
111
112
  title: Proyectos
112
113
  update: Actualizar
113
114
  update_budget_button: Actualizar el presupuesto del proyecto
114
- update_scope_button: Actualizar ámbito
115
+ manage_trash:
116
+ title: Proyectos eliminados
115
117
  new:
116
118
  create: Crear
117
119
  title: Nuevo proyecto
@@ -119,28 +121,23 @@ es-MX:
119
121
  invalid: Se ha producido un error al actualizar este proyecto.
120
122
  success: Proyecto actualizado correctamente.
121
123
  update_budget:
122
- invalid: 'Estos proyectos ya están en el mismo presupuesto o sus presupuestos son superiores al máximo permitido: %{projects}.'
123
- select_a_project: Por favor, selecciona un proyecto.
124
- success: 'Proyectos actualizados correctamente para el presupuesto %{subject_name}: %{projects}.'
125
- update_category:
126
- invalid: 'Estas propuestas ya tenían la categoría %{subject_name}: %{projects}.'
127
- select_a_category: Por favor, selecciona una categoría.
124
+ invalid: 'Estos proyectos ya están en el mismo presupuesto o sus presupuestos son superiores al máximo permitido: %{errored}.'
128
125
  select_a_project: Por favor, selecciona un proyecto.
129
- success: 'Los siguientes proyectos se han actualizado correctamente a la categoría %{subject_name}: %{projects}.'
130
- update_scope:
131
- invalid: 'Estos proyectos ya tenían el ámbito %{subject_name}: %{projects}.'
132
- select_a_project: Por favor, selecciona un proyecto.
133
- select_a_scope: Por favor, selecciona un ámbito.
134
- success: 'Los siguientes proyectos se han actualizado correctamente al ámbito %{subject_name}: %{projects}.'
126
+ success: 'Proyectos actualizados correctamente para el presupuesto %{subject_name}: %{successful}.'
135
127
  update_selected:
136
128
  invalid:
137
- selected: 'Estos proyectos ya han sido seleccionados para ser implementados: %{projects}.'
138
- unselected: 'Estos proyectos ya han sido deseleccionados de ser implementados: %{projects}.'
129
+ selected: 'Estos proyectos ya han sido seleccionados para ser implementados: %{errored}.'
130
+ unselected: 'Estos proyectos que aparecían para ser implementados ya han sido deseleccionados: %{errored}.'
139
131
  select_a_project: Por favor, selecciona un proyecto.
140
132
  select_a_selection: Por favor, seleccione un estado de implementación.
141
133
  success:
142
- selected: 'Estos proyectos fueron seleccionados con éxito para ser implementados: %{projects}.'
143
- unselected: 'Estos proyectos fueron deseleccionados con éxito para ser implementados: %{projects}.'
134
+ selected: 'Estos proyectos fueron seleccionados con éxito para ser implementados: %{successful}.'
135
+ unselected: 'Estos proyectos que aparecían para implementar fueron deseleccionados con éxito: %{successful}.'
136
+ update_taxonomies:
137
+ invalid: 'Las taxonomías %{taxonomies} ya estaban asignadas a estos proyectos: %{errored}.'
138
+ select_a_project: Por favor, selecciona un proyecto.
139
+ select_a_taxonomy: Por favor, selecciona una taxonomía.
140
+ success: 'Los proyectos se han actualizado correctamente a las taxonomias "%{taxonomies}": %{successful}.'
144
141
  proposals_imports:
145
142
  create:
146
143
  invalid: Se ha producido un error al importar las propuestas a proyectos.
@@ -160,10 +157,14 @@ es-MX:
160
157
  budget:
161
158
  create: "%{user_name} creó el presupuesto %{resource_name} en el espacio %{space_name}"
162
159
  delete: "%{user_name} borró el presupuesto %{resource_name} en el espacio %{space_name}"
160
+ restore: "%{user_name} restauró el presupuesto %{resource_name} en %{space_name}"
161
+ soft_delete: "%{user_name} ha movido el presupuesto %{resource_name} en %{space_name} a la papelera"
163
162
  update: "%{user_name} actualizó el presupuesto %{resource_name} en el espacio %{space_name}"
164
163
  project:
165
164
  create: "%{user_name} creó el proyecto %{resource_name} en el espacio %{space_name}"
166
165
  delete: "%{user_name} borró el proyecto %{resource_name} en el espacio %{space_name}"
166
+ restore: "%{user_name} restauró el proyecto %{resource_name} en %{space_name}"
167
+ soft_delete: "%{user_name} ha movido el proyecto %{resource_name} en %{space_name} a la papelera"
167
168
  update: "%{user_name} actualizó el proyecto %{resource_name} en el espacio %{space_name}"
168
169
  budget_information_modal:
169
170
  back_to: Volver a %{component_name}
@@ -193,6 +194,8 @@ es-MX:
193
194
  vote: Votar
194
195
  voted_budgets: Presupuestos votados
195
196
  voted_on: Has votado a %{links}.
197
+ creation:
198
+ text: Se añadieron a este presupuesto
196
199
  last_activity:
197
200
  new_vote_at: Nueva votación presupuestaria en
198
201
  limit_announcement:
@@ -206,16 +209,30 @@ es-MX:
206
209
  total_budget: Presupuesto total
207
210
  project:
208
211
  fields:
209
- category: Categoría
210
212
  id: ID
211
213
  map: Mapa
214
+ taxonomies: Taxonomías
212
215
  title: Título
216
+ order:
217
+ status:
218
+ continue_voting: Seguir votando
219
+ download_vote: Descarga tu voto
220
+ pending_to_vote_budgets:
221
+ one: Puedes votar en otro presupuesto
222
+ other: Puedes votar en otros presupuestos
223
+ share_vote: Comparte tu voto
224
+ title: Tu voto se ha tramitado con éxito
225
+ view_votes:
226
+ one: Ver voto
227
+ other: Ver votos
228
+ votes_count:
229
+ one: Tu voto en %{budget_name} ya se ha registrado.
230
+ other: Tus %{count} votos en %{budget_name} ya se han registrado.
213
231
  order_summary_mailer:
214
232
  order_summary:
215
233
  selected_projects: 'Lo proyectos que has seleccionado son:'
216
234
  subject: Has votado en el espacio de participación %{space_name}
217
235
  voted_on_space: Has votado en el presupuesto %{budget_name} para el espacio participativo %{space_name}.
218
- voted_on_space_with_scope: Has votado en el presupuesto %{budget_name} del espacio de participación %{space_name} de %{scope_name} (%{scope_type}).
219
236
  projects:
220
237
  budget_confirm:
221
238
  are_you_sure: Si cambias de opinión, puedes cambiar tu voto más tarde.
@@ -250,8 +267,6 @@ es-MX:
250
267
  message: Tu voto no ha sido registrado porque aún no has completado el proceso de votación. ¿Seguro que quieres salir de la votación?
251
268
  title: Aún no has votado
252
269
  filters:
253
- category: Categoría
254
- scope: Ámbito
255
270
  search: Buscar
256
271
  status: Estado
257
272
  status_values:
@@ -320,19 +335,22 @@ es-MX:
320
335
  settings:
321
336
  global:
322
337
  announcement: Anuncio
338
+ clear_all: Limpiar todo
323
339
  comments_enabled: Comentarios habilitados
324
340
  comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
341
+ define_taxonomy_filters: Por favor, define algunos filtros para este espacio de participación antes de utilizar esta configuración.
325
342
  form:
326
343
  errors:
327
344
  budget_voting_rule_only_one: Solo debe habilitarse una norma de votación.
328
345
  budget_voting_rule_required: Se requiere una norma para la votación.
329
- geocoding_enabled: Geolocalización habilitada
346
+ geocoding_enabled: Mapas habilitados
330
347
  landing_page_content: Página de inicio de presupuestos
331
348
  more_information_modal: Modal de "Más información"
349
+ no_taxonomy_filters_found: No se han encontrado filtros de taxonomía.
332
350
  projects_per_page: Proyectos por página
333
351
  resources_permissions_enabled: Se pueden establecer permisos de acciones para cada proyecto
334
- scope_id: Ámbito
335
- scopes_enabled: Ámbitos habilitados
352
+ taxonomy_filters: Seleccionar filtros para el componente
353
+ taxonomy_filters_add: Añadir un filtro
336
354
  title: Título
337
355
  total_budget: Presupuesto total
338
356
  vote_minimum_budget_projects_number: Número mínimo de proyectos a votar
@@ -360,6 +378,18 @@ es-MX:
360
378
  disabled: Votación deshabilitada
361
379
  enabled: Votación habilitada
362
380
  finished: Votación finalizada
381
+ download_your_data:
382
+ help:
383
+ orders:
384
+ budget: El presupuesto sobre el que se ha emitido el voto
385
+ checked_out_at: La fecha y la hora en que se entregó la petición
386
+ component: El componente con el que está relacionada la petición
387
+ created_at: La fecha y la hora en que se creó la petición
388
+ id: El identificador único de la petición
389
+ projects: Los proyectos votados recogidos en esta petición
390
+ updated_at: La fecha y la hora en que se actualizó la petición
391
+ show:
392
+ projects: Exportar los proyectos
363
393
  events:
364
394
  budgets:
365
395
  budget_published:
@@ -367,11 +397,34 @@ es-MX:
367
397
  email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
368
398
  email_subject: El componente %{resource_title} está ahora activo para %{participatory_space_title}.
369
399
  notification_title: El presupuesto <a href="%{resource_path}">%{resource_title}</a> en %{participatory_space_title} ya está activo.
400
+ open_data:
401
+ help:
402
+ projects:
403
+ address: La localización (dirección) del proyecto (si tiene)
404
+ budget: Datos sobre el presupuesto (e.g. "Presupuestos participativos 2021") en el que está incluido el proyecto
405
+ budget_amount: La cantidad total de presupuesto para este proyecto
406
+ comments: El número de comentarios que ha recibido este proyecto
407
+ component: El componente al que pertenece el proyecto
408
+ confirmed_votes: El número de votos confirmados que ha recibido este proyecto
409
+ created_at: La fecha y hora en que se creó el proyecto
410
+ description: La descripción del proyecto
411
+ follows_count: El número de seguidoras que tiene el proyecto
412
+ id: El identificador único del proyecto
413
+ latitude: La latitud del proyecto en caso de que este tenga una ubicación física
414
+ longitude: La longitud del proyecto en caso de que este tenga una ubicación física
415
+ participatory_space: A qué espacio pertenece este proyecto (proceso participativo, asamblea, etc.)
416
+ reference: La referencia única del proyecto
417
+ related_proposal_titles: Los títulos de las propuestas relacionadas
418
+ related_proposal_urls: Las URL de las propuestas relacionadas
419
+ related_proposals: Las propuestas relacionadas con este proyecto
420
+ selected_at: La hora en la que el proyecto fue seleccionado
421
+ taxonomies: Las taxonomías del proyecto
422
+ title: El título del proyecto
423
+ updated_at: La fecha de la última actualización de este proyecto
424
+ url: La URL del proyecto
370
425
  orders:
371
426
  checkout:
372
427
  error: Se ha producido un error al procesar tu voto.
373
- success_html: <p>Tu voto ha sido aceptado con éxito.</p> <p class="text-sm font-normal">Puedes <a class="text-secondary underline" href="%{rest_of_budgets_link}">explorar el resto de presupuestos</a>.</p>
374
- success_no_left_budgets_html: Tu voto se ha aceptado correctamente.
375
428
  destroy:
376
429
  error: Se ha producido un error al cancelar tu voto.
377
430
  success: Tu voto se ha cancelado correctamente.