decidim-system 0.27.9 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/app/commands/decidim/system/create_admin.rb +1 -1
  4. data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
  5. data/app/commands/decidim/system/create_default_pages.rb +23 -4
  6. data/app/commands/decidim/system/populate_help.rb +2 -2
  7. data/app/commands/decidim/system/register_organization.rb +18 -8
  8. data/app/commands/decidim/system/update_admin.rb +1 -1
  9. data/app/commands/decidim/system/update_organization.rb +2 -1
  10. data/app/controllers/decidim/system/application_controller.rb +1 -1
  11. data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
  12. data/app/controllers/decidim/system/organizations_controller.rb +30 -9
  13. data/app/forms/decidim/system/admin_form.rb +1 -1
  14. data/app/forms/decidim/system/update_organization_form.rb +16 -17
  15. data/app/jobs/decidim/system/application_job.rb +1 -1
  16. data/app/mailers/decidim/system/application_mailer.rb +12 -0
  17. data/app/packs/entrypoints/decidim_system.js +5 -3
  18. data/app/packs/stylesheets/decidim/system/application.scss +108 -21
  19. data/app/views/decidim/system/admins/_form.html.erb +1 -7
  20. data/app/views/decidim/system/admins/edit.html.erb +3 -3
  21. data/app/views/decidim/system/admins/index.html.erb +3 -31
  22. data/app/views/decidim/system/admins/new.html.erb +3 -3
  23. data/app/views/decidim/system/dashboard/show.html.erb +13 -3
  24. data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
  25. data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
  26. data/app/views/decidim/system/devise/passwords/edit.html.erb +5 -8
  27. data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
  28. data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
  29. data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
  30. data/app/views/decidim/system/oauth_applications/edit.html.erb +9 -11
  31. data/app/views/decidim/system/oauth_applications/index.html.erb +6 -8
  32. data/app/views/decidim/system/oauth_applications/new.html.erb +9 -11
  33. data/app/views/decidim/system/oauth_applications/show.html.erb +20 -23
  34. data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
  35. data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
  36. data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
  37. data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
  38. data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
  39. data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
  40. data/app/views/decidim/system/organizations/edit.html.erb +29 -26
  41. data/app/views/decidim/system/organizations/index.html.erb +3 -4
  42. data/app/views/decidim/system/organizations/new.html.erb +29 -42
  43. data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
  44. data/app/views/decidim/system/shared/_notices.html.erb +4 -6
  45. data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
  46. data/app/views/layouts/decidim/system/_header.html.erb +2 -2
  47. data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
  48. data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
  49. data/app/views/layouts/decidim/system/application.html.erb +24 -28
  50. data/app/views/layouts/decidim/system/login.html.erb +10 -9
  51. data/config/locales/ar.yml +0 -12
  52. data/config/locales/bg.yml +0 -214
  53. data/config/locales/ca.yml +69 -18
  54. data/config/locales/cs.yml +69 -12
  55. data/config/locales/de.yml +62 -18
  56. data/config/locales/el.yml +8 -11
  57. data/config/locales/en.yml +70 -18
  58. data/config/locales/eo.yml +0 -7
  59. data/config/locales/es-MX.yml +70 -18
  60. data/config/locales/es-PY.yml +70 -18
  61. data/config/locales/es.yml +70 -18
  62. data/config/locales/eu.yml +69 -17
  63. data/config/locales/fa-IR.yml +0 -5
  64. data/config/locales/fi-plain.yml +69 -18
  65. data/config/locales/fi.yml +71 -20
  66. data/config/locales/fr-CA.yml +44 -24
  67. data/config/locales/fr.yml +54 -18
  68. data/config/locales/ga-IE.yml +0 -4
  69. data/config/locales/gl.yml +0 -12
  70. data/config/locales/hu.yml +0 -35
  71. data/config/locales/id-ID.yml +0 -10
  72. data/config/locales/is-IS.yml +0 -10
  73. data/config/locales/it.yml +0 -13
  74. data/config/locales/ja.yml +43 -24
  75. data/config/locales/lb.yml +0 -5
  76. data/config/locales/lt.yml +18 -11
  77. data/config/locales/lv.yml +0 -27
  78. data/config/locales/nl.yml +0 -20
  79. data/config/locales/no.yml +0 -12
  80. data/config/locales/pl.yml +0 -53
  81. data/config/locales/pt-BR.yml +0 -38
  82. data/config/locales/pt.yml +0 -12
  83. data/config/locales/ro-RO.yml +3 -19
  84. data/config/locales/ru.yml +0 -27
  85. data/config/locales/sk.yml +0 -27
  86. data/config/locales/sl.yml +0 -26
  87. data/config/locales/sr-CS.yml +0 -17
  88. data/config/locales/sv.yml +0 -12
  89. data/config/locales/tr-TR.yml +3 -15
  90. data/config/locales/uk.yml +0 -21
  91. data/config/locales/zh-CN.yml +0 -12
  92. data/config/locales/zh-TW.yml +7 -10
  93. data/config/routes.rb +6 -2
  94. data/db/seeds.rb +1 -1
  95. data/lib/decidim/system/engine.rb +2 -25
  96. data/lib/decidim/system/menu.rb +35 -0
  97. data/lib/decidim/system/version.rb +1 -1
  98. data/lib/tasks/decidim_system.rake +1 -1
  99. metadata +22 -28
  100. data/app/packs/entrypoints/decidim_system.scss +0 -1
  101. data/app/packs/images/decidim/system/.keep +0 -0
  102. data/app/packs/src/decidim/system/application.js +0 -41
  103. data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
  104. data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
  105. data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
  106. data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
  107. data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
  108. data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
  109. data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
  110. data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
  111. data/app/views/decidim/system/admins/show.html.erb +0 -9
  112. data/app/views/decidim/system/organizations/show.html.erb +0 -10
  113. data/config/locales/he-IL.yml +0 -1
  114. data/decidim-system.gemspec +0 -35
@@ -38,15 +38,14 @@ ro:
38
38
  confirm_destroy: Sigur dorești să ştergi acest element?
39
39
  destroy: Ștergere
40
40
  edit: Editare
41
- new: Nou
42
41
  save: Salvează
43
42
  title: Acțiuni
44
43
  admins:
45
44
  create:
46
45
  error: A apărut o problemă la crearea unui administrator nou.
47
- success: Administrator creat cu succes
46
+ success: Administratorul a fost creat.
48
47
  destroy:
49
- success: Administrator şters cu succes
48
+ success: Administratorul a fost șters.
50
49
  edit:
51
50
  title: Editare admin
52
51
  update: Actualizare
@@ -55,11 +54,9 @@ ro:
55
54
  new:
56
55
  create: Creează
57
56
  title: Administrator nou
58
- show:
59
- edit: Editare
60
57
  update:
61
58
  error: A apărut o eroare la actualizarea administratorului.
62
- success: Administrator actualizat cu succes
59
+ success: Administratorul a fost actualizat.
63
60
  dashboard:
64
61
  show:
65
62
  current_organizations: Organizații curente
@@ -67,14 +64,6 @@ ro:
67
64
  placeholders:
68
65
  content: Vă rugăm să adăugaţi conţinut semnificativ paginii statice %{page} de pe tabloul de bord al administratorului.
69
66
  title: Titlul implicit pentru %{page}
70
- devise:
71
- passwords:
72
- edit:
73
- change_your_password: Schimbați parola
74
- minimum_characters: "(%{minimum} caractere minim)"
75
- new:
76
- forgot_your_password: Ați uitat parola
77
- send_me_reset_password_instructions: Trimiteți-mi Instrucțiuni de resetare a parolei
78
67
  menu:
79
68
  admins: Administratori
80
69
  dashboard: Panou
@@ -85,7 +74,6 @@ ro:
85
74
  fields:
86
75
  created_at: Creat la
87
76
  email: E-mail
88
- name: Admin
89
77
  validations:
90
78
  email_uniqueness: un alt administrator cu același e-mail există deja
91
79
  oauth_application:
@@ -93,7 +81,6 @@ ro:
93
81
  created_at: Creat la
94
82
  name: Numele aplicației OAuth
95
83
  organization_name: Organizație
96
- name: Aplicație OAuth
97
84
  organization:
98
85
  actions:
99
86
  save_and_invite: Creează grupul de lucru și invită un administrator
@@ -103,7 +90,6 @@ ro:
103
90
  name: Nume
104
91
  omniauth_settings: Setări Omniauth
105
92
  smtp_settings: Setări SMTP
106
- name: Organizație
107
93
  oauth_applications:
108
94
  create:
109
95
  error: A apărut o eroare la crearea acestei aplicații.
@@ -131,7 +117,6 @@ ro:
131
117
  show: Arată setările avansate
132
118
  create:
133
119
  error: A apărut o problemă la crearea unei noi organizații.
134
- success: Organizație creată cu succes.
135
120
  edit:
136
121
  secondary_hosts_hint: Introduceți fiecare dintre ele într-o linie nouă
137
122
  file_upload_settings:
@@ -186,7 +171,6 @@ ro:
186
171
  users_registration_mode:
187
172
  disabled: Accesul se poate face doar cu conturi externe
188
173
  enabled: Permite participanților să se înregistreze și să se autentifice
189
- existing: Nu permiteţi participanţilor să se înregistreze, dar permiteţi participanţilor existenţi să se autentifice
190
174
  shared:
191
175
  notices:
192
176
  no_organization_warning_html: Trebuie să creezi o organizație pentru a începe. Asigură-te că ai citit %{guide} înainte de a continua.
@@ -1,37 +1,16 @@
1
1
  ---
2
2
  ru:
3
- activemodel:
4
- attributes:
5
- oauth_application:
6
- organization_logo: Логотип организации (квадрат)
7
- organization_url: Веб-адрес организации
8
- redirect_uri: URI перенаправления
9
- organization:
10
- address: Имя хоста SMTP
11
- password: Пароль
12
- port: Порт
13
- user_name: Имя пользователя
14
- errors:
15
- models:
16
- oauth_application:
17
- attributes:
18
- redirect_uri:
19
- must_be_ssl: URI перенаправления должен быть SSL URI
20
3
  decidim:
21
4
  system:
22
5
  actions:
23
6
  confirm_destroy: Вы действительно хотите удалить это?
24
7
  destroy: Удалить
25
8
  edit: Редактировать
26
- new: Добавить
27
9
  save: Сохранить
28
10
  title: Действия
29
11
  admins:
30
12
  create:
31
13
  error: При попытке создать нового администратора произошла ошибка.
32
- success: Администратор успешно добавлен
33
- destroy:
34
- success: Администратор успешно удален
35
14
  edit:
36
15
  title: Редактировать администратора
37
16
  update: Обновить
@@ -40,11 +19,8 @@ ru:
40
19
  new:
41
20
  create: Добавить
42
21
  title: Добавить администратора
43
- show:
44
- edit: Редактировать
45
22
  update:
46
23
  error: При попытке обновить этого администратора произошла ошибка.
47
- success: Администратор успешно обновлен
48
24
  default_pages:
49
25
  placeholders:
50
26
  content: Пожалуйста, добавьте осмысленное содержание на статическую страницу %{page} через панель администратора.
@@ -58,7 +34,6 @@ ru:
58
34
  fields:
59
35
  created_at: 'Добавлено:'
60
36
  email: Эл. адрес
61
- name: Администратор
62
37
  validations:
63
38
  email_uniqueness: уже есть другой администратор с тем же эл-адресом
64
39
  organization:
@@ -71,7 +46,6 @@ ru:
71
46
  organizations:
72
47
  create:
73
48
  error: При попытке добавить новую организацию произошла ошибка.
74
- success: Организация успешно добавлена.
75
49
  edit:
76
50
  secondary_hosts_hint: Введите каждый из них в новой строке
77
51
  index:
@@ -84,7 +58,6 @@ ru:
84
58
  users_registration_mode:
85
59
  disabled: Доступ может быть предоставлен только с внешними аккаунтами
86
60
  enabled: Разрешить участникам регистрироваться и входить
87
- existing: Не позволять регистрировать участников, но дать существующим участникам возможность входить
88
61
  shared:
89
62
  notices:
90
63
  no_organization_warning_html: Для начала определите организацию. Обязательно почитайте %{guide}, прежде чем продолжать дальше.
@@ -1,37 +1,16 @@
1
1
  ---
2
2
  sk:
3
- activemodel:
4
- attributes:
5
- oauth_application:
6
- organization_logo: Logo organizácie (štvorec)
7
- organization_url: Odkaz na stránku organizácie
8
- redirect_uri: Presmerovať URI
9
- organization:
10
- address: SMTP hostname
11
- password: Heslo
12
- port: Port
13
- user_name: Používateľské meno
14
- errors:
15
- models:
16
- oauth_application:
17
- attributes:
18
- redirect_uri:
19
- must_be_ssl: Presmerovacie URI musí byť SSL URI
20
3
  decidim:
21
4
  system:
22
5
  actions:
23
6
  confirm_destroy: Naozaj chcete odstrániť?
24
7
  destroy: Odstrániť
25
8
  edit: Upraviť
26
- new: Nový
27
9
  save: Uložit
28
10
  title: Akcie
29
11
  admins:
30
12
  create:
31
13
  error: Pri tvorbe nového správcu nastala chyba.
32
- success: Správca úspešne vytvorený
33
- destroy:
34
- success: Správca úspešne vymazaný
35
14
  edit:
36
15
  title: Upraviť správcu
37
16
  update: Aktualizovať
@@ -40,11 +19,8 @@ sk:
40
19
  new:
41
20
  create: Vytvoriť
42
21
  title: Nový správca
43
- show:
44
- edit: Upraviť
45
22
  update:
46
23
  error: Pri aktualizácii správcu nastala chyba.
47
- success: Správca úspešne aktualizovaný
48
24
  default_pages:
49
25
  placeholders:
50
26
  content: Prosíme pridajte zmysluplný obsah na statickú stránku %{page} na paneli správcu.
@@ -58,7 +34,6 @@ sk:
58
34
  fields:
59
35
  created_at: Vytvorené
60
36
  email: E-mail
61
- name: Admin
62
37
  validations:
63
38
  email_uniqueness: správca s touto e-mailovou adresou už existuje
64
39
  organization:
@@ -72,7 +47,6 @@ sk:
72
47
  organizations:
73
48
  create:
74
49
  error: Pri vytváraní novej organizácie došlo k chybe.
75
- success: Organizácia úspešne vytvorená.
76
50
  edit:
77
51
  secondary_hosts_hint: Zadajte každý host na nový riadok
78
52
  index:
@@ -103,7 +77,6 @@ sk:
103
77
  users_registration_mode:
104
78
  disabled: Môžete pristupovať iba pomocou externého účtu
105
79
  enabled: Umožniť účastníkom registráciu a prihlásenie sa
106
- existing: Neumožniť účastníkom registráciu, ale umožniť prihlásenie sa existujúcim účastníkom
107
80
  shared:
108
81
  notices:
109
82
  no_organization_warning_html: Musíte vytvoriť organizáciu, aby ste mohli začať. Prečítajte si %{guide}, než začnete.
@@ -1,37 +1,16 @@
1
1
  ---
2
2
  sl:
3
- activemodel:
4
- attributes:
5
- oauth_application:
6
- organization_logo: Logo organizacije (kvadratni)
7
- organization_url: Domača stran organizacije
8
- redirect_uri: Preusmeritev URI
9
- organization:
10
- address: SMTP Gostitelj
11
- password: Geslo
12
- port: Vrata
13
- user_name: Uporabniško ime
14
- errors:
15
- models:
16
- oauth_application:
17
- attributes:
18
- redirect_uri:
19
- must_be_ssl: URL preusmeritev mora bit SSL
20
3
  decidim:
21
4
  system:
22
5
  actions:
23
6
  confirm_destroy: Ali ste prepričani, da želite izbrisati to?
24
7
  destroy: Izbriši
25
8
  edit: Uredi
26
- new: Nov
27
9
  save: Shrani
28
10
  title: Dejanja
29
11
  admins:
30
12
  create:
31
13
  error: Pojavila se je težava pri kreiranju skrbnika.
32
- success: Skrbnik uspešno kreiran
33
- destroy:
34
- success: Skrbnik uspešno izbrisan
35
14
  edit:
36
15
  title: Uredi skrbnika
37
16
  update: Posodobi
@@ -40,11 +19,8 @@ sl:
40
19
  new:
41
20
  create: Ustvari
42
21
  title: Nov skrbnik
43
- show:
44
- edit: Uredi
45
22
  update:
46
23
  error: Pojavila se je težava pri urejanju skrbnika.
47
- success: Skrbnik uspešno posodobljen
48
24
  menu:
49
25
  admins: Skrbniki
50
26
  dashboard: Nadzorna plošča
@@ -54,7 +30,6 @@ sl:
54
30
  fields:
55
31
  created_at: Ustvarjen ob
56
32
  email: Email
57
- name: Skrbnik
58
33
  organization:
59
34
  actions:
60
35
  save_and_invite: Ustvari organizacijo in povabi skrbnika
@@ -65,6 +40,5 @@ sl:
65
40
  organizations:
66
41
  create:
67
42
  error: Pojavila se je težava pri kreiranju organizacije.
68
- success: Organizacija uspešno kreirana.
69
43
  index:
70
44
  title: Organizacije
@@ -1,22 +1,5 @@
1
1
  ---
2
2
  sr:
3
- activemodel:
4
- attributes:
5
- oauth_application:
6
- organization_logo: Logo organizacije (kvadrat)
7
- organization_url: Link organizacije
8
- redirect_uri: Preusmeren URL
9
- organization:
10
- address: SMTP domaćin
11
- password: Šifra
12
- port: Port
13
- user_name: Korisničko ime
14
- errors:
15
- models:
16
- oauth_application:
17
- attributes:
18
- redirect_uri:
19
- must_be_ssl: URI za preusmeravanje mora biti SSL URI
20
3
  decidim:
21
4
  system:
22
5
  models:
@@ -38,15 +38,11 @@ sv:
38
38
  confirm_destroy: Vill du radera detta?
39
39
  destroy: Radera
40
40
  edit: Redigera
41
- new: Ny
42
41
  save: Spara
43
42
  title: Åtgärder
44
43
  admins:
45
44
  create:
46
45
  error: Det gick inte att skapa en ny administratör.
47
- success: Administratören har skapats
48
- destroy:
49
- success: Administratören har raderats
50
46
  edit:
51
47
  title: Redigera administratören
52
48
  update: Uppdatera
@@ -55,11 +51,8 @@ sv:
55
51
  new:
56
52
  create: Skapa
57
53
  title: Ny administratör
58
- show:
59
- edit: Redigera
60
54
  update:
61
55
  error: Det gick inte att uppdatera administratören.
62
- success: Administratören har uppdaterats
63
56
  dashboard:
64
57
  show:
65
58
  current_organizations: Nuvarande organisationer
@@ -77,7 +70,6 @@ sv:
77
70
  fields:
78
71
  created_at: Skapad
79
72
  email: E-post
80
- name: Administratör
81
73
  validations:
82
74
  email_uniqueness: det finns redan en administratör med samma e-postadress
83
75
  oauth_application:
@@ -85,7 +77,6 @@ sv:
85
77
  created_at: Skapad den
86
78
  name: OAuth app namn
87
79
  organization_name: Organisation
88
- name: OAuth app
89
80
  organization:
90
81
  actions:
91
82
  save_and_invite: Skapa organisation och bjud in administratör
@@ -95,7 +86,6 @@ sv:
95
86
  name: Namn
96
87
  omniauth_settings: Omniauth-inställningar
97
88
  smtp_settings: SMTP-inställningar
98
- name: Organisation
99
89
  oauth_applications:
100
90
  create:
101
91
  error: Det gick inte att skapa appen.
@@ -123,7 +113,6 @@ sv:
123
113
  show: Visa avancerade inställningar
124
114
  create:
125
115
  error: Det gick inte att skapa en ny organisation.
126
- success: Organisationen har skapats.
127
116
  edit:
128
117
  secondary_hosts_hint: Ange var och en av dem på en ny rad
129
118
  file_upload_settings:
@@ -167,7 +156,6 @@ sv:
167
156
  users_registration_mode:
168
157
  disabled: Åtkomst kan endast göras med externa konton
169
158
  enabled: Tillåt deltagare att registrera och logga in
170
- existing: Tillåt inte deltagare att registrera sig, men tillåt inloggning från befintliga användare
171
159
  shared:
172
160
  notices:
173
161
  no_organization_warning_html: Kom igång genom att skapa en organisation. Läs %{guide} innan du fortsätter.
@@ -38,15 +38,14 @@ tr:
38
38
  confirm_destroy: Bunu silmek istediğinizden emin misiniz?
39
39
  destroy: Sil
40
40
  edit: Düzenle
41
- new: Yeni
41
+ new_admin: Yeni Yönetici
42
+ new_oauth_application: Yetkilendirilmiş Uygulama
43
+ new_organization: Yeni organizasyon
42
44
  save: Kaydet
43
45
  title: Eylemler
44
46
  admins:
45
47
  create:
46
48
  error: Yeni bir yönetici oluşturulurken bir sorun oluştu.
47
- success: Yönetici başarıyla oluşturuldu
48
- destroy:
49
- success: Yönetici başarıyla silindi
50
49
  edit:
51
50
  title: Yönetici düzenle
52
51
  update: Güncelle
@@ -55,11 +54,8 @@ tr:
55
54
  new:
56
55
  create: Oluştur
57
56
  title: Yeni yönetici
58
- show:
59
- edit: Düzenle
60
57
  update:
61
58
  error: Bu yönetici güncellenirken bir sorun oluştu.
62
- success: Yönetici başarıyla güncellendi
63
59
  default_pages:
64
60
  placeholders:
65
61
  content: Lütfen yönetici panosundaki %{page} statik sayfasına anlamlı içerik ekleyin.
@@ -74,7 +70,6 @@ tr:
74
70
  fields:
75
71
  created_at: Adresinde düzenlendi
76
72
  email: E-posta
77
- name: yönetim
78
73
  validations:
79
74
  email_uniqueness: aynı e-postaya sahip başka bir yönetici zaten var
80
75
  oauth_application:
@@ -82,7 +77,6 @@ tr:
82
77
  created_at: Oluşturuldu
83
78
  name: OAuth Uygulama Adı
84
79
  organization_name: Kuruluş
85
- name: OAuth uygulaması
86
80
  organization:
87
81
  actions:
88
82
  save_and_invite: Kuruluş oluşturun ve yöneticiyi davet edin
@@ -92,7 +86,6 @@ tr:
92
86
  name: Adı
93
87
  omniauth_settings: Omniauth ayarları
94
88
  smtp_settings: SMTP ayarları
95
- name: Kuruluş
96
89
  oauth_applications:
97
90
  create:
98
91
  error: Bu uygulama oluşturulurken bir hata oluştu.
@@ -117,8 +110,6 @@ tr:
117
110
  organizations:
118
111
  create:
119
112
  error: Yeni bir organizasyon oluştururken bir sorun oluştu.
120
- error_invitation: Yeni bir kuruluş oluşturulurken bir sorun oluştu. Kuruluşunuzun yönetici adını gözden geçirin.
121
- success: Kuruluş başarıyla oluşturuldu.
122
113
  edit:
123
114
  secondary_hosts_hint: Her birini yeni bir satıra girin
124
115
  file_upload_settings:
@@ -164,8 +155,6 @@ tr:
164
155
  smtp_settings:
165
156
  fieldsets:
166
157
  sender: Gönderen
167
- instructions:
168
- from_label: 'E-posta göndereni "kuruluşunuzun-adı <kuruluşunuz@example.org>". Kuruluş için tanımlananla aynı adı kullanmak için boş bırakın.'
169
158
  placeholder:
170
159
  from_email: your-organization@example.org
171
160
  from_label: your-organization-name
@@ -175,7 +164,6 @@ tr:
175
164
  users_registration_mode:
176
165
  disabled: Erişim yalnızca harici hesaplarla yapılabilir
177
166
  enabled: Katılımcıların kaydolmasına ve giriş yapmasına izin ver
178
- existing: Katılımcıların kaydolmasına izin verme, ancak mevcut katılımcıların giriş yapmasına izin ver
179
167
  shared:
180
168
  notices:
181
169
  no_organization_warning_html: Başlamak için bir organizasyon oluşturmanız gerekir. Devam etmeden önce %{guide} okuduğunuzdan emin olun.
@@ -1,32 +1,16 @@
1
1
  ---
2
2
  uk:
3
- activemodel:
4
- attributes:
5
- oauth_application:
6
- organization_logo: Логотип організації (квадрат)
7
- organization_url: Адреса сайту організації
8
- redirect_uri: URI перенаправлення
9
- errors:
10
- models:
11
- oauth_application:
12
- attributes:
13
- redirect_uri:
14
- must_be_ssl: URI перенаправлення має бути SSL URI
15
3
  decidim:
16
4
  system:
17
5
  actions:
18
6
  confirm_destroy: Ви впевнені, що хочете видалити це?
19
7
  destroy: Видалити
20
8
  edit: Редагувати
21
- new: Додати
22
9
  save: Зберегти
23
10
  title: Дії
24
11
  admins:
25
12
  create:
26
13
  error: При спробі додати нового адміністратора сталася помилка.
27
- success: Адміністратора успішно додано
28
- destroy:
29
- success: Адміністратора успішно видалено
30
14
  edit:
31
15
  title: Редагувати адміністратора
32
16
  update: Оновити
@@ -35,11 +19,8 @@ uk:
35
19
  new:
36
20
  create: Додати
37
21
  title: Додати адміністратора
38
- show:
39
- edit: Редагувати
40
22
  update:
41
23
  error: При спробі оновити цього адміністратора сталася помилка.
42
- success: Адміністратора успішно оновлено
43
24
  default_pages:
44
25
  placeholders:
45
26
  content: Будь ласка, додайте змістовний вміст на статичну сторінку %{page} на приладній дошці адміністратора.
@@ -53,7 +34,6 @@ uk:
53
34
  fields:
54
35
  created_at: 'Додано:'
55
36
  email: Адреса електронної пошти
56
- name: Адміністратор
57
37
  validations:
58
38
  email_uniqueness: вже є інший адміністратор з такою ж адресою електронної пошти
59
39
  organization:
@@ -65,7 +45,6 @@ uk:
65
45
  organizations:
66
46
  create:
67
47
  error: При спробі додати нову організацію сталася помилка.
68
- success: Організацію успішно додано.
69
48
  edit:
70
49
  secondary_hosts_hint: Введіть кожен з них в новому рядку
71
50
  index:
@@ -31,15 +31,11 @@ zh-CN:
31
31
  confirm_destroy: 您确定要删除这个吗?
32
32
  destroy: 删除
33
33
  edit: 编辑
34
- new: 新的
35
34
  save: 保存
36
35
  title: 行动
37
36
  admins:
38
37
  create:
39
38
  error: 创建新管理员时出错。
40
- success: 管理员创建成功
41
- destroy:
42
- success: 管理员删除成功
43
39
  edit:
44
40
  title: 编辑管理员
45
41
  update: 更新
@@ -48,11 +44,8 @@ zh-CN:
48
44
  new:
49
45
  create: 创建
50
46
  title: 新管理员
51
- show:
52
- edit: 编辑
53
47
  update:
54
48
  error: 更新此管理员时出错。
55
- success: 管理员更新成功
56
49
  default_pages:
57
50
  placeholders:
58
51
  content: 请添加有意义的内容到管理仪表盘上的 %{page} 静态页面。
@@ -67,7 +60,6 @@ zh-CN:
67
60
  fields:
68
61
  created_at: 创建于
69
62
  email: 电子邮件地址
70
- name: 管理员
71
63
  validations:
72
64
  email_uniqueness: 已存在具有相同电子邮件的其他管理员
73
65
  oauth_application:
@@ -75,7 +67,6 @@ zh-CN:
75
67
  created_at: 创建于
76
68
  name: OAuth 应用程序名称
77
69
  organization_name: 组织
78
- name: OAuth 应用程序
79
70
  organization:
80
71
  actions:
81
72
  save_and_invite: 创建机构并邀请管理员
@@ -85,7 +76,6 @@ zh-CN:
85
76
  name: 名称
86
77
  omniauth_settings: Omniauth 设置
87
78
  smtp_settings: SMTP 设置
88
- name: 组织
89
79
  oauth_applications:
90
80
  create:
91
81
  error: 创建此应用程序时出现问题。
@@ -110,7 +100,6 @@ zh-CN:
110
100
  organizations:
111
101
  create:
112
102
  error: 创建一个新组织时出现问题。
113
- success: 组织成功创建。
114
103
  edit:
115
104
  secondary_hosts_hint: 在新行中输入其中每一个
116
105
  file_upload_settings:
@@ -163,7 +152,6 @@ zh-CN:
163
152
  users_registration_mode:
164
153
  disabled: 只能通过外部帐户访问
165
154
  enabled: 允许参与者注册并登录
166
- existing: 不允许参与者注册,但允许现有参与者登录
167
155
  shared:
168
156
  notices:
169
157
  no_organization_warning_html: 您必须创建一个组织才能启动。请确保您在继续之前阅读 %{guide}。
@@ -38,15 +38,14 @@ zh-TW:
38
38
  confirm_destroy: 是否確定要刪除這個?
39
39
  destroy: 刪除
40
40
  edit: 編輯
41
- new: 新的
42
41
  save: 儲存
43
42
  title: 操作
44
43
  admins:
45
44
  create:
46
45
  error: 新增管理員時發生問題
47
- success: 管理員創建成功
46
+ success: 管理員創建成功.
48
47
  destroy:
49
- success: 管理員成功刪除
48
+ success: 管理員成功刪除.
50
49
  edit:
51
50
  title: 編輯管理貝
52
51
  update: 更新
@@ -55,18 +54,18 @@ zh-TW:
55
54
  new:
56
55
  create: 建立
57
56
  title: 新增管理員
58
- show:
59
- edit: 編輯
60
57
  update:
61
58
  error: 更新此管理員時發生問題。
62
- success: 管理員已成功更新
59
+ success: 管理員已成功更新.
63
60
  dashboard:
64
61
  show:
65
62
  current_organizations: 目前組織
66
63
  default_pages:
67
64
  placeholders:
68
65
  content: 請在管理員儀表板的 %{page} 靜態頁面上新增有意義的內容。
66
+ summary: 請在管理員儀表板的 %{page} 靜態頁面上新增有意義的摘要
69
67
  title: 預設的 %{page} 標題
68
+ terms-of-service: 服務條款
70
69
  menu:
71
70
  admins: 管理員
72
71
  dashboard: 儀表板
@@ -77,7 +76,6 @@ zh-TW:
77
76
  fields:
78
77
  created_at: 建立於
79
78
  email: 電子郵件
80
- name: 管理員
81
79
  validations:
82
80
  email_uniqueness: 已有相同電子郵件的其他管理員存在
83
81
  oauth_application:
@@ -85,7 +83,6 @@ zh-TW:
85
83
  created_at: 建立於
86
84
  name: OAuth 應用程式名稱
87
85
  organization_name: 組織
88
- name: Oauth 應用程式
89
86
  organization:
90
87
  actions:
91
88
  save_and_invite: 建立組織並邀請管理員
@@ -95,7 +92,6 @@ zh-TW:
95
92
  name: 姓名
96
93
  omniauth_settings: Omniauth 設置
97
94
  smtp_settings: SMTP設定
98
- name: 組織
99
95
  oauth_applications:
100
96
  create:
101
97
  error: 創建應用程序時出現問題。
@@ -123,7 +119,6 @@ zh-TW:
123
119
  show: 顯示進階設定
124
120
  create:
125
121
  error: 創建新組織時發生問題。
126
- success: 組織創建成功。
127
122
  edit:
128
123
  secondary_hosts_hint: 請在新的一行輸入每一個
129
124
  file_upload_settings:
@@ -171,6 +166,8 @@ zh-TW:
171
166
  smtp_settings:
172
167
  fieldsets:
173
168
  sender: 寄件者
169
+ instructions:
170
+ from_label: '郵件發送者將會是:"您的組織名稱 <your-organization@example.org>"。若要使用「電子郵件地址」作為標籤,請留空.'
174
171
  placeholder:
175
172
  from_email: your-organization@example.org
176
173
  from_label: 你的組織名稱
data/config/routes.rb CHANGED
@@ -11,8 +11,12 @@ Decidim::System::Engine.routes.draw do
11
11
  }
12
12
 
13
13
  authenticate(:admin) do
14
- resources :organizations, except: [:destroy]
15
- resources :admins
14
+ resources :organizations, except: [:show, :destroy] do
15
+ member do
16
+ post :resend_invitation
17
+ end
18
+ end
19
+ resources :admins, except: [:show]
16
20
  resources :oauth_applications
17
21
 
18
22
  root to: "dashboard#show"
data/db/seeds.rb CHANGED
@@ -6,7 +6,7 @@ if !Rails.env.production? || ENV.fetch("SEED", nil)
6
6
  password = ENV.fetch("DECIDIM_SYSTEM_USER_PASSWORD", "decidim123456789")
7
7
 
8
8
  Decidim::System::Admin.find_or_initialize_by(email: "system@example.org").update!(
9
- password: password,
9
+ password:,
10
10
  password_confirmation: password
11
11
  )
12
12