decidim-system 0.22.0 → 0.23.0

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.

Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/system/application.js.es6 +1 -0
  3. data/app/assets/stylesheets/decidim/system/_forms.scss +36 -0
  4. data/app/assets/stylesheets/decidim/system/application.scss +1 -0
  5. data/app/commands/decidim/system/create_oauth_application.rb +37 -0
  6. data/app/commands/decidim/system/destroy_oauth_application.rb +39 -0
  7. data/app/commands/decidim/system/register_organization.rb +2 -1
  8. data/app/commands/decidim/system/update_oauth_application.rb +39 -0
  9. data/app/commands/decidim/system/update_organization.rb +4 -0
  10. data/app/controllers/decidim/system/oauth_applications_controller.rb +84 -0
  11. data/app/controllers/decidim/system/organizations_controller.rb +1 -0
  12. data/app/forms/decidim/system/file_upload_settings_form.rb +70 -0
  13. data/app/forms/decidim/system/oauth_application_form.rb +35 -0
  14. data/app/forms/decidim/system/update_organization_form.rb +3 -1
  15. data/app/views/decidim/system/oauth_applications/_form.html.erb +26 -0
  16. data/app/views/decidim/system/oauth_applications/edit.html.erb +13 -0
  17. data/app/views/decidim/system/oauth_applications/index.html.erb +41 -0
  18. data/app/views/decidim/system/oauth_applications/new.html.erb +13 -0
  19. data/app/views/decidim/system/oauth_applications/show.html.erb +27 -0
  20. data/app/views/decidim/system/organizations/_file_upload_settings.erb +56 -0
  21. data/app/views/decidim/system/organizations/edit.html.erb +1 -0
  22. data/app/views/decidim/system/organizations/new.html.erb +1 -0
  23. data/config/locales/am-ET.yml +1 -0
  24. data/config/locales/bg.yml +8 -0
  25. data/config/locales/ca.yml +74 -2
  26. data/config/locales/cs.yml +74 -2
  27. data/config/locales/da.yml +1 -0
  28. data/config/locales/de.yml +28 -2
  29. data/config/locales/el.yml +0 -3
  30. data/config/locales/en.yml +74 -2
  31. data/config/locales/eo.yml +1 -0
  32. data/config/locales/es-MX.yml +74 -2
  33. data/config/locales/es-PY.yml +74 -2
  34. data/config/locales/es.yml +74 -2
  35. data/config/locales/et.yml +1 -0
  36. data/config/locales/fi-plain.yml +74 -2
  37. data/config/locales/fi.yml +74 -2
  38. data/config/locales/fr-CA.yml +74 -2
  39. data/config/locales/fr.yml +74 -2
  40. data/config/locales/hr.yml +1 -0
  41. data/config/locales/is.yml +55 -0
  42. data/config/locales/it.yml +0 -3
  43. data/config/locales/ja.yml +173 -0
  44. data/config/locales/ko-KR.yml +1 -0
  45. data/config/locales/ko.yml +1 -0
  46. data/config/locales/lt.yml +1 -0
  47. data/config/locales/{lv-LV.yml → lv.yml} +0 -3
  48. data/config/locales/mt.yml +1 -0
  49. data/config/locales/nl.yml +0 -3
  50. data/config/locales/om-ET.yml +1 -0
  51. data/config/locales/pl.yml +62 -23
  52. data/config/locales/pt.yml +0 -3
  53. data/config/locales/ro-RO.yml +0 -3
  54. data/config/locales/so-SO.yml +1 -0
  55. data/config/locales/sv.yml +42 -3
  56. data/config/locales/ti-ER.yml +1 -0
  57. data/config/locales/vi-VN.yml +1 -0
  58. data/config/locales/vi.yml +1 -0
  59. data/config/locales/zh-CN.yml +173 -0
  60. data/config/locales/zh-TW.yml +1 -0
  61. data/config/routes.rb +2 -0
  62. data/lib/decidim/system/engine.rb +5 -0
  63. data/lib/decidim/system/version.rb +1 -1
  64. metadata +41 -9
@@ -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>
@@ -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:
@@ -0,0 +1,8 @@
1
+ bg:
2
+ decidim:
3
+ system:
4
+ actions:
5
+ confirm_destroy: Сигурни ли сте, че желаете да изтриете това?
6
+ destroy: Изтрий
7
+ edit: Редактирай
8
+ new: Нов
@@ -1,4 +1,29 @@
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_file_uploads:
11
+ allowed_content_types:
12
+ admin: Tipus MIME del panell de administració
13
+ default: Tipus MIME per defecte
14
+ allowed_file_extensions:
15
+ admin: Extensions d'arxiu del panell d'administració
16
+ default: Extensions d'arxiu per defecte
17
+ image: Extensions d'arxiu d'imatge
18
+ maximum_file_size:
19
+ avatar: Mida d'imatge de l'avatar
20
+ default: Mida d'arxiu per defecte
21
+ errors:
22
+ models:
23
+ oauth_application:
24
+ attributes:
25
+ redirect_uri:
26
+ must_be_ssl: L'URI de redirecció ha de ser una URI SSL
2
27
  decidim:
3
28
  system:
4
29
  actions:
@@ -32,6 +57,7 @@ ca:
32
57
  menu:
33
58
  admins: Administradores
34
59
  dashboard: Tauler d'administració
60
+ oauth_applications: Aplicacions OAuth
35
61
  organizations: Organitzacions
36
62
  models:
37
63
  admin:
@@ -41,21 +67,67 @@ ca:
41
67
  name: Administradora
42
68
  validations:
43
69
  email_uniqueness: ja existeix una altra administradora amb aquest correu electrònic
70
+ oauth_application:
71
+ fields:
72
+ created_at: Creat el
73
+ name: Nom de l'aplicació OAuth
74
+ organization_name: Organització
75
+ name: Aplicació OAuth
44
76
  organization:
45
77
  actions:
46
78
  save_and_invite: Crear organització i convidar l'administradora
47
79
  fields:
48
80
  created_at: Data de creació
81
+ file_upload_settings: Configuració de pujada d'arxius
49
82
  name: Nom
50
83
  omniauth_settings: Configuració de l'Omniauth
51
84
  smtp_settings: Configuració d'SMTP
52
85
  name: Organització
86
+ oauth_applications:
87
+ create:
88
+ error: S'ha produït un error en crear aquesta aplicació.
89
+ success: L'aplicació s'ha creat correctament.
90
+ destroy:
91
+ error: S'ha produït un error en eliminar aquesta aplicació.
92
+ success: S'ha eliminat l'aplicació correctament.
93
+ edit:
94
+ save: Guardar
95
+ title: Editar aplicació
96
+ form:
97
+ select_organization: Seleccionar una organització
98
+ index:
99
+ confirm_delete: Segur que vols eliminar aquesta aplicació?
100
+ title: Aplicacions OAuth
101
+ new:
102
+ save: Guardar
103
+ title: Nova aplicació
104
+ update:
105
+ error: S'ha produït un error en actualitzar aquesta aplicació.
106
+ success: S'ha actualitzat l'aplicació correctament.
53
107
  organizations:
54
108
  create:
55
109
  error: S'ha produït un error en crear una nova organització.
56
110
  success: L'organització s'ha creat correctament.
57
111
  edit:
58
112
  secondary_hosts_hint: Introdueix cada un d'ells en una nova línia
113
+ file_upload_settings:
114
+ content_types:
115
+ 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.
116
+ default_hint: Aquests tipus MIME estan permesos per defecte per a totes les usuàries.
117
+ intro_html: Pots afegir comodins amb el caràcter asterisc per als tipus MIME, per exemple, <code>image/*</code>.
118
+ title: Tipus MIME permesos
119
+ file_extensions:
120
+ 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.
121
+ default_hint: Aquestes extensions d'arxiu estan permeses per defecte per a totes les usuàries.
122
+ image_hint: Aquestes extensions d'arxiu estan permeses per a qualsevol pujada d'imatges.
123
+ title: Extensions d'arxiu permeses
124
+ file_sizes:
125
+ avatar_hint: Megabytes (MB). Aquest límit de mida d'arxiu s'utilitza per pujar imatges d'avatar.
126
+ 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.
127
+ title: Mida màxima d'arxius
128
+ intro: |
129
+ Si us plau, vés en compte en considerar canviar aquests ajustos. Com menys opcions permetis, millor.
130
+ 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
131
  index:
60
132
  title: Organitzacions
61
133
  new:
@@ -82,9 +154,9 @@ ca:
82
154
  api_secret: Clau secreta de l'API
83
155
  smtp_settings:
84
156
  instructions:
85
- from_label: 'L''adreça electrònica d''enviament serà: "el-nom-de-la-vostra-organització <la-vostra-organització@el-vostre-proveidor.org>". Deixeu-ho en blanc per a usar el "des de" com a etiqueta'
157
+ from_label: 'El remitent de correu electrònic serà: "la-teva-organitzacio <your-organization@example.org>". Deixa-ho en blanc per a usar el ''from_email'' com a etiqueta'
86
158
  placeholder:
87
- from_email: la-vostra-organitzacio@el-vostre-proveidor.org
159
+ from_email: la-teva-organitzacio@example.org
88
160
  from_label: el-nom-de-la-vostra-organitzacio
89
161
  update:
90
162
  error: S'ha produït un error en actualitzar aquesta organització.
@@ -1,4 +1,29 @@
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_file_uploads:
11
+ allowed_content_types:
12
+ admin: Admin MIME typy
13
+ default: Výchozí MIME typy
14
+ allowed_file_extensions:
15
+ admin: Admin přípony souborů
16
+ default: Výchozí přípony souboru
17
+ image: Přípony obrázkových souborů
18
+ maximum_file_size:
19
+ avatar: Velikost souboru avataru
20
+ default: Výchozí velikost souboru
21
+ errors:
22
+ models:
23
+ oauth_application:
24
+ attributes:
25
+ redirect_uri:
26
+ must_be_ssl: URI přesměrování musí být SSL URI
2
27
  decidim:
3
28
  system:
4
29
  actions:
@@ -32,6 +57,7 @@ cs:
32
57
  menu:
33
58
  admins: Správci
34
59
  dashboard: Ovládací panel
60
+ oauth_applications: Žádosti OAuth
35
61
  organizations: Organizace
36
62
  models:
37
63
  admin:
@@ -41,21 +67,67 @@ cs:
41
67
  name: Správce
42
68
  validations:
43
69
  email_uniqueness: jiný admin se stejnou e-mailovou adresou již existuje
70
+ oauth_application:
71
+ fields:
72
+ created_at: Vytvořeno v
73
+ name: Jméno žádosti OAuth
74
+ organization_name: Organizace
75
+ name: Žádost OAuth
44
76
  organization:
45
77
  actions:
46
78
  save_and_invite: Vytvořit organizaci a pozvat administrátora
47
79
  fields:
48
80
  created_at: Vytvořeno v
81
+ file_upload_settings: Nastavení nahrávání souborů
49
82
  name: název
50
83
  omniauth_settings: Nastavení Omniauth
51
84
  smtp_settings: SMTP nastavení
52
85
  name: Organizace
86
+ oauth_applications:
87
+ create:
88
+ error: Při vytváření této žádosti došlo k chybě.
89
+ success: Žádost byla úspěšně vytvořena.
90
+ destroy:
91
+ error: Při zničení této žádosti došlo k chybě.
92
+ success: Žádost byla úspěšně zlikvidována.
93
+ edit:
94
+ save: Uložit
95
+ title: Upravit žádost
96
+ form:
97
+ select_organization: Vybrat organizaci
98
+ index:
99
+ confirm_delete: Jste si jisti, že chcete odstranit tuto žádost?
100
+ title: Žádosti OAuth
101
+ new:
102
+ save: Uložit
103
+ title: Nová žádost
104
+ update:
105
+ error: Při aktualizaci této žádosti došlo k chybě.
106
+ success: Žádost byla úspěšně aktualizována.
53
107
  organizations:
54
108
  create:
55
109
  error: Při vytváření nové organizace došlo k chybě.
56
110
  success: Organizace byla úspěšně vytvořena.
57
111
  edit:
58
112
  secondary_hosts_hint: Zadejte každý z nich do nového řádku
113
+ file_upload_settings:
114
+ content_types:
115
+ 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ů.
116
+ default_hint: Tyto MIME typy jsou ve výchozím nastavení povoleny pro všechny uživatele.
117
+ intro_html: Přidáváte zástupné znaky s hvězdičkou pro MIME typy, např. <code>image/*</code>.
118
+ title: Povolené MIME typy
119
+ file_extensions:
120
+ 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ů.
121
+ default_hint: Tyto přípony souborů jsou ve výchozím nastavení povoleny pro všechny uživatele.
122
+ image_hint: Tyto přípony souborů jsou povoleny pro nahrávání jakéhokoliv druhu obrázku.
123
+ title: Povolené přípony souborů
124
+ file_sizes:
125
+ avatar_hint: Megabajty (MB). Tento limit velikosti souboru se používá pro nahrávání obrázků avataru.
126
+ 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.
127
+ title: Maximální velikost souboru
128
+ intro: |
129
+ Buďte prosím opatrní při zvažování změny těchto nastavení. Čím méně dovolíte, tím lépe.
130
+ 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
131
  index:
60
132
  title: Organizace
61
133
  new:
@@ -82,9 +154,9 @@ cs:
82
154
  api_secret: API heslo
83
155
  smtp_settings:
84
156
  instructions:
85
- from_label: 'Odesílatel e-mailu bude: "jméno-vaší-organizace <your-organization@your-provider.org>". Nechte prázdné pro použití štítku ''from_email'''
157
+ from_label: 'Odesílatel e-mailu bude: "jméno-vaší-organizace <your-organization@example.org>". Nechte prázdné pro použití štítku ''from_email'''
86
158
  placeholder:
87
- from_email: vaše-organizace@váš-poskytovatel-domény.org
159
+ from_email: vaše-organizace@example.org
88
160
  from_label: jméno vaší organizace
89
161
  update:
90
162
  error: Při aktualizaci této organizace došlo k chybě.
@@ -0,0 +1 @@
1
+ da:
@@ -1,4 +1,17 @@
1
1
  de:
2
+ activemodel:
3
+ attributes:
4
+ organization_file_uploads:
5
+ allowed_content_types:
6
+ admin: Admin MIME-Typen
7
+ default: Standard MIME-Typen
8
+ allowed_file_extensions:
9
+ admin: Admin-Dateierweiterungen
10
+ default: Standard-Dateierweiterungen
11
+ image: Bild-Dateierweiterungen
12
+ maximum_file_size:
13
+ avatar: Avatar Dateigröße
14
+ default: Standard-Dateigröße
2
15
  decidim:
3
16
  system:
4
17
  actions:
@@ -46,6 +59,7 @@ de:
46
59
  save_and_invite: Organisieren & einladen admin erstellen
47
60
  fields:
48
61
  created_at: Hergestellt in
62
+ file_upload_settings: Datei-Upload Einstellungen
49
63
  name: Name
50
64
  omniauth_settings: Omniauth-Einstellungen
51
65
  smtp_settings: SMTP-Einstellungen
@@ -56,6 +70,18 @@ de:
56
70
  success: Organisation erfolgreich erstellt
57
71
  edit:
58
72
  secondary_hosts_hint: Geben Sie jede von ihnen in einer neuen Zeile ein
73
+ file_upload_settings:
74
+ content_types:
75
+ admin_hint: Diese MIME-Typen sind für das Hochladen in der Admin-Sektion erlaubt. Administrator-Benutzer sollten sich der Risiken des Hochladens einiger Dokumentformate bewusst sein, so können Sie erwarten, dass Administratoren mit den Datei-Uploads vertrauter sind.
76
+ default_hint: Diese MIME-Typen sind standardmäßig für alle Benutzer erlaubt.
77
+ intro_html: Sie fügen Platzhalter mit dem Sternzeichen für die MIME-Typen hinzu, z.B. <code>image/*</code>.
78
+ title: Erlaubte MIME-Typen
79
+ file_extensions:
80
+ default_hint: Diese Dateierweiterungen sind standardmäßig für alle Benutzer erlaubt.
81
+ image_hint: Diese Dateierweiterungen sind für alle Arten von Bild-Uploads erlaubt.
82
+ title: Zulässige Dateierweiterungen
83
+ file_sizes:
84
+ avatar_hint: Megabytes (MB). Maximale Dateigröße für das Hochladen des Avatars.
59
85
  index:
60
86
  title: Organisationen
61
87
  new:
@@ -82,9 +108,9 @@ de:
82
108
  api_secret: API-Geheimnis
83
109
  smtp_settings:
84
110
  instructions:
85
- from_label: 'Der Sender der E-Mail ist: „name-ihrer-organisation <ihrer-organisation@ihr-anbieter.org>". Lassen Sie das Feld leer, damit „von_email“ als Bezeichnung verwendet wird'
111
+ from_label: 'E-Mail-Absender lautet: "Dein-Organisationsname <your-organization@example.org>". Leer lassen um ''from_email'' als Absender zu verwenden'
86
112
  placeholder:
87
- from_email: ihre-organisation@ihr-anbieter.org
113
+ from_email: deine-organisation@example.org
88
114
  from_label: name-ihrer-organisation
89
115
  update:
90
116
  error: Beim Aktualisieren dieser Organisation ist ein Fehler aufgetreten.