decidim-budgets 0.22.0 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +38 -3
- data/app/assets/stylesheets/decidim/budgets/budget/_budget-list.scss +5 -0
- data/app/cells/decidim/budgets/base_cell.rb +22 -0
- data/app/cells/decidim/budgets/budget_cell.rb +21 -0
- data/app/cells/decidim/budgets/budget_information_modal/show.erb +28 -0
- data/app/cells/decidim/budgets/budget_information_modal_cell.rb +22 -0
- data/app/cells/decidim/budgets/budget_list_item/show.erb +22 -0
- data/app/cells/decidim/budgets/budget_list_item_cell.rb +40 -0
- data/app/cells/decidim/budgets/budget_m/data.erb +12 -0
- data/app/cells/decidim/budgets/budget_m/footer.erb +5 -0
- data/app/cells/decidim/budgets/budget_m_cell.rb +16 -0
- data/app/cells/decidim/budgets/budgets_header/show.erb +7 -0
- data/app/cells/decidim/budgets/budgets_header_cell.rb +14 -0
- data/app/cells/decidim/budgets/budgets_list/card_list.erb +7 -0
- data/app/cells/decidim/budgets/budgets_list/highlighted.erb +11 -0
- data/app/cells/decidim/budgets/budgets_list/show.erb +20 -0
- data/app/cells/decidim/budgets/budgets_list/voted.erb +43 -0
- data/app/cells/decidim/budgets/budgets_list_cell.rb +39 -0
- data/app/cells/decidim/budgets/limit_announcement_cell.rb +52 -0
- data/app/cells/decidim/budgets/project_list_item/project_data.erb +17 -3
- data/app/cells/decidim/budgets/project_list_item/project_data_vote_button.erb +2 -2
- data/app/cells/decidim/budgets/project_list_item/project_text.erb +11 -5
- data/app/cells/decidim/budgets/project_list_item/show.erb +3 -3
- data/app/cells/decidim/budgets/project_list_item_cell.rb +8 -28
- data/app/cells/decidim/budgets/project_m/data.erb +1 -1
- data/app/cells/decidim/budgets/project_m_cell.rb +4 -0
- data/app/cells/decidim/budgets/project_selected_status_cell.rb +28 -0
- data/app/cells/decidim/budgets/project_tags/show.erb +5 -0
- data/app/cells/decidim/budgets/project_tags_cell.rb +18 -0
- data/app/cells/decidim/budgets/project_voted_hint_cell.rb +33 -0
- data/app/cells/decidim/budgets/project_votes_count_cell.rb +44 -0
- data/app/commands/decidim/budgets/add_line_item.rb +7 -10
- data/app/commands/decidim/budgets/admin/create_budget.rb +48 -0
- data/app/commands/decidim/budgets/admin/create_project.rb +12 -7
- data/app/commands/decidim/budgets/admin/destroy_budget.rb +42 -0
- data/app/commands/decidim/budgets/admin/import_proposals_to_budgets.rb +26 -25
- data/app/commands/decidim/budgets/admin/update_budget.rb +48 -0
- data/app/commands/decidim/budgets/admin/update_project.rb +8 -1
- data/app/commands/decidim/budgets/checkout.rb +6 -6
- data/app/commands/decidim/budgets/remove_line_item.rb +3 -2
- data/app/controllers/concerns/decidim/budgets/needs_current_order.rb +14 -2
- data/app/controllers/concerns/decidim/budgets/orderable.rb +3 -7
- data/app/controllers/decidim/budgets/admin/application_controller.rb +10 -2
- data/app/controllers/decidim/budgets/admin/attachment_collections_controller.rb +1 -1
- data/app/controllers/decidim/budgets/admin/attachments_controller.rb +2 -2
- data/app/controllers/decidim/budgets/admin/budgets_controller.rb +82 -0
- data/app/controllers/decidim/budgets/admin/projects_controller.rb +7 -7
- data/app/controllers/decidim/budgets/admin/proposals_imports_controller.rb +10 -2
- data/app/controllers/decidim/budgets/application_controller.rb +23 -0
- data/app/controllers/decidim/budgets/budgets_controller.rb +24 -0
- data/app/controllers/decidim/budgets/line_items_controller.rb +9 -5
- data/app/controllers/decidim/budgets/orders_controller.rb +20 -6
- data/app/controllers/decidim/budgets/projects_controller.rb +19 -18
- data/app/forms/decidim/budgets/admin/budget_form.rb +39 -0
- data/app/forms/decidim/budgets/admin/project_form.rb +14 -10
- data/app/forms/decidim/budgets/admin/project_import_proposals_form.rb +4 -0
- data/app/helpers/decidim/budgets/admin/application_helper.rb +13 -0
- data/app/helpers/decidim/budgets/application_helper.rb +10 -0
- data/app/helpers/decidim/budgets/projects_helper.rb +0 -4
- data/app/mailers/decidim/budgets/order_summary_mailer.rb +5 -3
- data/app/models/decidim/budgets/budget.rb +34 -0
- data/app/models/decidim/budgets/line_item.rb +4 -4
- data/app/models/decidim/budgets/order.rb +23 -19
- data/app/models/decidim/budgets/project.rb +34 -5
- data/app/permissions/decidim/budgets/admin/permissions.rb +23 -10
- data/app/permissions/decidim/budgets/permissions.rb +28 -6
- data/app/presenters/decidim/budgets/admin_log/budget_presenter.rb +42 -0
- data/app/queries/decidim/budgets/filtered_projects.rb +9 -1
- data/app/queries/decidim/budgets/metrics/budget_followers_metric_measure.rb +3 -2
- data/app/queries/decidim/budgets/metrics/budget_participants_metric_measure.rb +6 -5
- data/app/serializers/decidim/budgets/data_portability_budgets_order_serializer.rb +3 -2
- data/app/services/decidim/budgets/project_search.rb +12 -24
- data/app/types/decidim/budgets/budget_type.rb +24 -0
- data/app/types/decidim/budgets/budgets_type.rb +6 -6
- data/app/types/decidim/budgets/project_type.rb +2 -1
- data/app/views/decidim/budgets/admin/budgets/_form.html.erb +23 -0
- data/app/views/decidim/budgets/admin/budgets/edit.html.erb +7 -0
- data/app/views/decidim/budgets/admin/budgets/index.html.erb +58 -0
- data/app/views/decidim/budgets/admin/budgets/new.html.erb +7 -0
- data/app/views/decidim/budgets/admin/projects/_form.html.erb +12 -4
- data/app/views/decidim/budgets/admin/projects/edit.html.erb +2 -2
- data/app/views/decidim/budgets/admin/projects/index.html.erb +20 -7
- data/app/views/decidim/budgets/admin/projects/new.html.erb +2 -2
- data/app/views/decidim/budgets/admin/proposals_imports/new.html.erb +1 -1
- data/app/views/decidim/budgets/budgets/index.html.erb +5 -0
- data/app/views/decidim/budgets/order_summary_mailer/order_summary.html.erb +1 -0
- data/app/views/decidim/budgets/projects/_budget_confirm.html.erb +3 -3
- data/app/views/decidim/budgets/projects/_budget_summary.html.erb +19 -6
- data/app/views/decidim/budgets/projects/_filters.html.erb +6 -2
- data/app/views/decidim/budgets/projects/_linked_projects.html.erb +1 -1
- data/app/views/decidim/budgets/projects/_order_progress.html.erb +10 -6
- data/app/views/decidim/budgets/projects/_order_selected_projects.html.erb +3 -3
- data/app/views/decidim/budgets/projects/_project_budget_button.html.erb +36 -7
- data/app/views/decidim/budgets/projects/index.html.erb +12 -4
- data/app/views/decidim/budgets/projects/show.html.erb +22 -13
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +2 -11
- data/config/locales/bg.yml +6 -0
- data/config/locales/ca.yml +102 -10
- data/config/locales/cs.yml +108 -16
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +120 -28
- data/config/locales/el.yml +3 -9
- data/config/locales/en.yml +101 -9
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +101 -9
- data/config/locales/es-PY.yml +101 -9
- data/config/locales/es.yml +102 -10
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +5 -8
- data/config/locales/fi-plain.yml +102 -10
- data/config/locales/fi.yml +103 -11
- data/config/locales/fr-CA.yml +101 -9
- data/config/locales/fr.yml +101 -9
- data/config/locales/gl.yml +70 -10
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +2 -7
- data/config/locales/id-ID.yml +2 -6
- data/config/locales/is-IS.yml +0 -6
- data/config/locales/is.yml +114 -0
- data/config/locales/it.yml +71 -9
- data/config/locales/ja-JP.yml +1 -0
- data/config/locales/ja.yml +262 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/{lv-LV.yml → lv.yml} +2 -10
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +88 -10
- data/config/locales/no.yml +25 -9
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +114 -22
- data/config/locales/pt-BR.yml +2 -7
- data/config/locales/pt.yml +3 -9
- data/config/locales/ro-RO.yml +3 -10
- data/config/locales/ru.yml +2 -9
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +2 -11
- data/config/locales/sl.yml +0 -4
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +0 -2
- data/config/locales/sv.yml +101 -9
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +153 -34
- data/config/locales/uk.yml +2 -9
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +260 -0
- data/config/locales/zh-TW.yml +1 -0
- data/db/migrate/20200617105120_create_decidim_budgets.rb +15 -0
- data/db/migrate/20200629072626_rename_budget_to_budget_ammount.rb +7 -0
- data/db/migrate/20200629134013_add_budget_reference_to_project.rb +7 -0
- data/db/migrate/20200706142609_add_budget_reference_to_order.rb +7 -0
- data/db/migrate/20200714103519_move_budgets_to_own_model.rb +109 -0
- data/db/migrate/20200717140012_add_scope_to_budgets.rb +7 -0
- data/db/migrate/20200728075039_add_selected_at_to_project.rb +7 -0
- data/db/migrate/20200804175222_votes_enabled_to_votes_choices.rb +35 -0
- data/db/migrate/20200827154129_add_commentable_counter_cache_to_projects.rb +9 -0
- data/lib/decidim/budgets.rb +1 -0
- data/lib/decidim/budgets/admin_engine.rb +10 -5
- data/lib/decidim/budgets/component.rb +83 -38
- data/lib/decidim/budgets/engine.rb +8 -6
- data/lib/decidim/budgets/test/factories.rb +42 -13
- data/lib/decidim/budgets/version.rb +1 -1
- data/lib/decidim/budgets/workflows.rb +17 -0
- data/lib/decidim/budgets/workflows/all.rb +20 -0
- data/lib/decidim/budgets/workflows/base.rb +132 -0
- data/lib/decidim/budgets/workflows/one.rb +33 -0
- metadata +89 -20
- data/app/cells/decidim/budgets/project_list_item/project_data_number.erb +0 -3
- data/app/cells/decidim/budgets/project_list_item/project_data_votes.erb +0 -7
data/config/locales/el.yml
CHANGED
@@ -2,7 +2,6 @@ el:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
project:
|
5
|
-
budget: Προϋπολογισμός
|
6
5
|
decidim_category_id: Κατηγορία
|
7
6
|
decidim_scope_id: Πεδίο εφαρμογής
|
8
7
|
description: Περιγραφή
|
@@ -22,7 +21,6 @@ el:
|
|
22
21
|
destroy: Διαγραφή
|
23
22
|
edit: Επεξεργασία
|
24
23
|
import: Εισαγωγή προτάσεων σε έργα
|
25
|
-
new: Νέο έργο
|
26
24
|
preview: Προεπισκόπηση
|
27
25
|
title: Ενέργειες
|
28
26
|
admin:
|
@@ -69,11 +67,8 @@ el:
|
|
69
67
|
order_summary:
|
70
68
|
selected_projects: 'Τα έργα που έχετε επιλέξει είναι τα εξής:'
|
71
69
|
subject: Ψηφίσατε για τον χώρο συμμετοχής %{space_name}
|
72
|
-
voted_on_space: Ψηφίσατε για τους προϋπολογισμούς του χώρου συμμετοχής %{space_name}.
|
73
|
-
voted_on_space_with_scope: Ψηφίσατε για τους προϋπολογισμούς του χώρου συμμετοχής %{space_name} στο πεδίο εφαρμογής %{scope_name} (%{scope_type}).
|
74
70
|
projects:
|
75
71
|
budget_confirm:
|
76
|
-
are_you_sure: Συμφωνείτε; Μόλις επιβεβαιώσετε την ψήφο σας, δεν μπορείτε να την αλλάξετε.
|
77
72
|
cancel: Ακύρωση
|
78
73
|
confirm: Επιβεβαίωση
|
79
74
|
description: Αυτά είναι τα έργα για τα οποία έχετε επιλέξει να συμμετάσχετε στον προϋπολογισμό.
|
@@ -122,9 +117,6 @@ el:
|
|
122
117
|
random: Τυχαία σειρά
|
123
118
|
project:
|
124
119
|
add: Προσθήκη του έργου %{resource_name} στην ψήφο σας
|
125
|
-
count:
|
126
|
-
one: 1 υποστήριξη
|
127
|
-
other: "%{count} υποστηρίξεις"
|
128
120
|
remove: Αφαίρεση του έργου %{resource_name} από την ψήφο σας
|
129
121
|
view: Προβολή
|
130
122
|
project_budget_button:
|
@@ -144,6 +136,7 @@ el:
|
|
144
136
|
global:
|
145
137
|
announcement: Ανακοίνωση
|
146
138
|
comments_enabled: Τα σχόλια ενεργοποιήθηκαν
|
139
|
+
comments_max_length: Μέγιστο μέγεθος σχολίων (Αφήστε το 0 για το προκαθορισμένο μέγεθος)
|
147
140
|
form:
|
148
141
|
errors:
|
149
142
|
budget_voting_rule_only_one: Μόνο ένας κανόνας ψηφοφορίας πρέπει να είναι ενεργοποιημένος
|
@@ -159,7 +152,8 @@ el:
|
|
159
152
|
announcement: Ανακοίνωση
|
160
153
|
comments_blocked: Τα σχόλια αποκλείστηκαν
|
161
154
|
show_votes: Εμφάνιση ψήφων
|
162
|
-
|
155
|
+
votes_choices:
|
156
|
+
enabled: Η ψηφοφορία ενεργοποιήθηκε
|
163
157
|
orders:
|
164
158
|
checkout:
|
165
159
|
error: Υπήρξε ένα πρόβλημα κατά την επεξεργασία της ψήφου σας
|
data/config/locales/en.yml
CHANGED
@@ -2,12 +2,19 @@
|
|
2
2
|
en:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
+
budget:
|
6
|
+
decidim_scope_id: Scope
|
7
|
+
description: Description
|
8
|
+
title: Title
|
9
|
+
total_budget: Total budget
|
10
|
+
weight: Weight
|
5
11
|
project:
|
6
|
-
|
12
|
+
budget_amount: Budget amount
|
7
13
|
decidim_category_id: Category
|
8
14
|
decidim_scope_id: Scope
|
9
15
|
description: Description
|
10
16
|
proposal_ids: Related proposals
|
17
|
+
selected: Selected for implementation
|
11
18
|
title: Title
|
12
19
|
activerecord:
|
13
20
|
models:
|
@@ -22,12 +29,33 @@ en:
|
|
22
29
|
confirm_destroy: Are you sure you want to delete this project?
|
23
30
|
destroy: Delete
|
24
31
|
edit: Edit
|
32
|
+
edit_projects: Manage projects
|
25
33
|
import: Import proposals to projects
|
26
|
-
new: New
|
34
|
+
new: New %{name}
|
27
35
|
preview: Preview
|
28
36
|
title: Actions
|
29
37
|
admin:
|
38
|
+
budgets:
|
39
|
+
create:
|
40
|
+
invalid: There was a problem creating this budget
|
41
|
+
success: Budget successfully created
|
42
|
+
destroy:
|
43
|
+
invalid: There was a problem deleting this budget
|
44
|
+
success: Budget successfully deleted
|
45
|
+
edit:
|
46
|
+
title: Edit budget
|
47
|
+
update: Update budget
|
48
|
+
index:
|
49
|
+
title: Budgets
|
50
|
+
new:
|
51
|
+
create: Create budget
|
52
|
+
title: New budget
|
53
|
+
update:
|
54
|
+
invalid: There was a problem updating this budget
|
55
|
+
success: Budget successfully updated
|
30
56
|
models:
|
57
|
+
budget:
|
58
|
+
name: Budget
|
31
59
|
project:
|
32
60
|
name: Project
|
33
61
|
projects:
|
@@ -42,6 +70,7 @@ en:
|
|
42
70
|
index:
|
43
71
|
finished_orders: Finished votes
|
44
72
|
pending_orders: Pending votes
|
73
|
+
selected: Selected
|
45
74
|
title: Projects
|
46
75
|
new:
|
47
76
|
create: Create
|
@@ -58,11 +87,39 @@ en:
|
|
58
87
|
no_components: There are no other proposal components in this participatory space to import the proposals into projects.
|
59
88
|
select_component: Please select a component
|
60
89
|
admin_log:
|
90
|
+
budget:
|
91
|
+
create: "%{user_name} created the %{resource_name} budget in the %{space_name} space"
|
92
|
+
delete: "%{user_name} deleted the %{resource_name} budget in the %{space_name} space"
|
93
|
+
update: "%{user_name} updated the %{resource_name} budget in the %{space_name} space"
|
61
94
|
project:
|
62
95
|
create: "%{user_name} created the %{resource_name} project in the %{space_name} space"
|
63
96
|
delete: "%{user_name} deleted the %{resource_name} project in the %{space_name} space"
|
64
97
|
update: "%{user_name} updated the %{resource_name} project in the %{space_name} space"
|
98
|
+
budget:
|
99
|
+
view: View all budget projects
|
100
|
+
budget_information_modal:
|
101
|
+
back_to: Back to %{component_name}
|
102
|
+
close_modal: Close modal
|
103
|
+
continue: Continue
|
104
|
+
more_information: More information
|
105
|
+
budgets_list:
|
106
|
+
cancel_order:
|
107
|
+
more_than_one: delete your vote on %{name} and start over
|
108
|
+
only_one: delete your vote and start over.
|
109
|
+
finished_message: You've finished the voting process. Thanks for participating!
|
110
|
+
highlighted_cta: Vote on %{name}
|
111
|
+
if_change_opinion: If you've changed your mind, you can
|
112
|
+
my_budgets: My budgets
|
113
|
+
voted_on: You've voted on %{links}
|
114
|
+
limit_announcement:
|
115
|
+
cant_vote: You can't vote on this budget. <a href="%{landing_path}">Try on another budget</a>.
|
116
|
+
limit_reached: You have active votes in %{links}. To vote on this budget you must <a href="%{landing_path}">delete your vote and start over</a>.
|
65
117
|
models:
|
118
|
+
budget:
|
119
|
+
fields:
|
120
|
+
name: Name
|
121
|
+
projects_count: Projects count
|
122
|
+
total_budget: Total budget
|
66
123
|
project:
|
67
124
|
fields:
|
68
125
|
title: Title
|
@@ -70,11 +127,11 @@ en:
|
|
70
127
|
order_summary:
|
71
128
|
selected_projects: 'The projects that you have selected are:'
|
72
129
|
subject: You have voted on the %{space_name} participatory space
|
73
|
-
voted_on_space: You have voted on the
|
74
|
-
voted_on_space_with_scope: You have voted on the
|
130
|
+
voted_on_space: You have voted on the %{budget_name} budget for the %{space_name} participatory space.
|
131
|
+
voted_on_space_with_scope: You have voted on the %{budget_name} budget for the %{space_name} participatory space on %{scope_name} (%{scope_type}).
|
75
132
|
projects:
|
76
133
|
budget_confirm:
|
77
|
-
are_you_sure:
|
134
|
+
are_you_sure: If you change your mind, you can change your vote later.
|
78
135
|
cancel: Cancel
|
79
136
|
confirm: Confirm
|
80
137
|
description: These are the projects you have chosen to be part of the budget.
|
@@ -102,6 +159,11 @@ en:
|
|
102
159
|
category: Category
|
103
160
|
scope: Scope
|
104
161
|
search: Search
|
162
|
+
status: Status
|
163
|
+
status_values:
|
164
|
+
all: All
|
165
|
+
not_selected: Not selected
|
166
|
+
selected: Selected
|
105
167
|
filters_small_view:
|
106
168
|
close_modal: Close modal
|
107
169
|
filter: Filter
|
@@ -121,18 +183,22 @@ en:
|
|
121
183
|
lowest_cost: Lowest cost
|
122
184
|
most_voted: Most voted
|
123
185
|
random: Random order
|
186
|
+
selected: Selected
|
124
187
|
project:
|
125
188
|
add: Add project %{resource_name} to your vote
|
126
|
-
count:
|
127
|
-
one: 1 support
|
128
|
-
other: "%{count} supports"
|
129
189
|
remove: Remove project %{resource_name} from your vote
|
190
|
+
selected: Selected
|
130
191
|
view: View
|
192
|
+
votes:
|
193
|
+
one: vote
|
194
|
+
other: votes
|
195
|
+
you_voted: You voted
|
131
196
|
project_budget_button:
|
132
197
|
add: Add to your vote
|
133
198
|
add_descriptive: Add project %{resource_name} to your vote
|
134
199
|
added: Added to your vote
|
135
200
|
added_descriptive: Project %{resource_name} added to your vote
|
201
|
+
projects_for: Projects for %{name}
|
136
202
|
show:
|
137
203
|
budget: Budget
|
138
204
|
view_all_projects: View all projects
|
@@ -145,22 +211,48 @@ en:
|
|
145
211
|
global:
|
146
212
|
announcement: Announcement
|
147
213
|
comments_enabled: Comments enabled
|
214
|
+
comments_max_length: Comments max length (Leave 0 for default value)
|
148
215
|
form:
|
149
216
|
errors:
|
150
217
|
budget_voting_rule_only_one: Only one voting rule must be enabled
|
151
218
|
budget_voting_rule_required: One voting rule is required
|
219
|
+
landing_page_content: Budgets landing page
|
220
|
+
more_information_modal: More information modal
|
152
221
|
projects_per_page: Projects per page
|
153
222
|
resources_permissions_enabled: Actions permissions can be set for each meeting
|
223
|
+
scope_id: Scope
|
224
|
+
scopes_enabled: Scopes enabled
|
225
|
+
title: Title
|
154
226
|
total_budget: Total budget
|
155
227
|
vote_minimum_budget_projects_number: Minimum number of projects to vote
|
156
228
|
vote_rule_minimum_budget_projects_enabled: 'Enable rule: Minimum number of projects to be voted on'
|
157
229
|
vote_rule_threshold_percent_enabled: 'Enable rule: Minimum budget percentage'
|
158
230
|
vote_threshold_percent: Vote threshold percent
|
231
|
+
workflow: Workflow
|
232
|
+
workflow_choices:
|
233
|
+
all: 'Vote in all: allows participants to vote in all budgets.'
|
234
|
+
one: 'Vote in one: allows participants to vote in any budget, but only in one.'
|
159
235
|
step:
|
160
236
|
announcement: Announcement
|
161
237
|
comments_blocked: Comments blocked
|
238
|
+
highlighted_heading: Highlighted heading
|
239
|
+
landing_page_content: Budgets landing page
|
240
|
+
list_heading: List heading
|
241
|
+
more_information_modal: More information modal
|
162
242
|
show_votes: Show votes
|
163
|
-
|
243
|
+
title: Title
|
244
|
+
votes: Voting
|
245
|
+
votes_choices:
|
246
|
+
disabled: Voting disabled
|
247
|
+
enabled: Voting enabled
|
248
|
+
finished: Voting finished
|
249
|
+
events:
|
250
|
+
budgets:
|
251
|
+
budget_published:
|
252
|
+
email_intro: 'The %{resource_title} budget is now active for %{participatory_space_title}. You can see it from this page:'
|
253
|
+
email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
|
254
|
+
email_subject: The %{resource_title} budget is now active for %{participatory_space_title}.
|
255
|
+
notification_title: The <a href="%{resource_path}">%{resource_title}</a> budget is now active for %{participatory_space_title}.
|
164
256
|
orders:
|
165
257
|
checkout:
|
166
258
|
error: There was a problem processing your vote
|
@@ -0,0 +1 @@
|
|
1
|
+
eo:
|
data/config/locales/es-MX.yml
CHANGED
@@ -1,12 +1,19 @@
|
|
1
1
|
es-MX:
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
|
+
budget:
|
5
|
+
decidim_scope_id: Ámbito
|
6
|
+
description: Descripción
|
7
|
+
title: Título
|
8
|
+
total_budget: Presupuesto total
|
9
|
+
weight: Peso
|
4
10
|
project:
|
5
|
-
|
11
|
+
budget_amount: Importe del presupuesto
|
6
12
|
decidim_category_id: Categoría
|
7
13
|
decidim_scope_id: Ámbito
|
8
14
|
description: Descripción
|
9
15
|
proposal_ids: Propuestas relacionadas
|
16
|
+
selected: Seleccionado para implementar
|
10
17
|
title: Título
|
11
18
|
activerecord:
|
12
19
|
models:
|
@@ -21,12 +28,33 @@ es-MX:
|
|
21
28
|
confirm_destroy: '¿Estás seguro de que deseas eliminar este proyecto?'
|
22
29
|
destroy: Borrar
|
23
30
|
edit: Editar
|
31
|
+
edit_projects: Gestionar proyectos
|
24
32
|
import: Importar propuestas a proyectos
|
25
|
-
new: Nuevo
|
33
|
+
new: Nuevo %{name}
|
26
34
|
preview: Previsualizar
|
27
35
|
title: Acciones
|
28
36
|
admin:
|
37
|
+
budgets:
|
38
|
+
create:
|
39
|
+
invalid: Se ha producido un error al crear este proyecto
|
40
|
+
success: Presupuesto creado correctamente
|
41
|
+
destroy:
|
42
|
+
invalid: Hubo un problema al eliminar este presupuesto
|
43
|
+
success: Presupuesto eliminado correctamente
|
44
|
+
edit:
|
45
|
+
title: Editar presupuesto
|
46
|
+
update: Actualizar presupuesto
|
47
|
+
index:
|
48
|
+
title: Presupuestos
|
49
|
+
new:
|
50
|
+
create: Crear presupuesto
|
51
|
+
title: Nuevo presupuesto
|
52
|
+
update:
|
53
|
+
invalid: Se ha producido un problema al actualizar este presupuesto
|
54
|
+
success: Presupuesto actualizado correctamente
|
29
55
|
models:
|
56
|
+
budget:
|
57
|
+
name: Presupuesto
|
30
58
|
project:
|
31
59
|
name: Proyecto
|
32
60
|
projects:
|
@@ -41,6 +69,7 @@ es-MX:
|
|
41
69
|
index:
|
42
70
|
finished_orders: Votos terminados
|
43
71
|
pending_orders: Votos pendientes
|
72
|
+
selected: Seleccionado
|
44
73
|
title: Proyectos
|
45
74
|
new:
|
46
75
|
create: Crear
|
@@ -57,11 +86,39 @@ es-MX:
|
|
57
86
|
no_components: No hay otros componentes de la propuesta en este espacio participativo para importar las propuestas en los proyectos.
|
58
87
|
select_component: Por favor seleccione un componente
|
59
88
|
admin_log:
|
89
|
+
budget:
|
90
|
+
create: "%{user_name} creó el presupuesto %{resource_name} en el espacio %{space_name}"
|
91
|
+
delete: "%{user_name} borró el presupuesto %{resource_name} en el espacio %{space_name}"
|
92
|
+
update: "%{user_name} actualizó el presupuesto %{resource_name} en el espacio %{space_name}"
|
60
93
|
project:
|
61
94
|
create: "%{user_name} creó el proyecto %{resource_name} en el espacio %{space_name}"
|
62
95
|
delete: "%{user_name} borró el proyecto %{resource_name} en el espacio %{space_name}"
|
63
96
|
update: "%{user_name} actualizó el proyecto %{resource_name} en el espacio %{space_name}"
|
97
|
+
budget:
|
98
|
+
view: Ver todos los proyectos de presupuesto
|
99
|
+
budget_information_modal:
|
100
|
+
back_to: Volver a %{component_name}
|
101
|
+
close_modal: Cierra el modal
|
102
|
+
continue: Continuar
|
103
|
+
more_information: Más información
|
104
|
+
budgets_list:
|
105
|
+
cancel_order:
|
106
|
+
more_than_one: eliminar tu voto en %{name} y empezar de nuevo
|
107
|
+
only_one: eliminar tu voto y empezar de nuevo.
|
108
|
+
finished_message: Has terminado el proceso de votación. ¡Gracias por participar!
|
109
|
+
highlighted_cta: Votar en %{name}
|
110
|
+
if_change_opinion: Si has cambiado de opinión, puedes
|
111
|
+
my_budgets: Mis presupuestos
|
112
|
+
voted_on: Has votado en %{links}
|
113
|
+
limit_announcement:
|
114
|
+
cant_vote: No puedes votar en este presupuesto. <a href="%{landing_path}"> Prueba con otro presupuesto</a>.
|
115
|
+
limit_reached: Tienes votos activos en %{links}. Para votar en este presupuesto debes <a href="%{landing_path}">borrar tu voto y empezar de nuevo</a>.
|
64
116
|
models:
|
117
|
+
budget:
|
118
|
+
fields:
|
119
|
+
name: Nombre
|
120
|
+
projects_count: Número de proyectos
|
121
|
+
total_budget: Presupuesto total
|
65
122
|
project:
|
66
123
|
fields:
|
67
124
|
title: Título
|
@@ -69,11 +126,11 @@ es-MX:
|
|
69
126
|
order_summary:
|
70
127
|
selected_projects: 'Lo proyectos que has seleccionado son:'
|
71
128
|
subject: Has votado en el espacio de participación %{space_name}
|
72
|
-
voted_on_space: Has votado en el presupuesto
|
73
|
-
voted_on_space_with_scope: Has votado en el presupuesto del espacio de participación %{space_name}
|
129
|
+
voted_on_space: Has votado en el presupuesto %{budget_name} para el espacio participativo %{space_name}.
|
130
|
+
voted_on_space_with_scope: Has votado en el presupuesto %{budget_name} del espacio de participación %{space_name} de %{scope_name} (%{scope_type}).
|
74
131
|
projects:
|
75
132
|
budget_confirm:
|
76
|
-
are_you_sure:
|
133
|
+
are_you_sure: Si cambias de opinión, puedes cambiar tu voto más tarde.
|
77
134
|
cancel: Cancelar
|
78
135
|
confirm: Confirmar
|
79
136
|
description: Estos son los proyectos que has elegido para formar parte del presupuesto.
|
@@ -101,6 +158,11 @@ es-MX:
|
|
101
158
|
category: Categoría
|
102
159
|
scope: Ámbito
|
103
160
|
search: Buscar
|
161
|
+
status: Estado
|
162
|
+
status_values:
|
163
|
+
all: Todos
|
164
|
+
not_selected: No seleccionado
|
165
|
+
selected: Seleccionado
|
104
166
|
filters_small_view:
|
105
167
|
close_modal: Cerrar ventana
|
106
168
|
filter: Filtrar
|
@@ -120,18 +182,22 @@ es-MX:
|
|
120
182
|
lowest_cost: Menor coste
|
121
183
|
most_voted: Más votados
|
122
184
|
random: Orden aleatorio
|
185
|
+
selected: Seleccionado
|
123
186
|
project:
|
124
187
|
add: Añadir proyecto %{resource_name} a tu voto
|
125
|
-
count:
|
126
|
-
one: 1 apoyo
|
127
|
-
other: "%{count} apoyos"
|
128
188
|
remove: Eliminar el proyecto %{resource_name} de tu voto
|
189
|
+
selected: Seleccionado
|
129
190
|
view: Ver
|
191
|
+
votes:
|
192
|
+
one: voto
|
193
|
+
other: votos
|
194
|
+
you_voted: Has votado
|
130
195
|
project_budget_button:
|
131
196
|
add: Añadir a tu voto
|
132
197
|
add_descriptive: Añadir proyecto %{resource_name} a tu voto
|
133
198
|
added: Añadido a tu voto
|
134
199
|
added_descriptive: El proyecto %{resource_name} se ha añadido a tu voto
|
200
|
+
projects_for: Proyectos de %{name}
|
135
201
|
show:
|
136
202
|
budget: Presupuesto
|
137
203
|
view_all_projects: Ver todos los proyectos
|
@@ -144,22 +210,48 @@ es-MX:
|
|
144
210
|
global:
|
145
211
|
announcement: Anuncio
|
146
212
|
comments_enabled: Comentarios habilitados
|
213
|
+
comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
|
147
214
|
form:
|
148
215
|
errors:
|
149
216
|
budget_voting_rule_only_one: Hay que activar por lo menos una norma para la votación
|
150
217
|
budget_voting_rule_required: Se requiere una norma para la votación
|
218
|
+
landing_page_content: Página de inicio de presupuestos
|
219
|
+
more_information_modal: Modal de "Más información"
|
151
220
|
projects_per_page: Proyectos por página
|
152
221
|
resources_permissions_enabled: Se pueden establecer permisos de acciones para cada encuentro
|
222
|
+
scope_id: Ámbito
|
223
|
+
scopes_enabled: Ámbitos habilitados
|
224
|
+
title: Título
|
153
225
|
total_budget: Presupuesto total
|
154
226
|
vote_minimum_budget_projects_number: Número mínimo de proyectos a votar
|
155
227
|
vote_rule_minimum_budget_projects_enabled: 'Activar norma: Número mínimo de proyectos a votar'
|
156
228
|
vote_rule_threshold_percent_enabled: 'Activar norma: porcentaje mínimo del pressupuesto'
|
157
229
|
vote_threshold_percent: Porcentaje de votos
|
230
|
+
workflow: Workflow
|
231
|
+
workflow_choices:
|
232
|
+
all: 'Votar en todos: permitir a las participantes votar en todos los presupuestos.'
|
233
|
+
one: 'Votar en uno: permitir a las participantes votar en cualquier presupuesto, pero sólo en uno.'
|
158
234
|
step:
|
159
235
|
announcement: Anuncio
|
160
236
|
comments_blocked: Comentarios bloqueados
|
237
|
+
highlighted_heading: Encabezado destacado
|
238
|
+
landing_page_content: Página de inicio de presupuestos
|
239
|
+
list_heading: Título de lista
|
240
|
+
more_information_modal: Modal de "Más información"
|
161
241
|
show_votes: Mostrar los votos
|
162
|
-
|
242
|
+
title: Título
|
243
|
+
votes: Votación
|
244
|
+
votes_choices:
|
245
|
+
disabled: Votación deshabilitada
|
246
|
+
enabled: Votación habilitada
|
247
|
+
finished: Votación finalizada
|
248
|
+
events:
|
249
|
+
budgets:
|
250
|
+
budget_published:
|
251
|
+
email_intro: 'Ya está activa la fase %{resource_title} para %{participatory_space_title}. Puedes verla desde esta página:'
|
252
|
+
email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
|
253
|
+
email_subject: El componente %{resource_title} está ahora activo para %{participatory_space_title}.
|
254
|
+
notification_title: El presupuesto <a href="%{resource_path}">%{resource_title}</a> en %{participatory_space_title} ya está activo.
|
163
255
|
orders:
|
164
256
|
checkout:
|
165
257
|
error: Se ha producido un error al procesar tu voto
|