decidim-decidim_awesome 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +54 -2
  4. data/app/cells/concerns/decidim/decidim_awesome/proposal_l_cell_override.rb +5 -3
  5. data/app/cells/decidim/decidim_awesome/content_blocks/map_cell.rb +0 -4
  6. data/app/cells/decidim/decidim_awesome/voting/proposal_metadata_cell.rb +18 -3
  7. data/app/commands/concerns/decidim/decidim_awesome/proposals/create_proposal_override.rb +2 -2
  8. data/app/commands/concerns/decidim/decidim_awesome/system/register_organization_override.rb +29 -0
  9. data/app/commands/concerns/decidim/decidim_awesome/system/update_organization_override.rb +35 -0
  10. data/app/commands/concerns/decidim/decidim_awesome/update_account_override.rb +30 -0
  11. data/app/commands/decidim/decidim_awesome/admin/create_scoped_style.rb +3 -2
  12. data/app/commands/decidim/decidim_awesome/admin/destroy_scoped_style.rb +6 -4
  13. data/app/controllers/concerns/decidim/decidim_awesome/check_login_authorizations.rb +60 -0
  14. data/app/controllers/concerns/decidim/decidim_awesome/needs_awesome_config.rb +0 -2
  15. data/app/controllers/concerns/decidim/decidim_awesome/proposals/memoize_extra_fields.rb +23 -0
  16. data/app/controllers/concerns/decidim/decidim_awesome/use_user_time_zone.rb +32 -0
  17. data/app/controllers/decidim/decidim_awesome/admin/admin_authorizations_controller.rb +122 -0
  18. data/app/controllers/decidim/decidim_awesome/admin/checks_controller.rb +1 -1
  19. data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +7 -1
  20. data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +5 -1
  21. data/app/controllers/decidim/decidim_awesome/admin/scoped_styles_controller.rb +12 -4
  22. data/app/controllers/decidim/decidim_awesome/required_authorizations_controller.rb +58 -0
  23. data/app/forms/concerns/decidim/decidim_awesome/account_form_override.rb +25 -0
  24. data/app/forms/concerns/decidim/decidim_awesome/system/organization_form_override.rb +34 -0
  25. data/app/forms/decidim/decidim_awesome/admin/config_form.rb +41 -8
  26. data/app/helpers/decidim/decidim_awesome/map_helper.rb +28 -26
  27. data/app/overrides/decidim/account/show/add_timezone_select.html.erb.deface +3 -0
  28. data/app/overrides/decidim/admin/officializations/index/add_modal.html.erb.deface +3 -0
  29. data/app/overrides/decidim/admin/officializations/index/add_td.html.erb.deface +5 -0
  30. data/app/overrides/decidim/admin/officializations/index/add_th.html.erb.deface +5 -0
  31. data/app/overrides/decidim/system/organizations/_advanced_settings/add_awesome_config.html.erb.deface +9 -0
  32. data/app/overrides/layouts/decidim/_head/add_awesome_tags.html.erb.deface +1 -1
  33. data/app/overrides/layouts/decidim/admin/_header/add_awesome_custom_styles.html.erb.deface +3 -0
  34. data/app/overrides/layouts/decidim/admin/_header/add_awesome_tags.html.erb.deface +1 -0
  35. data/app/packs/src/decidim/decidim_awesome/admin/proposal_sortings.js +0 -5
  36. data/app/packs/src/decidim/decidim_awesome/admin/verification_selects.js +21 -0
  37. data/app/packs/src/decidim/decidim_awesome/admin/verifications.js +43 -0
  38. data/app/packs/src/decidim/decidim_awesome/awesome_admin.js +1 -0
  39. data/app/packs/src/decidim/decidim_awesome/awesome_admin_global.js +1 -0
  40. data/app/packs/stylesheets/decidim/decidim_awesome/admin/verifications.scss +99 -0
  41. data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin_global.scss +1 -0
  42. data/app/permissions/decidim/decidim_awesome/admin/permissions.rb +42 -11
  43. data/app/permissions/decidim/decidim_awesome/permissions.rb +7 -0
  44. data/app/presenters/decidim/decidim_awesome/admin_log/component_presenter_override.rb +3 -5
  45. data/app/presenters/decidim/decidim_awesome/admin_log/user_presenter_override.rb +46 -0
  46. data/app/views/decidim/decidim_awesome/account/_timezone_select.html.erb +3 -0
  47. data/app/views/decidim/decidim_awesome/admin/admin_authorizations/authorization.html.erb +20 -0
  48. data/app/views/decidim/decidim_awesome/admin/admin_authorizations/callout.html.erb +3 -0
  49. data/app/views/decidim/decidim_awesome/admin/admin_authorizations/conflict.html.erb +5 -0
  50. data/app/views/decidim/decidim_awesome/admin/admin_authorizations/edit.html.erb +41 -0
  51. data/app/views/decidim/decidim_awesome/admin/config/_form_scoped_admin_styles.html.erb +1 -0
  52. data/app/views/decidim/decidim_awesome/admin/config/_form_scoped_styles.html.erb +48 -0
  53. data/app/views/decidim/decidim_awesome/admin/config/_form_surveys.html.erb +8 -0
  54. data/app/views/decidim/decidim_awesome/admin/config/_form_verifications.html.erb +15 -0
  55. data/app/views/decidim/decidim_awesome/admin/constraints/no_permissions.html.erb +6 -0
  56. data/app/views/decidim/decidim_awesome/admin/officializations/_participants_td.html.erb +25 -0
  57. data/app/views/decidim/decidim_awesome/admin/officializations/_participants_th.html.erb +1 -0
  58. data/app/views/decidim/decidim_awesome/admin/officializations/_verification_modal.html.erb +9 -0
  59. data/app/views/decidim/decidim_awesome/required_authorizations/index.html.erb +66 -0
  60. data/app/views/decidim/decidim_awesome/system/organizations/_admin_allowed_authorizations.html.erb +5 -0
  61. data/app/views/layouts/decidim/decidim_awesome/_custom_styles.html.erb +1 -1
  62. data/app/views/layouts/decidim/decidim_awesome/admin/_custom_styles.html.erb +3 -0
  63. data/app/views/layouts/decidim/decidim_awesome/admin/admin_authorizations.html.erb +7 -0
  64. data/config/i18n-tasks.yml +6 -0
  65. data/config/locales/ca.yml +91 -5
  66. data/config/locales/cs.yml +86 -0
  67. data/config/locales/de.yml +52 -0
  68. data/config/locales/en.yml +115 -1
  69. data/config/locales/es.yml +89 -3
  70. data/config/locales/eu.yml +607 -26
  71. data/config/locales/fr.yml +37 -1
  72. data/config/locales/it.yml +0 -1
  73. data/config/locales/ja.yml +86 -0
  74. data/config/locales/nl.yml +0 -1
  75. data/config/locales/pt-BR.yml +0 -1
  76. data/lib/decidim/decidim_awesome/admin_engine.rb +2 -0
  77. data/lib/decidim/decidim_awesome/authorizator.rb +34 -0
  78. data/lib/decidim/decidim_awesome/awesome.rb +54 -1
  79. data/lib/decidim/decidim_awesome/awesome_helpers.rb +48 -19
  80. data/lib/decidim/decidim_awesome/checksums.yml +9 -0
  81. data/lib/decidim/decidim_awesome/engine.rb +20 -4
  82. data/lib/decidim/decidim_awesome/menu.rb +45 -9
  83. data/lib/decidim/decidim_awesome/request_memoizer.rb +16 -0
  84. data/lib/decidim/decidim_awesome/test/factories.rb +0 -4
  85. data/lib/decidim/decidim_awesome/test/initializer.rb +4 -0
  86. data/lib/decidim/decidim_awesome/test/shared_examples/config_examples.rb +1 -1
  87. data/lib/decidim/decidim_awesome/test/shared_examples/custom_styles_examples.rb +156 -0
  88. data/lib/decidim/decidim_awesome/test/shared_examples/summary_examples.rb +26 -10
  89. data/lib/decidim/decidim_awesome/version.rb +1 -1
  90. data/package.json +6 -5
  91. metadata +42 -7
  92. data/app/views/decidim/decidim_awesome/admin/config/_form_styles.html.erb +0 -30
@@ -7,6 +7,9 @@ cs:
7
7
  allow_images_in_proposals: Povolit obrázky v editoru návrhů
8
8
  allow_videos_in_editors: Povolit videa v HTML editoru
9
9
  auto_save_forms: Automaticky ukládat formuláře v místním úložišti
10
+ force_authorization_after_login: Vynutit autorizaci po přihlášení/registraci
11
+ force_authorization_help_text: Text nápovědy pro autorizační stránku
12
+ force_authorization_with_any_method: Povolit přístup, pokud je udělen některou z autorizací (ve výchozím nastavení jsou vyžadovány vše)
10
13
  intergram_auto_no_response: Zpráva, která je odeslána jednu minutu poté, co uživatel odešle svou první zprávu a nebyla obdržena odpověď
11
14
  intergram_auto_response: Zpráva, která je odeslána okamžitě poté, co uživatel odešle svou první zprávu
12
15
  intergram_chat_id: ID Chatu
@@ -19,8 +22,10 @@ cs:
19
22
  intergram_use_floating_button: Je-li zaškrtnuto, uzavřený chat je vždy tlačítko místo textu
20
23
  proposal_custom_fields: 'Uživatelská pole #%{id}'
21
24
  proposal_private_custom_fields: Soukromá vlastní pole %{id}
25
+ scoped_admin_styles: Vlastní styly číslo %{id}
22
26
  scoped_admins: 'Skupina Škálovaní administrátoři #%{id}'
23
27
  scoped_styles: Vlastní styly číslo %{id}
28
+ user_timezone: Umožnit uživatelům nastavit časové pásmo v profilu
24
29
  validate_body_max_caps_percent: Maximální povolený procentní podíl velkých písmen pro tělo zprávy
25
30
  validate_body_max_marks_together: Maximální počet po sobě jdoucích značek povolených v těle zprávy
26
31
  validate_body_min_length: Minimální požadované znaky pro tělo zprávy
@@ -46,6 +51,10 @@ cs:
46
51
  target: Otevře se v
47
52
  url: URL
48
53
  visibility: Viditelnost
54
+ organization:
55
+ awesome_admins_available_authorizations: Povolit správcům ručně ověřit uživatele s těmito autorizacemi
56
+ user:
57
+ user_time_zone: Osobní časové pásmo
49
58
  decidim:
50
59
  admin:
51
60
  actions:
@@ -132,6 +141,9 @@ cs:
132
141
  supported_last: Naposledy podporováno
133
142
  za: Z-A (obrácená abeceda)
134
143
  decidim_awesome:
144
+ account:
145
+ timezone_select:
146
+ time_zone_helper: Použijte vaše osobní časové pásmo pro zobrazení dat v místním čase, když jste přihlášeni.
135
147
  admin:
136
148
  actions: Akce
137
149
  admin_accountability:
@@ -170,6 +182,26 @@ cs:
170
182
  collaborator: Spolupracovník
171
183
  moderator: Moderátor
172
184
  valuator: Hodnotitel
185
+ admin_authorizations:
186
+ authorization:
187
+ confirm_destroy: Opravdu chcete zničit tuto autorizaci? To může ovlivnit přístup uživatele k platformě.
188
+ destroy: Zničit
189
+ granted_at: Uděleno v %{date}
190
+ metadata: Obsahuje metadata? %{metadata}
191
+ authorization_destroyed: Autorizace byla úspěšně zničena.
192
+ authorization_not_destroyed: Autorizaci nelze zničit!
193
+ authorization_transferred: 'Varování: Došlo k ověřovacímu konfliktu a ověření bylo převedeno na %{user}'
194
+ conflict: Existuje konflikt s existující autorizací
195
+ conflict_help_html: "Musíte vyřešit konflikt s uživatelem %{user} předtím, než budete moci autorizovat uživatele s touto autorizací.\n<br><br>\nKonflikt ověření se stane, když jiný uživatel má stejná data jako uživatel, který se pokoušíte autorizovat \nTento konflikt můžete vyřešit odstraněním konfliktní autorizace od jiného uživatele nebo použitím jiných dat tohoto uživatele.\n"
196
+ edit:
197
+ authorize: Autorizovat %{user} s %{name}
198
+ do_it_if_sure: Udělejte to pouze v případě, že jste si jisti, že uživatel má tuto autorizaci.
199
+ force_verification: Vynutit ověření s aktuálními údaji
200
+ force_verification_help: Ověření se nezdařilo, ale pokud jste si jisti, že uživatel má tuto autorizaci, můžete ho vynutit.
201
+ force_verification_reason: 'Uveďte důvod pro vynucení ověření:'
202
+ warning: 'Upozornění: Vynucením této autorizace přepíšete aktuální stav autorizace uživatele.'
203
+ user_authorized: "%{user} úspěšně autorizován s %{name}"
204
+ user_not_authorized: "%{user} nemohl být autorizován s %{name}"
173
205
  checks:
174
206
  index:
175
207
  admin_head_tags: Úžasné tagy zahrnuté v hlavičce administrace aplikace
@@ -230,6 +262,8 @@ cs:
230
262
  allow_videos_in_editors: Toto přidá ikonu video odkazu ve všech WYSIWYG editorech
231
263
  auto_save_forms: Toto bude používat místní úložiště pro automatické ukládání dat zavedených uživateli do průzkumů a jiných formulářů během vyplňování. Data budou obnovena v budoucí návštěvě stejného prohlížeče v případě, že formulář nebude odeslán. Pokud je formulář odeslán, data budou odstraněna. Pokud uživatelé odstraní svá data z místního úložiště, data nebudou obnovena.
232
264
  drag_and_drop_supported: Při nahrávání obrázků je podporováno vložení přetažením. Obrázky budou nahrány na server a vloženy jako externí zdroje (nepoužívá base64 inline kódování).
265
+ force_authorization_after_login: 'Pokud je povoleno, uživatelé budou po přihlášení nebo registraci přesměrováni na autorizační stránku, pokud nejsou uděleny některé z zadaných autorizací. To je užitečné, pokud chcete donutit uživatele k ověření pomocí specifické autorizace, než se budou moci vůbec přihlásit (např.: zabránit spamu).'
266
+ force_authorization_help_text: Přidejte vlastní text, který vysvětlí proč je potřeba autorizace. Také se ujistěte, že přidáte kontaktní metodu pro případ, že uživatelé potřebují pomoc.
233
267
  intergram_about: Intergram používá Telegram messenger pro zpracování widgetu live podpory v dolní části stránky.
234
268
  intergram_config: 'Pozvěte <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram bota</a> do vaší skupiny nebo začněte chatovat přímo. <a href="https://github.com/idoco/intergram#embed-intergram-in-your-website-with-these-2-simple-steps">+ info</a>'
235
269
  original_editor_override: Od verze 0.26 je možné nahrávat obrázky do editorů (pouze pro administrátory). Proto zde nastavení obrázků ovlivňuje pouze veřejné editory (správce je bude mít vždy k dispozici).
@@ -242,15 +276,23 @@ cs:
242
276
  %{warning}
243
277
  Tento text lze přizpůsobit vlastním překladem pomocí klíče:
244
278
  %{key}
279
+ scoped_admin_styles: Uvědomte si, že skrývání věcí zde může zanechat administrátorské prostředí nepoužitelné. Postupujte prosím opatrně.
280
+ scoped_admin_styles_variables: 'Můžete použít následující CSS proměnné pro nastavené barvy organizace:'
281
+ scoped_admin_styles_warning: "<strong>Varování</strong>: Zde přidejte vlastní CSS které platí pouze v tomto administrátoru."
245
282
  scoped_admins: Povýšení běžného uživatele na administrátora, který může spravovat pouze určité části veřejného webu (k tomu použijte editor omezení). Všimněte si, že uživatelé, kteří již mají oprávnění běžného správce, budou ignorováni.
246
283
  scoped_styles: Vytvořte vlastní CSS aplikovaný pouze na určitých částech veřejného webu (použijte pro to editor omezení)
247
284
  scoped_styles_variables: 'Můžete použít následující CSS proměnné pro nastavené barvy organizace:'
285
+ user_timezone: Toto přidá vybrané pole do uživatelského profilu pro nastavení časového pásma. Toto bude použito k zobrazení dat a časů v místním čase uživatele.
248
286
  validate_body_max_caps_percent: Nula nedovolí žádné velké písmeno, 100 bude nutit psát vše velkými písmeny
249
287
  validate_body_max_marks_together: 'Omezit počet otazníků a vykřičníků, které lze psát dohromada. Např: Pokud je 2, pak ''!!!'' nebude v textu povoleno'
250
288
  validate_body_min_length: Toto číslo může být nulové, toto pole bude ve skutečnosti nepovinné
251
289
  validate_title_max_caps_percent: Nula nedovolí žádné velké písmeno, 100 bude nutit psát vše velkými písmeny
252
290
  validate_title_max_marks_together: 'Omezit počet otazníků a vykřičníků, které lze psát dohromada. Např: Pokud je 2, pak ''!!!'' nebude v textu povoleno'
253
291
  validate_title_min_length: Název je vždy povinný a toto číslo nemůže být nulové
292
+ verifications_html: |
293
+ Zde můžete vylepšit proces ověřování.<br>
294
+ <b>POZNÁMKA:</b> Uvědomte si, že změna těchto nastavení může zabránit některým uživatelům v přístupu k platformě. Používejte to s opatrností!<br><br>
295
+ Také berte na vědomí, že tato nastavení jsou aplikována na všechny uživatele. Administrátoři však budou mít vždy přístup k administraci.
254
296
  validators:
255
297
  body: Ověření vstupu uživatele pro pole "tělo"
256
298
  title: Ověření uživatelem pro pole "Název"
@@ -264,6 +306,11 @@ cs:
264
306
  new: Přidat nové "soukromé vlastní pole"
265
307
  remove: Odstranit toto "ssoukromé vlastní pole"
266
308
  sure_to_remove: Opravdu chcete zničit toto soukromé pole?
309
+ form_scoped_admin_styles:
310
+ delete: Smazat
311
+ new: Přidat nový "admin panel" CSS box
312
+ remove: Odstranit tento CSS box
313
+ sure_to_remove: Opravdu chcete zničit tento CSS box?
267
314
  form_scoped_admins:
268
315
  delete: Smazat
269
316
  new: Přidání nové skupiny "Škálovaní administrátoři"
@@ -287,8 +334,11 @@ cs:
287
334
  proposal_custom_fields: 'Vlastní pole návrhů: veřejná pole'
288
335
  proposal_private_custom_fields: 'Vlastní pole návrhů: Soukromá pole'
289
336
  proposals: Návrhy hacků
337
+ scoped_admin_styles: 'Vlastní styly: Panel administrace'
338
+ scoped_styles: 'Vlastní styly: Veřejné strany'
290
339
  styles: Vlastní styly
291
340
  surveys: Průzkumy a formuláře
341
+ verifications: Ověřovací / Schvalovací hacky
292
342
  update:
293
343
  error: Chyba při aktualizaci konfigurace! %{error}
294
344
  success: Konfigurace byla úspěšně aktualizována
@@ -393,6 +443,7 @@ cs:
393
443
  proposals: Návrhy hacků
394
444
  styles: Vlastní styly
395
445
  surveys: Průzkumy a formuláře
446
+ verifications: Ověření
396
447
  menu_hacks:
397
448
  create:
398
449
  error: Chyba při vytváření položky menu! %{error}
@@ -431,6 +482,11 @@ cs:
431
482
  error: Chyba při aktualizaci položky menu! %{error}
432
483
  success: Položka menu byla úspěšne aktualizována
433
484
  url_exists: Stejná adresa URL je již nakonfigurována, prosím upravte ji místo jejího vytvoření.
485
+ officializations:
486
+ authorizations: Autorizace
487
+ verification_modal:
488
+ authorizations_for: Autorizace pro %{user}
489
+ close: Zavřít
434
490
  proposal_custom_fields:
435
491
  menu:
436
492
  title: Veřejná pole
@@ -439,9 +495,19 @@ cs:
439
495
  private_data_last_update: Tato data byla naposledy aktualizována před %{time_ago}.
440
496
  proposal_private_custom_fields: Soukromá pole
441
497
  remove_private_data: "👉 Možná jej chcete odstranit"
498
+ scoped_admin_styles:
499
+ menu:
500
+ title: Panel administrace
501
+ scoped_styles:
502
+ menu:
503
+ title: Veřejný frontend
442
504
  admin_log:
443
505
  component:
444
506
  destroy_private_data: "%{user_name} zničil %{count} položky soukromých dat pro %{resource_name} v %{space_name}"
507
+ user:
508
+ admin_creates_authorization: "%{user_name} ověřil %{resource_name} s %{handler_name}"
509
+ admin_destroys_authorization: "%{user_name} zničil ověření %{handler_name} na %{resource_name}"
510
+ admin_forces_authorization: "%{user_name} vynutil ověření %{handler_name} na %{resource_name}. Důvod: %{reason}"
445
511
  amendments:
446
512
  modal:
447
513
  amendment_exists: Pozměňovací návrh již existuje
@@ -506,6 +572,26 @@ cs:
506
572
  view_meeting: Zobrazit schůzku
507
573
  view_proposal: Zobrazit návrh
508
574
  proposal_private_custom_fields_disclosure: Tyto informace nebudou publikovány
575
+ required_authorizations:
576
+ index:
577
+ cancel: Udělám to za chvíli, %{link}.
578
+ granted_title: Udělená ověření
579
+ logout: dovolte mi odhlásit se
580
+ missing_title: Zatím neověřeno
581
+ resume_title: Čeká se na ověření
582
+ resume_with_method: Pokračovat v ověřování pomocí %{name}
583
+ title: Ověřte svou totožnost
584
+ verify_with_all_these_options: 'Před přístupem k platformě se prosím ověřte všemi těmito metodami:'
585
+ verify_with_any_of_these_options: 'Před přístupem k platformě si prosím ověřte alespoň jednu z těchto možností:'
586
+ verify_with_method: Ověřit pomocí %{name}
587
+ session:
588
+ authorization_is_required: Chcete-li se zúčastnit této platformy, musíte svůj účet autorizovat s platnou autorizací (%{authorizations}).
589
+ system:
590
+ organizations:
591
+ admin_allowed_authoritzations_help_html: |
592
+ Správci budou moci uživatele s těmito oprávněními ručně ověřovat.
593
+ <br>Používejte tuto funkci opatrně, protože může vést k bezpečnostním problémům.
594
+ awesome_tweaks: Decidim Awesome Tweaks
509
595
  validators:
510
596
  too_much_caps: Používá příliš mnoho velkých písmen (více než %{percent}% textu)
511
597
  voting:
@@ -21,6 +21,7 @@ de:
21
21
  proposal_private_custom_fields: 'Privates Eingabefeld #%{id}'
22
22
  scoped_admins: Eingeschränkte Admin-Gruppe %{id}
23
23
  scoped_styles: Eigene Eingabefelder %{id}
24
+ user_timezone: Erlauben Sie Benutzern, ihre Zeitzone in ihrem Profil einzustellen
24
25
  validate_body_max_caps_percent: Maximal erlaubter Prozentsatz an Großbuchstaben für den Textkörper
25
26
  validate_body_max_marks_together: Maximal erlaubte aufeinanderfolgende Zeichen im Textkörper
26
27
  validate_body_min_length: Minimale zwingend erforderliche Anzahl Zeichen im Textkörper
@@ -46,6 +47,8 @@ de:
46
47
  target: Öffnet in
47
48
  url: URL
48
49
  visibility: Sichtbarkeit
50
+ user:
51
+ user_time_zone: Eigene Zeitzone
49
52
  decidim:
50
53
  admin:
51
54
  actions:
@@ -132,7 +135,11 @@ de:
132
135
  supported_last: Zuletzt unterstützt
133
136
  za: Z-A (umgekehrt alphabetisch)
134
137
  decidim_awesome:
138
+ account:
139
+ timezone_select:
140
+ time_zone_helper: Verwenden Sie Ihre eigene Zeitzone, um die Daten in Ihrer Ortszeit anzuzeigen, wenn Sie angemeldet sind.
135
141
  admin:
142
+ actions: Aktionen
136
143
  admin_accountability:
137
144
  admin_roles:
138
145
  admin: Superadministrator
@@ -244,6 +251,7 @@ de:
244
251
  scoped_admins: Befördern Sie normale Benutzer zu Administratoren, die nur bestimmte Teile der öffentlichen Seite verwalten können (verwenden Sie dazu den Editor für Einschränkungen). Beachten Sie, dass Benutzer, die bereits reguläre Administratorrechte haben, ignoriert werden. For instance, if having configured /my-origin => /my-destination, a request to /my-origin?locale=ca will be redirected to "/my-destination?locale=ca".
245
252
  scoped_styles: Erstellen Sie benutzerdefinierte CSS, die nur in bestimmten Bereichen der öffentlichen Seite gelten (vewenden Sie dazu die Einschränkungen)
246
253
  scoped_styles_variables: 'Sie können die folgenden CSS-Variablen für die benutzerdefinierter Farben der Organisation verwenden:'
254
+ user_timezone: Dadurch wird ein Auswahlfeld im Benutzerprofil hinzugefügt, um die Zeitzone festzulegen. Dies wird verwendet, um Datums- und Zeitangaben in der Ortszeit des Benutzers anzuzeigen.
247
255
  validate_body_max_caps_percent: 0 lässt keinen Großbuchstaben zu, 100 lässt ausschliesslich Großbuchstaben zu
248
256
  validate_body_max_marks_together: 'Begrenzt die Anzahl der Frage- und Ausrufezeichen, die zusammen geschrieben werden können. Zum Beispiel: Der Wert 2 führt dazu, dass ''!!!'' im Text nicht erlaubt ist'
249
257
  validate_body_min_length: Diese Zahl kann Null sein, was das Feld dann effektiv als "nicht obligatorisch" setzt
@@ -343,6 +351,36 @@ de:
343
351
  update:
344
352
  error: Fehler beim Aktualisieren der Umleitung! %{error}
345
353
  success: Umleitung erfolgreich aktualisiert
354
+ maintenance:
355
+ private_data:
356
+ component: Bereich / Komponente
357
+ confirm_delete: Sind Sie sicher, dass Sie alle privaten Daten für diese Ressource löschen möchten? Dies kann nicht rückgängig gemacht werden.
358
+ delete: Alle löschen
359
+ destroying_private_data: Die privaten Daten für %{title} werden gelöscht. Bitte versuchen Sie es in ein paar Minuten noch einmal.
360
+ done: Erledigt
361
+ help_html: |
362
+ Mit diesem Tool können Sie alle privaten Daten für einen bestimmten Beteiligungsbereich oder eine bestimmte Komponente löschen. Dieser Vorgang ist irreversibel und entfernt alle privaten Daten aus der Datenbank.
363
+ <br><br>
364
+ <strong> Was sind private Daten?</strong>
365
+ <br>
366
+ Private Daten sind alle Informationen, die nicht öffentlich verfügbar sind und nur für Administratoren zugänglich sind. Dazu gehören derzeit auch Informationen aus privaten benutzerdefinierten Feldern.
367
+ <br><br>
368
+ <strong>Was passiert, wenn ich private Daten lösche?</strong>
369
+ <br>
370
+ Wenn Sie private Daten löschen, werden alle privaten Informationen für den ausgewählten Mitwirkungsbereich oder die ausgewählte Komponente dauerhaft aus der Datenbank entfernt. Zu Prüfzwecken wird ein Protokoll dieser Aktion im System gespeichert.
371
+ <br><br>
372
+ <strong>Was geschieht mit öffentlichen Daten?</strong>
373
+ <br> Öffentliche Daten sind von dieser Aktion nicht betroffen. Es werden nur private Daten gelöscht.
374
+ <br><br>
375
+ <strong>Gibt es eine Mindestwartezeit vor dem Löschen privater Daten?</strong>
376
+ <br>
377
+ Ja, Sie können keine privaten Daten löschen, wenn die letzte Aktualisierung weniger als %{time_ago} zurückliegt. Sie können diese Konfiguration in der Initialisierungsdatei ändern.
378
+ items_count: Betroffene Gesamtmenge
379
+ last_date: Letzte Aktualisierung
380
+ no_data: Es wurden keine privaten Daten gefunden, die älter sind als %{time_ago}
381
+ not_destroyable: Diese Ressource kann nicht gelöscht werden
382
+ removing: Entfernen...
383
+ time_ago: "vor %{time}"
346
384
  menu:
347
385
  admins: Eingeschränkte Admins
348
386
  custom_redirects: Benutzerdefinierte Umleitungen
@@ -350,6 +388,8 @@ de:
350
388
  livechat: Live-Chat
351
389
  maintenance:
352
390
  checks: Checks
391
+ maintenance: Wartung
392
+ private_data: Persönliche Daten
353
393
  menu_hacks: Menüanpassungen
354
394
  proposal_custom_fields: 'Vorschläge: Eigene Eingabefelder'
355
395
  proposals: Vorschläge
@@ -397,7 +437,13 @@ de:
397
437
  menu:
398
438
  title: Öffentlich sichtbare Felder
399
439
  private_body: Privater Textkörper
440
+ private_data_last_remove: Diese Daten wurden vor %{time_ago} gelöscht.
441
+ private_data_last_update: Diese Daten wurden vor %{time_ago} gelöscht.
400
442
  proposal_private_custom_fields: Private Felder
443
+ remove_private_data: "👉 Sie können es entfernen"
444
+ admin_log:
445
+ component:
446
+ destroy_private_data: "%{user_name} hat %{count} private Daten für %{resource_name} in %{space_name} gelöscht"
401
447
  amendments:
402
448
  modal:
403
449
  amendment_exists: Eine Änderung existiert bereits
@@ -497,6 +543,12 @@ de:
497
543
  layouts:
498
544
  decidim:
499
545
  decidim_awesome:
546
+ admin:
547
+ maintenance:
548
+ title: 'Wartungswerkzeuge: %{title}'
549
+ titles:
550
+ checks: Systemkompatibilitätsprüfungen
551
+ private_data: Bereinigung personenbezogener Daten
500
552
  awesome_config:
501
553
  amendments: Änderungsvorschläge
502
554
  autosaved_error: Automatisches Speichern fehlgeschlagen
@@ -8,6 +8,10 @@ en:
8
8
  allow_images_in_proposals: Allow images in the proposals editor
9
9
  allow_videos_in_editors: Allow videos in the HTML editor
10
10
  auto_save_forms: Auto save forms in local storage
11
+ force_authorization_after_login: Force authorization after login/registering
12
+ force_authorization_help_text: Help text for the authorization page
13
+ force_authorization_with_any_method: Allow access if any of the authorizations
14
+ is granted (by default, all are required)
11
15
  intergram_auto_no_response: A message that is sent one minute after the user
12
16
  sends its first message and no response was received
13
17
  intergram_auto_response: A message that is sent immediately after the user
@@ -24,8 +28,10 @@ en:
24
28
  instead of a text
25
29
  proposal_custom_fields: Custom fields %{id}
26
30
  proposal_private_custom_fields: Private Custom fields %{id}
31
+ scoped_admin_styles: Custom styles %{id}
27
32
  scoped_admins: Scoped admins group %{id}
28
33
  scoped_styles: Custom styles %{id}
34
+ user_timezone: Allow users to set their timezone in their profile
29
35
  validate_body_max_caps_percent: Maximum allowed percentage of capital letters
30
36
  for the body
31
37
  validate_body_max_marks_together: Maximum consecutive marks symbols allowed
@@ -55,6 +61,11 @@ en:
55
61
  target: Opens in
56
62
  url: URL
57
63
  visibility: Visibility
64
+ organization:
65
+ awesome_admins_available_authorizations: Allow admins to manually verify users
66
+ with these authorizations
67
+ user:
68
+ user_time_zone: Personal timezone
58
69
  decidim:
59
70
  admin:
60
71
  actions:
@@ -152,6 +163,10 @@ en:
152
163
  supported_last: Supported last
153
164
  za: Z-A (Reverse alphabetical)
154
165
  decidim_awesome:
166
+ account:
167
+ timezone_select:
168
+ time_zone_helper: Use your personal time zone to display dates in your local
169
+ time when you are logged in.
155
170
  admin:
156
171
  actions: Actions
157
172
  admin_accountability:
@@ -197,6 +212,34 @@ en:
197
212
  collaborator: Collaborator
198
213
  moderator: Moderator
199
214
  valuator: Valuator
215
+ admin_authorizations:
216
+ authorization:
217
+ confirm_destroy: Are you sure you want to destroy this authorization?
218
+ This might affect the user's access to the platform.
219
+ destroy: Destroy
220
+ granted_at: Granted at %{date}
221
+ metadata: Contains metadata? %{metadata}
222
+ authorization_destroyed: Authorization successfully destroyed.
223
+ authorization_not_destroyed: Authorization could not be destroyed!
224
+ authorization_transferred: 'Warning: There was verification conflict and
225
+ the verification has been transferred to %{user}'
226
+ conflict: There is a conflict with an existing authorization
227
+ conflict_help_html: "You must solve the conflict with the user %{user} before
228
+ you can authorize the user with this authorization.\n<br><br>\nA verfication
229
+ conflict happens when another user has the same data as the user you are
230
+ trying to authorize. \nYou can solve this conflict by removing the conflicting
231
+ authorization from the other user or using different data for this user.\n"
232
+ edit:
233
+ authorize: Authorize %{user} with %{name}
234
+ do_it_if_sure: Do this only if you are sure that the user has this authorization.
235
+ force_verification: Force verification with the current data
236
+ force_verification_help: Verification has failed, but you can force it
237
+ if you are sure the user has this authorization.
238
+ force_verification_reason: 'Give a reason to force the verification:'
239
+ warning: 'Warning: By forcing this authorization, you are overriding the
240
+ user''s current authorization status.'
241
+ user_authorized: "%{user} successfully authorized with %{name}"
242
+ user_not_authorized: "%{user} could not be authorized with %{name}"
200
243
  checks:
201
244
  index:
202
245
  admin_head_tags: Awesome tags included in the admin application header
@@ -274,6 +317,14 @@ en:
274
317
  drag_and_drop_supported: When uploading images, Drag & Drop is supported.
275
318
  Images will be uploaded to the server and inserted as external resources
276
319
  (it doesn't use base64 inline encoding).
320
+ force_authorization_after_login: 'If enabled, users will be redirected
321
+ to the authorization page after login or registration if some of the
322
+ specified authorizations are not granted. This is useful if you want
323
+ to force users to be verified with a specific authorization before
324
+ they can login at all (ie: to prevent spam).'
325
+ force_authorization_help_text: Add a custom text to explain why authorization
326
+ is required. Also make sure you add a contact method in case users
327
+ need help.
277
328
  intergram_about: Intergram uses Telegram messenger to handle a live
278
329
  support chat widget embedded in the bottom of the page.
279
330
  intergram_config: Invite the <a href="https://web.telegram.org/#/im?p=@IntergramBot">@Intergram
@@ -304,6 +355,12 @@ en:
304
355
  %{warning}
305
356
  This text can be customized with a custom translation by using the key:
306
357
  %{key}
358
+ scoped_admin_styles: Be aware that hidding things here might left the
359
+ admin unusable. Please act with caution.
360
+ scoped_admin_styles_variables: 'You can use the following CSS variables
361
+ for organization customized color:'
362
+ scoped_admin_styles_warning: "<strong>Warning</strong>: In here add
363
+ custom CSS that applies only in this admin."
307
364
  scoped_admins: Promote regular user to admins that can only administrate
308
365
  certain parts of the public web (use the restrictions editor for that).
309
366
  Note that users who already have regular admin permissions will be
@@ -312,6 +369,9 @@ en:
312
369
  of the public web (use the restrictions editor for that)
313
370
  scoped_styles_variables: 'You can use the following CSS variables for
314
371
  organization customized colors:'
372
+ user_timezone: This will a add a select box in the user profile to set
373
+ the timezone. This will be used to show dates and times in the user
374
+ local time.
315
375
  validate_body_max_caps_percent: Zero won't allow any capital letter,
316
376
  100 will force to write everything in capital letters
317
377
  validate_body_max_marks_together: 'Limit the number of question and
@@ -326,6 +386,10 @@ en:
326
386
  ''!!!'' won''t be allowed in the text'
327
387
  validate_title_min_length: Title is always mandatory and this number
328
388
  cannot be zero
389
+ verifications_html: |
390
+ Here you can make some tweaks to the verification process.<br>
391
+ <b>NOTE:</b> Be aware that changing these settings might prevent some users from accessing the platform. Use it with caution!<br><br>
392
+ Also note that these settings are applied to all users. Admins will always have access to the admin backend though.
329
393
  validators:
330
394
  body: User input validations for the "body" field
331
395
  title: User input validations for the "title" field
@@ -339,6 +403,11 @@ en:
339
403
  new: Add a new "private custom fields" box
340
404
  remove: Remove this "private custom fields" box
341
405
  sure_to_remove: Are you sure you want to destroy this private fields box?
406
+ form_scoped_admin_styles:
407
+ delete: Delete
408
+ new: Add a new "admin panel" CSS box
409
+ remove: Remove this CSS box
410
+ sure_to_remove: Are you sure you want to destroy this CSS box?
342
411
  form_scoped_admins:
343
412
  delete: Delete
344
413
  new: Add a new "Scoped Admins" group
@@ -347,7 +416,7 @@ en:
347
416
  group?
348
417
  form_scoped_styles:
349
418
  delete: Delete
350
- new: Add a new CSS box
419
+ new: Add a new "public frontend" CSS box
351
420
  remove: Remove this CSS box
352
421
  sure_to_remove: Are you sure you want to destroy this CSS box?
353
422
  none: "⛔ Never! - Deactivate any other constraint"
@@ -363,8 +432,11 @@ en:
363
432
  proposal_custom_fields: 'Proposals Custom Fields: Public fields'
364
433
  proposal_private_custom_fields: 'Proposals Custom Fields: Private fields'
365
434
  proposals: Proposals Hacks
435
+ scoped_admin_styles: 'Custom Styles: Admin panel'
436
+ scoped_styles: 'Custom Styles: Public frontend'
366
437
  styles: Custom Styles
367
438
  surveys: Surveys & Forms
439
+ verifications: Verifications / Authorization Hacks
368
440
  update:
369
441
  error: Error updating configuration! %{error}
370
442
  success: Configuration updated successfully
@@ -472,6 +544,7 @@ en:
472
544
  proposals: Proposals Hacks
473
545
  styles: Custom Styles
474
546
  surveys: Surveys & Forms
547
+ verifications: Verifications
475
548
  menu_hacks:
476
549
  create:
477
550
  error: Error creating menu item! %{error}
@@ -512,6 +585,11 @@ en:
512
585
  success: Menu item updated successfully
513
586
  url_exists: The same URL is already configured, please edit that instead
514
587
  of creating it again.
588
+ officializations:
589
+ authorizations: Authorizations
590
+ verification_modal:
591
+ authorizations_for: Authorizations for %{user}
592
+ close: Close
515
593
  proposal_custom_fields:
516
594
  menu:
517
595
  title: Public fields
@@ -520,10 +598,23 @@ en:
520
598
  private_data_last_update: This data was last updated %{time_ago} ago.
521
599
  proposal_private_custom_fields: Private fields
522
600
  remove_private_data: "👉 You might want to remove it"
601
+ scoped_admin_styles:
602
+ menu:
603
+ title: Admin panel
604
+ scoped_styles:
605
+ menu:
606
+ title: Public frontend
523
607
  admin_log:
524
608
  component:
525
609
  destroy_private_data: "%{user_name} destroyed %{count} items of private
526
610
  data for %{resource_name} in %{space_name}"
611
+ user:
612
+ admin_creates_authorization: "%{user_name} verified %{resource_name} with
613
+ %{handler_name}"
614
+ admin_destroys_authorization: "%{user_name} destroyed the verification %{handler_name}
615
+ on %{resource_name}"
616
+ admin_forces_authorization: "%{user_name} forced the verification %{handler_name}
617
+ on %{resource_name}. Reason: %{reason}"
527
618
  amendments:
528
619
  modal:
529
620
  amendment_exists: An amendment already exists
@@ -596,6 +687,29 @@ en:
596
687
  view_meeting: View meeting
597
688
  view_proposal: View proposal
598
689
  proposal_private_custom_fields_disclosure: This information won't be published
690
+ required_authorizations:
691
+ index:
692
+ cancel: I'll do this in another moment, %{link}.
693
+ granted_title: Granted verifications
694
+ logout: let me logout
695
+ missing_title: Not verified yet
696
+ resume_title: Pending verifications
697
+ resume_with_method: Resume verification with %{name}
698
+ title: Verify your identity
699
+ verify_with_all_these_options: 'Please verify yourself with all these methods
700
+ before being able to access the platform:'
701
+ verify_with_any_of_these_options: 'Please verify yourself with at least
702
+ one of these options before being able to access the platform:'
703
+ verify_with_method: Verify with %{name}
704
+ session:
705
+ authorization_is_required: In order to participate in this platform, you need
706
+ to authorize your account with a valid authorization (%{authorizations}).
707
+ system:
708
+ organizations:
709
+ admin_allowed_authoritzations_help_html: |
710
+ Admins will be able to manually verify users with these authorizations.
711
+ <br>Use this feature with caution, as it can lead to security issues.
712
+ awesome_tweaks: Decidim Awesome Tweaks
599
713
  validators:
600
714
  too_much_caps: Is using too many capital letters (over %{percent}% of the
601
715
  text)