decidim 0.0.7 → 0.0.8.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim might be problematic. Click here for more details.

Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +67 -0
  3. data/.eslintignore +1 -1
  4. data/.eslintrc.json +1 -0
  5. data/.travis.yml +4 -1
  6. data/Gemfile.lock +49 -48
  7. data/README.md +44 -118
  8. data/Rakefile +9 -13
  9. data/decidim-admin/README.md +2 -2
  10. data/decidim-admin/app/assets/javascripts/decidim/admin/application.js.es6 +13 -0
  11. data/decidim-admin/app/assets/javascripts/decidim/admin/toggle_nav.js.es6 +17 -0
  12. data/decidim-admin/app/assets/stylesheets/decidim/admin/_decidim.scss +0 -1
  13. data/decidim-admin/app/assets/stylesheets/decidim/admin/modules/_datepicker.scss +224 -0
  14. data/decidim-admin/app/assets/stylesheets/decidim/admin/modules/_modules.scss +1 -0
  15. data/decidim-admin/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
  16. data/decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb +9 -0
  17. data/decidim-admin/app/helpers/decidim/admin/application_helper.rb +6 -0
  18. data/decidim-admin/app/views/decidim/admin/categories/index.html.erb +1 -1
  19. data/decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb +1 -1
  20. data/decidim-admin/app/views/decidim/admin/participatory_process_user_roles/_form.html.erb +2 -3
  21. data/decidim-admin/app/views/decidim/admin/participatory_process_user_roles/index.html.erb +1 -1
  22. data/decidim-admin/app/views/decidim/admin/static_pages/index.html.erb +2 -2
  23. data/decidim-admin/app/views/layouts/decidim/admin/_application.html.erb +2 -1
  24. data/decidim-admin/app/views/layouts/decidim/admin/pages.html.erb +1 -1
  25. data/decidim-admin/config/i18n-tasks.yml +2 -0
  26. data/decidim-admin/config/locales/ca.yml +22 -17
  27. data/decidim-admin/config/locales/en.yml +22 -17
  28. data/decidim-admin/config/locales/es.yml +23 -18
  29. data/decidim-admin/config/locales/eu.yml +0 -19
  30. data/decidim-admin/config/locales/fi.yml +0 -14
  31. data/decidim-admin/config/locales/fr.yml +141 -0
  32. data/decidim-admin/config/locales/nl.yml +5 -0
  33. data/decidim-admin/spec/features/admin_invite_spec.rb +7 -1
  34. data/decidim-admin/spec/features/admin_manages_organization_spec.rb +1 -1
  35. data/decidim-admin/spec/features/admin_manages_participatory_process_groups_spec.rb +1 -1
  36. data/decidim-admin/spec/features/admin_manages_participatory_processes_spec.rb +1 -1
  37. data/decidim-admin/spec/features/static_pages_spec.rb +0 -5
  38. data/decidim-admin/spec/forms/organization_form_spec.rb +6 -1
  39. data/decidim-admin/spec/shared/manage_process_admins_examples.rb +2 -2
  40. data/decidim-admin/spec/shared/manage_process_steps_examples.rb +21 -17
  41. data/decidim-admin/spec/shared/manage_processes_examples.rb +13 -10
  42. data/decidim-admin/spec/shared/participatory_admin_shared_context.rb +3 -3
  43. data/decidim-admin/vendor/assets/javascripts/moment.min.js +7 -0
  44. data/decidim-api/README.md +2 -2
  45. data/decidim-budgets/README.md +2 -2
  46. data/decidim-budgets/config/locales/ca.yml +3 -3
  47. data/decidim-budgets/config/locales/en.yml +3 -3
  48. data/decidim-budgets/config/locales/es.yml +3 -3
  49. data/decidim-budgets/config/locales/eu.yml +0 -3
  50. data/decidim-budgets/config/locales/fi.yml +0 -3
  51. data/decidim-budgets/config/locales/fr.yml +97 -0
  52. data/decidim-budgets/config/locales/nl.yml +5 -0
  53. data/decidim-budgets/db/migrate/20170410074214_remove_not_null_reference_budgets.rb +5 -0
  54. data/decidim-budgets/spec/shared/manage_projects_examples.rb +1 -1
  55. data/decidim-comments/README.md +2 -2
  56. data/decidim-comments/app/assets/javascripts/decidim/comments/bundle.js +0 -0
  57. data/decidim-comments/config/locales/fr.yml +5 -0
  58. data/decidim-comments/config/locales/nl.yml +5 -0
  59. data/decidim-dev/README.md +2 -2
  60. data/decidim-dev/config/locales/fr.yml +5 -0
  61. data/decidim-dev/config/locales/nl.yml +5 -0
  62. data/decidim-dev/lib/decidim/dev.rb +8 -5
  63. data/decidim-dev/lib/decidim/dev/common_rake.rb +1 -23
  64. data/decidim-dev/lib/decidim/dev/railtie.rb +13 -0
  65. data/decidim-dev/lib/decidim/dev/test/base_spec_helper.rb +6 -5
  66. data/decidim-dev/lib/generators/decidim/dummy_generator.rb +13 -16
  67. data/decidim-dev/lib/tasks/test_app.rake +18 -0
  68. data/decidim-meetings/README.md +2 -2
  69. data/decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb +21 -0
  70. data/decidim-meetings/app/controllers/decidim/meetings/meetings_controller.rb +2 -0
  71. data/decidim-meetings/app/views/decidim/meetings/meeting_widgets/.erb +16 -0
  72. data/decidim-meetings/app/views/decidim/meetings/meeting_widgets/show.html.erb +18 -0
  73. data/decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb +1 -0
  74. data/decidim-meetings/config/locales/ca.yml +5 -5
  75. data/decidim-meetings/config/locales/en.yml +5 -5
  76. data/decidim-meetings/config/locales/es.yml +5 -5
  77. data/decidim-meetings/config/locales/eu.yml +0 -7
  78. data/decidim-meetings/config/locales/fi.yml +0 -7
  79. data/decidim-meetings/config/locales/fr.yml +5 -0
  80. data/decidim-meetings/config/locales/nl.yml +5 -0
  81. data/decidim-meetings/db/migrate/20170410074252_remove_not_null_reference_meetings.rb +5 -0
  82. data/decidim-meetings/lib/decidim/meetings/list_engine.rb +3 -1
  83. data/decidim-meetings/spec/shared/manage_meetings_examples.rb +87 -72
  84. data/decidim-pages/README.md +2 -2
  85. data/decidim-pages/config/locales/ca.yml +1 -1
  86. data/decidim-pages/config/locales/en.yml +1 -1
  87. data/decidim-pages/config/locales/es.yml +1 -1
  88. data/decidim-pages/config/locales/eu.yml +0 -1
  89. data/decidim-pages/config/locales/fi.yml +0 -1
  90. data/decidim-pages/config/locales/fr.yml +5 -0
  91. data/decidim-pages/config/locales/nl.yml +5 -0
  92. data/decidim-proposals/README.md +2 -2
  93. data/decidim-proposals/app/controllers/decidim/proposals/proposal_widgets_controller.rb +24 -0
  94. data/decidim-proposals/app/controllers/decidim/proposals/proposals_controller.rb +13 -4
  95. data/decidim-proposals/app/helpers/decidim/proposals/application_helper.rb +15 -0
  96. data/decidim-proposals/app/helpers/decidim/proposals/proposal_order_helper.rb +1 -1
  97. data/decidim-proposals/app/views/decidim/proposals/admin/proposals/index.html.erb +6 -9
  98. data/decidim-proposals/app/views/decidim/proposals/proposal_widgets/show.html.erb +25 -0
  99. data/decidim-proposals/app/views/decidim/proposals/proposals/_vote_button.html.erb +9 -3
  100. data/decidim-proposals/app/views/decidim/proposals/proposals/_votes_count.html.erb +8 -7
  101. data/decidim-proposals/app/views/decidim/proposals/proposals/show.html.erb +3 -6
  102. data/decidim-proposals/config/locales/ca.yml +5 -5
  103. data/decidim-proposals/config/locales/en.yml +6 -5
  104. data/decidim-proposals/config/locales/es.yml +5 -5
  105. data/decidim-proposals/config/locales/eu.yml +0 -6
  106. data/decidim-proposals/config/locales/fi.yml +0 -5
  107. data/decidim-proposals/config/locales/fr.yml +5 -0
  108. data/decidim-proposals/config/locales/nl.yml +5 -0
  109. data/decidim-proposals/db/migrate/20170410073742_remove_not_null_reference_proposals.rb +5 -0
  110. data/decidim-proposals/lib/decidim/proposals/engine.rb +1 -0
  111. data/decidim-proposals/lib/decidim/proposals/feature.rb +1 -0
  112. data/decidim-proposals/spec/features/proposals_spec.rb +1 -6
  113. data/decidim-proposals/spec/features/vote_proposal_spec.rb +15 -0
  114. data/decidim-proposals/spec/helpers/proposal_order_helper_spec.rb +13 -3
  115. data/decidim-proposals/spec/shared/manage_proposals_examples.rb +43 -9
  116. data/decidim-results/README.md +2 -2
  117. data/decidim-results/app/controllers/decidim/results/result_widgets_controller.rb +17 -0
  118. data/decidim-results/app/controllers/decidim/results/results_controller.rb +1 -0
  119. data/decidim-results/app/views/decidim/results/result_widgets/show.html.erb +10 -0
  120. data/decidim-results/app/views/decidim/results/results/show.html.erb +1 -0
  121. data/decidim-results/config/locales/ca.yml +3 -3
  122. data/decidim-results/config/locales/en.yml +3 -3
  123. data/decidim-results/config/locales/es.yml +3 -3
  124. data/decidim-results/config/locales/eu.yml +0 -3
  125. data/decidim-results/config/locales/fi.yml +0 -3
  126. data/decidim-results/config/locales/fr.yml +5 -0
  127. data/decidim-results/config/locales/nl.yml +5 -0
  128. data/decidim-results/db/migrate/20170410074358_remove_not_null_reference_results.rb +5 -0
  129. data/decidim-results/lib/decidim/results/list_engine.rb +3 -1
  130. data/decidim-results/spec/shared/manage_results_examples.rb +1 -1
  131. data/decidim-system/config/locales/ca.yml +3 -3
  132. data/decidim-system/config/locales/en.yml +3 -3
  133. data/decidim-system/config/locales/es.yml +3 -3
  134. data/decidim-system/config/locales/eu.yml +0 -3
  135. data/decidim-system/config/locales/fi.yml +0 -3
  136. data/decidim-system/config/locales/fr.yml +5 -0
  137. data/decidim-system/config/locales/nl.yml +5 -0
  138. data/docs/features_and_components.md +1 -1
  139. data/docs/geocoding.md +34 -0
  140. data/docs/getting_started.md +135 -0
  141. data/docs/testing.md +17 -0
  142. data/lib/generators/decidim/app_generator.rb +7 -0
  143. data/lib/generators/decidim/templates/Gemfile.erb +4 -4
  144. data/lib/generators/decidim/templates/README.md.erb +1 -1
  145. data/lib/generators/decidim/templates/authorization_handler.rb +5 -1
  146. data/package.json +1 -1
  147. data/run_ci.sh +6 -6
  148. metadata +61 -23
@@ -18,7 +18,7 @@ $ bundle
18
18
  ```
19
19
 
20
20
  ## Contributing
21
- See [Decidim](https://github.com/AjuntamentdeBarcelona/decidim).
21
+ See [Decidim](https://github.com/decidim/decidim).
22
22
 
23
23
  ## License
24
- See [Decidim](https://github.com/AjuntamentdeBarcelona/decidim).
24
+ See [Decidim](https://github.com/decidim/decidim).
@@ -15,7 +15,7 @@ ca:
15
15
  body: Cos
16
16
  pages:
17
17
  edit:
18
- save: Desa la pàgina
18
+ save: Actualitzar
19
19
  title: Editar pàgina
20
20
  update:
21
21
  invalid: Hi ha hagut errors en desar la pàgina.
@@ -16,7 +16,7 @@ en:
16
16
  body: Body
17
17
  pages:
18
18
  edit:
19
- save: Save page
19
+ save: Update
20
20
  title: Edit page
21
21
  update:
22
22
  invalid: There's been errors when saving the page.
@@ -15,7 +15,7 @@ es:
15
15
  body: Cuerpo
16
16
  pages:
17
17
  edit:
18
- save: Guardar página
18
+ save: Actualizar
19
19
  title: Editar página
20
20
  update:
21
21
  invalid: Ha habido errores al guardar la página.
@@ -15,7 +15,6 @@ eu:
15
15
  body: Testu-gorputza
16
16
  pages:
17
17
  edit:
18
- save: Gorde orria
19
18
  title: Editatu orria
20
19
  update:
21
20
  invalid: Erroreak gertatu dira orria gordetzean.
@@ -15,7 +15,6 @@ fi:
15
15
  body: Runko
16
16
  pages:
17
17
  edit:
18
- save: Tallenna sivu
19
18
  title: Muokkaa sivua
20
19
  update:
21
20
  invalid: Sivun tallennuksessa oli virheitä.
@@ -0,0 +1,5 @@
1
+ fr:
2
+ decidim:
3
+ features:
4
+ pages:
5
+ name: Page
@@ -0,0 +1,5 @@
1
+ nl:
2
+ decidim:
3
+ features:
4
+ pages:
5
+ name: Pagina
@@ -18,7 +18,7 @@ $ bundle
18
18
  ```
19
19
 
20
20
  ## Contributing
21
- See [Decidim](https://github.com/AjuntamentdeBarcelona/decidim).
21
+ See [Decidim](https://github.com/decidim/decidim).
22
22
 
23
23
  ## License
24
- See [Decidim](https://github.com/AjuntamentdeBarcelona/decidim).
24
+ See [Decidim](https://github.com/decidim/decidim).
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Proposals
5
+ class ProposalWidgetsController < Decidim::WidgetsController
6
+ helper_method :model, :current_participatory_process
7
+ helper Proposals::ApplicationHelper
8
+
9
+ private
10
+
11
+ def model
12
+ @model ||= Proposal.where(feature: params[:feature_id]).find(params[:proposal_id])
13
+ end
14
+
15
+ def current_participatory_process
16
+ @current_participatory_process ||= model.feature.participatory_process
17
+ end
18
+
19
+ def iframe_url
20
+ @iframe_url ||= proposal_proposal_widget_url(model)
21
+ end
22
+ end
23
+ end
24
+ end
@@ -4,6 +4,7 @@ module Decidim
4
4
  module Proposals
5
5
  # Exposes the proposal resource so users can view and create them.
6
6
  class ProposalsController < Decidim::Proposals::ApplicationController
7
+ helper Decidim::WidgetUrlsHelper
7
8
  include FormFactory
8
9
  include FilterResource
9
10
 
@@ -19,9 +20,6 @@ module Decidim
19
20
  .includes(:category)
20
21
  .includes(:scope)
21
22
 
22
- @proposals = @proposals.page(params[:page]).per(12)
23
- @proposals = reorder(@proposals)
24
-
25
23
  @voted_proposals = if current_user
26
24
  ProposalVote.where(
27
25
  author: current_user,
@@ -30,6 +28,10 @@ module Decidim
30
28
  else
31
29
  []
32
30
  end
31
+
32
+ @proposals = @proposals.page(params[:page]).per(12)
33
+ @proposals = reorder(@proposals)
34
+
33
35
  end
34
36
 
35
37
  def show
@@ -63,8 +65,15 @@ module Decidim
63
65
 
64
66
  private
65
67
 
68
+ # Gets how the proposals should be ordered based on the choice made by the user.
69
+ #
70
+ # Note that when votes are active and hidden at the same time, the "most_voted"
71
+ # option is not available, so it's replaced to "random" to avoid people
72
+ # changing the URL manually.
66
73
  def order
67
- @order = params[:order] || "random"
74
+ return @order if @order
75
+ @order = "random" if current_settings.votes_enabled? && current_settings.votes_hidden? && params[:order] == "most_voted"
76
+ @order ||= params[:order] || "random"
68
77
  end
69
78
 
70
79
  # Returns: A random float number between -1 and 1 to be used as a random seed at the database.
@@ -27,6 +27,21 @@ module Decidim
27
27
 
28
28
  I18n.t(value, scope: "decidim.proposals.answers")
29
29
  end
30
+
31
+ # Public: The css class applied based on the proposal state.
32
+ #
33
+ # state - The String state of the proposal.
34
+ #
35
+ # Returns a String.
36
+ def proposal_state_css_class(state)
37
+ if state == "accepted"
38
+ "text-success"
39
+ elsif state == "rejected"
40
+ "text-alert"
41
+ else
42
+ "text-warning"
43
+ end
44
+ end
30
45
  end
31
46
  end
32
47
  end
@@ -7,7 +7,7 @@ module Decidim
7
7
  def order_fields
8
8
  @order_fields ||= begin
9
9
  order_fields = [:random, :recent]
10
- order_fields << :most_voted if current_settings.votes_enabled?
10
+ order_fields << :most_voted if current_settings.votes_enabled? && !current_settings.votes_hidden?
11
11
  order_fields
12
12
  end
13
13
  end
@@ -40,17 +40,14 @@
40
40
  <% end %>
41
41
  </td>
42
42
  <td>
43
- <% if proposal.state.nil? %>
44
- <% if can? :update, proposal %>
45
- <%= link_to t("actions.answer", scope: "decidim.proposals"), edit_proposal_proposal_answer_path(proposal_id: proposal.id, id: proposal.id), class: "button tiny" %>
46
- <% end %>
47
- <% else %>
48
- <strong class="<%= proposal.state == 'accepted' ? 'text-success' : 'text-alert' %>">
49
- <%= humanize_proposal_state proposal.state %>
50
- </strong>
51
- <% end %>
43
+ <strong class="<%= proposal_state_css_class proposal.state %>">
44
+ <%= humanize_proposal_state proposal.state %>
45
+ </strong>
52
46
  </td>
53
47
  <td class="table-list__actions">
48
+ <% if can? :update, proposal %>
49
+ <%= icon_link_to "chat", edit_proposal_proposal_answer_path(proposal_id: proposal.id, id: proposal.id), t("actions.answer", scope: "decidim.proposals"), class: "action-icon--edit-answer" %>
50
+ <% end %>
54
51
  <%= icon_link_to "eye", decidim_proposals.proposal_path(id: proposal, feature_id: current_feature, participatory_process_id: current_participatory_process), t("actions.preview", scope: "decidim.proposals.admin"), class: "action-icon--preview", target: :blank %>
55
52
  </td>
56
53
  </tr>
@@ -0,0 +1,25 @@
1
+ <div class="column">
2
+ <article class="card card--proposal">
3
+ <div class="card__content">
4
+ <div class="card__header">
5
+ <%= link_to model do%>
6
+ <h5 class="card__title"><%= model.title %></h5>
7
+ <% end %>
8
+ <div class="card__author author-data author-data--small">
9
+ <div class="author-data__main">
10
+ <div class="author author--inline">
11
+ <span class="author__avatar author__avatar--small">
12
+ <%= image_tag model.author_avatar_url %>
13
+ </span>
14
+ <span class="author__name"><%= model.author_name %></span>
15
+ <%= l model.created_at, format: "%d/%m/%Y" %>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <%= render partial: "decidim/proposals/proposals/proposal_badge", locals: { proposal: model } %>
21
+ <p><%= truncate(model.body, length: 100) %></p>
22
+ <%= render partial: "decidim/proposals/proposals/tags", locals: { proposal: model } %>
23
+ </div>
24
+ </article>
25
+ </div>
@@ -1,8 +1,14 @@
1
1
  <div id="proposal-<%= proposal.id %>-vote-button">
2
2
  <% if !current_user %>
3
- <button class="card__button button <%= vote_button_classes(from_proposals_list) %>" data-toggle="loginModal">
4
- <%= t('.vote') %>
5
- </button>
3
+ <% if current_settings.votes_blocked? %>
4
+ <button class="card__button button <%= vote_button_classes(from_proposals_list) %> disabled" data-toggle="loginModal">
5
+ <%= t('.votes_blocked') %>
6
+ </button>
7
+ <% else %>
8
+ <button class="card__button button <%= vote_button_classes(from_proposals_list) %>" data-toggle="loginModal">
9
+ <%= t('.vote') %>
10
+ </button>
11
+ <% end %>
6
12
  <% else %>
7
13
  <% if @voted_proposals ? @voted_proposals.include?(proposal.id) : proposal.voted_by?(current_user) %>
8
14
  <% if vote_limit_enabled? %>
@@ -1,9 +1,10 @@
1
1
  <div id="proposal-<%= proposal.id %>-votes-count" class="card__support__data">
2
- <span class="<%= votes_count_classes(from_proposals_list)[:number] %>">
3
- <%= proposal.proposal_votes_count %>
4
- </span>
5
- <span class="<%= votes_count_classes(from_proposals_list)[:label] %>">
6
- <%= t('.count', count: proposal.proposal_votes_count) %>
7
- </span>
8
-
2
+ <% if !current_settings.votes_hidden? %>
3
+ <span class="<%= votes_count_classes(from_proposals_list)[:number] %>">
4
+ <%= proposal.proposal_votes_count %>
5
+ </span>
6
+ <span class="<%= votes_count_classes(from_proposals_list)[:label] %>">
7
+ <%= t('.count', count: proposal.proposal_votes_count) %>
8
+ </span>
9
+ <% end %>
9
10
  </div>
@@ -31,17 +31,14 @@
31
31
  <% if current_settings.votes_enabled? %>
32
32
  <div class="card extra">
33
33
  <div class="card__content">
34
- <div id="proposal-<%= @proposal.id %>-votes-count">
35
- <%= render partial: "votes_count", locals: { proposal: @proposal, from_proposals_list: false } %>
36
- </div>
37
- <div id="proposal-<%= @proposal.id %>-vote-button">
38
- <%= render partial: "vote_button", locals: { proposal: @proposal, from_proposals_list: false } %>
39
- </div>
34
+ <%= render partial: "votes_count", locals: { proposal: @proposal, from_proposals_list: false } %>
35
+ <%= render partial: "vote_button", locals: { proposal: @proposal, from_proposals_list: false } %>
40
36
  </div>
41
37
  </div>
42
38
  <% end %>
43
39
  <%= feature_reference(@proposal) %>
44
40
  <%= render partial: "decidim/shared/share_modal" %>
41
+ <%= embed_modal_for proposal_proposal_widget_url(@proposal, format: :js) %>
45
42
  </div>
46
43
  <div class="columns mediumlarge-8 mediumlarge-pull-4">
47
44
  <div class="section">
@@ -13,7 +13,7 @@ ca:
13
13
  features:
14
14
  proposals:
15
15
  actions:
16
- create: Crear propostes
16
+ create: Crear
17
17
  vote: Donar suport
18
18
  name: Propostes
19
19
  settings:
@@ -32,7 +32,7 @@ ca:
32
32
  proposals:
33
33
  actions:
34
34
  answer: Respondre
35
- new: Nova proposta
35
+ new: Nova
36
36
  title: Accions
37
37
  admin:
38
38
  actions:
@@ -43,7 +43,7 @@ ca:
43
43
  proposal_answers:
44
44
  edit:
45
45
  accepted: Acceptada
46
- answer_proposal: Resposta de la proposta
46
+ answer_proposal: Resposta
47
47
  rejected: Rebutjada
48
48
  title: Respondre a la proposta %{title}
49
49
  proposals:
@@ -58,8 +58,8 @@ ca:
58
58
  index:
59
59
  title: Propostes
60
60
  new:
61
- create: Crear proposta
62
- title: Nova proposta
61
+ create: Crear
62
+ title: Crear proposta
63
63
  answers:
64
64
  accepted: Acceptada
65
65
  not_answered: No resposta
@@ -14,7 +14,7 @@ en:
14
14
  features:
15
15
  proposals:
16
16
  actions:
17
- create: Create proposals
17
+ create: Create
18
18
  vote: Vote
19
19
  name: Proposals
20
20
  settings:
@@ -30,10 +30,11 @@ en:
30
30
  proposal_answering_enabled: Proposal answering enabled
31
31
  votes_blocked: Votes blocked
32
32
  votes_enabled: Votes enabled
33
+ votes_hidden: Votes hidden (if votes are enabled, checking this will hide the number of votes)
33
34
  proposals:
34
35
  actions:
35
36
  answer: Answer
36
- new: New Proposal
37
+ new: New
37
38
  title: Actions
38
39
  admin:
39
40
  actions:
@@ -44,7 +45,7 @@ en:
44
45
  proposal_answers:
45
46
  edit:
46
47
  accepted: Accepted
47
- answer_proposal: Answer proposal
48
+ answer_proposal: Answer
48
49
  rejected: Rejected
49
50
  title: Answer for proposal %{title}
50
51
  proposals:
@@ -59,8 +60,8 @@ en:
59
60
  index:
60
61
  title: Proposals
61
62
  new:
62
- create: Create proposal
63
- title: New proposal
63
+ create: Create
64
+ title: Create proposal
64
65
  answers:
65
66
  accepted: Accepted
66
67
  not_answered: Not answered
@@ -13,7 +13,7 @@ es:
13
13
  features:
14
14
  proposals:
15
15
  actions:
16
- create: Crear propuestas
16
+ create: Crear
17
17
  vote: Dar apoyo
18
18
  name: Propuestas
19
19
  settings:
@@ -32,7 +32,7 @@ es:
32
32
  proposals:
33
33
  actions:
34
34
  answer: Respuesta
35
- new: Nueva propuesta
35
+ new: Nueva
36
36
  title: Acciones
37
37
  admin:
38
38
  actions:
@@ -43,7 +43,7 @@ es:
43
43
  proposal_answers:
44
44
  edit:
45
45
  accepted: Aceptada
46
- answer_proposal: Respuesta a la propuesta
46
+ answer_proposal: Respuesta
47
47
  rejected: Rechazada
48
48
  title: Responder a la propuesta %{title}
49
49
  proposals:
@@ -58,8 +58,8 @@ es:
58
58
  index:
59
59
  title: Propuestas
60
60
  new:
61
- create: Crear propuesta
62
- title: Nueva propuesta
61
+ create: Crear
62
+ title: Crear propuesta
63
63
  answers:
64
64
  accepted: Aceptadas
65
65
  not_answered: No contestada
@@ -13,7 +13,6 @@ eu:
13
13
  features:
14
14
  proposals:
15
15
  actions:
16
- create: Sortu proposamenak
17
16
  vote: Proiektuaren alde egin
18
17
  name: Proposamenak
19
18
  settings:
@@ -32,7 +31,6 @@ eu:
32
31
  proposals:
33
32
  actions:
34
33
  answer: Erantzuna
35
- new: Proposamen berria
36
34
  title: Ekintzak
37
35
  admin:
38
36
  actions:
@@ -43,7 +41,6 @@ eu:
43
41
  proposal_answers:
44
42
  edit:
45
43
  accepted: Onartuta
46
- answer_proposal: Erantzuna proposamenari
47
44
  rejected: Baztertuta
48
45
  title: 'Erantzun proposamen honi: %{title}'
49
46
  proposals:
@@ -57,9 +54,6 @@ eu:
57
54
  select_a_category: Aukeratu kategoria bat
58
55
  index:
59
56
  title: Proposamenak
60
- new:
61
- create: Sortu proposamena
62
- title: Proposamen berria
63
57
  answers:
64
58
  accepted: Onartuta
65
59
  not_answered: Erantzun gabe