decidim-system 0.28.4 → 0.29.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/cells/decidim/system/system_checks/show.erb +13 -0
- data/app/cells/decidim/system/system_checks_cell.rb +48 -0
- data/app/commands/decidim/system/create_default_content_blocks.rb +0 -3
- data/app/commands/decidim/system/{populate_help.rb → create_default_help_pages.rb} +14 -7
- data/app/commands/decidim/system/create_default_pages.rb +0 -1
- data/app/commands/decidim/system/{register_organization.rb → create_organization.rb} +5 -7
- data/app/controllers/decidim/system/application_controller.rb +0 -1
- data/app/controllers/decidim/system/dashboard_controller.rb +2 -0
- data/app/controllers/decidim/system/organizations_controller.rb +2 -1
- data/app/forms/decidim/system/base_organization_form.rb +127 -0
- data/app/forms/decidim/system/register_organization_form.rb +23 -3
- data/app/forms/decidim/system/update_organization_form.rb +18 -103
- data/app/models/decidim/system/admin.rb +2 -2
- data/app/packs/stylesheets/decidim/system/application.scss +57 -0
- data/app/views/decidim/system/dashboard/show.html.erb +4 -0
- data/app/views/decidim/system/oauth_applications/_form.html.erb +1 -1
- data/app/views/decidim/system/oauth_applications/index.html.erb +3 -3
- data/app/views/decidim/system/organizations/edit.html.erb +4 -2
- data/app/views/decidim/system/shared/_admins_list.html.erb +2 -2
- data/app/views/decidim/system/shared/_organizations_list.html.erb +3 -3
- data/app/views/layouts/decidim/system/_js_configuration.html.erb +1 -1
- data/app/views/layouts/decidim/system/login.html.erb +1 -1
- data/config/locales/ar.yml +0 -1
- data/config/locales/bg.yml +9 -3
- data/config/locales/ca.yml +12 -3
- data/config/locales/cs.yml +5 -8
- data/config/locales/de.yml +10 -3
- data/config/locales/el.yml +0 -2
- data/config/locales/en.yml +12 -3
- data/config/locales/es-MX.yml +12 -3
- data/config/locales/es-PY.yml +12 -3
- data/config/locales/es.yml +12 -3
- data/config/locales/eu.yml +12 -3
- data/config/locales/fi-plain.yml +16 -7
- data/config/locales/fi.yml +16 -7
- data/config/locales/fr-CA.yml +12 -3
- data/config/locales/fr.yml +12 -3
- data/config/locales/gl.yml +0 -1
- data/config/locales/hu.yml +0 -2
- data/config/locales/id-ID.yml +0 -1
- data/config/locales/it.yml +0 -1
- data/config/locales/ja.yml +12 -3
- data/config/locales/lt.yml +0 -2
- data/config/locales/lv.yml +0 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +11 -2
- data/config/locales/pt-BR.yml +0 -11
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +0 -1
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +0 -1
- data/config/locales/sv.yml +13 -75
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/zh-CN.yml +0 -1
- data/config/locales/zh-TW.yml +0 -2
- data/db/seeds.rb +1 -1
- data/decidim-system.gemspec +1 -1
- data/lib/decidim/system/engine.rb +4 -0
- data/lib/decidim/system/version.rb +1 -1
- data/lib/tasks/decidim_system.rake +1 -1
- metadata +15 -12
data/config/locales/fr-CA.yml
CHANGED
@@ -68,6 +68,7 @@ fr-CA:
|
|
68
68
|
show:
|
69
69
|
admins: Administrateurs
|
70
70
|
current_organizations: Organisations actuelles
|
71
|
+
system_checks: Vérifications du système
|
71
72
|
default_pages:
|
72
73
|
placeholders:
|
73
74
|
content: Ajoutez un contenu pertinent à la page %{page} en allant sur l'interface d'administration.
|
@@ -88,7 +89,7 @@ fr-CA:
|
|
88
89
|
did_not_receive_unlock_instructions?: Vous n’avez pas reçu les instructions de déverrouillage ?
|
89
90
|
forgot_your_password?: Mot de passe oublié ?
|
90
91
|
log_in: Se connecter
|
91
|
-
sign_up:
|
92
|
+
sign_up: Créer un compte
|
92
93
|
menu:
|
93
94
|
admins: Administrateurs
|
94
95
|
dashboard: Tableau de bord
|
@@ -260,8 +261,8 @@ fr-CA:
|
|
260
261
|
success: Organisation mise à jour avec succès.
|
261
262
|
users_registration_mode:
|
262
263
|
disabled: L'accès n'est possible qu'avec des comptes externes
|
263
|
-
enabled: Autoriser les
|
264
|
-
existing: Ne pas
|
264
|
+
enabled: Autoriser les participants à se créer un compte et à se connecter
|
265
|
+
existing: Ne pas permettre aux participants de créer un compte, mais permettre aux participants existants de se connecter
|
265
266
|
shared:
|
266
267
|
notices:
|
267
268
|
no_organization_warning_html: Vous devez créer une organisation pour démarrer. Assurez-vous de lire %{guide} avant de continuer.
|
@@ -269,6 +270,14 @@ fr-CA:
|
|
269
270
|
organizations_list:
|
270
271
|
confirm_resend_invitation: Êtes-vous sûr de vouloir renvoyer l'invitation ?
|
271
272
|
resend_invitation: Renvoyer l'invitation
|
273
|
+
system_checks:
|
274
|
+
active_job_queue:
|
275
|
+
decidim_documentation: Documentation de Decidim
|
276
|
+
error: La file d'attente ActiveJob n'est pas configurée. Ce n'est pas une configuration recommandée pour de la production. En savoir plus sur %{error_extra}.
|
277
|
+
success: La file d'attente ActiveJob est correctement configurée.
|
278
|
+
secret_key:
|
279
|
+
error: 'La clé secrète n''est pas définie correctement. Veuillez l''enregistrer dans la variable d''environnement SECRET_KEY_BASE et redémarrer le serveur : %{error_extra}'
|
280
|
+
success: La clé secrète est correctement configurée.
|
272
281
|
titles:
|
273
282
|
dashboard: Tableau de bord
|
274
283
|
decidim: Decidim
|
data/config/locales/fr.yml
CHANGED
@@ -68,6 +68,7 @@ fr:
|
|
68
68
|
show:
|
69
69
|
admins: Administrateurs
|
70
70
|
current_organizations: Organisations actuelles
|
71
|
+
system_checks: Vérifications du système
|
71
72
|
default_pages:
|
72
73
|
placeholders:
|
73
74
|
content: Ajoutez un contenu pertinent à la page %{page} en allant sur l'interface d'administration.
|
@@ -88,7 +89,7 @@ fr:
|
|
88
89
|
did_not_receive_unlock_instructions?: Vous n’avez pas reçu les instructions de déverrouillage ?
|
89
90
|
forgot_your_password?: Mot de passe oublié ?
|
90
91
|
log_in: Se connecter
|
91
|
-
sign_up:
|
92
|
+
sign_up: Créer un compte
|
92
93
|
menu:
|
93
94
|
admins: Administrateurs
|
94
95
|
dashboard: Tableau de bord
|
@@ -260,8 +261,8 @@ fr:
|
|
260
261
|
success: Organisation mise à jour avec succès.
|
261
262
|
users_registration_mode:
|
262
263
|
disabled: L'accès n'est possible qu'avec des comptes externes
|
263
|
-
enabled: Autoriser les
|
264
|
-
existing: Ne pas
|
264
|
+
enabled: Autoriser les participants à se créer un compte et à se connecter
|
265
|
+
existing: Ne pas permettre aux participants de créer un compte, mais permettre aux participants existants de se connecter
|
265
266
|
shared:
|
266
267
|
notices:
|
267
268
|
no_organization_warning_html: Vous devez créer une organisation pour démarrer. Assurez-vous de lire %{guide} avant de continuer.
|
@@ -269,6 +270,14 @@ fr:
|
|
269
270
|
organizations_list:
|
270
271
|
confirm_resend_invitation: Êtes-vous sûr de vouloir renvoyer l'invitation ?
|
271
272
|
resend_invitation: Renvoyer l'invitation
|
273
|
+
system_checks:
|
274
|
+
active_job_queue:
|
275
|
+
decidim_documentation: Documentation de Decidim
|
276
|
+
error: La file d'attente ActiveJob n'est pas configurée. Ce n'est pas une configuration recommandée pour de la production. En savoir plus sur %{error_extra}.
|
277
|
+
success: La file d'attente ActiveJob est correctement configurée.
|
278
|
+
secret_key:
|
279
|
+
error: 'La clé secrète n''est pas définie correctement. Veuillez l''enregistrer dans la variable d''environnement SECRET_KEY_BASE et redémarrer le serveur : %{error_extra}'
|
280
|
+
success: La clé secrète est correctement configurée.
|
272
281
|
titles:
|
273
282
|
dashboard: Tableau de bord
|
274
283
|
decidim: Decidim
|
data/config/locales/gl.yml
CHANGED
@@ -166,7 +166,6 @@ gl:
|
|
166
166
|
success: A organización actualizouse con éxito.
|
167
167
|
users_registration_mode:
|
168
168
|
disabled: O acceso só se pode facer con contas externas
|
169
|
-
enabled: Permitir aos usuarios rexistrarse e iniciar sesión
|
170
169
|
shared:
|
171
170
|
notices:
|
172
171
|
no_organization_warning_html: Debes crear unha organización para comezar. Asegúrate de ler %{guide} antes de continuar.
|
data/config/locales/hu.yml
CHANGED
@@ -57,7 +57,6 @@ hu:
|
|
57
57
|
did_not_receive_unlock_instructions?: Nem kapta meg a feloldáshoz szükséges instrukciókat?
|
58
58
|
forgot_your_password?: Elfelejtett jelszó?
|
59
59
|
log_in: Belépés
|
60
|
-
sign_up: Regisztráció
|
61
60
|
menu:
|
62
61
|
admins: Adminok
|
63
62
|
dashboard: Irányítópult
|
@@ -117,7 +116,6 @@ hu:
|
|
117
116
|
success: Szervezet sikeresen frissítve.
|
118
117
|
users_registration_mode:
|
119
118
|
disabled: A hozzáférés csak külső fiókokkal végezhető el
|
120
|
-
enabled: Engedélyezi a felhasználók regisztrálását és bejelentkezését
|
121
119
|
shared:
|
122
120
|
notices:
|
123
121
|
no_organization_warning_html: 'A kezdéshez hozz létre egy szervezetet. Mielőtt folytatnád, olvasd el az útmutatót: %{guide}.'
|
data/config/locales/id-ID.yml
CHANGED
@@ -56,7 +56,6 @@ id:
|
|
56
56
|
success: Organisasi berhasil diperbarui.
|
57
57
|
users_registration_mode:
|
58
58
|
disabled: Akses hanya dapat dilakukan dengan akun eksternal
|
59
|
-
enabled: Izinkan peserta untuk mendaftar dan masuk
|
60
59
|
shared:
|
61
60
|
notices:
|
62
61
|
no_organization_warning_html: Anda harus membuat organisasi untuk memulai. Pastikan Anda membaca %{guide} sebelum melanjutkan.
|
data/config/locales/it.yml
CHANGED
@@ -167,7 +167,6 @@ it:
|
|
167
167
|
success: OK, l'Organizzazione è stata aggiornata.
|
168
168
|
users_registration_mode:
|
169
169
|
disabled: L'accesso può essere fatto solo con account esterni
|
170
|
-
enabled: Permetti agli utenti di registrarsi e accedere
|
171
170
|
shared:
|
172
171
|
notices:
|
173
172
|
no_organization_warning_html: È necessario creare un'organizzazione per iniziare. Assicurati di leggere %{guide} prima di procedere.
|
data/config/locales/ja.yml
CHANGED
@@ -68,6 +68,7 @@ ja:
|
|
68
68
|
show:
|
69
69
|
admins: 管理者
|
70
70
|
current_organizations: 現在の組織
|
71
|
+
system_checks: システムチェック
|
71
72
|
default_pages:
|
72
73
|
placeholders:
|
73
74
|
content: 管理ダッシュボードの %{page} 静的ページに意味のあるコンテンツを追加してください。
|
@@ -88,7 +89,7 @@ ja:
|
|
88
89
|
did_not_receive_unlock_instructions?: ロック解除メールを受信できませんでしたか?
|
89
90
|
forgot_your_password?: パスワードをお忘れですか?
|
90
91
|
log_in: ログイン
|
91
|
-
sign_up:
|
92
|
+
sign_up: アカウントを作成
|
92
93
|
menu:
|
93
94
|
admins: 管理者
|
94
95
|
dashboard: ダッシュボード
|
@@ -258,8 +259,8 @@ ja:
|
|
258
259
|
success: 組織が更新されました。
|
259
260
|
users_registration_mode:
|
260
261
|
disabled: 外部アカウントでのみアクセスできます
|
261
|
-
enabled:
|
262
|
-
existing:
|
262
|
+
enabled: 参加者がアカウントを作成してログインできるようにする
|
263
|
+
existing: 参加者が新しくアカウントを作成することはできませんが、既存の参加者はログインできるようにします
|
263
264
|
shared:
|
264
265
|
notices:
|
265
266
|
no_organization_warning_html: 開始するには組織を作成する必要があります。先に進む前に %{guide} を読んでください。
|
@@ -267,6 +268,14 @@ ja:
|
|
267
268
|
organizations_list:
|
268
269
|
confirm_resend_invitation: 招待を再送信してもよろしいですか?
|
269
270
|
resend_invitation: 招待を再送信する
|
271
|
+
system_checks:
|
272
|
+
active_job_queue:
|
273
|
+
decidim_documentation: Decidimドキュメント
|
274
|
+
error: ActiveJob キューが設定されていません。これは本番環境では推奨されるセットアップではありません。詳細は %{error_extra} をご覧ください。
|
275
|
+
success: ActiveJob キューが正しく設定されています。
|
276
|
+
secret_key:
|
277
|
+
error: 'シークレットキーが正しく定義されていません。環境変数 SECRET_KEY_BASE に保存し、サーバーを再起動してください: %{error_extra}'
|
278
|
+
success: 秘密鍵が正しく設定されています。
|
270
279
|
titles:
|
271
280
|
dashboard: ダッシュボード
|
272
281
|
decidim: Decidim
|
data/config/locales/lt.yml
CHANGED
@@ -184,8 +184,6 @@ lt:
|
|
184
184
|
success: Organizacija atnaujinta.
|
185
185
|
users_registration_mode:
|
186
186
|
disabled: Prieiga galima tik iš išorės paskyrų
|
187
|
-
enabled: Leisti dalyviams registruotis ir prisijungti
|
188
|
-
existing: Neleisti dalyviams užsiregistruoti, bet leiskite esamiems dalyviams prisijungti
|
189
187
|
shared:
|
190
188
|
notices:
|
191
189
|
no_organization_warning_html: Norėdami pradėti, turite sukurti organizaciją. Prieš tęsdami būtinai perskaitykite %{guide}.
|
data/config/locales/lv.yml
CHANGED
@@ -96,7 +96,6 @@ lv:
|
|
96
96
|
success: Organizācija ir veiksmīgi atjaunināta.
|
97
97
|
users_registration_mode:
|
98
98
|
disabled: Piekļuvi var veikt tikai ar ārējiem kontiem
|
99
|
-
enabled: Ļauj dalībniekiem reģistrēties un pierakstīties
|
100
99
|
shared:
|
101
100
|
notices:
|
102
101
|
no_organization_warning_html: Lai sāktu, jums ir jāizveido organizācija. Pirms turpināt, noteikti izlasiet %{guide}.
|
data/config/locales/nl.yml
CHANGED
@@ -106,7 +106,6 @@ nl:
|
|
106
106
|
success: Organisatie is succesvol bijgewerkt.
|
107
107
|
users_registration_mode:
|
108
108
|
disabled: Enkel externe accounts hebben toegang
|
109
|
-
enabled: Sta gebruikers toe zich te registreren en in te loggen
|
110
109
|
shared:
|
111
110
|
notices:
|
112
111
|
no_organization_warning_html: U moet een organisatie aanmaken om te beginnen. Zorg ervoor dat u %{guide} leest voordat u verder gaat.
|
data/config/locales/no.yml
CHANGED
@@ -166,7 +166,6 @@
|
|
166
166
|
success: Organisasjonen ble oppdatert.
|
167
167
|
users_registration_mode:
|
168
168
|
disabled: Tilgang kan bare gjøres med eksterne kontoer
|
169
|
-
enabled: Tillat deltakerne å registrere og logge inn
|
170
169
|
shared:
|
171
170
|
notices:
|
172
171
|
no_organization_warning_html: Du må opprette en organisasjon for å starte. Vær sikker på at du leser %{guide} før du fortsetter.
|
data/config/locales/pl.yml
CHANGED
@@ -68,6 +68,7 @@ pl:
|
|
68
68
|
show:
|
69
69
|
admins: Administratorzy
|
70
70
|
current_organizations: Bieżące organizacje
|
71
|
+
system_checks: Sprawdzenie systemu
|
71
72
|
default_pages:
|
72
73
|
placeholders:
|
73
74
|
content: Proszę dodać istotne treści do strony statycznej %{page} w panelu administratora.
|
@@ -88,7 +89,7 @@ pl:
|
|
88
89
|
did_not_receive_unlock_instructions?: Nie dotarła instrukcja odblokowania?
|
89
90
|
forgot_your_password?: Nie pamiętasz hasła?
|
90
91
|
log_in: Zaloguj się
|
91
|
-
sign_up:
|
92
|
+
sign_up: Utwórz konto
|
92
93
|
menu:
|
93
94
|
admins: Administratorzy
|
94
95
|
dashboard: Panel
|
@@ -260,7 +261,7 @@ pl:
|
|
260
261
|
success: Organizacja została zaktualizowana.
|
261
262
|
users_registration_mode:
|
262
263
|
disabled: Dostęp można uzyskać tylko za pomocą kont zewnętrznych
|
263
|
-
enabled:
|
264
|
+
enabled: Pozwól uczestnikom utworzyć konto i zalogować się
|
264
265
|
existing: Nie zezwalaj uczestnikom na rejestrację, ale zezwalaj obecnym uczestnikom na logowanie
|
265
266
|
shared:
|
266
267
|
notices:
|
@@ -269,6 +270,14 @@ pl:
|
|
269
270
|
organizations_list:
|
270
271
|
confirm_resend_invitation: Czy na pewno wysłać ponownie zaproszenie?
|
271
272
|
resend_invitation: Wyślij ponownie zaproszenie
|
273
|
+
system_checks:
|
274
|
+
active_job_queue:
|
275
|
+
decidim_documentation: Dokumentacja Decidim
|
276
|
+
error: Kolejka ActiveJob nie jest skonfigurowana. Nie jest to zalecana konfiguracja dla produkcji. Przeczytaj więcej na %{error_extra}.
|
277
|
+
success: Kolejka ActiveJob jest skonfigurowana poprawnie.
|
278
|
+
secret_key:
|
279
|
+
error: 'Tajny klucz nie jest poprawnie zdefiniowany. Zapisz do zmiennej środowiskowej SECRET_KEY_BASE i zrestartuj serwer: %{error_extra}'
|
280
|
+
success: Sekretny klucz jest skonfigurowany poprawnie.
|
272
281
|
titles:
|
273
282
|
dashboard: Panel
|
274
283
|
decidim: Decidim
|
data/config/locales/pt-BR.yml
CHANGED
@@ -60,7 +60,6 @@ pt-BR:
|
|
60
60
|
placeholders:
|
61
61
|
content: Adicione conteúdo significativo à página estática %{page} no painel do administrador.
|
62
62
|
title: Título padrão para %{page}
|
63
|
-
terms-of-service: Termos de serviço
|
64
63
|
devise:
|
65
64
|
passwords:
|
66
65
|
edit:
|
@@ -75,7 +74,6 @@ pt-BR:
|
|
75
74
|
did_not_receive_unlock_instructions?: Não recebeu instruções de desbloqueio?
|
76
75
|
forgot_your_password?: Esqueceu sua senha?
|
77
76
|
log_in: Iniciar sessão
|
78
|
-
sign_up: Cadastrar-se
|
79
77
|
menu:
|
80
78
|
admins: Administradores
|
81
79
|
dashboard: painel de controle
|
@@ -129,10 +127,8 @@ pt-BR:
|
|
129
127
|
show: Exibir configurações avançadas
|
130
128
|
create:
|
131
129
|
error: Ocorreu um erro ao criar uma nova organização.
|
132
|
-
error_invitation: Ocorreu um erro ao criar uma nova organização. Revise o nome do administrador da organização.
|
133
130
|
edit:
|
134
131
|
secondary_hosts_hint: Insira cada um deles em uma nova linha
|
135
|
-
title: Editar organização
|
136
132
|
file_upload_settings:
|
137
133
|
content_types:
|
138
134
|
admin_hint: Esses tipos MIME são permitidos para uploads de seções do admin. Os usuários de administração devem estar cientes dos riscos de carregar alguns formatos de documento, então você pode esperar que eles sejam mais cautelosos com o envio de arquivos.
|
@@ -157,7 +153,6 @@ pt-BR:
|
|
157
153
|
default: Padrão?
|
158
154
|
enabled: Habilitado
|
159
155
|
locale: Local
|
160
|
-
organization_admin_email_hint: Nós enviaremos um e-mail para este endereço para que você possa confirmá-lo e configurar sua senha.
|
161
156
|
reference_prefix_hint: O prefixo de referência é usado para identificar exclusivamente recursos em todas as organizações.
|
162
157
|
secondary_hosts_hint: Insira cada um deles em uma nova linha.
|
163
158
|
title: Nova organização
|
@@ -179,8 +174,6 @@ pt-BR:
|
|
179
174
|
twitter:
|
180
175
|
api_key: Chave da API
|
181
176
|
api_secret: Senha API
|
182
|
-
resend_invitation:
|
183
|
-
success: O convite remete com sucesso.
|
184
177
|
smtp_settings:
|
185
178
|
fieldsets:
|
186
179
|
sender: Remetente
|
@@ -192,14 +185,10 @@ pt-BR:
|
|
192
185
|
success: Organização atualizada com sucesso.
|
193
186
|
users_registration_mode:
|
194
187
|
disabled: O acesso só pode ser feito com contas externas
|
195
|
-
enabled: Permitir que os usuários se registrem e efetuem login
|
196
|
-
existing: Não permitir que usuários se registrem, mas permitir que usuários existentes façam login
|
197
188
|
shared:
|
198
189
|
notices:
|
199
190
|
no_organization_warning_html: Você deve criar uma organização para começar. Certifique-se de ler %{guide} antes de prosseguir.
|
200
191
|
our_getting_started_guide: nosso guia inicial
|
201
|
-
organizations_list:
|
202
|
-
confirm_resend_invitation: Tem certeza de que deseja excluir este aplicativo?
|
203
192
|
titles:
|
204
193
|
dashboard: painel de controle
|
205
194
|
layouts:
|
data/config/locales/pt.yml
CHANGED
@@ -165,7 +165,6 @@ pt:
|
|
165
165
|
success: Organização atualizada corretamente.
|
166
166
|
users_registration_mode:
|
167
167
|
disabled: O acesso só pode ser feito com contas externas
|
168
|
-
enabled: Permitir que os participantes se registem e iniciem sessão
|
169
168
|
shared:
|
170
169
|
notices:
|
171
170
|
no_organization_warning_html: Você deve criar uma organização para começar. Certifique-se de ler %{guide} antes de prosseguir.
|
data/config/locales/ro-RO.yml
CHANGED
@@ -184,7 +184,6 @@ ro:
|
|
184
184
|
success: Organizația a fost actualizată.
|
185
185
|
users_registration_mode:
|
186
186
|
disabled: Accesul se poate face doar cu conturi externe
|
187
|
-
enabled: Permite participanților să se înregistreze și să se autentifice
|
188
187
|
shared:
|
189
188
|
notices:
|
190
189
|
no_organization_warning_html: Trebuie să creezi o organizație pentru a începe. Asigură-te că ai citit %{guide} înainte de a continua.
|
data/config/locales/ru.yml
CHANGED
@@ -74,7 +74,6 @@ ru:
|
|
74
74
|
success: Организация успешно обновлена.
|
75
75
|
users_registration_mode:
|
76
76
|
disabled: Доступ может быть предоставлен только с внешними аккаунтами
|
77
|
-
enabled: Разрешить участникам регистрироваться и входить
|
78
77
|
shared:
|
79
78
|
notices:
|
80
79
|
no_organization_warning_html: Для начала определите организацию. Обязательно почитайте %{guide}, прежде чем продолжать дальше.
|
data/config/locales/sk.yml
CHANGED
@@ -93,7 +93,6 @@ sk:
|
|
93
93
|
success: Organizácia úspešne aktualizovaná.
|
94
94
|
users_registration_mode:
|
95
95
|
disabled: Môžete pristupovať iba pomocou externého účtu
|
96
|
-
enabled: Umožniť účastníkom registráciu a prihlásenie sa
|
97
96
|
shared:
|
98
97
|
notices:
|
99
98
|
no_organization_warning_html: Musíte vytvoriť organizáciu, aby ste mohli začať. Prečítajte si %{guide}, než začnete.
|
data/config/locales/sv.yml
CHANGED
@@ -4,13 +4,13 @@ sv:
|
|
4
4
|
attributes:
|
5
5
|
oauth_application:
|
6
6
|
name: OAuth app namn
|
7
|
-
organization_logo:
|
7
|
+
organization_logo: Organisationslogo (kvadrat)
|
8
8
|
organization_name: Organisation
|
9
9
|
organization_url: Organisationens hemsida
|
10
10
|
redirect_uri: Omdirigerings-URI
|
11
11
|
organization:
|
12
12
|
address: SMTP-värdnamn
|
13
|
-
from_email:
|
13
|
+
from_email: Från (e-postadress)
|
14
14
|
from_label: Från (namn)
|
15
15
|
password: Lösenord
|
16
16
|
port: Port
|
@@ -22,9 +22,9 @@ sv:
|
|
22
22
|
allowed_file_extensions:
|
23
23
|
admin: Admin filändelser
|
24
24
|
default: Förvalda filändelser
|
25
|
-
image:
|
25
|
+
image: Bild filändelser
|
26
26
|
maximum_file_size:
|
27
|
-
avatar:
|
27
|
+
avatar: Avatarens filstorlek
|
28
28
|
default: Standardstorlek för filer
|
29
29
|
errors:
|
30
30
|
models:
|
@@ -32,27 +32,17 @@ sv:
|
|
32
32
|
attributes:
|
33
33
|
redirect_uri:
|
34
34
|
must_be_ssl: Omdirigerings-URI måste vara en SSL URI
|
35
|
-
organization:
|
36
|
-
attributes:
|
37
|
-
password:
|
38
|
-
secret_key: Du behöver definiera variabeln SECRET_KEY_BASE för att kunna spara detta fält
|
39
35
|
decidim:
|
40
36
|
system:
|
41
37
|
actions:
|
42
38
|
confirm_destroy: Vill du radera detta?
|
43
39
|
destroy: Radera
|
44
40
|
edit: Redigera
|
45
|
-
new_admin: Ny administratör
|
46
|
-
new_oauth_application: Ny OAUTH-applikation
|
47
|
-
new_organization: Ny organisation
|
48
41
|
save: Spara
|
49
42
|
title: Åtgärder
|
50
43
|
admins:
|
51
44
|
create:
|
52
45
|
error: Det gick inte att skapa en ny administratör.
|
53
|
-
success: Administratören har skapats.
|
54
|
-
destroy:
|
55
|
-
success: Administratören har raderats.
|
56
46
|
edit:
|
57
47
|
title: Redigera administratören
|
58
48
|
update: Uppdatera
|
@@ -63,35 +53,17 @@ sv:
|
|
63
53
|
title: Ny administratör
|
64
54
|
update:
|
65
55
|
error: Det gick inte att uppdatera administratören.
|
66
|
-
success: Administratören har uppdaterats.
|
67
56
|
dashboard:
|
68
57
|
show:
|
69
|
-
admins: Administratörer
|
70
58
|
current_organizations: Nuvarande organisationer
|
71
59
|
default_pages:
|
72
60
|
placeholders:
|
73
61
|
content: Lägg till relevant innehåll på den statiska sidan %{page} på adminpanelen.
|
74
|
-
summary: Lägg till en relevant sammanfattning på den statiska sidan %{page} i adminpanelen.
|
75
62
|
title: Standardtitel för %{page}
|
76
|
-
terms-of-service: Användarvillkor
|
77
|
-
devise:
|
78
|
-
passwords:
|
79
|
-
edit:
|
80
|
-
change_your_password: Ändra ditt lösenord
|
81
|
-
minimum_characters: "(minst %{minimum} tecken)"
|
82
|
-
new:
|
83
|
-
forgot_your_password: Glömt ditt lösenord
|
84
|
-
send_me_reset_password_instructions: Skicka instruktioner för återställning av lösenord
|
85
|
-
shared:
|
86
|
-
links:
|
87
|
-
did_not_receive_confirmation_instructions?: Fick du inga bekräftelseinstruktioner?
|
88
|
-
did_not_receive_unlock_instructions?: Fick du inga instruktioner om hur du låser upp ditt konto?
|
89
|
-
forgot_your_password?: Glömt ditt lösenord?
|
90
|
-
log_in: Logga in
|
91
63
|
menu:
|
92
64
|
admins: Administratörer
|
93
65
|
dashboard: Adminpanel
|
94
|
-
oauth_applications: OAuth
|
66
|
+
oauth_applications: OAuth appar
|
95
67
|
organizations: Organisationer
|
96
68
|
models:
|
97
69
|
admin:
|
@@ -102,14 +74,13 @@ sv:
|
|
102
74
|
email_uniqueness: det finns redan en administratör med samma e-postadress
|
103
75
|
oauth_application:
|
104
76
|
fields:
|
105
|
-
created_at: Skapad
|
106
|
-
name:
|
77
|
+
created_at: Skapad den
|
78
|
+
name: OAuth app namn
|
107
79
|
organization_name: Organisation
|
108
80
|
organization:
|
109
81
|
actions:
|
110
82
|
save_and_invite: Skapa organisation och bjud in administratör
|
111
83
|
fields:
|
112
|
-
content_security_policy: Säkerhetspolicy för innehåll
|
113
84
|
created_at: Skapad
|
114
85
|
file_upload_settings: Inställningar för filuppladdning
|
115
86
|
name: Namn
|
@@ -142,40 +113,23 @@ sv:
|
|
142
113
|
show: Visa avancerade inställningar
|
143
114
|
create:
|
144
115
|
error: Det gick inte att skapa en ny organisation.
|
145
|
-
error_invitation: Det gick inte att skapa en ny organisation. Granska organisationens administratörsnamn.
|
146
|
-
csp_settings:
|
147
|
-
connect_src: Connect src
|
148
|
-
default_src: Default src
|
149
|
-
font_src: Font src
|
150
|
-
frame_src: Frame src
|
151
|
-
img_src: Img src
|
152
|
-
media_src: Media src
|
153
|
-
script_src: Script src
|
154
|
-
style_src: Style src
|
155
116
|
edit:
|
156
|
-
confirm_resend_invitation: Är du säker på att du vill skicka inbjudan igen?
|
157
|
-
resend_invitation: Skicka inbjudan igen
|
158
117
|
secondary_hosts_hint: Ange var och en av dem på en ny rad
|
159
|
-
title: Redigera organisation
|
160
118
|
file_upload_settings:
|
161
119
|
content_types:
|
162
120
|
title: Tillåtna MIME-typer
|
163
121
|
file_extensions:
|
164
122
|
title: Tillåtna filändelser
|
165
123
|
file_sizes:
|
166
|
-
title:
|
124
|
+
title: Max filstorlekar
|
167
125
|
index:
|
168
126
|
title: Organisationer
|
169
127
|
new:
|
170
|
-
default: Standard?
|
171
|
-
enabled: Aktiverad
|
172
|
-
locale: Språk
|
173
|
-
secondary_hosts_hint: Ange var och en på en ny rad.
|
174
128
|
title: Ny organisation
|
175
129
|
omniauth_settings:
|
176
130
|
decidim:
|
177
|
-
client_id:
|
178
|
-
client_secret:
|
131
|
+
client_id: Klient ID
|
132
|
+
client_secret: Klient hemlig
|
179
133
|
site_url: Webbplatsens URL
|
180
134
|
enabled: Aktiverad
|
181
135
|
enabled_by_default: Denna leverantör är aktiverad som standard. Den kan redigeras men inte inaktiveras.
|
@@ -183,43 +137,27 @@ sv:
|
|
183
137
|
app_id: App-ID
|
184
138
|
app_secret: App-hemlighet
|
185
139
|
google_oauth2:
|
186
|
-
client_id:
|
187
|
-
client_secret:
|
140
|
+
client_id: Klient-ID
|
141
|
+
client_secret: Klient-hemlighet
|
188
142
|
icon: Symbol
|
189
143
|
icon_path: Sökväg till symbol
|
190
144
|
twitter:
|
191
145
|
api_key: API-nyckel
|
192
146
|
api_secret: API-hemlighet
|
193
|
-
resend_invitation:
|
194
|
-
error: Det gick inte att skicka inbjudan.
|
195
|
-
success: Inbjudan har skickats.
|
196
147
|
smtp_settings:
|
197
148
|
fieldsets:
|
198
149
|
sender: Avsändare
|
199
|
-
instructions:
|
200
|
-
from_label: 'E-postavsändare kommer att vara: "din-organisations-namn <your-organization@example.org>". Lämna tomt för att använda samma namn som ställts in för organisationen.'
|
201
150
|
placeholder:
|
202
151
|
from_email: your-organization@example.org
|
203
|
-
from_label: din-
|
152
|
+
from_label: din-organisation-namn
|
204
153
|
update:
|
205
154
|
error: Det gick inte att uppdatera organisationen.
|
206
155
|
success: Organisationen har uppdaterats.
|
207
156
|
users_registration_mode:
|
208
157
|
disabled: Åtkomst kan endast göras med externa konton
|
209
|
-
enabled: Tillåt deltagare att registrera och logga in
|
210
|
-
existing: Tillåt inte deltagare att registrera sig, men tillåt befintliga deltagare att logga in
|
211
158
|
shared:
|
212
159
|
notices:
|
213
160
|
no_organization_warning_html: Kom igång genom att skapa en organisation. Läs %{guide} innan du fortsätter.
|
214
161
|
our_getting_started_guide: vår startguide
|
215
|
-
organizations_list:
|
216
|
-
confirm_resend_invitation: Är du säker på att du vill skicka inbjudan igen?
|
217
|
-
resend_invitation: Skicka inbjudan igen
|
218
162
|
titles:
|
219
163
|
dashboard: Adminpanel
|
220
|
-
decidim: Decidim
|
221
|
-
layouts:
|
222
|
-
decidim:
|
223
|
-
system:
|
224
|
-
login_items:
|
225
|
-
logout: Logga ut
|
data/config/locales/tr-TR.yml
CHANGED
@@ -185,7 +185,6 @@ tr:
|
|
185
185
|
success: Kuruluş başarıyla güncellendi.
|
186
186
|
users_registration_mode:
|
187
187
|
disabled: Erişim yalnızca harici hesaplarla yapılabilir
|
188
|
-
enabled: Katılımcıların kaydolmasına ve giriş yapmasına izin ver
|
189
188
|
shared:
|
190
189
|
notices:
|
191
190
|
no_organization_warning_html: Başlamak için bir organizasyon oluşturmanız gerekir. Devam etmeden önce %{guide} okuduğunuzdan emin olun.
|
data/config/locales/zh-CN.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
data/db/seeds.rb
CHANGED
@@ -12,6 +12,6 @@ if !Rails.env.production? || ENV.fetch("SEED", nil)
|
|
12
12
|
|
13
13
|
Decidim::Organization.find_each do |organization|
|
14
14
|
Decidim::System::CreateDefaultPages.call(organization)
|
15
|
-
Decidim::System::
|
15
|
+
Decidim::System::CreateDefaultHelpPages.call(organization)
|
16
16
|
end
|
17
17
|
end
|
data/decidim-system.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
"homepage_uri" => "https://decidim.org",
|
20
20
|
"source_code_uri" => "https://github.com/decidim/decidim"
|
21
21
|
}
|
22
|
-
s.required_ruby_version = "~> 3.
|
22
|
+
s.required_ruby_version = "~> 3.2.0"
|
23
23
|
|
24
24
|
s.name = "decidim-system"
|
25
25
|
s.summary = "Decidim system administration"
|
@@ -28,6 +28,10 @@ module Decidim
|
|
28
28
|
initializer "decidim_system.webpacker.assets_path" do
|
29
29
|
Decidim.register_assets_path File.expand_path("app/packs", root)
|
30
30
|
end
|
31
|
+
|
32
|
+
initializer "decidim_system.add_cells_view_paths" do
|
33
|
+
Cell::ViewModel.view_paths << File.expand_path("#{Decidim::System::Engine.root}/app/cells")
|
34
|
+
end
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
namespace :decidim_system do
|
4
|
-
desc "
|
4
|
+
desc "Creates a new system admin"
|
5
5
|
task create_admin: :environment do
|
6
6
|
puts "Please, provide the following attributes to create a new system admin#{" (currently there are existing system admins)" if Decidim::System::Admin.exists?}:"
|
7
7
|
email = prompt("email", hidden: false)
|