decidim-templates 0.28.0 → 0.28.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/templates/admin/block_user_templates_controller.rb +2 -0
- data/app/controllers/decidim/templates/admin/proposal_answer_templates_controller.rb +5 -1
- data/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb +2 -0
- data/app/packs/src/decidim/templates/admin/proposal_answer_template_chooser.js +15 -4
- data/app/permissions/decidim/templates/admin/permissions.rb +30 -8
- data/app/views/decidim/templates/admin/block_user_templates/edit.html.erb +2 -2
- data/app/views/decidim/templates/admin/block_user_templates/index.html.erb +2 -2
- data/app/views/decidim/templates/admin/block_user_templates/new.html.erb +2 -2
- data/app/views/decidim/templates/admin/proposal_answer_templates/edit.html.erb +2 -2
- data/app/views/decidim/templates/admin/proposal_answer_templates/index.html.erb +2 -2
- data/app/views/decidim/templates/admin/proposal_answer_templates/new.html.erb +2 -2
- data/app/views/decidim/templates/admin/questionnaire_templates/_choose.html.erb +2 -2
- data/app/views/decidim/templates/admin/questionnaire_templates/_preview.html.erb +1 -1
- data/app/views/decidim/templates/admin/questionnaire_templates/edit.html.erb +2 -2
- data/app/views/decidim/templates/admin/questionnaire_templates/index.html.erb +2 -2
- data/app/views/decidim/templates/admin/questionnaire_templates/new.html.erb +2 -2
- data/app/views/decidim/templates/admin/questionnaire_templates/preview.js.erb +1 -1
- data/config/locales/bg.yml +113 -0
- data/config/locales/ca.yml +2 -1
- data/config/locales/cs.yml +2 -1
- data/config/locales/de.yml +2 -1
- data/config/locales/en.yml +2 -1
- data/config/locales/es-MX.yml +2 -1
- data/config/locales/es-PY.yml +2 -1
- data/config/locales/es.yml +2 -1
- data/config/locales/eu.yml +2 -1
- data/config/locales/fi-plain.yml +2 -1
- data/config/locales/fi.yml +2 -1
- data/config/locales/fr-CA.yml +3 -2
- data/config/locales/fr.yml +3 -2
- data/config/locales/he-IL.yml +1 -0
- data/config/locales/hu.yml +8 -0
- data/config/locales/ja.yml +18 -1
- data/config/locales/pl.yml +58 -0
- data/config/locales/pt-BR.yml +3 -0
- data/config/locales/tr-TR.yml +4 -0
- data/decidim-templates.gemspec +40 -0
- data/lib/decidim/templates/admin_engine.rb +1 -4
- data/lib/decidim/templates/test/factories.rb +15 -9
- data/lib/decidim/templates/test/shared_examples/uses_questionnaire_templates.rb +2 -2
- data/lib/decidim/templates/version.rb +1 -1
- metadata +43 -15
- data/LICENSE-AGPLv3.txt +0 -661
- data/config/environment.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ea60391a68ed81505ad7dcfb4eb8d108f80af414704784cbc07de0866d02b4
|
4
|
+
data.tar.gz: 1a92137e9d8c13571dbe7b268245ac57a6d87c03b5e98dacdced64013018cc14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f56f6f547e3770e0b838c9c1718dd40548d2a4983a5d11368f294f28e46d2a878ef8add7c7bb9e66584fd6153f20351ef9d8c7714a2ece97c50348ba80c2afd0
|
7
|
+
data.tar.gz: b7c3da44aa0b740b7c71b9b69fb21337efff38d59b09eb0428cb491bc335ba7d044d863a56c0b43add21a70f495b2304ac526023adfc7c575de9e42c28404a50
|
@@ -9,6 +9,8 @@ module Decidim
|
|
9
9
|
|
10
10
|
helper_method :availability_option_as_text, :availability_options_for_select
|
11
11
|
|
12
|
+
add_breadcrumb_item_from_menu :admin_template_types_menu
|
13
|
+
|
12
14
|
def new
|
13
15
|
enforce_permission_to :create, :template
|
14
16
|
@form = form(ProposalAnswerTemplateForm).instance
|
@@ -49,7 +51,9 @@ module Decidim
|
|
49
51
|
end
|
50
52
|
|
51
53
|
def fetch
|
52
|
-
enforce_permission_to(:read, :template, template:)
|
54
|
+
enforce_permission_to(:read, :template, template:, proposal:)
|
55
|
+
|
56
|
+
return render json: { msg: I18n.t("templates.fetch.error", scope: "decidim.admin") }, status: :unprocessable_entity if template.blank?
|
53
57
|
|
54
58
|
response_object = {
|
55
59
|
state: template.field_values["internal_state"],
|
@@ -2,7 +2,6 @@
|
|
2
2
|
document.addEventListener("DOMContentLoaded", () => {
|
3
3
|
const proposalAnswerTemplateChooser = document.getElementById("proposal_answer_template_chooser");
|
4
4
|
if (proposalAnswerTemplateChooser) {
|
5
|
-
|
6
5
|
proposalAnswerTemplateChooser.addEventListener("change", () => {
|
7
6
|
const dropdown = document.getElementById("proposal_answer_template_chooser");
|
8
7
|
const url = dropdown.getAttribute("data-url");
|
@@ -13,7 +12,12 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
13
12
|
return;
|
14
13
|
}
|
15
14
|
fetch(`${new URL(url).pathname}?${new URLSearchParams({ id: templateId, proposalId: proposalId })}`).
|
16
|
-
then((response) =>
|
15
|
+
then((response) => {
|
16
|
+
if (response.ok) {
|
17
|
+
return response.json();
|
18
|
+
}
|
19
|
+
return Promise.reject(response);
|
20
|
+
}).
|
17
21
|
then((data) => {
|
18
22
|
document.getElementById(`proposal_answer_internal_state_${data.state}`).click();
|
19
23
|
|
@@ -24,8 +28,15 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
24
28
|
|
25
29
|
editor.commands.setContent(value, true);
|
26
30
|
}
|
27
|
-
})
|
31
|
+
}).
|
32
|
+
catch((response) => {
|
33
|
+
response.json().then((data) => {
|
34
|
+
const el = document.createElement("p");
|
35
|
+
el.classList.add("text-alert");
|
36
|
+
el.textContent = data.msg;
|
37
|
+
dropdown.after(el);
|
38
|
+
});
|
39
|
+
});
|
28
40
|
});
|
29
|
-
|
30
41
|
}
|
31
42
|
});
|
@@ -5,21 +5,43 @@ module Decidim
|
|
5
5
|
module Admin
|
6
6
|
class Permissions < Decidim::DefaultPermissions
|
7
7
|
def permissions
|
8
|
-
return permission_action unless user
|
9
|
-
return permission_action unless user.admin?
|
10
8
|
return permission_action if permission_action.scope != :admin
|
9
|
+
return permission_action unless user
|
10
|
+
return permission_action if context[:current_organization] != user.organization
|
11
11
|
|
12
|
-
|
13
|
-
when :template
|
14
|
-
allow! if [:read, :create, :update, :destroy, :copy].include? permission_action.action
|
15
|
-
when :templates
|
16
|
-
allow! if permission_action.action == :index
|
17
|
-
when :questionnaire
|
12
|
+
if user_has_a_role? && (permission_action.subject == :template && permission_action.action == :read)
|
18
13
|
allow!
|
14
|
+
else
|
15
|
+
return permission_action unless user.admin?
|
16
|
+
|
17
|
+
case permission_action.subject
|
18
|
+
when :template
|
19
|
+
allow! if [:read, :create, :update, :destroy, :copy].include? permission_action.action
|
20
|
+
when :templates
|
21
|
+
allow! if permission_action.action == :index
|
22
|
+
when :questionnaire
|
23
|
+
allow!
|
24
|
+
end
|
19
25
|
end
|
20
26
|
|
21
27
|
permission_action
|
22
28
|
end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
def participatory_space
|
33
|
+
@participatory_space ||= context[:proposal].try(:participatory_space)
|
34
|
+
end
|
35
|
+
|
36
|
+
def user_roles
|
37
|
+
@user_roles ||= participatory_space.try(:user_roles)
|
38
|
+
end
|
39
|
+
|
40
|
+
def user_has_a_role?
|
41
|
+
return unless user_roles
|
42
|
+
|
43
|
+
user_roles.exists?(user:)
|
44
|
+
end
|
23
45
|
end
|
24
46
|
end
|
25
47
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t(".title") %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="card">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t ".title" %>
|
6
6
|
<% if allowed_to?(:create, :template) %>
|
7
7
|
<%= link_to t("actions.new_template", scope: "decidim.admin.templates"), [:new, :block_user_template], class: "button button__sm button__secondary new" %>
|
8
8
|
<% end %>
|
9
|
-
</
|
9
|
+
</h1>
|
10
10
|
</div>
|
11
11
|
<% if @templates.any? %>
|
12
12
|
<div class="table-scroll">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t(".title") %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t(".title") %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
<div class="card">
|
4
4
|
<div class="item_show__header">
|
5
|
-
<
|
5
|
+
<h1 class="item_show__header-title">
|
6
6
|
<%= t ".title" %>
|
7
7
|
<% if allowed_to?(:create, :template) %>
|
8
8
|
<%= link_to t("actions.new_template", scope: "decidim.admin.templates"), [:new, :proposal_answer_template], class: "button button__sm button__secondary new" %>
|
9
9
|
<% end %>
|
10
|
-
</
|
10
|
+
</h1>
|
11
11
|
</div>
|
12
12
|
<% if @templates.any? %>
|
13
13
|
<div class="table-scroll">
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t(".title") %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div class="item_show__header">
|
2
|
-
<
|
2
|
+
<h1 class="item_show__header-title">
|
3
3
|
<%= form_title %>
|
4
4
|
<div class="ml-auto">
|
5
5
|
<%= link_to t(".skip_template"), decidim_admin_templates.skip_questionnaire_templates_path(questionnaire_id: questionnaire, url: request.url), class: "button button__sm button__secondary", method: :post %>
|
6
6
|
</div>
|
7
|
-
</
|
7
|
+
</h1>
|
8
8
|
</div>
|
9
9
|
<div class="item__edit item__edit-1col">
|
10
10
|
<div class="item__edit-form">
|
@@ -6,7 +6,7 @@
|
|
6
6
|
</div>
|
7
7
|
|
8
8
|
<div class="row columns">
|
9
|
-
<%= decidim_form_for(@preview_form, url: "", method: :post, html: { class: "form form-defaults answer-questionnaire" }, data: { "safe-path" => "" }) do |form| %>
|
9
|
+
<%= decidim_form_for(@preview_form, url: "", method: :post, authenticity_token: !defined?(skip_authenticity_token), html: { class: "form form-defaults answer-questionnaire" }, data: { "safe-path" => "" }) do |form| %>
|
10
10
|
<%= invisible_captcha %>
|
11
11
|
<% answer_idx = 0 %>
|
12
12
|
<% cleaned_answer_idx = 0 %>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="item_show__header">
|
3
|
-
<
|
3
|
+
<h1 class="item_show__header-title">
|
4
4
|
<%= t(".title") %>
|
5
|
-
</
|
5
|
+
</h1>
|
6
6
|
</div>
|
7
7
|
<div class="item__edit item__edit-1col">
|
8
8
|
<div class="item__edit-form">
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<div class="card">
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t ".title" %>
|
6
6
|
<% if allowed_to?(:create, :template) %>
|
7
7
|
<%= link_to t("actions.new_template", scope: "decidim.admin.templates"), [:new, :questionnaire_template], class: "button button__sm button__secondary new" %>
|
8
8
|
<% end %>
|
9
|
-
</
|
9
|
+
</h1>
|
10
10
|
</div>
|
11
11
|
<% if @templates.any? %>
|
12
12
|
<div class="table-scroll">
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<% add_decidim_page_title(t(".title")) %>
|
2
2
|
<% add_decidim_page_title(t("templates", scope: "decidim.admin.titles")) %>
|
3
3
|
<div class="item_show__header">
|
4
|
-
<
|
4
|
+
<h1 class="item_show__header-title">
|
5
5
|
<%= t(".title") %>
|
6
|
-
</
|
6
|
+
</h1>
|
7
7
|
</div>
|
8
8
|
<div class="item__edit item__edit-1col">
|
9
9
|
<div class="item__edit-form">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
$templateName.html("<%= translated_attribute @template.name %>");
|
8
8
|
$templateDescription.html("<%= translated_attribute @template.description %>");
|
9
9
|
|
10
|
-
$preview.html("<%= j(render partial: "preview", locals: { questionnaire: @questionnaire }) %>");
|
10
|
+
$preview.html("<%= j(render partial: "preview", locals: { skip_authenticity_token: true, questionnaire: @questionnaire }) %>");
|
11
11
|
|
12
12
|
var $container = $(".questionnaire-template-preview");
|
13
13
|
$container.removeClass("hide");
|
data/config/locales/bg.yml
CHANGED
@@ -1 +1,114 @@
|
|
1
|
+
---
|
1
2
|
bg:
|
3
|
+
activemodel:
|
4
|
+
attributes:
|
5
|
+
questionnaire:
|
6
|
+
title: Заглавие
|
7
|
+
template:
|
8
|
+
description: Описание
|
9
|
+
name: Име
|
10
|
+
decidim:
|
11
|
+
admin:
|
12
|
+
menu:
|
13
|
+
templates: Шаблони
|
14
|
+
templates:
|
15
|
+
actions:
|
16
|
+
new_template: Нов шаблон
|
17
|
+
apply:
|
18
|
+
error: Възникна проблем при прилагането на този шаблон.
|
19
|
+
success: Шаблонът е приложен успешно.
|
20
|
+
copy:
|
21
|
+
error: Възникна проблем при копирането на този шаблон.
|
22
|
+
success: Шаблонът е копиран успешно.
|
23
|
+
create:
|
24
|
+
error: Възникна проблем при създаването на този шаблон.
|
25
|
+
success: Шаблонът е създаден успешно.
|
26
|
+
destroy:
|
27
|
+
success: Шаблонът е изтрит успешно.
|
28
|
+
empty: Все още няма шаблони.
|
29
|
+
fetch:
|
30
|
+
error: Не можах да намеря този шаблон. Моля, презаредете страницата.
|
31
|
+
missing_resource: "(липсващ ресурс)"
|
32
|
+
update:
|
33
|
+
error: Възникна проблем при обновяването на този шаблон.
|
34
|
+
success: Шаблонът е обновен успешно.
|
35
|
+
titles:
|
36
|
+
template_types:
|
37
|
+
questionnaires: Шаблони за въпросници
|
38
|
+
templates: Шаблони
|
39
|
+
models:
|
40
|
+
questionnaire_template:
|
41
|
+
fields:
|
42
|
+
questions: Брой въпроси
|
43
|
+
title: Заглавие на въпросник
|
44
|
+
template:
|
45
|
+
fields:
|
46
|
+
created_at: Създаден на
|
47
|
+
name: Шаблон
|
48
|
+
templates:
|
49
|
+
admin:
|
50
|
+
block_user_templates:
|
51
|
+
edit:
|
52
|
+
title: Редактиране на шаблон за блокиране на потребителско съобщение
|
53
|
+
form:
|
54
|
+
save: Запази
|
55
|
+
index:
|
56
|
+
confirm_delete: Сигурни ли сте, че желаете да изтриете този шаблон?
|
57
|
+
title: Блокиране на потребителски съобщения
|
58
|
+
new:
|
59
|
+
title: Нов шаблон за блокиране на потребителско съобщение
|
60
|
+
template_chooser:
|
61
|
+
select_template: Изберете шаблонен отговор
|
62
|
+
proposal_answer_templates:
|
63
|
+
edit:
|
64
|
+
title: Редактиране на шаблон за отговор на предложение
|
65
|
+
form:
|
66
|
+
component_constraint_help: Обърнете внимание, че ще бъдат изброени само пространства за участие, които имат компоненти от типа „предложения“.
|
67
|
+
hint1_html: "<strong>%{organization}</strong> ще бъде заменено от името на организацията"
|
68
|
+
hint2_html: "<strong>%{name}</strong> ще бъде заменено с името на автора"
|
69
|
+
hint3_html: "<strong>%{admin}</strong> ще бъде заменено от името на администратора (този, който отговаря на предложението)"
|
70
|
+
hint_html: "<strong>Съвет:</strong> Можете да използвате тези променливи навсякъде в шаблонния отговор, които ще бъдат заменени при използване на шаблона"
|
71
|
+
save: Запази
|
72
|
+
index:
|
73
|
+
component_constraint: Добавяне на ограничение
|
74
|
+
confirm_delete: Сигурни ли сте, че желаете да изтриете този шаблон?
|
75
|
+
global_scope: Глобално (достъпно навсякъде)
|
76
|
+
internal_state: Вътрешно състояние
|
77
|
+
title: Отговори на предложенията
|
78
|
+
new:
|
79
|
+
title: Нов шаблон за отговор на предложение
|
80
|
+
template_chooser:
|
81
|
+
select_template: Изберете шаблонен отговор
|
82
|
+
questionnaire_templates:
|
83
|
+
choose:
|
84
|
+
create_from_template: Създайте от шаблон
|
85
|
+
description: На път сте да създадете нов въпросник. Можете да изберете предварително дефиниран шаблон и да го промените след това.
|
86
|
+
label: Избор на шаблон
|
87
|
+
placeholder: Избор на шаблон
|
88
|
+
skip_template: Пропусни
|
89
|
+
edit:
|
90
|
+
edit: Редактирай
|
91
|
+
empty: Все още няма въпроси.
|
92
|
+
questionnaire: Въпросник
|
93
|
+
title: Редактиране на шаблон на въпросник
|
94
|
+
form:
|
95
|
+
title: Шаблон за въпросник %{questionnaire_for}
|
96
|
+
index:
|
97
|
+
confirm_delete: Сигурни ли сте, че желаете да изтриете този шаблон?
|
98
|
+
title: Шаблони за въпросници
|
99
|
+
new:
|
100
|
+
title: Нов шаблон за въпросник
|
101
|
+
preview:
|
102
|
+
current_step: Стъпка %{step}
|
103
|
+
of_total_steps: от %{total_steps}
|
104
|
+
tos_agreement: С участието си приемате Условията на услугата
|
105
|
+
admin_log:
|
106
|
+
template:
|
107
|
+
create: "%{user_name} създаде шаблона на въпросника %{resource_name}"
|
108
|
+
delete: "%{user_name} изтри шаблона на въпросника %{resource_name}"
|
109
|
+
duplicate: "%{user_name} дублира шаблона на въпросника %{resource_name}"
|
110
|
+
update: "%{user_name} актуализира шаблона на въпросника %{resource_name}"
|
111
|
+
template_types:
|
112
|
+
block_user: Блокиране на потребителски съобщения
|
113
|
+
proposal_answer_templates: Отговори на предложенията
|
114
|
+
questionnaires: Въпросници
|
data/config/locales/ca.yml
CHANGED
@@ -10,7 +10,6 @@ ca:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Gestionar
|
14
13
|
templates: Plantilles
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ ca:
|
|
27
26
|
destroy:
|
28
27
|
success: La plantilla s'ha eliminat correctament.
|
29
28
|
empty: Encara no hi ha plantilles.
|
29
|
+
fetch:
|
30
|
+
error: No s'ha pogut trobar aquesta plantilla. Si us plau, torna a carregar la pàgina.
|
30
31
|
missing_resource: "(recurs absent)"
|
31
32
|
update:
|
32
33
|
error: S'ha produït un error en actualitzar aquesta plantilla.
|
data/config/locales/cs.yml
CHANGED
@@ -10,7 +10,6 @@ cs:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Spravovat
|
14
13
|
templates: Šablony
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ cs:
|
|
27
26
|
destroy:
|
28
27
|
success: Šablona byla úspěšně odstraněna.
|
29
28
|
empty: Zatím nejsou žádné šablony.
|
29
|
+
fetch:
|
30
|
+
error: Nelze najít tuto šablonu. Prosím obnovte stránku.
|
30
31
|
missing_resource: "(chybějící zdroj)"
|
31
32
|
update:
|
32
33
|
error: Při aktualizaci této šablony došlo k chybě.
|
data/config/locales/de.yml
CHANGED
@@ -10,7 +10,6 @@ de:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Verwalten
|
14
13
|
templates: Vorlagen
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ de:
|
|
27
26
|
destroy:
|
28
27
|
success: Vorlage erfolgreich gelöscht.
|
29
28
|
empty: Es gibt noch keine Vorlagen.
|
29
|
+
fetch:
|
30
|
+
error: Diese Vorlage konnte nicht gefunden werden. Bitte Seite neu laden.
|
30
31
|
missing_resource: "(fehlende Ressource)"
|
31
32
|
update:
|
32
33
|
error: Bei der Aktualisierung dieser Vorlage ist ein Problem aufgetreten.
|
data/config/locales/en.yml
CHANGED
@@ -10,7 +10,6 @@ en:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Manage
|
14
13
|
templates: Templates
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ en:
|
|
27
26
|
destroy:
|
28
27
|
success: Template deleted successfully.
|
29
28
|
empty: There are no templates yet.
|
29
|
+
fetch:
|
30
|
+
error: Could not find this template. Please reload the page.
|
30
31
|
missing_resource: "(missing resource)"
|
31
32
|
update:
|
32
33
|
error: There was a problem updating this template.
|
data/config/locales/es-MX.yml
CHANGED
@@ -10,7 +10,6 @@ es-MX:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Gestionar
|
14
13
|
templates: Plantillas
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ es-MX:
|
|
27
26
|
destroy:
|
28
27
|
success: Plantilla eliminada correctamente.
|
29
28
|
empty: Todavía no hay plantillas.
|
29
|
+
fetch:
|
30
|
+
error: No se ha podido encontrar esta plantilla. Por favor, vuelve a cargar la página.
|
30
31
|
missing_resource: "(recurso ausente)"
|
31
32
|
update:
|
32
33
|
error: Se ha producido un error al actualizar esta plantilla.
|
data/config/locales/es-PY.yml
CHANGED
@@ -10,7 +10,6 @@ es-PY:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Gestionar
|
14
13
|
templates: Plantillas
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ es-PY:
|
|
27
26
|
destroy:
|
28
27
|
success: Plantilla eliminada correctamente.
|
29
28
|
empty: Todavía no hay plantillas.
|
29
|
+
fetch:
|
30
|
+
error: No se ha podido encontrar esta plantilla. Por favor, vuelve a cargar la página.
|
30
31
|
missing_resource: "(recurso ausente)"
|
31
32
|
update:
|
32
33
|
error: Se ha producido un error al actualizar esta plantilla.
|
data/config/locales/es.yml
CHANGED
@@ -10,7 +10,6 @@ es:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Gestionar
|
14
13
|
templates: Plantillas
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ es:
|
|
27
26
|
destroy:
|
28
27
|
success: Plantilla eliminada correctamente.
|
29
28
|
empty: Todavía no hay plantillas.
|
29
|
+
fetch:
|
30
|
+
error: No se ha podido encontrar esta plantilla. Por favor, vuelve a cargar la página.
|
30
31
|
missing_resource: "(recurso ausente)"
|
31
32
|
update:
|
32
33
|
error: Se ha producido un error al actualizar esta plantilla.
|
data/config/locales/eu.yml
CHANGED
@@ -10,7 +10,6 @@ eu:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Kudeatu
|
14
13
|
templates: Txantiloiak
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ eu:
|
|
27
26
|
destroy:
|
28
27
|
success: Txantiloia zuzen ezabatua.
|
29
28
|
empty: Oraindik ez dago txantiloirik.
|
29
|
+
fetch:
|
30
|
+
error: Ezin da plantilla hau aurkitu. Kargatu orria, mesedez.
|
30
31
|
missing_resource: "(baliabide galdua)"
|
31
32
|
update:
|
32
33
|
error: Arazo bat egon da eztabaida hau eguneratzean.
|
data/config/locales/fi-plain.yml
CHANGED
@@ -10,7 +10,6 @@ fi-pl:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Hallinnoi
|
14
13
|
templates: Mallipohjat
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ fi-pl:
|
|
27
26
|
destroy:
|
28
27
|
success: Mallipohjan poisto onnistui.
|
29
28
|
empty: Mallipohjia ei ole vielä lisätty.
|
29
|
+
fetch:
|
30
|
+
error: Mallipohjaa ei löytynyt. Lataa sivu uudelleen.
|
30
31
|
missing_resource: "(puuttuva resurssi)"
|
31
32
|
update:
|
32
33
|
error: Mallipohjan päivitys epäonnistui.
|
data/config/locales/fi.yml
CHANGED
@@ -10,7 +10,6 @@ fi:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Hallinnoi
|
14
13
|
templates: Mallipohjat
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ fi:
|
|
27
26
|
destroy:
|
28
27
|
success: Mallipohjan poisto onnistui.
|
29
28
|
empty: Mallipohjia ei ole vielä lisätty.
|
29
|
+
fetch:
|
30
|
+
error: Mallipohjaa ei löytynyt. Lataa sivu uudelleen.
|
30
31
|
missing_resource: "(puuttuva resurssi)"
|
31
32
|
update:
|
32
33
|
error: Mallipohjan päivitys epäonnistui.
|
data/config/locales/fr-CA.yml
CHANGED
@@ -10,7 +10,6 @@ fr-CA:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Gérer
|
14
13
|
templates: Modèles
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ fr-CA:
|
|
27
26
|
destroy:
|
28
27
|
success: Modèle supprimé avec succès.
|
29
28
|
empty: Il n'y a pas de modèle pour l'instant.
|
29
|
+
fetch:
|
30
|
+
error: Impossible de trouver ce modèle. Veuillez recharger la page.
|
30
31
|
missing_resource: "(ressource manquante)"
|
31
32
|
update:
|
32
33
|
error: Un problème est survenu lors de la mise à jour de ce modèle.
|
@@ -72,7 +73,7 @@ fr-CA:
|
|
72
73
|
component_constraint: Ajouter une contrainte
|
73
74
|
confirm_delete: Êtes-vous sûr de vouloir supprimer ce modèle ?
|
74
75
|
global_scope: Global (disponible partout)
|
75
|
-
internal_state:
|
76
|
+
internal_state: Etat interne
|
76
77
|
title: Réponses à la proposition
|
77
78
|
new:
|
78
79
|
title: Nouveau modèle de réponse à proposition
|
data/config/locales/fr.yml
CHANGED
@@ -10,7 +10,6 @@ fr:
|
|
10
10
|
decidim:
|
11
11
|
admin:
|
12
12
|
menu:
|
13
|
-
manage: Gérer
|
14
13
|
templates: Modèles de questionnaire
|
15
14
|
templates:
|
16
15
|
actions:
|
@@ -27,6 +26,8 @@ fr:
|
|
27
26
|
destroy:
|
28
27
|
success: Modèle supprimé avec succès.
|
29
28
|
empty: Il n'y a pas de modèle pour l'instant.
|
29
|
+
fetch:
|
30
|
+
error: Impossible de trouver ce modèle. Veuillez recharger la page.
|
30
31
|
missing_resource: "(ressource manquante)"
|
31
32
|
update:
|
32
33
|
error: Un problème est survenu lors de la mise à jour de ce modèle.
|
@@ -72,7 +73,7 @@ fr:
|
|
72
73
|
component_constraint: Ajouter une contrainte
|
73
74
|
confirm_delete: Êtes-vous sûr de vouloir supprimer ce modèle ?
|
74
75
|
global_scope: Global (disponible partout)
|
75
|
-
internal_state:
|
76
|
+
internal_state: Etat interne
|
76
77
|
title: Réponses à la proposition
|
77
78
|
new:
|
78
79
|
title: Nouveau modèle de réponse à proposition
|
@@ -0,0 +1 @@
|
|
1
|
+
he:
|