decidim-system 0.23.1 → 0.23.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6d6cdf2e956ea0aecb6c7a11ef2a367b2207263eb9dbeee16c79b753138bb31
4
- data.tar.gz: b042b0430a8f7b1d5a705205eb6ea4b68b00ff436382da2ad5c4d5d8a19addd1
3
+ metadata.gz: 9edec63cefb6735c0735973202f7b1d7209c892ee60192b4a2c9b31b49ae286c
4
+ data.tar.gz: dfe026ae32eca71014f171fab47dd49d44930c13c65de9e040b70d24250ccb45
5
5
  SHA512:
6
- metadata.gz: 827904c8c90e2baa6c3ee237076ee9ed3556499aa444c25fced2552f03aaa6d2dee06b70b5a2893474d78e87859a9fb725a6b9a7e37538743789da6cfe072f0f
7
- data.tar.gz: a635a2250a37f597044064775bed7fbb8816c994b19e53cad22f6ed30c265f11c7c9e63c680ef938769df89066987461ad5c3ab9e947ba292d0f178596a23716
6
+ metadata.gz: 2535eb0de91a03fdfdb70676412ea410211a70003357544c0440103b094f55d3e66bf6d6c3329af5d155f7151b3b7e79be3140c4214b3596651f819fa27e6831
7
+ data.tar.gz: 5e9e7d9bd87540c7e641efec2f350759defc153e37192712efa917a3d6bca5adcd422208ec1c06fccf7b7cf991d760c9dff876b33ddcdfc4cdf00bb74ac5f017
@@ -80,9 +80,9 @@ module Decidim
80
80
  end
81
81
 
82
82
  def set_from
83
- return smtp_settings["from_email"] if smtp_settings["from_label"].blank?
83
+ return from_email if from_label.blank?
84
84
 
85
- "#{smtp_settings["from_label"]} <#{smtp_settings["from_email"]}>"
85
+ "#{from_label} <#{from_email}>"
86
86
  end
87
87
 
88
88
  def encrypted_omniauth_settings
@@ -3,7 +3,7 @@
3
3
  <% end %>
4
4
 
5
5
  <div class="actions title">
6
- <%= link_to t("actions.new", scope: "decidim.system", name: t("models.admin.name", scope: "decidim.system")), ["new", "admin"], class: "new" %>
6
+ <%= link_to t("actions.new", scope: "decidim.system", name: t("models.admin.name", scope: "decidim.system")), [:new, :admin], class: "new" %>
7
7
  </div>
8
8
 
9
9
  <table class="stack">
@@ -24,7 +24,7 @@
24
24
  <%= l admin.created_at, format: :short %>
25
25
  </td>
26
26
  <td class="actions">
27
- <%= link_to t("actions.edit", scope: "decidim.system"), ["edit", admin] %>
27
+ <%= link_to t("actions.edit", scope: "decidim.system"), [:edit, admin] %>
28
28
  <%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
29
29
  </td>
30
30
  </tr>
@@ -3,7 +3,7 @@
3
3
  <% end %>
4
4
 
5
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" %>
6
+ <%= link_to t("actions.new", scope: "decidim.system", name: t("models.oauth_application.name", scope: "decidim.system")), [:new, :oauth_application], class: "new" %>
7
7
  </div>
8
8
 
9
9
  <table class="stack">
@@ -32,7 +32,7 @@
32
32
  <%= l oauth_application.created_at, format: :short %>
33
33
  </td>
34
34
  <td class="actions">
35
- <%= link_to t("actions.edit", scope: "decidim.system"), ["edit", oauth_application] %>
35
+ <%= link_to t("actions.edit", scope: "decidim.system"), [:edit, oauth_application] %>
36
36
  <%= link_to t("actions.destroy", scope: "decidim.system"), oauth_application, method: :delete, class: "small alert button", data: { confirm: t(".confirm_delete") } %>
37
37
  </td>
38
38
  </tr>
@@ -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
- <div class="field">
4
+ <fieldset class="fieldset">
5
+ <legend><%= t(".fieldsets.sender") %></legend>
5
6
  <%= f.email_field :from_email, placeholder: t(".placeholder.from_email") %>
6
- </div>
7
- <div class="field">
8
- <%= f.email_field :from_label, placeholder: t(".placeholder.from_label") %>
9
- <p><%= t(".instructions.from_label") %></p>
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>
@@ -3,7 +3,7 @@
3
3
  <% end %>
4
4
 
5
5
  <div class="actions title">
6
- <%= link_to t("actions.new", scope: "decidim.system", name: t("models.organization.name", scope: "decidim.system")), ["new", "organization"], class: "new" %>
6
+ <%= link_to t("actions.new", scope: "decidim.system", name: t("models.organization.name", scope: "decidim.system")), [:new, :organization], class: "new" %>
7
7
  </div>
8
8
 
9
9
  <table class="stack">
@@ -25,7 +25,7 @@
25
25
  <%= l organization.created_at, format: :short %>
26
26
  </td>
27
27
  <td class="actions">
28
- <%= link_to t("actions.edit", scope: "decidim.system"), ["edit", organization] %>
28
+ <%= link_to t("actions.edit", scope: "decidim.system"), [:edit, organization] %>
29
29
  </td>
30
30
  </tr>
31
31
  <% end %>
@@ -6,5 +6,5 @@
6
6
 
7
7
  <div class="actions">
8
8
  <hr>
9
- <%= link_to t("decidim.system.actions.edit"), ["edit", @organization] %>
9
+ <%= link_to t("decidim.system.actions.edit"), [:edit, @organization] %>
10
10
  </div>
@@ -7,6 +7,13 @@ ca:
7
7
  organization_name: Organització
8
8
  organization_url: URL de l'organització
9
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
10
17
  organization_file_uploads:
11
18
  allowed_content_types:
12
19
  admin: Tipus MIME del panell de administració
@@ -153,8 +160,10 @@ ca:
153
160
  api_key: Clau de l'API
154
161
  api_secret: Clau secreta de l'API
155
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Remitent
156
165
  instructions:
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'
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'
158
167
  placeholder:
159
168
  from_email: la-teva-organitzacio@example.org
160
169
  from_label: el-nom-de-la-vostra-organitzacio
@@ -7,6 +7,13 @@ cs:
7
7
  organization_name: Organizace
8
8
  organization_url: URL organizace
9
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
10
17
  organization_file_uploads:
11
18
  allowed_content_types:
12
19
  admin: Admin MIME typy
@@ -52,7 +59,7 @@ cs:
52
59
  success: Správce byl úspěšně aktualizován
53
60
  default_pages:
54
61
  placeholders:
55
- content: Přidejte významný obsah na statickou stránku %{page} na řídicím panelu administrátora.
62
+ content: Přidejte smysluplný obsah na statickou stránku %{page} na ovládacím panelu administrátora.
56
63
  title: Výchozí název pro %{page}
57
64
  menu:
58
65
  admins: Správci
@@ -153,8 +160,10 @@ cs:
153
160
  api_key: Klíč API
154
161
  api_secret: API heslo
155
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Odesilatel
156
165
  instructions:
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'''
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'
158
167
  placeholder:
159
168
  from_email: vaše-organizace@example.org
160
169
  from_label: jméno vaší organizace
@@ -170,4 +179,4 @@ cs:
170
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}.
171
180
  our_getting_started_guide: náš průvodce začínáme
172
181
  titles:
173
- dashboard: Přístrojová deska
182
+ dashboard: Ovládací panel
@@ -1,6 +1,19 @@
1
1
  de:
2
2
  activemodel:
3
3
  attributes:
4
+ oauth_application:
5
+ name: Name OAuth-Anwendung
6
+ organization_logo: Organisationslogo (quadratisch)
7
+ organization_name: Organisation
8
+ organization_url: URL der Organisation
9
+ redirect_uri: Weiterleitungs-URI
10
+ organization:
11
+ address: SMTP Hostname
12
+ from_email: E-Mail-Adresse
13
+ from_label: Beschreibung
14
+ password: Passwort
15
+ port: Datenbank Port
16
+ user_name: Benutzername
4
17
  organization_file_uploads:
5
18
  allowed_content_types:
6
19
  admin: Admin MIME-Typen
@@ -12,6 +25,12 @@ de:
12
25
  maximum_file_size:
13
26
  avatar: Avatar Dateigröße
14
27
  default: Standard-Dateigröße
28
+ errors:
29
+ models:
30
+ oauth_application:
31
+ attributes:
32
+ redirect_uri:
33
+ must_be_ssl: Der Umleitungs-URI muss ein SSL-URI sein
15
34
  decidim:
16
35
  system:
17
36
  actions:
@@ -45,6 +64,7 @@ de:
45
64
  menu:
46
65
  admins: Admins
47
66
  dashboard: Instrumententafel
67
+ oauth_applications: OAuth-Anwendungen
48
68
  organizations: Organisationen
49
69
  models:
50
70
  admin:
@@ -54,9 +74,15 @@ de:
54
74
  name: Administrator
55
75
  validations:
56
76
  email_uniqueness: ein anderer Administrator mit der gleichen E-Mail existiert bereits
77
+ oauth_application:
78
+ fields:
79
+ created_at: Erstellt am
80
+ name: Name OAuth-Anwendung
81
+ organization_name: Organisation
82
+ name: OAuth-Anwendung
57
83
  organization:
58
84
  actions:
59
- save_and_invite: Organisieren & einladen admin erstellen
85
+ save_and_invite: Organisation erstellen & den Admin einladen
60
86
  fields:
61
87
  created_at: Hergestellt in
62
88
  file_upload_settings: Datei-Upload Einstellungen
@@ -64,6 +90,27 @@ de:
64
90
  omniauth_settings: Omniauth-Einstellungen
65
91
  smtp_settings: SMTP-Einstellungen
66
92
  name: Organisation
93
+ oauth_applications:
94
+ create:
95
+ error: Beim Erstellen dieser Anwendung ist ein Fehler aufgetreten.
96
+ success: Anwendung erfolgreich erstellt.
97
+ destroy:
98
+ error: Beim Löschen dieser Anwendung ist ein Fehler aufgetreten.
99
+ success: Anwendung erfolgreich gelöscht.
100
+ edit:
101
+ save: Speichern
102
+ title: Anwendung bearbeiten
103
+ form:
104
+ select_organization: Organisation wählen
105
+ index:
106
+ confirm_delete: Möchten Sie diese Anwendung wirklich löschen?
107
+ title: OAuth-Anwendungen
108
+ new:
109
+ save: Speichern
110
+ title: Neue Applikation
111
+ update:
112
+ error: Beim Erstellen dieser Anwendung ist ein Fehler aufgetreten.
113
+ success: Die Anwendung wurde erfolgreich aktualisiert.
67
114
  organizations:
68
115
  create:
69
116
  error: Beim Erstellen einer neuen Organisation ist ein Fehler aufgetreten.
@@ -72,16 +119,22 @@ de:
72
119
  secondary_hosts_hint: Geben Sie jede von ihnen in einer neuen Zeile ein
73
120
  file_upload_settings:
74
121
  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.
122
+ admin_hint: Diese MIME-Typen sind für das Hochladen im Admin-Panel erlaubt. Admin-Benutzer sollten sich der Risiken des Hochladens einiger Dokumentformate bewusst sein, so dass man von ihnen erwarten kann dass sie vorsichtiger mit Datei-Uploads sind.
76
123
  default_hint: Diese MIME-Typen sind standardmäßig für alle Benutzer erlaubt.
77
124
  intro_html: Sie fügen Platzhalter mit dem Sternzeichen für die MIME-Typen hinzu, z.B. <code>image/*</code>.
78
125
  title: Erlaubte MIME-Typen
79
126
  file_extensions:
127
+ admin_hint: Diese Datei-Erweiterungen sind für das Hochladen im Admin-Panel erlaubt. Admin-Benutzer sollten sich der Risiken des Hochladens einiger Dokumentformate bewusst sein, so dass man von ihnen erwarten kann dass sie vorsichtiger mit Datei-Uploads sind.
80
128
  default_hint: Diese Dateierweiterungen sind standardmäßig für alle Benutzer erlaubt.
81
129
  image_hint: Diese Dateierweiterungen sind für alle Arten von Bild-Uploads erlaubt.
82
130
  title: Zulässige Dateierweiterungen
83
131
  file_sizes:
84
132
  avatar_hint: Megabytes (MB). Maximale Dateigröße für das Hochladen des Avatars.
133
+ default_hint: Megabytes (MB). Diese Dateigröße ist die Standardeinstellung, die für alle Datei-Uploads verwendet wird, sofern nicht anders angegeben.
134
+ title: Maximale Dateigröße
135
+ intro: |
136
+ Bitte seien Sie besonders vorsichtig, wenn Sie überlegen, diese Einstellungen zu ändern. Je weniger Sie erlauben, desto besser.
137
+ Wenn bestimmte Dateierweiterungen oder MIME-Typen zugelassen werden, können Benutzer Sicherheitsrisiken ausgesetzt werden und es kann auch die Zugänglichkeit der Website beeinträchtigen.
85
138
  index:
86
139
  title: Organisationen
87
140
  new:
@@ -90,8 +143,8 @@ de:
90
143
  title: Neue Organisation
91
144
  omniauth_settings:
92
145
  decidim:
93
- client_id: Kunden-ID
94
- client_secret: Kundengeheimnis
146
+ client_id: Client-ID
147
+ client_secret: Client-Secret
95
148
  site_url: Website-URL
96
149
  enabled: Aktiviert
97
150
  enabled_by_default: Dieser Anbieter ist standardmäßig aktiviert. Er kann bearbeitet aber nicht deaktiviert werden.
@@ -99,14 +152,16 @@ de:
99
152
  app_id: App-ID
100
153
  app_secret: App-Geheimnis
101
154
  google_oauth2:
102
- client_id: Kunden-ID
103
- client_secret: Kundengeheimnis
155
+ client_id: Client-ID
156
+ client_secret: Client-Secret
104
157
  icon: Symbol
105
158
  icon_path: Icon-Pfad
106
159
  twitter:
107
160
  api_key: API-Schlüssel
108
161
  api_secret: API-Geheimnis
109
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Absender
110
165
  instructions:
111
166
  from_label: 'E-Mail-Absender lautet: "Dein-Organisationsname <your-organization@example.org>". Leer lassen um ''from_email'' als Absender zu verwenden'
112
167
  placeholder:
@@ -8,6 +8,13 @@ en:
8
8
  organization_name: Organization
9
9
  organization_url: Organization URL
10
10
  redirect_uri: Redirect URI
11
+ organization:
12
+ address: SMTP hostname
13
+ from_email: Email address
14
+ from_label: Label
15
+ password: Password
16
+ port: Port
17
+ user_name: Username
11
18
  organization_file_uploads:
12
19
  allowed_content_types:
13
20
  admin: Admin MIME types
@@ -154,8 +161,10 @@ en:
154
161
  api_key: API key
155
162
  api_secret: API secret
156
163
  smtp_settings:
164
+ fieldsets:
165
+ sender: Sender
157
166
  instructions:
158
- from_label: 'Email sender will be: "your-organization-name <your-organization@example.org>". Leave blank to use the ''from_email'' as label'
167
+ from_label: 'Email sender will be: "your-organization-name <your-organization@example.org>". Leave blank to use the ''Email address'' as label'
159
168
  placeholder:
160
169
  from_email: your-organization@example.org
161
170
  from_label: your-organization-name
@@ -7,6 +7,13 @@ es-MX:
7
7
  organization_name: Organización
8
8
  organization_url: URL de organización
9
9
  redirect_uri: Redirigir URI
10
+ organization:
11
+ address: Nombre de host SMTP
12
+ from_email: Dirección de correo electrónico
13
+ from_label: Etiqueta
14
+ password: Contraseña
15
+ port: Puerto
16
+ user_name: Nombre de usuario
10
17
  organization_file_uploads:
11
18
  allowed_content_types:
12
19
  admin: Tipos MIME del panel de administración
@@ -153,8 +160,10 @@ es-MX:
153
160
  api_key: Clave API
154
161
  api_secret: Secreto API
155
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Remitente
156
165
  instructions:
157
- from_label: 'El remitente de correo electrónico será: "su-nombre de organización <your-organization@example.org>". Déjalo en blanco para usar el ''from_email'' como etiqueta'
166
+ from_label: 'El remitente de correo electrónico será: "su-nombre de organización <your-organization@example.org>". Déjalo en blanco para usar el campo ''Dirección de correo electrónico'' como etiqueta'
158
167
  placeholder:
159
168
  from_email: tu-organizacion@example.org
160
169
  from_label: el-nombre-de-tu-organizacion
@@ -7,6 +7,13 @@ es-PY:
7
7
  organization_name: Organización
8
8
  organization_url: URL de organización
9
9
  redirect_uri: Redirigir URI
10
+ organization:
11
+ address: Nombre de host SMTP
12
+ from_email: Dirección de correo electrónico
13
+ from_label: Etiqueta
14
+ password: Contraseña
15
+ port: Puerto
16
+ user_name: Nombre de usuario
10
17
  organization_file_uploads:
11
18
  allowed_content_types:
12
19
  admin: Tipos MIME del panel de administración
@@ -153,8 +160,10 @@ es-PY:
153
160
  api_key: Clave API
154
161
  api_secret: Secreto API
155
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Remitente
156
165
  instructions:
157
- from_label: 'El remitente de correo electrónico será: "su-nombre de organización <your-organization@example.org>". Déjalo en blanco para usar el ''from_email'' como etiqueta'
166
+ from_label: 'El remitente de correo electrónico será: "su-nombre de organización <your-organization@example.org>". Déjalo en blanco para usar el campo ''Dirección de correo electrónico'' como etiqueta'
158
167
  placeholder:
159
168
  from_email: tu-organizacion@example.org
160
169
  from_label: el-nombre-de-tu-organizacion
@@ -7,6 +7,13 @@ es:
7
7
  organization_name: Organización
8
8
  organization_url: URL de organización
9
9
  redirect_uri: Redirigir URI
10
+ organization:
11
+ address: Nombre de host SMTP
12
+ from_email: Dirección de correo electrónico
13
+ from_label: Etiqueta
14
+ password: Contraseña
15
+ port: Puerto
16
+ user_name: Nombre de usuario
10
17
  organization_file_uploads:
11
18
  allowed_content_types:
12
19
  admin: Tipos MIME del panel de administración
@@ -153,8 +160,10 @@ es:
153
160
  api_key: Clave API
154
161
  api_secret: Secreto API
155
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Remitente
156
165
  instructions:
157
- from_label: 'El remitente de correo electrónico será: "su-nombre de organización <your-organization@example.org>". Déjalo en blanco para usar el ''from_email'' como etiqueta'
166
+ from_label: 'El remitente de correo electrónico será: "su-nombre de organización <your-organization@example.org>". Déjalo en blanco para usar el campo ''Dirección de correo electrónico'' como etiqueta'
158
167
  placeholder:
159
168
  from_email: tu-organizacion@example.org
160
169
  from_label: el-nombre-de-tu-organizacion
@@ -7,6 +7,13 @@ fi-pl:
7
7
  organization_name: Organisaatio
8
8
  organization_url: Organisaation URL-osoite
9
9
  redirect_uri: Uudelleenohjauksen osoite (URI)
10
+ organization:
11
+ address: SMTP-palvelimen osoite
12
+ from_email: Sähköpostiosoite
13
+ from_label: Nimike
14
+ password: Salasana
15
+ port: Portti
16
+ user_name: Käyttäjänimi
10
17
  organization_file_uploads:
11
18
  allowed_content_types:
12
19
  admin: Hallintakäyttäjien MIME-tyypit
@@ -153,8 +160,10 @@ fi-pl:
153
160
  api_key: API-avain
154
161
  api_secret: API-salausavain
155
162
  smtp_settings:
163
+ fieldsets:
164
+ sender: Lähettäjä
156
165
  instructions:
157
- from_label: 'Sähköpostin lähettäjä on: "organisaatiosi-nimi <sinun-organisaatiosi@example.org>". Jätä tyhjäksi käyttääksesi lähetyssähköpostia (''from_email'') lähettäjän nimenä'
166
+ from_label: 'Sähköpostin lähettäjä on: "organisaatiosi-nimi <your-organization@example.org>". Jätä tyhjäksi käyttääksesi "Sähköpostiosoite" -kentän arvoa lähettäjän nimenä'
158
167
  placeholder:
159
168
  from_email: sinun-organisaatiosi@example.org
160
169
  from_label: organisaatiosi-nimi