decidim-system 0.22.0 → 0.23.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-system might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/system/application.js.es6 +1 -0
- data/app/assets/stylesheets/decidim/system/_forms.scss +36 -0
- data/app/assets/stylesheets/decidim/system/application.scss +1 -0
- data/app/commands/decidim/system/create_oauth_application.rb +37 -0
- data/app/commands/decidim/system/destroy_oauth_application.rb +39 -0
- data/app/commands/decidim/system/register_organization.rb +2 -1
- data/app/commands/decidim/system/update_oauth_application.rb +39 -0
- data/app/commands/decidim/system/update_organization.rb +4 -0
- data/app/controllers/decidim/system/oauth_applications_controller.rb +84 -0
- data/app/controllers/decidim/system/organizations_controller.rb +1 -0
- data/app/forms/decidim/system/file_upload_settings_form.rb +70 -0
- data/app/forms/decidim/system/oauth_application_form.rb +35 -0
- data/app/forms/decidim/system/update_organization_form.rb +5 -3
- data/app/views/decidim/system/oauth_applications/_form.html.erb +26 -0
- data/app/views/decidim/system/oauth_applications/edit.html.erb +13 -0
- data/app/views/decidim/system/oauth_applications/index.html.erb +41 -0
- data/app/views/decidim/system/oauth_applications/new.html.erb +13 -0
- data/app/views/decidim/system/oauth_applications/show.html.erb +27 -0
- data/app/views/decidim/system/organizations/_file_upload_settings.erb +56 -0
- data/app/views/decidim/system/organizations/_smtp_settings.html.erb +6 -6
- data/app/views/decidim/system/organizations/edit.html.erb +1 -0
- data/app/views/decidim/system/organizations/new.html.erb +1 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/bg.yml +8 -0
- data/config/locales/ca.yml +83 -2
- data/config/locales/cs.yml +85 -4
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +88 -7
- data/config/locales/el.yml +0 -3
- data/config/locales/en.yml +83 -2
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +83 -2
- data/config/locales/es-PY.yml +83 -2
- data/config/locales/es.yml +83 -2
- data/config/locales/et.yml +1 -0
- data/config/locales/fi-plain.yml +83 -2
- data/config/locales/fi.yml +83 -2
- data/config/locales/fr-CA.yml +83 -2
- data/config/locales/fr.yml +83 -2
- data/config/locales/gl.yml +118 -11
- data/config/locales/hr.yml +1 -0
- data/config/locales/is.yml +55 -0
- data/config/locales/it.yml +0 -3
- data/config/locales/ja.yml +182 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/{lv-LV.yml → lv.yml} +0 -3
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +12 -2
- data/config/locales/no.yml +10 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +98 -22
- data/config/locales/pt.yml +0 -3
- data/config/locales/ro-RO.yml +0 -3
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sv.yml +42 -3
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +108 -2
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +171 -0
- data/config/locales/zh-TW.yml +1 -0
- data/config/routes.rb +2 -0
- data/lib/decidim/system/engine.rb +5 -0
- data/lib/decidim/system/version.rb +1 -1
- metadata +46 -12
@@ -0,0 +1,26 @@
|
|
1
|
+
<div class="row column">
|
2
|
+
<%= form.text_field :name %>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<div class="row column">
|
6
|
+
<%= form.text_field :redirect_uri %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="row column">
|
10
|
+
<%= form.select :decidim_organization_id,
|
11
|
+
Decidim::Organization.pluck(:name, :id),
|
12
|
+
{ include_blank: t(".select_organization") },
|
13
|
+
{ multiple: false } %>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="row column">
|
17
|
+
<%= form.text_field :organization_name %>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="row column">
|
21
|
+
<%= form.text_field :organization_url %>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="row column">
|
25
|
+
<%= form.upload :organization_logo %>
|
26
|
+
</div>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%= decidim_form_for(@form, html: { class: "form edit_oauth_application" }) do |f| %>
|
2
|
+
<div class="card">
|
3
|
+
<div class="card-divider">
|
4
|
+
<h2 class="card-title"><%= t ".title" %></h2>
|
5
|
+
</div>
|
6
|
+
<div class="card-section">
|
7
|
+
<%= render partial: "form", object: f %>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="button--double form-general-submit">
|
11
|
+
<%= f.submit t(".save") %>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<% provide :title do %>
|
2
|
+
<h2><%= t ".title" %></h2>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<div class="actions title">
|
6
|
+
<%= link_to t("actions.new", scope: "decidim.system", name: t("models.oauth_application.name", scope: "decidim.system")), ["new", "oauth_application"], class: "new" %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<table class="stack">
|
10
|
+
<thead>
|
11
|
+
<tr>
|
12
|
+
<th></th>
|
13
|
+
<th><%= t("models.oauth_application.fields.name", scope: "decidim.system") %></th>
|
14
|
+
<th><%= t("models.oauth_application.fields.organization_name", scope: "decidim.system") %></th>
|
15
|
+
<th><%= t("models.oauth_application.fields.created_at", scope: "decidim.system") %></th>
|
16
|
+
<th class="actions"><%= t("actions.title", scope: "decidim.system") %></th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<% @oauth_applications.each do |oauth_application| %>
|
21
|
+
<tr>
|
22
|
+
<td>
|
23
|
+
<%= image_tag oauth_application.organization_logo.url %>
|
24
|
+
</td>
|
25
|
+
<td>
|
26
|
+
<%= link_to oauth_application.name, oauth_application %><br>
|
27
|
+
</td>
|
28
|
+
<td>
|
29
|
+
<%= link_to oauth_application.organization_name, oauth_application.organization %><br>
|
30
|
+
</td>
|
31
|
+
<td>
|
32
|
+
<%= l oauth_application.created_at, format: :short %>
|
33
|
+
</td>
|
34
|
+
<td class="actions">
|
35
|
+
<%= link_to t("actions.edit", scope: "decidim.system"), ["edit", oauth_application] %>
|
36
|
+
<%= link_to t("actions.destroy", scope: "decidim.system"), oauth_application, method: :delete, class: "small alert button", data: { confirm: t(".confirm_delete") } %>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
<% end %>
|
40
|
+
</tbody>
|
41
|
+
</table>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%= decidim_form_for(@form, html: { class: "form new_oauth_application" }) do |f| %>
|
2
|
+
<div class="card">
|
3
|
+
<div class="card-divider">
|
4
|
+
<h2 class="card-title"><%= t ".title" %></h2>
|
5
|
+
</div>
|
6
|
+
<div class="card-section">
|
7
|
+
<%= render partial: "form", object: f %>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="button--double form-general-submit">
|
11
|
+
<%= f.submit t(".save") %>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<div class="card">
|
2
|
+
<div class="card-divider">
|
3
|
+
<h2 class="card-title"><%= @oauth_application.name %></h2>
|
4
|
+
</div>
|
5
|
+
<div class="card-section">
|
6
|
+
<dl>
|
7
|
+
<%= display_for @oauth_application,
|
8
|
+
{ uid: :client_id },
|
9
|
+
{ secret: :client_secret },
|
10
|
+
:organization_name,
|
11
|
+
:organization_url,
|
12
|
+
:redirect_uri %>
|
13
|
+
|
14
|
+
<dt><%= display_label(@oauth_application, :authorize_url) %></dt>
|
15
|
+
<dd><%= decidim.oauth_authorization_url(host: @oauth_application.owner.host) %></dd>
|
16
|
+
|
17
|
+
<dt><%= display_label(@oauth_application, :site) %></dt>
|
18
|
+
<dd><%= decidim.root_url(host: @oauth_application.owner.host) %></dd>
|
19
|
+
|
20
|
+
<dt><%= display_label(@oauth_application, :authorized_tokens) %></dt>
|
21
|
+
<dd><%= @oauth_application.authorized_tokens.count %></dd>
|
22
|
+
|
23
|
+
<dt><%= display_label(@oauth_application, :authorization_url) %></dt>
|
24
|
+
<dd><%= decidim.oauth_authorization_url(host: @oauth_application.owner.host, client_id: @oauth_application.uid, redirect_uri: @oauth_application.redirect_uri, response_type: "code") %></dd>
|
25
|
+
</dl>
|
26
|
+
</div>
|
27
|
+
</div>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<div class="fieldset">
|
2
|
+
<h4><%= t("decidim.system.models.organization.fields.file_upload_settings") %></h4>
|
3
|
+
<p><%= t(".intro") %></p>
|
4
|
+
|
5
|
+
<%= f.fields_for :file_upload_settings, f.object.file_upload_settings do |settings_form| %>
|
6
|
+
<%= settings_form.fields_for :allowed_file_extensions, OpenStruct.new(settings_form.object.allowed_file_extensions) do |extensions_form| %>
|
7
|
+
<% i18n_scope = "#{f.object.class.i18n_scope}.attributes.#{settings_form.object.model_name.i18n_key}.allowed_file_extensions" %>
|
8
|
+
|
9
|
+
<h5><%= t(".file_extensions.title") %></h5>
|
10
|
+
|
11
|
+
<div class="field">
|
12
|
+
<%= extensions_form.text_field :default, class: "js-tags-container", label: t("default", scope: i18n_scope) %>
|
13
|
+
<p class="help-text"><%= t(".file_extensions.default_hint") %></p>
|
14
|
+
</div>
|
15
|
+
<div class="field">
|
16
|
+
<%= extensions_form.text_field :image, class: "js-tags-container", label: t("image", scope: i18n_scope) %>
|
17
|
+
<p class="help-text"><%= t(".file_extensions.image_hint") %></p>
|
18
|
+
</div>
|
19
|
+
<div class="field">
|
20
|
+
<%= extensions_form.text_field :admin, class: "js-tags-container", label: t("admin", scope: i18n_scope) %>
|
21
|
+
<p class="help-text"><%= t(".file_extensions.admin_hint") %></p>
|
22
|
+
</div>
|
23
|
+
<% end %>
|
24
|
+
|
25
|
+
<%= settings_form.fields_for :allowed_content_types, OpenStruct.new(settings_form.object.allowed_content_types) do |extensions_form| %>
|
26
|
+
<% i18n_scope = "#{f.object.class.i18n_scope}.attributes.#{settings_form.object.model_name.i18n_key}.allowed_content_types" %>
|
27
|
+
|
28
|
+
<h5><%= t(".content_types.title") %></h5>
|
29
|
+
<p><%= t(".content_types.intro_html") %></p>
|
30
|
+
|
31
|
+
<div class="field">
|
32
|
+
<%= extensions_form.text_field :default, class: "js-tags-container", label: t("default", scope: i18n_scope) %>
|
33
|
+
<p class="help-text"><%= t(".content_types.default_hint") %></p>
|
34
|
+
</div>
|
35
|
+
<div class="field">
|
36
|
+
<%= extensions_form.text_field :admin, class: "js-tags-container", label: t("admin", scope: i18n_scope) %>
|
37
|
+
<p class="help-text"><%= t(".content_types.admin_hint") %></p>
|
38
|
+
</div>
|
39
|
+
<% end %>
|
40
|
+
|
41
|
+
<%= settings_form.fields_for :maximum_file_size, OpenStruct.new(settings_form.object.maximum_file_size) do |extensions_form| %>
|
42
|
+
<% i18n_scope = "#{f.object.class.i18n_scope}.attributes.#{settings_form.object.model_name.i18n_key}.maximum_file_size" %>
|
43
|
+
|
44
|
+
<h5><%= t(".file_sizes.title") %></h5>
|
45
|
+
|
46
|
+
<div class="field">
|
47
|
+
<%= extensions_form.number_field :default, step: 0.1, min: 0, label: t("default", scope: i18n_scope) %>
|
48
|
+
<p class="help-text"><%= t(".file_sizes.default_hint") %></p>
|
49
|
+
</div>
|
50
|
+
<div class="field">
|
51
|
+
<%= extensions_form.number_field :avatar, step: 0.1, min: 0, label: t("avatar", scope: i18n_scope) %>
|
52
|
+
<p class="help-text"><%= t(".file_sizes.avatar_hint") %></p>
|
53
|
+
</div>
|
54
|
+
<% end %>
|
55
|
+
<% end %>
|
56
|
+
</div>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<div class="fieldset">
|
2
2
|
<h4><%= t("decidim.system.models.organization.fields.smtp_settings") %></h4>
|
3
3
|
<%= f.fields_for :smtp_settings do %>
|
4
|
-
<
|
4
|
+
<fieldset class="fieldset">
|
5
|
+
<legend><%= t(".fieldsets.sender") %></legend>
|
5
6
|
<%= f.email_field :from_email, placeholder: t(".placeholder.from_email") %>
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
</div>
|
7
|
+
<%= f.text_field :from_label, placeholder: t(".placeholder.from_label") %>
|
8
|
+
<p class="help-text"><%= t(".instructions.from_label") %></p>
|
9
|
+
</fieldset>
|
10
|
+
|
11
11
|
<div class="field">
|
12
12
|
<%= f.text_field :user_name %>
|
13
13
|
</div>
|
@@ -32,6 +32,7 @@
|
|
32
32
|
|
33
33
|
<%= render partial: "smtp_settings", locals: { f: f } %>
|
34
34
|
<%= render partial: "omniauth_settings", locals: { f: f } %>
|
35
|
+
<%= render partial: "file_upload_settings", locals: { f: f } %>
|
35
36
|
|
36
37
|
<div class="actions">
|
37
38
|
<%= f.submit t("decidim.system.actions.save") %>
|
@@ -73,6 +73,7 @@
|
|
73
73
|
|
74
74
|
<%= render partial: "smtp_settings", locals: { f: f } %>
|
75
75
|
<%= render partial: "omniauth_settings", locals: { f: f } %>
|
76
|
+
<%= render partial: "file_upload_settings", locals: { f: f } %>
|
76
77
|
|
77
78
|
<div class="actions">
|
78
79
|
<%= f.submit t("decidim.system.models.organization.actions.save_and_invite") %>
|
@@ -0,0 +1 @@
|
|
1
|
+
am:
|
data/config/locales/ca.yml
CHANGED
@@ -1,4 +1,36 @@
|
|
1
1
|
ca:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
oauth_application:
|
5
|
+
name: Nom de l'aplicació OAuth
|
6
|
+
organization_logo: Logo de l'organització (quadrat)
|
7
|
+
organization_name: Organització
|
8
|
+
organization_url: URL de l'organització
|
9
|
+
redirect_uri: URI de redirecció
|
10
|
+
organization:
|
11
|
+
address: Nom del servidor SMTP
|
12
|
+
from_email: Adreça de correu electrònic
|
13
|
+
from_label: Etiqueta
|
14
|
+
password: Contrasenya
|
15
|
+
port: Port
|
16
|
+
user_name: Nom d'usuari
|
17
|
+
organization_file_uploads:
|
18
|
+
allowed_content_types:
|
19
|
+
admin: Tipus MIME del panell de administració
|
20
|
+
default: Tipus MIME per defecte
|
21
|
+
allowed_file_extensions:
|
22
|
+
admin: Extensions d'arxiu del panell d'administració
|
23
|
+
default: Extensions d'arxiu per defecte
|
24
|
+
image: Extensions d'arxiu d'imatge
|
25
|
+
maximum_file_size:
|
26
|
+
avatar: Mida d'imatge de l'avatar
|
27
|
+
default: Mida d'arxiu per defecte
|
28
|
+
errors:
|
29
|
+
models:
|
30
|
+
oauth_application:
|
31
|
+
attributes:
|
32
|
+
redirect_uri:
|
33
|
+
must_be_ssl: L'URI de redirecció ha de ser una URI SSL
|
2
34
|
decidim:
|
3
35
|
system:
|
4
36
|
actions:
|
@@ -32,6 +64,7 @@ ca:
|
|
32
64
|
menu:
|
33
65
|
admins: Administradores
|
34
66
|
dashboard: Tauler d'administració
|
67
|
+
oauth_applications: Aplicacions OAuth
|
35
68
|
organizations: Organitzacions
|
36
69
|
models:
|
37
70
|
admin:
|
@@ -41,21 +74,67 @@ ca:
|
|
41
74
|
name: Administradora
|
42
75
|
validations:
|
43
76
|
email_uniqueness: ja existeix una altra administradora amb aquest correu electrònic
|
77
|
+
oauth_application:
|
78
|
+
fields:
|
79
|
+
created_at: Creat el
|
80
|
+
name: Nom de l'aplicació OAuth
|
81
|
+
organization_name: Organització
|
82
|
+
name: Aplicació OAuth
|
44
83
|
organization:
|
45
84
|
actions:
|
46
85
|
save_and_invite: Crear organització i convidar l'administradora
|
47
86
|
fields:
|
48
87
|
created_at: Data de creació
|
88
|
+
file_upload_settings: Configuració de pujada d'arxius
|
49
89
|
name: Nom
|
50
90
|
omniauth_settings: Configuració de l'Omniauth
|
51
91
|
smtp_settings: Configuració d'SMTP
|
52
92
|
name: Organització
|
93
|
+
oauth_applications:
|
94
|
+
create:
|
95
|
+
error: S'ha produït un error en crear aquesta aplicació.
|
96
|
+
success: L'aplicació s'ha creat correctament.
|
97
|
+
destroy:
|
98
|
+
error: S'ha produït un error en eliminar aquesta aplicació.
|
99
|
+
success: S'ha eliminat l'aplicació correctament.
|
100
|
+
edit:
|
101
|
+
save: Guardar
|
102
|
+
title: Editar aplicació
|
103
|
+
form:
|
104
|
+
select_organization: Seleccionar una organització
|
105
|
+
index:
|
106
|
+
confirm_delete: Segur que vols eliminar aquesta aplicació?
|
107
|
+
title: Aplicacions OAuth
|
108
|
+
new:
|
109
|
+
save: Guardar
|
110
|
+
title: Nova aplicació
|
111
|
+
update:
|
112
|
+
error: S'ha produït un error en actualitzar aquesta aplicació.
|
113
|
+
success: S'ha actualitzat l'aplicació correctament.
|
53
114
|
organizations:
|
54
115
|
create:
|
55
116
|
error: S'ha produït un error en crear una nova organització.
|
56
117
|
success: L'organització s'ha creat correctament.
|
57
118
|
edit:
|
58
119
|
secondary_hosts_hint: Introdueix cada un d'ells en una nova línia
|
120
|
+
file_upload_settings:
|
121
|
+
content_types:
|
122
|
+
admin_hint: Aquests tipus MIME estan permesos per a pujar-se des del panell d'administració. Les persones administradores han de ser conscients dels riscos en pujar alguns formats de documents, per la qual cosa cal esperar que siguin més cauteloses amb les pujades d'arxius.
|
123
|
+
default_hint: Aquests tipus MIME estan permesos per defecte per a totes les usuàries.
|
124
|
+
intro_html: Pots afegir comodins amb el caràcter asterisc per als tipus MIME, per exemple, <code>image/*</code>.
|
125
|
+
title: Tipus MIME permesos
|
126
|
+
file_extensions:
|
127
|
+
admin_hint: Aquestes extensions d'arxiu estan permeses per pujades des del panell d'administració. Les persones administradores han de ser conscients dels riscos en pujar alguns formats de documents, per la qual cosa cal esperar que siguin més cauteloses amb les pujades d'arxius.
|
128
|
+
default_hint: Aquestes extensions d'arxiu estan permeses per defecte per a totes les usuàries.
|
129
|
+
image_hint: Aquestes extensions d'arxiu estan permeses per a qualsevol pujada d'imatges.
|
130
|
+
title: Extensions d'arxiu permeses
|
131
|
+
file_sizes:
|
132
|
+
avatar_hint: Megabytes (MB). Aquest límit de mida d'arxiu s'utilitza per pujar imatges d'avatar.
|
133
|
+
default_hint: Megabytes (MB). Aquest límit de mida d'arxiu és el predeterminat que s'utilitza per a totes les pujades d'arxius tret que s'especifiqui el contrari.
|
134
|
+
title: Mida màxima d'arxius
|
135
|
+
intro: |
|
136
|
+
Si us plau, vés en compte en considerar canviar aquests ajustos. Com menys opcions permetis, millor.
|
137
|
+
Permetre extensions d'arxius específiques o tipus MIME pot exposar a les usuàries del sistema a riscos de seguretat i també pot afectar l'accessibilitat del lloc web.
|
59
138
|
index:
|
60
139
|
title: Organitzacions
|
61
140
|
new:
|
@@ -81,10 +160,12 @@ ca:
|
|
81
160
|
api_key: Clau de l'API
|
82
161
|
api_secret: Clau secreta de l'API
|
83
162
|
smtp_settings:
|
163
|
+
fieldsets:
|
164
|
+
sender: Remitent
|
84
165
|
instructions:
|
85
|
-
from_label: '
|
166
|
+
from_label: 'El remitent de correu electrònic serà: "la-teva-organitzacio <your-organization@example.org>". Deixa-ho en blanc per a usar l''adreça de correu com a etiqueta'
|
86
167
|
placeholder:
|
87
|
-
from_email: la-
|
168
|
+
from_email: la-teva-organitzacio@example.org
|
88
169
|
from_label: el-nom-de-la-vostra-organitzacio
|
89
170
|
update:
|
90
171
|
error: S'ha produït un error en actualitzar aquesta organització.
|
data/config/locales/cs.yml
CHANGED
@@ -1,4 +1,36 @@
|
|
1
1
|
cs:
|
2
|
+
activemodel:
|
3
|
+
attributes:
|
4
|
+
oauth_application:
|
5
|
+
name: Jméno žádosti OAuth
|
6
|
+
organization_logo: Logo organizace (čtvercové)
|
7
|
+
organization_name: Organizace
|
8
|
+
organization_url: URL organizace
|
9
|
+
redirect_uri: Přesměrovací URI
|
10
|
+
organization:
|
11
|
+
address: SMTP hostname
|
12
|
+
from_email: E-mailová adresa
|
13
|
+
from_label: Popisek
|
14
|
+
password: Heslo
|
15
|
+
port: Port
|
16
|
+
user_name: Uživatelské jméno
|
17
|
+
organization_file_uploads:
|
18
|
+
allowed_content_types:
|
19
|
+
admin: Admin MIME typy
|
20
|
+
default: Výchozí MIME typy
|
21
|
+
allowed_file_extensions:
|
22
|
+
admin: Admin přípony souborů
|
23
|
+
default: Výchozí přípony souboru
|
24
|
+
image: Přípony obrázkových souborů
|
25
|
+
maximum_file_size:
|
26
|
+
avatar: Velikost souboru avataru
|
27
|
+
default: Výchozí velikost souboru
|
28
|
+
errors:
|
29
|
+
models:
|
30
|
+
oauth_application:
|
31
|
+
attributes:
|
32
|
+
redirect_uri:
|
33
|
+
must_be_ssl: URI přesměrování musí být SSL URI
|
2
34
|
decidim:
|
3
35
|
system:
|
4
36
|
actions:
|
@@ -27,11 +59,12 @@ cs:
|
|
27
59
|
success: Správce byl úspěšně aktualizován
|
28
60
|
default_pages:
|
29
61
|
placeholders:
|
30
|
-
content: Přidejte
|
62
|
+
content: Přidejte smysluplný obsah na statickou stránku %{page} na ovládacím panelu administrátora.
|
31
63
|
title: Výchozí název pro %{page}
|
32
64
|
menu:
|
33
65
|
admins: Správci
|
34
66
|
dashboard: Ovládací panel
|
67
|
+
oauth_applications: Žádosti OAuth
|
35
68
|
organizations: Organizace
|
36
69
|
models:
|
37
70
|
admin:
|
@@ -41,21 +74,67 @@ cs:
|
|
41
74
|
name: Správce
|
42
75
|
validations:
|
43
76
|
email_uniqueness: jiný admin se stejnou e-mailovou adresou již existuje
|
77
|
+
oauth_application:
|
78
|
+
fields:
|
79
|
+
created_at: Vytvořeno v
|
80
|
+
name: Jméno žádosti OAuth
|
81
|
+
organization_name: Organizace
|
82
|
+
name: Žádost OAuth
|
44
83
|
organization:
|
45
84
|
actions:
|
46
85
|
save_and_invite: Vytvořit organizaci a pozvat administrátora
|
47
86
|
fields:
|
48
87
|
created_at: Vytvořeno v
|
88
|
+
file_upload_settings: Nastavení nahrávání souborů
|
49
89
|
name: název
|
50
90
|
omniauth_settings: Nastavení Omniauth
|
51
91
|
smtp_settings: SMTP nastavení
|
52
92
|
name: Organizace
|
93
|
+
oauth_applications:
|
94
|
+
create:
|
95
|
+
error: Při vytváření této žádosti došlo k chybě.
|
96
|
+
success: Žádost byla úspěšně vytvořena.
|
97
|
+
destroy:
|
98
|
+
error: Při zničení této žádosti došlo k chybě.
|
99
|
+
success: Žádost byla úspěšně zlikvidována.
|
100
|
+
edit:
|
101
|
+
save: Uložit
|
102
|
+
title: Upravit žádost
|
103
|
+
form:
|
104
|
+
select_organization: Vybrat organizaci
|
105
|
+
index:
|
106
|
+
confirm_delete: Jste si jisti, že chcete odstranit tuto žádost?
|
107
|
+
title: Žádosti OAuth
|
108
|
+
new:
|
109
|
+
save: Uložit
|
110
|
+
title: Nová žádost
|
111
|
+
update:
|
112
|
+
error: Při aktualizaci této žádosti došlo k chybě.
|
113
|
+
success: Žádost byla úspěšně aktualizována.
|
53
114
|
organizations:
|
54
115
|
create:
|
55
116
|
error: Při vytváření nové organizace došlo k chybě.
|
56
117
|
success: Organizace byla úspěšně vytvořena.
|
57
118
|
edit:
|
58
119
|
secondary_hosts_hint: Zadejte každý z nich do nového řádku
|
120
|
+
file_upload_settings:
|
121
|
+
content_types:
|
122
|
+
admin_hint: Tyto typy MIME jsou povoleny pro nahrávání sekcí administrace. Administrátoři by si měli být vědomi rizik spojených s nahráváním některých formátů dokumentů, takže můžete očekávat, že budou opatrnější při nahrávání souborů.
|
123
|
+
default_hint: Tyto MIME typy jsou ve výchozím nastavení povoleny pro všechny uživatele.
|
124
|
+
intro_html: Přidáváte zástupné znaky s hvězdičkou pro MIME typy, např. <code>image/*</code>.
|
125
|
+
title: Povolené MIME typy
|
126
|
+
file_extensions:
|
127
|
+
admin_hint: Tyto přípony souborů jsou povoleny pro nahrávání do sekce administrátora. Administrátoři by si měli být vědomi rizik spojených s nahráváním některých formátů dokumentů, takže můžete očekávat, že budou opatrnější při nahrávání souborů.
|
128
|
+
default_hint: Tyto přípony souborů jsou ve výchozím nastavení povoleny pro všechny uživatele.
|
129
|
+
image_hint: Tyto přípony souborů jsou povoleny pro nahrávání jakéhokoliv druhu obrázku.
|
130
|
+
title: Povolené přípony souborů
|
131
|
+
file_sizes:
|
132
|
+
avatar_hint: Megabajty (MB). Tento limit velikosti souboru se používá pro nahrávání obrázků avataru.
|
133
|
+
default_hint: Megabajty (MB). Tento limit velikosti souboru je výchozí, který se používá pro všechna nahrávání souborů, pokud není uvedeno jinak.
|
134
|
+
title: Maximální velikost souboru
|
135
|
+
intro: |
|
136
|
+
Buďte prosím opatrní při zvažování změny těchto nastavení. Čím méně dovolíte, tím lépe.
|
137
|
+
Povolení specifických přípon souborů nebo typů MIME může vystavit uživatele systému bezpečnostním rizikům a může také ovlivnit přístupnost webových stránek.
|
59
138
|
index:
|
60
139
|
title: Organizace
|
61
140
|
new:
|
@@ -81,10 +160,12 @@ cs:
|
|
81
160
|
api_key: Klíč API
|
82
161
|
api_secret: API heslo
|
83
162
|
smtp_settings:
|
163
|
+
fieldsets:
|
164
|
+
sender: Odesilatel
|
84
165
|
instructions:
|
85
|
-
from_label: 'Odesílatel e-mailu bude: "
|
166
|
+
from_label: 'Odesílatel e-mailu bude: "Název vaší organizace <your-organization@example.org>". Ponechte prázdné pro použití ''E-mailová adresa'' jako popisku'
|
86
167
|
placeholder:
|
87
|
-
from_email: vaše-organizace@
|
168
|
+
from_email: vaše-organizace@example.org
|
88
169
|
from_label: jméno vaší organizace
|
89
170
|
update:
|
90
171
|
error: Při aktualizaci této organizace došlo k chybě.
|
@@ -98,4 +179,4 @@ cs:
|
|
98
179
|
no_organization_warning_html: Abyste mohli začít, musíte vytvořit organizaci. Před pokračováním se ujistěte, že jste si přečetli %{guide}.
|
99
180
|
our_getting_started_guide: náš průvodce začínáme
|
100
181
|
titles:
|
101
|
-
dashboard:
|
182
|
+
dashboard: Ovládací panel
|