decidim-decidim_awesome 0.7.0 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -9
- data/app/assets/config/decidim_admin_decidim_awesome_manifest.css +2 -2
- data/app/assets/config/decidim_admin_decidim_awesome_manifest.js +1 -2
- data/app/assets/config/decidim_decidim_awesome_manifest.css +2 -2
- data/app/assets/config/decidim_decidim_awesome_manifest.js +3 -2
- data/app/assets/config/legacy_decidim_admin_decidim_awesome_manifest.js +2 -0
- data/app/assets/config/legacy_decidim_decidim_awesome_manifest.js +4 -0
- data/app/assets/javascripts/decidim/decidim_awesome/admin/auto_edit.js.es6 +77 -0
- data/app/assets/javascripts/decidim/decidim_awesome/admin/codemirror.js.es6 +2 -3
- data/app/assets/javascripts/decidim/decidim_awesome/admin/form_builder.js.es6 +80 -0
- data/app/assets/javascripts/decidim/decidim_awesome/admin/legacy_form_builder.js.es6 +80 -0
- data/app/assets/javascripts/decidim/decidim_awesome/admin/user_picker.js.es6 +24 -0
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_admin.js +7 -0
- data/app/assets/javascripts/decidim/decidim_awesome/{application.js → awesome_application.js} +1 -2
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/layers.js.es6 +3 -2
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/load_map.js.es6 +15 -0
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/map.js.es6 +52 -56
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/meetings.js.es6 +2 -2
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/proposals.js.es6 +1 -1
- data/app/assets/javascripts/decidim/decidim_awesome/awesome_map/utilities.js.es6 +33 -24
- data/app/assets/javascripts/decidim/decidim_awesome/editors/legacy_quill_editor.js.es6 +14 -2
- data/app/assets/javascripts/decidim/decidim_awesome/editors/quill_editor.js.es6 +18 -4
- data/app/assets/javascripts/decidim/decidim_awesome/editors/tabs_focus.js.es6 +24 -0
- data/app/assets/javascripts/decidim/decidim_awesome/forms/custom_fields_builder.js.es6 +211 -0
- data/app/assets/javascripts/decidim/decidim_awesome/forms/rich_text_plugin.js.es6 +106 -0
- data/app/assets/javascripts/decidim/decidim_awesome/legacy_admin.js +5 -1
- data/app/assets/javascripts/decidim/decidim_awesome/legacy_application.js +0 -1
- data/app/assets/javascripts/decidim/decidim_awesome/proposals/custom_fields.js.es6 +21 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/admin/auto_edits.scss +15 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/admin/codemirror.scss +15 -4
- data/app/assets/stylesheets/decidim/decidim_awesome/admin/constraints.scss +12 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss +66 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/admin/user_picker.scss +35 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/{admin.scss → awesome_admin.scss} +12 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/awesome_application.scss +22 -0
- data/app/assets/stylesheets/decidim/decidim_awesome/awesome_map/map.scss +0 -1
- data/app/assets/stylesheets/decidim/decidim_awesome/editors/quill_editor.scss +16 -1
- data/app/awesome_overrides/forms/decidim/proposals/proposal_wizard_create_step_form_override.rb +28 -0
- data/app/cells/decidim/decidim_awesome/content_blocks/map/show.erb +74 -0
- data/app/cells/decidim/decidim_awesome/content_blocks/map_cell.rb +54 -0
- data/app/cells/decidim/decidim_awesome/content_blocks/map_form/show.erb +61 -0
- data/app/cells/decidim/decidim_awesome/content_blocks/map_form_cell.rb +19 -0
- data/app/commands/concerns/decidim/decidim_awesome/admin/needs_constraint_helpers.rb +32 -0
- data/app/commands/decidim/decidim_awesome/admin/create_proposal_custom_field.rb +45 -0
- data/app/commands/decidim/decidim_awesome/admin/create_scoped_admin.rb +38 -0
- data/app/commands/decidim/decidim_awesome/admin/destroy_constraint.rb +4 -0
- data/app/commands/decidim/decidim_awesome/admin/destroy_proposal_custom_field.rb +40 -0
- data/app/commands/decidim/decidim_awesome/admin/destroy_scoped_admin.rb +40 -0
- data/app/commands/decidim/decidim_awesome/admin/destroy_scoped_style.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/rename_scope_label.rb +58 -0
- data/app/commands/decidim/decidim_awesome/admin/update_config.rb +1 -0
- data/app/controllers/concerns/decidim/decidim_awesome/admin_not_found_redirect.rb +39 -0
- data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +31 -18
- data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +4 -0
- data/app/controllers/decidim/decidim_awesome/admin/proposal_custom_fields_controller.rb +38 -0
- data/app/controllers/decidim/decidim_awesome/admin/scoped_admins_controller.rb +38 -0
- data/app/controllers/decidim/decidim_awesome/admin/scoped_styles_controller.rb +38 -0
- data/app/forms/decidim/decidim_awesome/admin/config_form.rb +39 -0
- data/app/forms/decidim/decidim_awesome/admin/constraint_form.rb +3 -1
- data/app/helpers/decidim/decidim_awesome/admin/config_constraints_helpers.rb +11 -7
- data/app/helpers/decidim/decidim_awesome/amendments_helper_override.rb +48 -0
- data/app/helpers/decidim/decidim_awesome/map_helper.rb +67 -16
- data/app/helpers/decidim/decidim_awesome/proposals/application_helper_override.rb +78 -0
- data/app/middleware/decidim/decidim_awesome/current_config.rb +182 -0
- data/app/models/decidim/decidim_awesome/awesome_config.rb +15 -0
- data/app/models/decidim/decidim_awesome/user_override.rb +25 -0
- data/app/permissions/decidim/decidim_awesome/admin/permissions.rb +2 -0
- data/app/views/decidim/decidim_awesome/admin/checks/index.html.erb +1 -1
- data/app/views/decidim/decidim_awesome/admin/config/_autoedit_box_label.html.erb +7 -0
- data/app/views/decidim/decidim_awesome/admin/config/_constraints.html.erb +2 -2
- data/app/views/decidim/decidim_awesome/admin/config/_form_admins.html.erb +21 -0
- data/app/views/decidim/decidim_awesome/admin/config/_form_editors.html.erb +0 -3
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposal_custom_fields.html.erb +25 -0
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposals.html.erb +0 -2
- data/app/views/decidim/decidim_awesome/admin/config/_form_styles.html.erb +4 -7
- data/app/views/decidim/decidim_awesome/admin/proposals/_editor.html.erb +4 -0
- data/app/views/decidim/decidim_awesome/custom_fields/_form_render.html.erb +6 -0
- data/app/views/decidim/decidim_awesome/map_component/map/show.html.erb +0 -2
- data/app/views/decidim/proposals/admin/proposals/_form.html.erb +101 -0
- data/app/views/decidim/proposals/collaborative_drafts/_edit_form_fields.html.erb +83 -0
- data/app/views/decidim/proposals/collaborative_drafts/show.html.erb +1 -0
- data/app/views/layouts/decidim/admin/decidim_awesome.html.erb +25 -11
- data/app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb +4 -0
- data/app/views/layouts/decidim/decidim_awesome/_custom_styles.html.erb +1 -1
- data/app/views/v0.23/decidim/proposals/collaborative_drafts/_show.html.erb +134 -0
- data/app/views/v0.23/layouts/decidim/_head.html.erb +1 -1
- data/app/views/v0.23/layouts/decidim/admin/_header.html.erb +1 -1
- data/app/views/v0.24/decidim/proposals/collaborative_drafts/_show.html.erb +128 -0
- data/app/views/v0.24/layouts/decidim/_head.html.erb +2 -2
- data/app/views/v0.24/layouts/decidim/admin/_header.html.erb +2 -2
- data/config/locales/ca.yml +62 -3
- data/config/locales/cs.yml +62 -3
- data/config/locales/en.yml +90 -11
- data/config/locales/es.yml +61 -2
- data/config/locales/eu.yml +63 -4
- data/config/locales/fr.yml +62 -3
- data/config/locales/it.yml +284 -0
- data/config/locales/ja.yml +284 -0
- data/config/locales/nl.yml +62 -3
- data/config/locales/sv.yml +62 -3
- data/db/migrate/20210628150825_change_awesome_config_var_type.rb +12 -0
- data/lib/decidim/decidim_awesome/admin_engine.rb +16 -4
- data/lib/decidim/decidim_awesome/awesome_helpers.rb +17 -10
- data/lib/decidim/decidim_awesome/checksums.yml +17 -4
- data/lib/decidim/decidim_awesome/config.rb +53 -6
- data/lib/decidim/decidim_awesome/context_analyzers/request_analyzer.rb +27 -21
- data/lib/decidim/decidim_awesome/custom_fields.rb +94 -0
- data/lib/decidim/decidim_awesome/engine.rb +62 -6
- data/lib/decidim/decidim_awesome/test/shared_examples/box_label_editor.rb +116 -0
- data/lib/decidim/decidim_awesome/test/shared_examples/current_config_examples.rb +143 -0
- data/lib/decidim/decidim_awesome/test/shared_examples/editor_examples.rb +4 -0
- data/lib/decidim/decidim_awesome/test/shared_examples/scoped_admins_examples.rb +428 -0
- data/lib/decidim/decidim_awesome/version.rb +1 -1
- data/lib/decidim/decidim_awesome.rb +41 -8
- data/vendor/assets/javascripts/delta.min.js +405 -0
- data/vendor/assets/javascripts/delta.min.js.map +1 -0
- data/vendor/assets/javascripts/europa.min.js +4 -0
- data/vendor/assets/javascripts/form-builder.min.js +19 -0
- data/vendor/assets/javascripts/form-render.min.js +19 -0
- data/vendor/assets/javascripts/inscrybmde.min.js +1 -1
- data/vendor/assets/javascripts/jquery-ui.min.js +13 -0
- data/vendor/assets/javascripts/select2.js +6147 -0
- data/vendor/assets/langs/en-US.lang +110 -0
- data/vendor/assets/stylesheets/inscrybmde.min.scss +14 -0
- data/vendor/assets/stylesheets/jquery-ui.min.css +7 -0
- data/vendor/assets/stylesheets/select2-foundation-theme.css +249 -0
- data/vendor/assets/stylesheets/select2.css +515 -0
- metadata +68 -27
- data/app/assets/images/decidim/decidim_awesome/loading.gif +0 -0
- data/app/assets/javascripts/decidim/decidim_awesome/admin.js +0 -3
- data/app/assets/javascripts/decidim/decidim_awesome/editors/markdown_view.js.es6 +0 -12
- data/app/assets/stylesheets/decidim/decidim_awesome/application.scss +0 -8
- data/app/assets/stylesheets/decidim/decidim_awesome/editors/markdown_view.scss +0 -27
- data/app/awesome_overrides/presenters/decidim/proposals/proposal_presenter_override.rb +0 -58
- data/lib/decidim/decidim_awesome/content_renderers/markdown_renderer.rb +0 -18
- data/lib/decidim/decidim_awesome/content_renderers.rb +0 -9
@@ -0,0 +1,284 @@
|
|
1
|
+
ja:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
config:
|
5
|
+
allow_images_in_full_editor: フルHTMLエディターでの画像を許可する
|
6
|
+
allow_images_in_markdown_editor: Markdownエディターでの画像を許可する
|
7
|
+
allow_images_in_proposals: 提案エディターでの画像を許可する
|
8
|
+
allow_images_in_small_editor: ミニマルHTMLエディターでの画像を許可する
|
9
|
+
auto_save_forms: ローカルストレージにフォームを自動保存する
|
10
|
+
intergram_auto_no_response: ユーザーが最初のメッセージを送信し、応答が受信されなかった後1分後に送信されたメッセージ
|
11
|
+
intergram_auto_response: ユーザーが最初のメッセージを送信した直後に送信されるメッセージ
|
12
|
+
intergram_chat_id: チャットID
|
13
|
+
intergram_color: ウィジェットの色
|
14
|
+
intergram_for_admins: 管理画面でIntergram Chatを有効にする
|
15
|
+
intergram_intro_message: ユーザーが初めてチャットを開いた時最初に表示されるメッセージ
|
16
|
+
intergram_require_login: ログインユーザーのみ
|
17
|
+
intergram_title_closed: 閉じられたチャットタイトル
|
18
|
+
intergram_title_open: 開いたチャットのタイトル
|
19
|
+
intergram_use_floating_button: チェックした場合、閉じたチャットは常にテキストの代わりにボタンになります
|
20
|
+
proposal_custom_fields: 'カスタム項目 #%{id}'
|
21
|
+
scoped_admins: 'スコープ付き管理者グループ #%{id}'
|
22
|
+
scoped_styles: 'カスタムスタイル #%{id}'
|
23
|
+
use_markdown_editor: HTMLエディターの代わりにMarkdownエディターを使用する
|
24
|
+
constraint:
|
25
|
+
component_id: 以下のみに適用
|
26
|
+
component_manifest: このタイプのコンポーネントのみ有効
|
27
|
+
participatory_space_manifest: 以下のタイプの参加スペースに適用
|
28
|
+
participatory_space_slug: あるいは、以下の参加スペースに適用
|
29
|
+
menu:
|
30
|
+
position: 位置
|
31
|
+
raw_label: ラベル
|
32
|
+
target: リンク先
|
33
|
+
url: URL
|
34
|
+
visibility: 表示・非表示
|
35
|
+
proposal:
|
36
|
+
proposal_custom_fields: カスタム項目
|
37
|
+
decidim:
|
38
|
+
admin:
|
39
|
+
menu:
|
40
|
+
decidim_awesome: Decidim awesome
|
41
|
+
components:
|
42
|
+
awesome_iframe:
|
43
|
+
name: 全画面 Iframe
|
44
|
+
settings:
|
45
|
+
global:
|
46
|
+
announcement: アナウンス
|
47
|
+
iframe: Iframeコード
|
48
|
+
iframe_help: 'あなたのコードを <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe> というHTMLとして入れてください。コンテンツは他のHTMLタグからサニタイズされます。 画面幅を埋めるためにwidthを100%にして使用するようにしてください。'
|
49
|
+
no_margins: Iframeと残りのページの間に余白はありません
|
50
|
+
viewport_width: アプリケーションのビューポートを最大幅として制限する
|
51
|
+
step:
|
52
|
+
announcement: アナウンス
|
53
|
+
iframe: Iframeコード
|
54
|
+
awesome_map:
|
55
|
+
name: Awesome Map
|
56
|
+
settings:
|
57
|
+
global:
|
58
|
+
announcement: アナウンス
|
59
|
+
collapse: メニューは折りたたまれた状態で開始
|
60
|
+
map_center: マップの中央 (緯度、経度)
|
61
|
+
map_center_help: '小数点を使用 (例:41.38879、2.15899)。すべてのマーカーに自動的に合うように空のままにします'
|
62
|
+
map_height: マップの高さ (px)
|
63
|
+
map_zoom: ズーム ( 0 と 18 の間の任意の数字)
|
64
|
+
map_zoom_help: 地図の中心が定義されている場合にのみ適用されます
|
65
|
+
menu_amendments: 修正を表示
|
66
|
+
menu_hashtags: Hasthag 検索メニューを表示
|
67
|
+
menu_meetings: ミーティングを表示
|
68
|
+
truncate: ポップアップの説明のための最大文字数
|
69
|
+
step:
|
70
|
+
announcement: アナウンス
|
71
|
+
show_accepted: 受理済みの提案を表示
|
72
|
+
show_evaluating: 評価中の提案を表示
|
73
|
+
show_not_answered: 未回答の提案を表示
|
74
|
+
show_rejected: 却下された提案を表示
|
75
|
+
show_withdrawn: 撤回された提案を表示
|
76
|
+
decidim_awesome:
|
77
|
+
admin:
|
78
|
+
checks:
|
79
|
+
index:
|
80
|
+
admin_head_tags: 管理者向けアプリケーションヘッダーに含まれる Awesome tags
|
81
|
+
decidim-admin: Adminモジュールより
|
82
|
+
decidim-core: Coreモジュールより
|
83
|
+
decidim-proposals: 提案モジュールより
|
84
|
+
decidim_version: Decidim version %{version}
|
85
|
+
errors:
|
86
|
+
CSS: 必要な <link> スタイルシートエントリがヘッドに含まれていません。この問題を解決するために、独自の _head.html.erbに手動で追加することもできます。
|
87
|
+
JavaScript: 必要な <script> JavaScriptエントリがヘッドに含まれていません。この問題を解決するために、独自の admin/_head.html.erbに手動で追加することもできます。
|
88
|
+
head_tags: アプリケーションヘッダーに含まれる Awesome tags
|
89
|
+
title: システム互換性チェック
|
90
|
+
config:
|
91
|
+
caution: 'NOTE: This feature heavily modifies some default behaviours that might lead to unexpected results. Use it with caution!'
|
92
|
+
constraints:
|
93
|
+
add_condition: 条件を追加
|
94
|
+
always: すべて
|
95
|
+
cannot_be_destroyed: 申し訳ありませんが、この設定は削除できません。この設定には少なくとも1つの制約が必要です
|
96
|
+
delete: 削除
|
97
|
+
edit: 編集
|
98
|
+
title: '一部のケースのみ適用する:'
|
99
|
+
create_proposal_custom_field:
|
100
|
+
error: 新しい「カスタム項目」ボックスの作成中にエラーが発生しました! %{error}
|
101
|
+
success: '「カスタム項目」ボックス %{key} が正常に作成されました'
|
102
|
+
create_scoped_admin:
|
103
|
+
error: 新しい管理グループの作成中にエラーが発生しました! %{error}
|
104
|
+
success: 管理グループ %{key} が正常に作成されました
|
105
|
+
create_scoped_style:
|
106
|
+
error: '新規CSS box作成エラー: %{error}'
|
107
|
+
success: CSS box %{key} が正常に作成されました
|
108
|
+
destroy_proposal_custom_field:
|
109
|
+
error: '「カスタム項目」ボックスの削除中にエラーが発生しました! %{error}'
|
110
|
+
success: '「カスタム項目」ボックス %{key} が正常に削除されました'
|
111
|
+
destroy_scoped_admin:
|
112
|
+
error: 管理グループの削除中にエラーが発生しました! %{error}
|
113
|
+
success: 管理グループ %{key} が正常に削除されました
|
114
|
+
destroy_scoped_style:
|
115
|
+
error: 'CSS box削除エラー: %{error}'
|
116
|
+
success: CSS ボックス %{key} は正常に削除されました
|
117
|
+
form:
|
118
|
+
edit_label: Rename label
|
119
|
+
errors:
|
120
|
+
incorrect_css: 'Box #%{key} のCSSに問題があります'
|
121
|
+
incorrect_json: 'ボックス #%{key} 内の JSON 定義は無効です'
|
122
|
+
help:
|
123
|
+
allow_images_in_full_editor: 全ツールバーを有効にしたWYSIWYGエディターに画像アップロードアイコンを追加します。
|
124
|
+
allow_images_in_markdown_editor: Markdownエディターでのコピー&ペーストとドラッグ&ドロップによる画像アップロードを許可します。
|
125
|
+
allow_images_in_proposals: 提案エディターでの画像アップロードをすべてのユーザーができるようにします。
|
126
|
+
allow_images_in_small_editor: 最小オプションのWYSIWYGエディターに画像アップロードアイコンを追加します。
|
127
|
+
auto_save_forms: 調査などのフォームにユーザーが入力したデータを、LocalStorageを使って自動的に保存します。フォームを送信されていない場合、同じブラウザーで次回アクセスした時に復元されます。フォームを送信すると、データは削除されます。ユーザーがLocalStrorageのデータを削除した場合にも、データは復元されなくなります。
|
128
|
+
drag_and_drop_supported: 画像アップロード時にドラッグ&ドロップが利用できます。画像はサーバーにアップロードされ、外部リソースとして挿入されます(base64インラインエンコーディングは使用しません).
|
129
|
+
intergram_about: IntergramはTelegramメッセンジャーを使用してページの下部に埋め込まれたライブサポートチャットウィジェットを処理します。
|
130
|
+
intergram_config: '<a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram bot</a> をグループに招待するか、直接チャットを開始します。 <a href="https://github.com/idoco/intergram#embed-intergram-in-your-website-with-these-2-simple-steps">+ info</a>'
|
131
|
+
proposal_custom_fields: 公開ウェブの特定の部分にのみ適用されるカスタム提案項目を作成します (制限されたエディタを使用してください)
|
132
|
+
proposal_custom_fields_example: データは、互換性のある HTML 属性 (dl,dt,dd 要素) を使用した XML オブジェクトとして格納され、通常の提案の "body" を置き換えます。
|
133
|
+
proposal_custom_fields_translations: "Labels, help text, placeholders and default values can use your application custom translations. \nFor that, instead of using a string literal, use the i18n key (it must containt at least one dot).\nFor instance:\n- \"activemodel.attributes.proposal.title\" instead of \"Title\"\n- \"activemodel.attributes.proposal.address\" instead of \"Address\"\nOr use your own keys in combination with other tools to define translations (eg: using the module Term Customizer):\n - \"myapp.custom_fields.bio\" instead of \"Biography\""
|
134
|
+
scoped_admins: 一般ユーザーを公開ウェブの特定の部分だけを管理できる管理者に昇格させます(制限エディターを使用してください)。 すでに通常の管理者権限を持つユーザーは無視されることに注意してください。
|
135
|
+
scoped_styles: 公開ウェブの特定の部分にのみ適用されるカスタムCSSを作成します (制限されたエディタを使用してください)
|
136
|
+
scoped_styles_variables: '組織の色のカスタマイズには、以下のCSS変数が使用できます。'
|
137
|
+
use_markdown_editor: これはQuill WYSIWYGエディターを置き換えて、代わりにMarkdownエディターを使えるようにします。テキストはDB内ではHTML形式に変換・保存されます。
|
138
|
+
form_proposal_custom_fields:
|
139
|
+
new: 新しい「カスタム項目」ボックスを追加
|
140
|
+
remove: '「カスタム項目」ボックスを削除'
|
141
|
+
sure_to_remove: この項目ボックスを削除してもよろしいですか?
|
142
|
+
form_scoped_admins:
|
143
|
+
new: 新しい「スコープ付き管理者」グループを追加
|
144
|
+
remove: '「スコープ付き管理者」グループを削除'
|
145
|
+
sure_to_remove: この「スコープ付き管理者」グループを削除してもよろしいですか?
|
146
|
+
form_scoped_styles:
|
147
|
+
new: 新規CSS boxを追加
|
148
|
+
remove: CSS boxを削除
|
149
|
+
sure_to_remove: このCSS boxを削除してもよろしいですか?
|
150
|
+
none: "⛔ Never! - 他の制約を無効にします"
|
151
|
+
process_groups: プロセスグループ
|
152
|
+
rich_text_editor_in_public_views: '注意: 「参加者のためのリッチテキストエディタ」が有効になっているので、このオプションは適用されません。提案で画像を有効にするにはエディタの設定を使用してください。'
|
153
|
+
show:
|
154
|
+
title: '%{setting} の詳細設定'
|
155
|
+
update: 設定を更新する
|
156
|
+
system: 参加スペース以外のすべて
|
157
|
+
update:
|
158
|
+
error: 設定更新エラー %{error}
|
159
|
+
success: 設定は正常に更新されました
|
160
|
+
constraints:
|
161
|
+
create:
|
162
|
+
error: 条件設定作成エラー
|
163
|
+
success: 設定は正常に作成されました
|
164
|
+
destroy:
|
165
|
+
error: 条件設定削除エラー
|
166
|
+
success: 条件が正常に削除されました
|
167
|
+
errors:
|
168
|
+
not_unique: 同一の条件がすでに存在しています
|
169
|
+
new:
|
170
|
+
cancel: キャンセル
|
171
|
+
constraint: 新規条件設定
|
172
|
+
save: 保存
|
173
|
+
show:
|
174
|
+
cancel: キャンセル
|
175
|
+
constraint: 条件設定の編集
|
176
|
+
save: 保存
|
177
|
+
update:
|
178
|
+
error: 条件設定更新エラー
|
179
|
+
success: 条件設定は正常に更新されました
|
180
|
+
menu:
|
181
|
+
admins: スコープ付き管理者
|
182
|
+
checks: システム互換性
|
183
|
+
editors: エディター設定
|
184
|
+
livechat: ライブチャット
|
185
|
+
menu_hacks: メニュー調整
|
186
|
+
proposal_custom_fields: 提案カスタム項目
|
187
|
+
proposals: 提案の設定
|
188
|
+
styles: 独自スタイル
|
189
|
+
surveys: 調査&フォーム
|
190
|
+
menu_hacks:
|
191
|
+
create:
|
192
|
+
error: メニュー項目作成エラー %{error}
|
193
|
+
success: メニュー項目は正常に作成されました
|
194
|
+
destroy:
|
195
|
+
error: メニュー項目削除エラー %{error}
|
196
|
+
success: メニュー項目は正常に削除されました
|
197
|
+
edit:
|
198
|
+
save: 保存
|
199
|
+
title: メニュー項目を編集
|
200
|
+
form:
|
201
|
+
label_help: 翻訳は自動的に検出されません。すべての項目を入力してください
|
202
|
+
target:
|
203
|
+
blank: 新規ウィンドウ
|
204
|
+
self: 同一ウィンドウ
|
205
|
+
visibility:
|
206
|
+
default: 表示する
|
207
|
+
hidden: 常に非表示
|
208
|
+
logged: ログインしたユーザーにのみ表示
|
209
|
+
non_logged: ログインしていないユーザーにのみ表示
|
210
|
+
index:
|
211
|
+
confirm_destroy: この設定を削除しますか?
|
212
|
+
edit: 編集
|
213
|
+
new: 新しい項目
|
214
|
+
remove: 追加の削除
|
215
|
+
remove_hack: カスタマイズの削除
|
216
|
+
title: メインメニュー
|
217
|
+
new:
|
218
|
+
save: 保存
|
219
|
+
title: 新規メニュー項目
|
220
|
+
update:
|
221
|
+
error: メニュー項目更新エラー %{error}
|
222
|
+
success: メニュー項目は正常に更新されました
|
223
|
+
url_exists: 同じURLがすでに設定されています。もう一度作成し直す前に、内容を修正してください。
|
224
|
+
config:
|
225
|
+
intergram:
|
226
|
+
auto_no_response: 現在、回答できる者がおりません。 早急に折り返しご連絡しますので、あなたへの連絡方法を教えてください
|
227
|
+
auto_response: 最初に利用可能な管理者を探しています (しばらく時間がかかることがあります)
|
228
|
+
intro_message: 何かお手伝いできることがありますか?
|
229
|
+
title_closed: クリックしてチャット
|
230
|
+
title_open: チャットしてみましょう
|
231
|
+
content_blocks:
|
232
|
+
map:
|
233
|
+
collapse: メニューは折りたたまれた状態で開始
|
234
|
+
map_center: マップの中央 (緯度、経度)
|
235
|
+
map_center_help: '小数点を使用 (例:41.38879、2.15899)。すべてのマーカーに自動的に合うように空のままにします'
|
236
|
+
map_height: マップの高さ (px)
|
237
|
+
map_settings: マップの設定
|
238
|
+
map_zoom: ズーム ( 0 と 18 の間の任意の数字)
|
239
|
+
map_zoom_help: 地図の中心が定義されている場合にのみ適用されます
|
240
|
+
menu_amendments: 修正を表示
|
241
|
+
menu_meetings: ミーティングを表示
|
242
|
+
name: Awesome Map
|
243
|
+
show_accepted: 受理済みの提案を表示
|
244
|
+
show_evaluating: 評価中の提案を表示
|
245
|
+
show_not_answered: 未回答の提案を表示
|
246
|
+
show_rejected: 却下された提案を表示
|
247
|
+
show_withdrawn: 撤回された提案を表示
|
248
|
+
text_settings: テキストの設定
|
249
|
+
title: タイトル
|
250
|
+
truncate: ポップアップの説明のための最大文字数
|
251
|
+
credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
|
252
|
+
custom_fields:
|
253
|
+
errors:
|
254
|
+
invalid_fields: コンテンツは解析できませんでしたが、フィールド '%{field}' に割り当てられました
|
255
|
+
invalid_xml: 'コンテンツを解析できませんでした: DL/DD要素がXMLに見つかりません'
|
256
|
+
editor_images:
|
257
|
+
create:
|
258
|
+
error: 画像アップロードエラー
|
259
|
+
success: 画像は正常にアップロードされました
|
260
|
+
map_component:
|
261
|
+
map:
|
262
|
+
error:
|
263
|
+
unavailable: マップは利用できません。このコンポーネントを有効にするにはジオコーディングを設定してください。
|
264
|
+
show:
|
265
|
+
view_meeting: ミーティングを表示
|
266
|
+
view_proposal: 提案を表示
|
267
|
+
layouts:
|
268
|
+
decidim:
|
269
|
+
admin:
|
270
|
+
decidim_awesome:
|
271
|
+
title: Decidimの調整
|
272
|
+
decidim_awesome:
|
273
|
+
awesome_config:
|
274
|
+
amendments: 修正
|
275
|
+
autosaved_error: お使いのブラウザーではLocalStorageをサポートしていないため、フォームは自動保存されません。
|
276
|
+
autosaved_retrieved: このフォームのデータは前回のセッションから復元しました
|
277
|
+
autosaved_success: ローカルストレージにデータを保存しました
|
278
|
+
categories: カテゴリー
|
279
|
+
drag_and_drop_image: ドラッグ&ドロップで画像を追加できます
|
280
|
+
hashtags: ハッシュタグ
|
281
|
+
items: 項目
|
282
|
+
meetings: ミーティング
|
283
|
+
proposals: 提案
|
284
|
+
select_deselect_all: まとめて選択・選択解除する
|
data/config/locales/nl.yml
CHANGED
@@ -17,7 +17,9 @@ nl:
|
|
17
17
|
intergram_title_closed: Gesloten chat titel
|
18
18
|
intergram_title_open: Geopende chat titel
|
19
19
|
intergram_use_floating_button: Indien aangevinkt, is de gesloten chat altijd een knop in plaats van een tekst
|
20
|
-
|
20
|
+
proposal_custom_fields: Custom fields %{id}
|
21
|
+
scoped_admins: Scoped admins group %{id}
|
22
|
+
scoped_styles: Custom styles %{id}
|
21
23
|
use_markdown_editor: Gebruik een Markdown editor in plaats van de HTML editor
|
22
24
|
constraint:
|
23
25
|
component_id: of specifiek in
|
@@ -30,6 +32,8 @@ nl:
|
|
30
32
|
target: Opent in
|
31
33
|
url: URL
|
32
34
|
visibility: Zichtbaarheid
|
35
|
+
proposal:
|
36
|
+
proposal_custom_fields: Custom fields
|
33
37
|
decidim:
|
34
38
|
admin:
|
35
39
|
menu:
|
@@ -84,22 +88,37 @@ nl:
|
|
84
88
|
head_tags: Awesome tags zijn in de application header ingevoegd
|
85
89
|
title: Systeem compatibility checks
|
86
90
|
config:
|
91
|
+
caution: 'NOTE: This feature heavily modifies some default behaviours that might lead to unexpected results. Use it with caution!'
|
87
92
|
constraints:
|
88
93
|
add_condition: Voeg een case toe
|
89
94
|
always: Altijd
|
95
|
+
cannot_be_destroyed: Sorry, this cannot be deleted. This configuration needs at least one constraint.
|
90
96
|
delete: Delete
|
91
97
|
edit: Edit
|
92
98
|
title: 'Alleen toepasbaar in de volgende gevallen:'
|
99
|
+
create_proposal_custom_field:
|
100
|
+
error: Error creating a new "custom field" box! %{error}
|
101
|
+
success: '"custom field" box %{key} created successfully'
|
102
|
+
create_scoped_admin:
|
103
|
+
error: Error creating a new Admin group! %{error}
|
104
|
+
success: Admin group %{key} created successfully
|
93
105
|
create_scoped_style:
|
94
106
|
error: Error bij het maken van een nieuwe CSS box! %{error}
|
95
107
|
success: CSS box %{key} succesvol aangemaakt
|
108
|
+
destroy_proposal_custom_field:
|
109
|
+
error: Error removing "custom field" box! %{error}
|
110
|
+
success: '"custom field" box %{key} removed successfully'
|
111
|
+
destroy_scoped_admin:
|
112
|
+
error: Error removing Admin group! %{error}
|
113
|
+
success: Admin group %{key} removed successfully
|
96
114
|
destroy_scoped_style:
|
97
115
|
error: Fout bij verwijderen van CSS-box! %{error}
|
98
116
|
success: CSS box %{key} succesvol verwijderd
|
99
|
-
experimental: Experimentele opties
|
100
117
|
form:
|
118
|
+
edit_label: Rename label
|
101
119
|
errors:
|
102
120
|
incorrect_css: 'CSS in box #%{key} is invalid'
|
121
|
+
incorrect_json: 'JSON definition in box #%{key} is invalid'
|
103
122
|
help:
|
104
123
|
allow_images_in_full_editor: Dit zal een afbeelding uploader pictogram toevoegen in alle editors WYSIWYG met de volledige werkbalk ingeschakeld.
|
105
124
|
allow_images_in_markdown_editor: Hiermee kan de markdown editor afbeeldingen uploaden door ze te kopiëren en plakken of slepen & neerzetten.
|
@@ -109,13 +128,27 @@ nl:
|
|
109
128
|
drag_and_drop_supported: Bij het uploaden van afbeeldingen wordt wordt slepen en neerzetten ondersteund. Afbeeldingen worden naar de server geüpload en ingevoegd als externe bronnen (er wordt geen base64 inline codering gebruikt).
|
110
129
|
intergram_about: Intergram gebruikt Telegram messenger voor het verwerken van een live-support chat widget ingebed aan de onderkant van de pagina.
|
111
130
|
intergram_config: 'Nodig de <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram bot</a> uit voor je groep of begin direct met een chat. <a href="https://github.com/idoco/intergram#embed-intergram-in-your-website-with-these-2-simple-steps">+ info</a>'
|
131
|
+
proposal_custom_fields: Create custom proposal fields that applies only in certain parts of the public web (use the restrictions editor for that)
|
132
|
+
proposal_custom_fields_example: Data is stored in a XML object using compatible HTML attributes (dl,dt,dd elements) replacing the "body" in a normal proposal.
|
133
|
+
proposal_custom_fields_translations: "Labels, help text, placeholders and default values can use your application custom translations. \nFor that, instead of using a string literal, use the i18n key (it must containt at least one dot).\nFor instance:\n- \"activemodel.attributes.proposal.title\" instead of \"Title\"\n- \"activemodel.attributes.proposal.address\" instead of \"Address\"\nOr use your own keys in combination with other tools to define translations (eg: using the module Term Customizer):\n - \"myapp.custom_fields.bio\" instead of \"Biography\""
|
134
|
+
scoped_admins: Promote regular user to admins that can only administrate certain parts of the public web (use the restrictions editor for that). Note that users who already have regular admin permissions will be ignored.
|
112
135
|
scoped_styles: Maak aangepaste CSS aan die alleen van toepassing is in bepaalde delen van het openbare web (gebruik hiervoor de restrictie-editor)
|
113
136
|
scoped_styles_variables: 'Je kunt de volgende CSS variabelen gebruiken voor de organisatie op maat gemaakte kleuren:'
|
114
137
|
use_markdown_editor: Dit vervangt de Quill WYSIWYG editor, gebruik in plaats daarvan een Markdown editor. Tekst zal worden weergegeven als HTML in de openbare pagina's (tekst in de database zal worden opgeslagen als markdown tekst)
|
115
|
-
|
138
|
+
form_proposal_custom_fields:
|
139
|
+
new: Add a new "custom fields" box
|
140
|
+
remove: Remove this "custom fields" box
|
141
|
+
sure_to_remove: Are you sure you want to destroy this fields box?
|
142
|
+
form_scoped_admins:
|
143
|
+
new: Add a new "Scoped Admins" group
|
144
|
+
remove: Remove this "Scoped Admins" group
|
145
|
+
sure_to_remove: Are you sure you want to destroy this "Scoped Admins" group?
|
146
|
+
form_scoped_styles:
|
116
147
|
new: Voeg een nieuwe CSS-box toe
|
117
148
|
remove: Verwijder dit CSS-vak
|
118
149
|
sure_to_remove: Weet je zeker dat je dit CSS-vak wilt verwijderen?
|
150
|
+
none: "⛔ Never! - Deactivate any other constraint"
|
151
|
+
process_groups: Process groups
|
119
152
|
rich_text_editor_in_public_views: 'Let op: "rich text editor voor deelnemers" is ingeschakeld, deze optie is niet van toepassing. Gebruik de editors hacks om afbeeldingen in voorstellen in te schakelen.'
|
120
153
|
show:
|
121
154
|
title: Tweaks voor %{setting}
|
@@ -145,10 +178,12 @@ nl:
|
|
145
178
|
error: Fout tijdens bijwerken voorwaardelijke case
|
146
179
|
success: Voorwaardelijke case succesvol bijgewerkt
|
147
180
|
menu:
|
181
|
+
admins: Scoped Admins
|
148
182
|
checks: Systeemcompabiliteit
|
149
183
|
editors: Editor hacks
|
150
184
|
livechat: Live Chat
|
151
185
|
menu_hacks: Menu tweaks
|
186
|
+
proposal_custom_fields: Proposals Custom Fields
|
152
187
|
proposals: Voorstellen hacks
|
153
188
|
styles: Aangepaste stijlen
|
154
189
|
surveys: Enquêtes & formulieren
|
@@ -193,7 +228,31 @@ nl:
|
|
193
228
|
intro_message: Hallo! Hoe kunnen we je helpen?
|
194
229
|
title_closed: Klik om te chatten!
|
195
230
|
title_open: Laten we chatten!
|
231
|
+
content_blocks:
|
232
|
+
map:
|
233
|
+
collapse: Begin met samengevouwen menu
|
234
|
+
map_center: Kaart midden (breedtegraad, lengtegraad)
|
235
|
+
map_center_help: 'Gebruik decimale punten (bv. 41.38879, 2.15899). Laat het leeg om automatisch aan alle markers te voldoen'
|
236
|
+
map_height: Map hoogte (px)
|
237
|
+
map_settings: Map settings
|
238
|
+
map_zoom: Zoom (elk willekeurig getal tussen 0 en 18)
|
239
|
+
map_zoom_help: Alleen van toepassing als een centrum van de kaart is gedefinieerd
|
240
|
+
menu_amendments: Toon amendementen
|
241
|
+
menu_meetings: Toon vergaderingen
|
242
|
+
name: Awesome Map
|
243
|
+
show_accepted: Toon geaccepteerde voorstellen
|
244
|
+
show_evaluating: Toon evaluatievoorstellen
|
245
|
+
show_not_answered: Toon niet beantwoorde voorstellen
|
246
|
+
show_rejected: Toon afgewezen voorstellen
|
247
|
+
show_withdrawn: Toon ingetrokken voorstellen
|
248
|
+
text_settings: Text settings
|
249
|
+
title: Title
|
250
|
+
truncate: Maximaal aantal tekens voor popup beschrijvingen
|
196
251
|
credits: Decidim Awesome %{version} · Gemaakt met ♥ door Platoniq
|
252
|
+
custom_fields:
|
253
|
+
errors:
|
254
|
+
invalid_fields: Content couldn't be parsed but has been assigned to the field '%{field}'
|
255
|
+
invalid_xml: 'Content couldn''t be parsed: DL/DD elements not found in the XML'
|
197
256
|
editor_images:
|
198
257
|
create:
|
199
258
|
error: Fout bij uploaden afbeelding!
|
data/config/locales/sv.yml
CHANGED
@@ -17,7 +17,9 @@ sv:
|
|
17
17
|
intergram_title_closed: Closed chat title
|
18
18
|
intergram_title_open: Opened chat title
|
19
19
|
intergram_use_floating_button: If checked, the closed chat is always a button instead of a text
|
20
|
-
|
20
|
+
proposal_custom_fields: Custom fields %{id}
|
21
|
+
scoped_admins: Scoped admins group %{id}
|
22
|
+
scoped_styles: Custom styles %{id}
|
21
23
|
use_markdown_editor: Use a Markdown editor instead of the HTML editor
|
22
24
|
constraint:
|
23
25
|
component_id: or specifically in
|
@@ -30,6 +32,8 @@ sv:
|
|
30
32
|
target: Opens in
|
31
33
|
url: Webbadress
|
32
34
|
visibility: Synlighet
|
35
|
+
proposal:
|
36
|
+
proposal_custom_fields: Custom fields
|
33
37
|
decidim:
|
34
38
|
admin:
|
35
39
|
menu:
|
@@ -84,22 +88,37 @@ sv:
|
|
84
88
|
head_tags: Awesome tags included in the application header
|
85
89
|
title: System compatibility checks
|
86
90
|
config:
|
91
|
+
caution: 'NOTE: This feature heavily modifies some default behaviours that might lead to unexpected results. Use it with caution!'
|
87
92
|
constraints:
|
88
93
|
add_condition: Add case
|
89
94
|
always: Always
|
95
|
+
cannot_be_destroyed: Sorry, this cannot be deleted. This configuration needs at least one constraint.
|
90
96
|
delete: Delete
|
91
97
|
edit: Edit
|
92
98
|
title: 'Applicable only in these cases:'
|
99
|
+
create_proposal_custom_field:
|
100
|
+
error: Error creating a new "custom field" box! %{error}
|
101
|
+
success: '"custom field" box %{key} created successfully'
|
102
|
+
create_scoped_admin:
|
103
|
+
error: Error creating a new Admin group! %{error}
|
104
|
+
success: Admin group %{key} created successfully
|
93
105
|
create_scoped_style:
|
94
106
|
error: Error creating a new CSS box! %{error}
|
95
107
|
success: CSS box %{key} created successfully
|
108
|
+
destroy_proposal_custom_field:
|
109
|
+
error: Error removing "custom field" box! %{error}
|
110
|
+
success: '"custom field" box %{key} removed successfully'
|
111
|
+
destroy_scoped_admin:
|
112
|
+
error: Error removing Admin group! %{error}
|
113
|
+
success: Admin group %{key} removed successfully
|
96
114
|
destroy_scoped_style:
|
97
115
|
error: Error removing CSS box! %{error}
|
98
116
|
success: CSS box %{key} removed successfully
|
99
|
-
experimental: Experimental options
|
100
117
|
form:
|
118
|
+
edit_label: Rename label
|
101
119
|
errors:
|
102
120
|
incorrect_css: 'CSS in box #%{key} is invalid'
|
121
|
+
incorrect_json: 'JSON definition in box #%{key} is invalid'
|
103
122
|
help:
|
104
123
|
allow_images_in_full_editor: This will add an image uploader icon in all the editors WYSIWYG with the full toolbar enabled.
|
105
124
|
allow_images_in_markdown_editor: This will allow markdown editor to upload images by copy & paste or drag & drop.
|
@@ -109,13 +128,27 @@ sv:
|
|
109
128
|
drag_and_drop_supported: When uploading images, Drag & Drop is supported. Images will be uploaded to the server and inserted as external resources (it doesn't use base64 inline encoding).
|
110
129
|
intergram_about: Intergram uses Telegram messenger to handle a live support chat widget embedded in the bottom of the page.
|
111
130
|
intergram_config: 'Invite the <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram bot</a> to your group or start a chat with it directly. <a href="https://github.com/idoco/intergram#embed-intergram-in-your-website-with-these-2-simple-steps">+ info</a>'
|
131
|
+
proposal_custom_fields: Create custom proposal fields that applies only in certain parts of the public web (use the restrictions editor for that)
|
132
|
+
proposal_custom_fields_example: Data is stored in a XML object using compatible HTML attributes (dl,dt,dd elements) replacing the "body" in a normal proposal.
|
133
|
+
proposal_custom_fields_translations: "Labels, help text, placeholders and default values can use your application custom translations. \nFor that, instead of using a string literal, use the i18n key (it must containt at least one dot).\nFor instance:\n- \"activemodel.attributes.proposal.title\" instead of \"Title\"\n- \"activemodel.attributes.proposal.address\" instead of \"Address\"\nOr use your own keys in combination with other tools to define translations (eg: using the module Term Customizer):\n - \"myapp.custom_fields.bio\" instead of \"Biography\""
|
134
|
+
scoped_admins: Promote regular user to admins that can only administrate certain parts of the public web (use the restrictions editor for that). Note that users who already have regular admin permissions will be ignored.
|
112
135
|
scoped_styles: Create custom CSS that applies only in certain parts of the public web (use the restrictions editor for that)
|
113
136
|
scoped_styles_variables: 'You can use the following CSS variables for organization customized colors:'
|
114
137
|
use_markdown_editor: This will substitute the Quill WYSIWYG editor, use a Markdown editor instead. Text will be rendered as HTML in the public pages (text in database will be saved as markdown text)
|
115
|
-
|
138
|
+
form_proposal_custom_fields:
|
139
|
+
new: Add a new "custom fields" box
|
140
|
+
remove: Remove this "custom fields" box
|
141
|
+
sure_to_remove: Are you sure you want to destroy this fields box?
|
142
|
+
form_scoped_admins:
|
143
|
+
new: Add a new "Scoped Admins" group
|
144
|
+
remove: Remove this "Scoped Admins" group
|
145
|
+
sure_to_remove: Are you sure you want to destroy this "Scoped Admins" group?
|
146
|
+
form_scoped_styles:
|
116
147
|
new: Add a new CSS box
|
117
148
|
remove: Remove this CSS box
|
118
149
|
sure_to_remove: Are you sure you want to destroy this CSS box?
|
150
|
+
none: "⛔ Never! - Deactivate any other constraint"
|
151
|
+
process_groups: Process groups
|
119
152
|
rich_text_editor_in_public_views: 'NOTE: "Rich text editor for participants" is enabled, this option won''t apply. Use the editors hacks instead to enable images in proposals.'
|
120
153
|
show:
|
121
154
|
title: Tweaks for %{setting}
|
@@ -145,10 +178,12 @@ sv:
|
|
145
178
|
error: Error updating condition case
|
146
179
|
success: Condition case updated successfully
|
147
180
|
menu:
|
181
|
+
admins: Scoped Admins
|
148
182
|
checks: System compatibility
|
149
183
|
editors: Editor hacks
|
150
184
|
livechat: Live Chat
|
151
185
|
menu_hacks: Menu tweaks
|
186
|
+
proposal_custom_fields: Proposals Custom Fields
|
152
187
|
proposals: Proposals hacks
|
153
188
|
styles: Custom styles
|
154
189
|
surveys: Surveys & forms
|
@@ -193,7 +228,31 @@ sv:
|
|
193
228
|
intro_message: Hello! How can we help you?
|
194
229
|
title_closed: Click to chat!
|
195
230
|
title_open: Let's chat!
|
231
|
+
content_blocks:
|
232
|
+
map:
|
233
|
+
collapse: Start with collapsed menu
|
234
|
+
map_center: Map center (Latitude, Longitude)
|
235
|
+
map_center_help: 'Use decimal points (ie: 41.38879, 2.15899). Leave it empty to automatically fit all the markers'
|
236
|
+
map_height: Map height (px)
|
237
|
+
map_settings: Map settings
|
238
|
+
map_zoom: Zoom (any number betwen 0 and 18)
|
239
|
+
map_zoom_help: Only applies if a map center is defined
|
240
|
+
menu_amendments: Show amendments
|
241
|
+
menu_meetings: Visa möten
|
242
|
+
name: Karta
|
243
|
+
show_accepted: Visa godkända förslag
|
244
|
+
show_evaluating: Visa förslag som utvärderas
|
245
|
+
show_not_answered: Show not answered proposals
|
246
|
+
show_rejected: Show rejected proposals
|
247
|
+
show_withdrawn: Show withdrawn proposals
|
248
|
+
text_settings: Text settings
|
249
|
+
title: Title
|
250
|
+
truncate: Maximum characters for popup descriptions
|
196
251
|
credits: Decidim Awesome %{version} · Made with ♥ by Platoniq
|
252
|
+
custom_fields:
|
253
|
+
errors:
|
254
|
+
invalid_fields: Content couldn't be parsed but has been assigned to the field '%{field}'
|
255
|
+
invalid_xml: 'Content couldn''t be parsed: DL/DD elements not found in the XML'
|
197
256
|
editor_images:
|
198
257
|
create:
|
199
258
|
error: Error uploading image!
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class ChangeAwesomeConfigVarType < ActiveRecord::Migration[5.2]
|
4
|
+
def change
|
5
|
+
change_column :decidim_awesome_config, :var, :string
|
6
|
+
|
7
|
+
Decidim::DecidimAwesome::AwesomeConfig.find_each do |config|
|
8
|
+
config.var.gsub!('"', "")
|
9
|
+
config.save!
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -1,9 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "decidim/decidim_awesome/awesome_helpers"
|
4
|
+
|
3
5
|
module Decidim
|
4
6
|
module DecidimAwesome
|
5
7
|
# This is the engine that runs on the public interface of `DecidimAwesome`.
|
6
8
|
class AdminEngine < ::Rails::Engine
|
9
|
+
include AwesomeHelpers
|
10
|
+
|
7
11
|
isolate_namespace Decidim::DecidimAwesome::Admin
|
8
12
|
|
9
13
|
paths["db/migrate"] = nil
|
@@ -14,14 +18,21 @@ module Decidim
|
|
14
18
|
resources :constraints
|
15
19
|
resources :menu_hacks, except: [:show]
|
16
20
|
resources :config, param: :var, only: [:show, :update]
|
17
|
-
|
18
|
-
|
21
|
+
resources :scoped_styles, param: :var, only: [:create, :destroy]
|
22
|
+
resources :proposal_custom_fields, param: :var, only: [:create, :destroy]
|
23
|
+
resources :scoped_admins, param: :var, only: [:create, :destroy]
|
24
|
+
get :users, to: "config#users"
|
25
|
+
post :rename_scope_label, to: "config#rename_scope_label"
|
19
26
|
get :checks, to: "checks#index"
|
20
27
|
root to: "config#show", var: :editors
|
21
28
|
end
|
22
29
|
|
23
30
|
initializer "decidim_admin_awesome.assets" do |app|
|
24
|
-
app.config.assets.precompile +=
|
31
|
+
app.config.assets.precompile += if version_prefix == "v0.23"
|
32
|
+
%w(legacy_decidim_admin_decidim_awesome_manifest.js decidim_admin_decidim_awesome_manifest.css)
|
33
|
+
else
|
34
|
+
%w(decidim_admin_decidim_awesome_manifest.js decidim_admin_decidim_awesome_manifest.css)
|
35
|
+
end
|
25
36
|
end
|
26
37
|
|
27
38
|
initializer "decidim_decidim_awesome.admin_mount_routes" do
|
@@ -36,7 +47,8 @@ module Decidim
|
|
36
47
|
decidim_admin_decidim_awesome.config_path(:editors),
|
37
48
|
icon_name: "fire",
|
38
49
|
position: 7.5,
|
39
|
-
active: is_active_link?(decidim_admin_decidim_awesome.config_path(:editors), :inclusive)
|
50
|
+
active: is_active_link?(decidim_admin_decidim_awesome.config_path(:editors), :inclusive),
|
51
|
+
if: defined?(current_user) && current_user&.read_attribute("admin")
|
40
52
|
end
|
41
53
|
end
|
42
54
|
|