decidim-challenges 0.7.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/challenges/challenge_g/show.erb +1 -1
  3. data/app/cells/decidim/challenges/challenge_g_cell.rb +0 -20
  4. data/app/cells/decidim/problems/problem_g/show.erb +1 -1
  5. data/app/cells/decidim/problems/problem_g_cell.rb +1 -25
  6. data/app/cells/decidim/solutions/solution_g/show.erb +1 -1
  7. data/app/cells/decidim/solutions/solution_g_cell.rb +0 -40
  8. data/app/commands/decidim/challenges/admin/create_challenge.rb +3 -4
  9. data/app/commands/decidim/challenges/admin/update_challenge.rb +3 -4
  10. data/app/commands/decidim/challenges/survey_challenge.rb +1 -1
  11. data/app/commands/decidim/command_utils.rb +1 -1
  12. data/app/commands/decidim/problems/admin/create_problem.rb +2 -4
  13. data/app/commands/decidim/problems/admin/update_problem.rb +2 -4
  14. data/app/controllers/decidim/challenges/admin/challenges_controller.rb +3 -3
  15. data/app/controllers/decidim/challenges/admin/survey_form_controller.rb +7 -3
  16. data/app/controllers/decidim/challenges/admin/surveys_controller.rb +12 -8
  17. data/app/controllers/decidim/challenges/challenges_controller.rb +1 -8
  18. data/app/controllers/decidim/challenges/surveys_controller.rb +4 -4
  19. data/app/controllers/decidim/problems/admin/problems_controller.rb +3 -3
  20. data/app/controllers/decidim/problems/problems_controller.rb +1 -10
  21. data/app/controllers/decidim/solutions/admin/solutions_controller.rb +4 -4
  22. data/app/controllers/decidim/solutions/solutions_controller.rb +1 -24
  23. data/app/forms/decidim/challenges/admin/challenges_form.rb +2 -9
  24. data/app/forms/decidim/problems/admin/problems_form.rb +3 -19
  25. data/app/forms/decidim/solutions/solutions_form.rb +2 -3
  26. data/app/helpers/decidim/challenges/challenge_cells_helper.rb +1 -1
  27. data/app/helpers/decidim/challenges/challenges_helper.rb +3 -7
  28. data/app/helpers/decidim/problems/problems_helper.rb +3 -8
  29. data/app/helpers/decidim/solutions/application_helper.rb +1 -3
  30. data/app/helpers/decidim/solutions/solution_cells_helper.rb +1 -1
  31. data/app/helpers/decidim/solutions/solutions_helper.rb +2 -5
  32. data/app/models/decidim/challenges/challenge.rb +5 -8
  33. data/app/models/decidim/challenges/survey.rb +5 -2
  34. data/app/models/decidim/problems/problem.rb +5 -54
  35. data/app/models/decidim/solutions/solution.rb +10 -16
  36. data/app/permissions/decidim/challenges/admin/permissions.rb +3 -9
  37. data/app/presenters/decidim/challenges/challenge_presenter.rb +16 -19
  38. data/app/presenters/decidim/problems/problem_presenter.rb +11 -12
  39. data/app/presenters/decidim/solutions/solution_presenter.rb +36 -37
  40. data/app/serializers/decidim/challenges/download_your_data_survey_serializer.rb +5 -5
  41. data/app/serializers/decidim/challenges/survey_serializer.rb +8 -8
  42. data/app/serializers/decidim/solutions/solution_serializer.rb +2 -1
  43. data/app/types/decidim/challenges/challenge_type.rb +1 -3
  44. data/app/types/decidim/challenges/challenges_type.rb +1 -3
  45. data/app/types/decidim/problems/problem_type.rb +1 -3
  46. data/app/types/decidim/problems/problems_type.rb +1 -3
  47. data/app/types/decidim/solutions/solution_type.rb +1 -1
  48. data/app/types/decidim/solutions/solutions_type.rb +1 -3
  49. data/app/views/decidim/challenges/admin/challenges/_form.html.erb +8 -13
  50. data/app/views/decidim/challenges/admin/survey_form/edit_questions.html.erb +46 -0
  51. data/app/views/decidim/challenges/admin/surveys/edit.html.erb +6 -5
  52. data/app/views/decidim/challenges/admin/surveys/index.html.erb +12 -12
  53. data/app/views/decidim/challenges/admin/surveys/show.html.erb +14 -14
  54. data/app/views/decidim/challenges/challenges/_sidebar_data.html.erb +3 -10
  55. data/app/views/decidim/challenges/challenges/show.html.erb +1 -3
  56. data/app/views/decidim/problems/admin/problems/_form.html.erb +8 -17
  57. data/app/views/decidim/problems/problems/_sidebar_data.html.erb +2 -22
  58. data/app/views/decidim/problems/problems/show.html.erb +1 -3
  59. data/app/views/decidim/solutions/admin/solutions/_form.html.erb +9 -9
  60. data/app/views/decidim/solutions/admin/solutions/index.html.erb +3 -3
  61. data/app/views/decidim/solutions/solutions/_form.html.erb +4 -4
  62. data/app/views/decidim/solutions/solutions/_sidebar_data.html.erb +2 -22
  63. data/app/views/decidim/solutions/solutions/show.html.erb +1 -3
  64. data/config/locales/ca.yml +24 -13
  65. data/config/locales/cs.yml +12 -11
  66. data/config/locales/en.yml +25 -12
  67. data/config/locales/es.yml +25 -11
  68. data/config/locales/oc.yml +13 -12
  69. data/db/migrate/20260116075427_add_author_type_to_challenges_surveys.rb +40 -0
  70. data/db/migrate/20260526153523_remove_scope_from_challenges_and_problems.rb +9 -0
  71. data/lib/decidim/challenges/admin_engine.rb +7 -3
  72. data/lib/decidim/challenges/component.rb +2 -2
  73. data/lib/decidim/challenges/engine.rb +0 -1
  74. data/lib/decidim/challenges/test/factories.rb +1 -1
  75. data/lib/decidim/challenges/version.rb +3 -3
  76. data/lib/decidim/problems/test/factories.rb +1 -1
  77. data/lib/decidim/solutions/test/factories.rb +1 -1
  78. metadata +9 -7
  79. data/app/controllers/concerns/decidim/with_default_filters.rb +0 -23
@@ -1,46 +1,37 @@
1
1
  <div class="form__wrapper">
2
2
  <div class="card pt-4">
3
3
  <div class="card-section">
4
- <div class="row column hashtags__container">
5
- <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, aria: { label: :title } %>
4
+ <div class="row column">
5
+ <%= form.translated :text_field, :title, autofocus: true, aria: { label: :title } %>
6
6
  </div>
7
7
 
8
- <div class="row column hashtags__container">
8
+ <div class="row column">
9
9
  <%= form.translated :editor, :description %>
10
10
  </div>
11
11
 
12
- <div class="row column hashtags__container">
12
+ <div class="row column">
13
13
  <%= form.text_field :tags %>
14
14
  </div>
15
15
 
16
- <div class="row column hashtags__container">
17
- <%= form.text_field :causes %>
18
- </div>
19
-
20
- <div class="row column hashtags__container">
21
- <%= form.text_field :groups_affected %>
22
- </div>
23
-
24
16
  <div class="row column">
25
- <%= scopes_select_field form, :decidim_sectorial_scope_id, root: nil %>
17
+ <%= form.text_field :causes %>
26
18
  </div>
27
19
 
28
20
  <div class="row column">
29
- <%= scopes_select_field form, :decidim_technological_scope_id, root: nil %>
21
+ <%= form.text_field :groups_affected %>
30
22
  </div>
31
23
 
32
24
  <div class="row column">
33
25
  <%= form.select :state,
34
26
  @form.select_states_collection,
35
- selected: [I18n.t(@form.try(:state), scope: 'decidim.problems.states'), Decidim::Problems::Problem::states[@form.try(:state)]],
36
27
  label: t("models.problem.fields.state", scope: "decidim.problems.admin") %>
37
28
  </div>
38
29
 
39
- <div class="row column hashtags__container">
30
+ <div class="row column">
40
31
  <%= form.text_field :proposing_entities %>
41
32
  </div>
42
33
 
43
- <div class="row column hashtags__container">
34
+ <div class="row column">
44
35
  <%= form.text_field :collaborating_entities %>
45
36
  </div>
46
37
  </div>
@@ -5,13 +5,6 @@
5
5
  <p class="uppercase mb-4"><%= t(@problem.state, scope: "decidim.problems.states") %></p>
6
6
  </div>
7
7
 
8
- <% if @challenge_scope.present? %>
9
- <div class="text-sm flex flex-col items-center gap-1">
10
- <p class="uppercase text-xs"><%= t("scope", scope: "activemodel.attributes.problem") %></p>
11
- <p class="uppercase mb-4"><%= translated_attribute(@challenge_scope.name) %></p>
12
- </div>
13
- <% end %>
14
-
15
8
  <% if @problem.challenge.coordinating_entities.present? %>
16
9
  <div class="text-sm flex flex-col items-center gap-1">
17
10
  <p class="uppercase text-xs"><%= t("coordinating_entities", scope: "activemodel.attributes.challenge") %></p>
@@ -33,19 +26,6 @@
33
26
  </div>
34
27
  <% end %>
35
28
 
36
- <% if @problem.decidim_sectorial_scope_id.present? %>
37
- <div class="text-sm flex flex-col items-center gap-1">
38
- <p class="uppercase text-xs"><%= t("decidim_sectorial_scope_id", scope: "activemodel.attributes.problem") %></p>
39
- <p class="uppercase mb-4"><%= translated_attribute current_organization.scopes.find_by(id: @problem.decidim_sectorial_scope_id).name %></p>
40
- </div>
41
- <% end %>
42
-
43
- <% if @problem.decidim_technological_scope_id.present? %>
44
- <div class="text-sm flex flex-col items-center gap-1">
45
- <p class="uppercase text-xs"><%= t("decidim_sectorial_scope_id", scope: "activemodel.attributes.problem") %></p>
46
- <p class="uppercase mb-4"><%= translated_attribute current_organization.scopes.find_by(id: @problem.decidim_technological_scope_id).name %></p>
47
- </div>
48
- <% end %>
49
29
  </div>
50
30
 
51
31
  <% if @problem.challenge.sdg_code %>
@@ -65,6 +45,6 @@
65
45
 
66
46
  <section class="layout-aside__section actions__secondary">
67
47
  <%= resource_reference(current_participatory_space) %>
68
- <%= render partial: "decidim/shared/follow_button", class: "text-center", locals: { followable: current_participatory_space, large: false } %>
69
- <%= cell "decidim/share_button", nil %>
48
+ <%= cell("decidim/follow_button", @problem, button_classes: "button button__sm button__transparent-secondary") %>
49
+ <%= cell("decidim/share_widget", @problem) %>
70
50
  </section>
@@ -4,13 +4,11 @@
4
4
  <%= render layout: "layouts/decidim/shared/layout_item", locals: { back_path: problems_path } do %>
5
5
  <section class="layout-main__section layout-main__heading">
6
6
  <h1 class="h2 decorator">
7
- <%= present(@problem).title(links: true, html_escape: true) %>
7
+ <%= present(@problem).title(html_escape: true) %>
8
8
  </h1>
9
9
  </section>
10
10
 
11
11
  <section class="layout-main__section content-block__description">
12
- <%= render partial: "decidim/shared/share_modal" %>
13
-
14
12
  <h3 class="h4">
15
13
  <span class="title"><%= t("challenge", scope: "activemodel.attributes.problem") %></span>:
16
14
  <%= link_to translated_attribute(@problem.challenge.title), Decidim::ResourceLocatorPresenter.new(@problem.challenge).path %></strong>
@@ -1,35 +1,35 @@
1
1
  <div class="form__wrapper">
2
2
  <div class="card pt-4">
3
3
  <div class="card-section">
4
- <div class="row column hashtags__container">
5
- <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, aria: { label: :title } %>
4
+ <div class="row column">
5
+ <%= form.translated :text_field, :title, autofocus: true, aria: { label: :title } %>
6
6
  </div>
7
7
 
8
- <div class="row column hashtags__container">
8
+ <div class="row column">
9
9
  <%= form.translated :editor, :description %>
10
10
  </div>
11
11
 
12
- <div class="row column hashtags__container">
12
+ <div class="row column">
13
13
  <%= form.text_field :tags %>
14
14
  </div>
15
15
 
16
- <div class="row column hashtags__container">
16
+ <div class="row column">
17
17
  <%= form.translated :editor, :indicators %>
18
18
  </div>
19
19
 
20
- <div class="row column hashtags__container">
20
+ <div class="row column">
21
21
  <%= form.translated :editor, :objectives %>
22
22
  </div>
23
23
 
24
- <div class="row column hashtags__container">
24
+ <div class="row column">
25
25
  <%= form.translated :editor, :beneficiaries %>
26
26
  </div>
27
27
 
28
- <div class="row column hashtags__container">
28
+ <div class="row column">
29
29
  <%= form.translated :editor, :requirements %>
30
30
  </div>
31
31
 
32
- <div class="row column hashtags__container">
32
+ <div class="row column">
33
33
  <%= form.translated :text_field, :financing_type %>
34
34
  </div>
35
35
 
@@ -67,14 +67,14 @@
67
67
  <% end %>
68
68
  </td>
69
69
  <td>
70
- <% if solution.author.admin? %>
70
+ <% if solution&.author&.admin? %>
71
71
  <%= t("index.official", scope: "decidim.solutions") %>
72
72
  <% else %>
73
- <%= solution.author.name %>
73
+ <%= solution&.author&.name %>
74
74
  <% end %>
75
75
  </td>
76
76
  <td class="table-list__actions">
77
- <% if solution.author.admin? %>
77
+ <% if solution&.author&.admin? %>
78
78
  <% if allowed_to? :edit, :solution %>
79
79
  <%= icon_link_to "pencil-line", edit_solution_path(solution), t("actions.configure", scope: "decidim.solutions.admin"), class: "action-icon--new" %>
80
80
  <% end %>
@@ -1,19 +1,19 @@
1
- <%= form.text_field :title, class: "js-hashtags" %>
1
+ <%= form.text_field :title %>
2
2
 
3
3
  <%= text_editor_for_description(form) %>
4
4
 
5
5
  <%= form.select :decidim_challenges_challenge_id, participatory_space_challenges.map{|challenge| [translated_attribute(challenge.title), challenge.id] }, include_blank: true %>
6
6
 
7
- <%= form.text_field :coordinating_entity, class: "js-hashtags" %>
7
+ <%= form.text_field :coordinating_entity %>
8
8
 
9
9
  <%= form.select :project_status, [{title: t(".project_statuses.in_progress"), key: :in_progress}, {title: t('.project_statuses.finished'), key: :finished}].map{|result| [result[:title], result[:key]] }, include_blank: true %>
10
10
 
11
- <%= form.text_field :project_url, class: "js-hashtags" %>
11
+ <%= form.text_field :project_url %>
12
12
 
13
13
  <%= form.hidden_field :decidim_problems_problem_id, value: @form.try(:problem) ? @form.try(:problem).id : '' %>
14
14
  <%= form.hidden_field :author_id, value: current_user.id %>
15
15
 
16
- <%= form.attachment :documents,
16
+ <%= form.attachment :attachments,
17
17
  multiple: true,
18
18
  label: t("decidim.solutions.solutions.new.add_documents"),
19
19
  button_label: t("decidim.solutions.solutions.new.add_documents"),
@@ -19,13 +19,6 @@
19
19
  <% end %>
20
20
  </div>
21
21
 
22
- <% if @challenge_scope.present? %>
23
- <div class="text-sm flex flex-col items-center gap-1">
24
- <p class="uppercase text-xs"><%= t("scope", scope: "activemodel.attributes.solution") %></p>
25
- <p class="uppercase mb-4"><%= translated_attribute(@challenge_scope.name) %></p>
26
- </div>
27
- <% end %>
28
-
29
22
  <% if has_problem? %>
30
23
  <% if @solution.problem.proposing_entities.present? %>
31
24
  <div class="text-sm flex flex-col items-center gap-1">
@@ -63,19 +56,6 @@
63
56
  </div>
64
57
  <% end %>
65
58
 
66
- <% if @sectorial_scope.present? %>
67
- <div class="text-sm flex flex-col items-center gap-1">
68
- <p class="uppercase text-xs"><%= t("decidim_sectorial_scope_id", scope: "activemodel.attributes.problem") %></p>
69
- <p class="uppercase mb-4"><%= translated_attribute(@sectorial_scope.name) %></p>
70
- </div>
71
- <% end %>
72
-
73
- <% if @technological_scope.present? %>
74
- <div class="text-sm flex flex-col items-center gap-1">
75
- <p class="uppercase text-xs"><%= t("decidim_technological_scope_id", scope: "activemodel.attributes.problem") %></p>
76
- <p class="uppercase mb-4"><%= translated_attribute(@technological_scope.name) %></p>
77
- </div>
78
- <% end %>
79
59
  </div>
80
60
 
81
61
  <% if has_problem? %>
@@ -109,6 +89,6 @@
109
89
 
110
90
  <section class="layout-aside__section actions__secondary">
111
91
  <%= resource_reference(current_participatory_space) %>
112
- <%= render partial: "decidim/shared/follow_button", class: "text-center", locals: { followable: current_participatory_space, large: false } %>
113
- <%= cell "decidim/share_button", nil %>
92
+ <%= cell("decidim/follow_button", @solution, button_classes: "button button__sm button__transparent-secondary") %>
93
+ <%= cell("decidim/share_widget", @solution) %>
114
94
  </section>
@@ -4,13 +4,11 @@
4
4
  <%= render layout: "layouts/decidim/shared/layout_item", locals: { back_path: solutions_path } do %>
5
5
  <section class="layout-main__section layout-main__heading">
6
6
  <h1 class="h2 decorator">
7
- <%= present(@solution).title(links: true, html_escape: true) %>
7
+ <%= present(@solution).title(html_escape: true) %>
8
8
  </h1>
9
9
  </section>
10
10
 
11
11
  <section class="layout-main__section content-block__description">
12
- <%= render partial: "decidim/shared/share_modal" %>
13
-
14
12
  <% if has_problem? %>
15
13
  <h3 class="h4">
16
14
  <span class="title"><%= t("problem", scope: "activemodel.attributes.solution") %></span>:
@@ -8,7 +8,6 @@ ca:
8
8
  end_date: Data finalització
9
9
  global_description: Descripció del repte a escala global
10
10
  local_description: Descripció del repte al territori
11
- scope: Territori
12
11
  sdg: Objectius de Desenvolupament Sostenible
13
12
  start_date: Data d'inici
14
13
  status: Estat
@@ -20,13 +19,10 @@ ca:
20
19
  challenge: Repte
21
20
  groups_affected: Col·lectius afectats
22
21
  collaborating_entities: Entitat colaboradora
23
- decidim_sectorial_scope_id: Àmbit sectorial
24
- decidim_technological_scope_id: Àmbit tecnològic
25
22
  description: Descripció
26
23
  end_date: Data finalització
27
24
  prop_entity: Entitat proposant
28
25
  published: Publicat
29
- scope: Territori
30
26
  sdg: Objectius de Desenvolupament Sostenible
31
27
  start_date: Data d'inici
32
28
  status: Estat
@@ -47,15 +43,36 @@ ca:
47
43
  published: Publicat
48
44
  requirements: Requeriments
49
45
  sdg: Objectius de Desenvolupament Sostenible
50
- scope: Territori
51
46
  tags: Paraules clau
52
47
  title: Títol
48
+ activerecord:
49
+ models:
50
+ decidim/challenges/challenge:
51
+ one: Repte
52
+ other: Reptes
53
+ decidim/problems/problem:
54
+ one: Problema
55
+ other: Problemes
56
+ decidim/solutions/solution:
57
+ one: Solució
58
+ other: Solucions
53
59
  decidim:
60
+ open_data:
61
+ help:
62
+ solutions:
63
+ title: El títol de la solució
64
+ description: La descripció de la solució
65
+ status: L'estat actual del projecte de la solució
66
+ challenge: El títol del repte al qual pertany aquesta solució
67
+ url: L'enllaç extern relacionat amb el projecte de la solució
68
+ author_name: El nom de la persona participant autora d'aquesta solució
69
+ author_email: El correu electrònic de la persona participant autora d'aquesta solució
70
+ created_at: La data en què es va crear aquesta solució
71
+ published_at: La data en què es va publicar aquesta solució
54
72
  shared:
55
73
  filters:
56
74
  state: Estat
57
75
  sdgs: SDGs
58
- scope: Àmbit
59
76
  related_to: Relacionat amb
60
77
  challenges:
61
78
  admin:
@@ -118,6 +135,7 @@ ca:
118
135
  edit:
119
136
  save: Desa
120
137
  form:
138
+ manage_questions: Gestiona les preguntes
121
139
  edit: Edita enquesta
122
140
  title: Enquesta
123
141
  index:
@@ -150,7 +168,6 @@ ca:
150
168
  finished: Acabada
151
169
  proposal: Proposta
152
170
  related_to: Relacionat amb
153
- scope: Àmbit
154
171
  search: Cerca
155
172
  state: Estat
156
173
  sdgs: SDGs
@@ -1067,12 +1084,8 @@ ca:
1067
1084
  finished: Acabada
1068
1085
  proposal: Proposta
1069
1086
  related_to: Relacionat amb
1070
- scope: Àmbit
1071
1087
  search: Cerca
1072
- sectorial_scope: Àmbit sectorial
1073
1088
  state: Estat
1074
- technological_scope: Àmbit tecnològic
1075
- territorial_scope: Àmbit territorial
1076
1089
  orders:
1077
1090
  label: test
1078
1091
  random: Aleatori
@@ -1235,9 +1248,7 @@ ca:
1235
1248
  financial: Finançers
1236
1249
  related_to: Relacionada amb
1237
1250
  requirement: Requeriment
1238
- scope: Àmbit
1239
1251
  search: Cerca
1240
- territorial_scope: Àmbit territorial
1241
1252
  orders:
1242
1253
  label: Ordenacions
1243
1254
  random: Aleatori
@@ -8,7 +8,6 @@ cs:
8
8
  end_date: Datum ukončení
9
9
  global_description: Popis globálních výzev
10
10
  local_description: Popis místních výzev
11
- scope: Území
12
11
  sdg: Cíle udržitelného rozvoje
13
12
  start_date: Datum zahájení
14
13
  status: Stav
@@ -19,8 +18,6 @@ cs:
19
18
  challenge: Výzva
20
19
  groups_affected: Dotčené skupiny
21
20
  col_entity: Spolupracující subjekt
22
- decidim_sectorial_scope_id: Působnost v odvětví
23
- decidim_technological_scope_id: Technologická působnost
24
21
  description: Popis
25
22
  end_date: datum ukončení
26
23
  groups_affected: Dotčené komunity
@@ -41,10 +38,21 @@ cs:
41
38
  published: Publikováno
42
39
  requirements: Požadavky
43
40
  sdg: Cíle udržitelného rozvoje
44
- scope: Území
45
41
  tags: Značky
46
42
  title: Nadpis
47
43
  decidim:
44
+ open_data:
45
+ help:
46
+ solutions:
47
+ title: The title of the solution
48
+ description: The description of the solution
49
+ status: The current status of the solution's project
50
+ challenge: The title of the challenge this solution belongs to
51
+ url: The external URL related to the solution's project
52
+ author_name: The name of the participant who authored this solution
53
+ author_email: The email of the participant who authored this solution
54
+ created_at: The date when this solution was created
55
+ published_at: The date when this solution was published
48
56
  shared:
49
57
  filters:
50
58
  state: State
@@ -123,7 +131,6 @@ cs:
123
131
  finished: Dokončeno
124
132
  proposal: Návrh
125
133
  related_to: Souvisí s
126
- scope: Rozsah působnosti
127
134
  search: Hledat
128
135
  state: Stav
129
136
  orders:
@@ -526,12 +533,8 @@ cs:
526
533
  finished: Dokončeno
527
534
  proposal: Návrh
528
535
  related_to: Souvisí s
529
- scope: Rozsah působnosti
530
536
  search: Hledat
531
- sectorial_scope: Rozsah působnosti v odvětví
532
537
  state: State
533
- technological_scope: Technologický rozsah
534
- territorial_scope: Územní rozsah
535
538
  orders:
536
539
  label: test
537
540
  random: Náhodně
@@ -648,9 +651,7 @@ cs:
648
651
  financial: Finanční
649
652
  related_to: Související s
650
653
  requirement: Požadavek
651
- scope: Rozsah působnosti
652
654
  search: Hledat
653
- territorial_scope: Územní rozsah působnosti
654
655
  orders:
655
656
  label: Seřadit
656
657
  random: Náhodně
@@ -8,7 +8,6 @@ en:
8
8
  end_date: End date
9
9
  global_description: Global challenge's description
10
10
  local_description: Local challenge's description
11
- scope: Territory
12
11
  sdg: Sustainable Development Goals
13
12
  start_date: Start date
14
13
  status: State
@@ -20,8 +19,6 @@ en:
20
19
  challenge: Challenge
21
20
  collaborating_entities: Collaborating entity
22
21
  groups_affected: Groups affected
23
- decidim_sectorial_scope_id: Sectorial scope
24
- decidim_technological_scope_id: Technological scope
25
22
  description: Description
26
23
  end_date: End date
27
24
  prop_entity: Proposing entity
@@ -46,15 +43,36 @@ en:
46
43
  published: Published
47
44
  requirements: Requeriments
48
45
  sdg: Sustainable Development Goals
49
- scope: Territory
50
46
  tags: Keywords
51
47
  title: Title
48
+ activerecord:
49
+ models:
50
+ decidim/challenges/challenge:
51
+ one: Challenge
52
+ other: Challenges
53
+ decidim/problems/problem:
54
+ one: Problem
55
+ other: Problems
56
+ decidim/solutions/solution:
57
+ one: Solution
58
+ other: Solutions
52
59
  decidim:
60
+ open_data:
61
+ help:
62
+ solutions:
63
+ title: The title of the solution
64
+ description: The description of the solution
65
+ status: The current status of the solution's project
66
+ challenge: The title of the challenge this solution belongs to
67
+ url: The external URL related to the solution's project
68
+ author_name: The name of the participant who authored this solution
69
+ author_email: The email of the participant who authored this solution
70
+ created_at: The date when this solution was created
71
+ published_at: The date when this solution was published
53
72
  shared:
54
73
  filters:
55
74
  state: State
56
75
  sdgs: SDGs
57
- scope: Scope
58
76
  related_to: Related to
59
77
  challenges:
60
78
  admin:
@@ -118,6 +136,7 @@ en:
118
136
  save: Save
119
137
  form:
120
138
  edit: Edit survey
139
+ manage_questions: Manage questions
121
140
  title: Survey
122
141
  index:
123
142
  title: "%{total} total answers"
@@ -153,7 +172,6 @@ en:
153
172
  finished: Finished
154
173
  proposal: Proposal
155
174
  related_to: Related to
156
- scope: Scope
157
175
  search: Search
158
176
  state: State
159
177
  orders:
@@ -1069,12 +1087,8 @@ en:
1069
1087
  finished: Finished
1070
1088
  proposal: Proposal
1071
1089
  related_to: Related to
1072
- scope: Scope
1073
1090
  search: Search
1074
- sectorial_scope: Sectorial scope
1075
1091
  state: State
1076
- technological_scope: Technological scope
1077
- territorial_scope: Territorial scope
1078
1092
  orders:
1079
1093
  label: test
1080
1094
  random: Random
@@ -1222,6 +1236,7 @@ en:
1222
1236
  edit_documents: Edit documents
1223
1237
  create:
1224
1238
  success: The solution has been created and an administrator will be review it.
1239
+ error: There was a problem creating this solution.
1225
1240
  solutions:
1226
1241
  empty: No solutions could be found
1227
1242
  empty_filters: No solutions could be found
@@ -1236,9 +1251,7 @@ en:
1236
1251
  financial: Financial
1237
1252
  related_to: Related to
1238
1253
  requirement: Requirement
1239
- scope: Scope
1240
1254
  search: Search
1241
- territorial_scope: Territorial scope
1242
1255
  orders:
1243
1256
  label: Sorts
1244
1257
  random: Random
@@ -8,7 +8,6 @@ es:
8
8
  end_date: Fecha finalización
9
9
  global_description: Descripción del reto a escala global
10
10
  local_description: Descripción del reto en el territorio
11
- scope: Territorio
12
11
  sdg: Objectivos de Desarrollo Sostenible
13
12
  start_date: Fecha inicio
14
13
  status: Estado
@@ -20,8 +19,6 @@ es:
20
19
  challenge: Reto
21
20
  groups_affected: Colectivos afectados
22
21
  col_entity: Entidad colaboradora
23
- decidim_sectorial_scope_id: Ámbito sectorial
24
- decidim_technological_scope_id: Ámbito tecnológico
25
22
  description: Descripción
26
23
  end_date: Fecha finalización
27
24
  prop_entity: Entidad proponente
@@ -46,10 +43,32 @@ es:
46
43
  published: Publicado
47
44
  requirements: Requerimientos
48
45
  sdg: Objectivos de Desarrollo Sostenible
49
- scope: Territorio
50
46
  tags: Palabras clave
51
47
  title: Titulo
48
+ activerecord:
49
+ models:
50
+ decidim/challenges/challenge:
51
+ one: Reto
52
+ other: Retos
53
+ decidim/problems/problem:
54
+ one: Problema
55
+ other: Problemas
56
+ decidim/solutions/solution:
57
+ one: Solución
58
+ other: Soluciones
52
59
  decidim:
60
+ open_data:
61
+ help:
62
+ solutions:
63
+ title: El título de la solución
64
+ description: La descripción de la solución
65
+ status: El estado actual del proyecto de la solución
66
+ challenge: El título del reto al que pertenece esta solución
67
+ url: El enlace externo relacionado con el proyecto de la solución
68
+ author_name: El nombre de la persona participante autora de esta solución
69
+ author_email: El correo electrónico de la persona participante autora de esta solución
70
+ created_at: La fecha en la que se creó esta solución
71
+ published_at: La fecha en la que se publicó esta solución
53
72
  shared:
54
73
  filters:
55
74
  state: Estado
@@ -116,6 +135,7 @@ es:
116
135
  save: Guarda
117
136
  form:
118
137
  edit: Editar encuesta
138
+ manage_questions: Gestionar preguntas
119
139
  title: Encuesta
120
140
  index:
121
141
  title: "%{total} respuestas totales"
@@ -147,7 +167,6 @@ es:
147
167
  finished: Acabada
148
168
  proposal: Propuesta
149
169
  related_to: Relacionado con
150
- scope: Ámbito
151
170
  search: Búsqueda
152
171
  state: Estado
153
172
  orders:
@@ -1074,12 +1093,8 @@ es:
1074
1093
  finished: Acabada
1075
1094
  proposal: Propuesta
1076
1095
  related_to: Relacionado con
1077
- scope: Ambito
1078
1096
  search: Búsqueda
1079
- sectorial_scope: Ámbito sectorial
1080
1097
  state: Estado
1081
- technological_scope: Ámbito tecnológico
1082
- territorial_scope: Ámbito territorial
1083
1098
  orders:
1084
1099
  label: test
1085
1100
  random: Aleatorio
@@ -1227,6 +1242,7 @@ es:
1227
1242
  edit_documents: Edita documentos
1228
1243
  create:
1229
1244
  success: La solución se ha creado correctamente y será revisada por un administrador.
1245
+ error: Se ha producido un error al crear esta solución.
1230
1246
  solutions:
1231
1247
  empty: No se han podido encontrar soluciones
1232
1248
  empty_filters: No se han podido encontrar soluciones
@@ -1241,9 +1257,7 @@ es:
1241
1257
  financial: Financieros
1242
1258
  related_to: Relacionada con
1243
1259
  requirement: Requisito
1244
- scope: Ámbito
1245
1260
  search: Búsqueda
1246
- territorial_scope: Ámbito territorial
1247
1261
  orders:
1248
1262
  label: Ordenaciones
1249
1263
  random: Aleatorio