decidim-core 0.31.2 → 0.31.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/content_blocks/highlighted_elements_with_cell_for_list_cell.rb +5 -1
  3. data/app/cells/decidim/report_button/already_reported_modal.erb +1 -1
  4. data/app/cells/decidim/report_button/flag_modal.erb +1 -1
  5. data/app/cells/decidim/report_user_button/already_reported_modal.erb +1 -1
  6. data/app/cells/decidim/report_user_button/flag_modal.erb +1 -1
  7. data/app/cells/decidim/share_text_widget/modal.erb +1 -1
  8. data/app/cells/decidim/upload_modal/files.erb +5 -1
  9. data/app/cells/decidim/upload_modal_cell.rb +10 -1
  10. data/app/commands/decidim/multiple_attachments_methods.rb +20 -3
  11. data/app/jobs/decidim/find_and_update_descendants_job.rb +8 -2
  12. data/app/jobs/decidim/update_search_indexes_job.rb +2 -2
  13. data/app/packs/src/decidim/a11y.js +29 -0
  14. data/app/packs/src/decidim/a11y.test.js +81 -0
  15. data/app/packs/src/decidim/confirm.js +8 -1
  16. data/app/packs/src/decidim/confirm.test.js +225 -0
  17. data/app/packs/src/decidim/controllers/language_change/controller.js +1 -0
  18. data/app/packs/src/decidim/controllers/language_change/language_change.test.js +13 -0
  19. data/app/packs/src/decidim/datepicker/datepicker_functions.js +26 -0
  20. data/app/packs/src/decidim/datepicker/generate_datepicker.js +2 -1
  21. data/app/packs/src/decidim/datepicker/generate_timepicker.js +3 -2
  22. data/app/packs/src/decidim/datepicker/test/datepicker_functions_adjust_picker_position.test.js +234 -0
  23. data/app/packs/src/decidim/refactor/moved/focus_guard.js +4 -4
  24. data/app/packs/stylesheets/decidim/_cards.scss +12 -4
  25. data/app/packs/stylesheets/decidim/_flash.scss +1 -1
  26. data/app/views/decidim/devise/invitations/edit.html.erb +3 -3
  27. data/config/initializers/devise.rb +6 -0
  28. data/config/locales/ar.yml +3 -3
  29. data/config/locales/bg.yml +0 -4
  30. data/config/locales/ca-IT.yml +7 -6
  31. data/config/locales/ca.yml +7 -6
  32. data/config/locales/cs.yml +5 -8
  33. data/config/locales/de.yml +4 -8
  34. data/config/locales/el.yml +0 -2
  35. data/config/locales/en.yml +5 -4
  36. data/config/locales/es-MX.yml +10 -9
  37. data/config/locales/es-PY.yml +10 -9
  38. data/config/locales/es.yml +12 -11
  39. data/config/locales/eu.yml +4 -5
  40. data/config/locales/fi-plain.yml +5 -4
  41. data/config/locales/fi.yml +6 -5
  42. data/config/locales/fr-CA.yml +7 -5
  43. data/config/locales/fr.yml +8 -7
  44. data/config/locales/gl.yml +0 -2
  45. data/config/locales/hu.yml +4 -8
  46. data/config/locales/id-ID.yml +0 -2
  47. data/config/locales/it.yml +1 -3
  48. data/config/locales/ja.yml +7 -8
  49. data/config/locales/lb.yml +0 -2
  50. data/config/locales/lt.yml +1 -3
  51. data/config/locales/lv.yml +0 -2
  52. data/config/locales/nl.yml +0 -2
  53. data/config/locales/no.yml +0 -2
  54. data/config/locales/pl.yml +0 -4
  55. data/config/locales/pt-BR.yml +4 -5
  56. data/config/locales/pt.yml +0 -2
  57. data/config/locales/ro-RO.yml +1 -5
  58. data/config/locales/ru.yml +0 -2
  59. data/config/locales/sk.yml +0 -4
  60. data/config/locales/sv.yml +8 -7
  61. data/config/locales/tr-TR.yml +17 -5
  62. data/config/locales/zh-CN.yml +0 -2
  63. data/config/locales/zh-TW.yml +1 -3
  64. data/lib/decidim/assets/tailwind/tailwind.config.js.erb +1 -1
  65. data/lib/decidim/core/version.rb +1 -1
  66. data/lib/decidim/form_builder.rb +58 -36
  67. data/lib/decidim/maintenance/taxonomy_importer.rb +1 -1
  68. data/lib/decidim/searchable.rb +4 -4
  69. metadata +9 -6
@@ -36,7 +36,7 @@ ja:
36
36
  taxonomy:
37
37
  name: タクソノミー名
38
38
  taxonomy_filter:
39
- internal_name: 内部ラベル
39
+ internal_name: 管理用ラベル
40
40
  name: ラベル
41
41
  root_taxonomy_id: タクソノミーから
42
42
  space_filter: フィルタとして利用可能
@@ -1517,7 +1517,7 @@ ja:
1517
1517
  error: パスワードの更新中に問題が発生しました。
1518
1518
  success: パスワードを更新しました。
1519
1519
  profile:
1520
- deleted: 削除された参加者
1520
+ deleted: 参加者を削除しました
1521
1521
  inaccessible_message: このプロフィールは利用規約違反のためアクセスできません!
1522
1522
  profiles:
1523
1523
  default_officialization_text_for_users: この参加者は公的に検証されます。彼/彼女の名前または役割が実名・実際の役割に対応していることが確認されています。
@@ -1534,7 +1534,7 @@ ja:
1534
1534
  disabled_message: メッセージ
1535
1535
  edit_profile: プロフィールを編集
1536
1536
  message: メッセージ
1537
- resend_email_confirmation_instructions: 確認メールを再送信する
1537
+ resend_email_confirmation_instructions: 確認メールを再送する
1538
1538
  qr:
1539
1539
  show:
1540
1540
  scan: QRコードをスキャン
@@ -1808,8 +1808,6 @@ ja:
1808
1808
  submit_button: 招待状を送信
1809
1809
  no_invitations_remaining: 招待状は残っていません
1810
1810
  send_instructions: '%{email} に招待メールが送信されました。'
1811
- updated: パスワードは正常に設定され、ログイン完了しました。
1812
- updated_not_active: パスワードが正常に設定されました。
1813
1811
  mailer:
1814
1812
  confirmation_instructions:
1815
1813
  action: アカウントを確認する
@@ -1868,8 +1866,8 @@ ja:
1868
1866
  confirm_new_password: 新しいパスワードを確認
1869
1867
  new_password: 新しいパスワード
1870
1868
  old_password_help: アカウントの変更を確認するには、現在のパスワードを入力してください。
1871
- password_help: "半角英数字%{minimum_characters}文字以上で入力してください。単純すぎる文字列ではいけません(例:123456)。ニックネームやメールアドレスと異なる必要があります。"
1872
- password_help_admin: "半角英数字%{minimum_characters}文字以上で入力してください。単純すぎる文字列ではいけません(例:123456)。ニックネームやメールアドレス、以前のパスワードと異なる必要があります。"
1869
+ password_help: "%{minimum_characters} 文字以上必要で、少なくとも 5 種類の異なる文字を含める必要があります。一般的な文字列(例:123456)は使用できず、氏名、ニックネーム、メールアドレス、および組織のホスト名とは異なるものでなければなりません。"
1870
+ password_help_admin: "%{minimum_characters}文字以上必要で、少なくとも5種類以上の異なる文字を含む必要があり、一般的なパターン(例:123456)は使用できません。氏名、ニックネーム、メールアドレス、組織のホスト名と重複せず、かつ以前使用していたパスワードとは異なるものでなければなりません。"
1873
1871
  title: パスワードの変更
1874
1872
  new:
1875
1873
  forgot_your_password: パスワードをお忘れですか?
@@ -2045,7 +2043,7 @@ ja:
2045
2043
  description: 説明
2046
2044
  name: 名前
2047
2045
  service: サービス
2048
- type: タイプ
2046
+ type: 種別
2049
2047
  items:
2050
2048
  _session_id:
2051
2049
  description: ウェブページ間を移動したときにウェブサイト内のユーザーをウェブサイトが記憶できるようにします。
@@ -2111,6 +2109,7 @@ ja:
2111
2109
  confirm_title_close_ephemeral_session: このページから離れる前に…
2112
2110
  log_in: ログイン
2113
2111
  main_menu: メインメニュー
2112
+ mobile_account_greeting: こんにちは、 %{user_name} さん
2114
2113
  user_menu: ユーザーメニュー
2115
2114
  impersonation_warning:
2116
2115
  close_session: セッションを閉じる
@@ -871,8 +871,6 @@ lb:
871
871
  submit_button: Eng Invitatioun verschécken
872
872
  no_invitations_remaining: Keng Invitatiounen iwwreg
873
873
  send_instructions: Eng Invitatiouns-Email gouf un %{email} geschéckt.
874
- updated: Däin Passwuert gouf dir attribuéiert. Du bass elo registréiert.
875
- updated_not_active: Däin Passwuert gouf dir attribuéiert.
876
874
  mailer:
877
875
  confirmation_instructions:
878
876
  action: Kont bestätegen
@@ -1112,7 +1112,7 @@ lt:
1112
1112
  disabled_message: Žinutė
1113
1113
  edit_profile: Redaguoti profilį
1114
1114
  message: Pranešimas
1115
- resend_email_confirmation_instructions: Persiųsti patvirtinimo nurodymus el. paštu
1115
+ resend_email_confirmation_instructions: Išsiųsti patvirtinimo instrukcijas dar kartą
1116
1116
  reported_mailer:
1117
1117
  report:
1118
1118
  authors: Autoriai
@@ -1282,8 +1282,6 @@ lt:
1282
1282
  submit_button: Siųsti pakvietimą
1283
1283
  no_invitations_remaining: Kvietimų neliko
1284
1284
  send_instructions: Kvietimo e. laiškas išsiųstas %{email}.
1285
- updated: Jūsų slaptažodis buvo sėkmingai nustatytas. Dabar esate prisijungę.
1286
- updated_not_active: Jūsų slaptažodis nustatytas.
1287
1285
  mailer:
1288
1286
  confirmation_instructions:
1289
1287
  action: Patvirtinti mano paskyrą
@@ -721,8 +721,6 @@ lv:
721
721
  submit_button: Nosūtiet ielūgumu
722
722
  no_invitations_remaining: Neviens ielūgums nav atlicis
723
723
  send_instructions: Ielūguma e-pasts ir nosūtīts uz adresi %{email}.
724
- updated: Jūsu parole tika veiksmīgi iestatīta. Tagad esat pierakstīts.
725
- updated_not_active: Jūsu parole tika veiksmīgi iestatīta.
726
724
  mailer:
727
725
  confirmation_instructions:
728
726
  action: Apstiprināt manu kontu
@@ -864,8 +864,6 @@ nl:
864
864
  submit_button: Een uitnodiging sturen
865
865
  no_invitations_remaining: Er zijn nog geen uitnodigingen
866
866
  send_instructions: Er is een uitnodigingsmail verzonden naar %{email}.
867
- updated: Uw wachtwoord is succesvol ingesteld. U bent nu ingelogd.
868
- updated_not_active: Uw wachtwoord is succesvol ingesteld.
869
867
  mailer:
870
868
  confirmation_instructions:
871
869
  action: Bevestig mijn account
@@ -895,8 +895,6 @@
895
895
  submit_button: Send en invitasjon
896
896
  no_invitations_remaining: Ingen invitasjoner igjen
897
897
  send_instructions: En invitasjons epost har blitt sendt til %{email}.
898
- updated: Passordet ditt ble angitt. Du er nå pålogget.
899
- updated_not_active: Passordet ditt ble angitt.
900
898
  mailer:
901
899
  confirmation_instructions:
902
900
  action: Bekreft kontoen min
@@ -1316,8 +1316,6 @@ pl:
1316
1316
  submit_button: Wyślij zaproszenie
1317
1317
  no_invitations_remaining: Brak innych zaproszeń
1318
1318
  send_instructions: Wiadomość e-mail z zaproszeniem została wysłana na adres %{email}.
1319
- updated: Twoje hasło zostało pomyślnie ustawione. Jesteś teraz zalogowany.
1320
- updated_not_active: Twoje hasło zostało pomyślnie ustawione.
1321
1319
  mailer:
1322
1320
  confirmation_instructions:
1323
1321
  action: Potwierdź moje konto
@@ -1374,8 +1372,6 @@ pl:
1374
1372
  confirm_new_password: Potwierdź nowe hasło
1375
1373
  new_password: Nowe hasło
1376
1374
  old_password_help: Aby potwierdzić zmiany na koncie, podaj swoje aktualne hasło.
1377
- password_help: "Minimalna liczba znaków: %{minimum_characters}; nie może być zbyt powszechne (np. 123456) i musi różnić się od Twojego pseudonimu i adresu e-mail."
1378
- password_help_admin: "Minimalna liczba znaków: %{minimum_characters}; nie może być zbyt powszechne (np. 123456) i musi różnić się od Twojego pseudonimu i adresu e-mail, a także Twoich poprzednich haseł."
1379
1375
  title: Zmiana hasła
1380
1376
  new:
1381
1377
  forgot_your_password: Zapomniałeś hasła?
@@ -1553,7 +1553,7 @@ pt-BR:
1553
1553
  disabled_message: Mensagem
1554
1554
  edit_profile: Editar perfil
1555
1555
  message: Mensagem
1556
- resend_email_confirmation_instructions: Reenvie as instruções de confirmação por email
1556
+ resend_email_confirmation_instructions: Reenviar instruções de confirmação
1557
1557
  qr:
1558
1558
  show:
1559
1559
  scan: Digitalizar código QR
@@ -1826,8 +1826,6 @@ pt-BR:
1826
1826
  submit_button: Envie um convite
1827
1827
  no_invitations_remaining: Nenhum convite restante
1828
1828
  send_instructions: Um email de convite foi enviado para %{email}.
1829
- updated: Sua senha foi configurada com sucesso. Agora você está conectado.
1830
- updated_not_active: Sua senha foi configurada com sucesso.
1831
1829
  mailer:
1832
1830
  confirmation_instructions:
1833
1831
  action: Confirme minha conta
@@ -1887,8 +1885,8 @@ pt-BR:
1887
1885
  confirm_new_password: Confirme a nova senha
1888
1886
  new_password: Nova senha
1889
1887
  old_password_help: Para confirmar as alterações à sua conta, por favor, forneça a sua senha atual.
1890
- password_help: "O mínimo de caracteres %{minimum_characters}, não deve ser muito comum (por exemplo, 123456) e deve ser diferente do seu apelido e do seu e-mail."
1891
- password_help_admin: "Mínimo de caracteres %{minimum_characters}, não deve ser muito comum (por exemplo, 123456) deve ser diferente do seu apelido e seu email e deve ser diferente das senhas antigas."
1888
+ password_help: "%{minimum_characters} caracteres mínimod, deve conter pelo menos 5 caracteres diferentes, não deve ser muito comum (por exemplo, 123456) e deve ser diferente do seu nome, apelido, e-mail e \nhost da organização."
1889
+ password_help_admin: "%{minimum_characters} caracteres mínimos, deve conter pelo menos 5 caracteres diferentes, não deve ser muito comum (por exemplo, 123456) deve ser diferente do seu nome, apelido, e-mail, host da organização e deve ser diferente de suas senhas antigas."
1892
1890
  title: Senha alterada
1893
1891
  new:
1894
1892
  forgot_your_password: Esqueceu sua senha?
@@ -2133,6 +2131,7 @@ pt-BR:
2133
2131
  confirm_title_close_ephemeral_session: Antes de sair desta página…
2134
2132
  log_in: Iniciar sessão
2135
2133
  main_menu: Menu principal
2134
+ mobile_account_greeting: Olá, %{user_name}
2136
2135
  user_menu: Menu de usuários
2137
2136
  impersonation_warning:
2138
2137
  close_session: Fechar sessão
@@ -875,8 +875,6 @@ pt:
875
875
  submit_button: Enviar um convite
876
876
  no_invitations_remaining: Nenhum convite restante
877
877
  send_instructions: Um e-mail de convite foi enviado para %{email}.
878
- updated: A sua palavra-passe foi configurada corretamente. Agora tem sessão iniciada.
879
- updated_not_active: A sua palavra-passe foi configurada corretamente.
880
878
  mailer:
881
879
  confirmation_instructions:
882
880
  action: Confirmar a minha conta
@@ -112,7 +112,7 @@ ro:
112
112
  date:
113
113
  buttons:
114
114
  close: Închideți
115
- select: Selectare
115
+ select: Selectați
116
116
  formats:
117
117
  decidim_short: "%d/%m/%Y"
118
118
  decidim_short_dashed: "%d-%m-%Y"
@@ -1669,8 +1669,6 @@ ro:
1669
1669
  submit_button: Trimiteți o invitație
1670
1670
  no_invitations_remaining: Nicio invitație rămasă
1671
1671
  send_instructions: Un e-mail de invitație a fost trimis la %{email}.
1672
- updated: Parola dvs. a fost setată cu succes. Acum ești conectat.
1673
- updated_not_active: Parola dvs. a fost setată cu succes.
1674
1672
  mailer:
1675
1673
  confirmation_instructions:
1676
1674
  action: Confirmaţi contul
@@ -1719,8 +1717,6 @@ ro:
1719
1717
  confirm_new_password: Confirmați parola nouă
1720
1718
  new_password: Parola nouă
1721
1719
  old_password_help: Pentru a confirma modificările aduse contului dumneavoastră, vă rugăm să introduceți parola curentă.
1722
- password_help: "%{minimum_characters} nr. minim de caractere, nu trebuie să fie prea des întâlnite (de exemplu, 123456) și trebuie să fie diferite de numele dvs. și de adresa dvs. e-mail."
1723
- password_help_admin: "Minim %{minimum_characters} caractere, nu trebuie să fie prea comun (ex. 123456), trebuie să fie diferit de porecla și adresa de e-mail și trebuie să fie diferită de parola veche."
1724
1720
  title: Schimbare parolă
1725
1721
  new:
1726
1722
  forgot_your_password: Ați uitat parola?
@@ -518,8 +518,6 @@ ru:
518
518
  submit_button: Отправить приглашение
519
519
  no_invitations_remaining: Приглашений не осталось
520
520
  send_instructions: Приглашение было отправлено на %{email}.
521
- updated: Ваш пароль был успешно установлен. Вы вошли в систему.
522
- updated_not_active: Ваш пароль был успешно установлен.
523
521
  mailer:
524
522
  confirmation_instructions:
525
523
  action: Подтвердить мой аккаунт
@@ -719,8 +719,6 @@ sk:
719
719
  submit_button: Odoslať pozvánku
720
720
  no_invitations_remaining: Žiadne zostávajúce pozvánky
721
721
  send_instructions: Pozvánka bola odoslaná na%{email}.
722
- updated: Vaše heslo bolo úspešne nastavené. Teraz ste prihlásení.
723
- updated_not_active: Vaše heslo bolo úspešne nastavené.
724
722
  mailer:
725
723
  confirmation_instructions:
726
724
  action: Potvrďte svoj účet
@@ -762,8 +760,6 @@ sk:
762
760
  change_my_password: Zmeňte heslo
763
761
  confirm_new_password: Potvrďte nové heslo
764
762
  new_password: Nové heslo
765
- password_help: "%{minimum_characters} je minimum znakov, nesmie byť príliš bežné (napr. 123456) a musí byť iné ako vaše prezývka a váš e-mail."
766
- password_help_admin: "%{minimum_characters} je minimum znakov, nesmie byť príliš bežné (napr. 123456) a musí byť iné ako vaše prezývka a váš e-mail."
767
763
  new:
768
764
  forgot_your_password: Zabudli ste heslo?
769
765
  send_me_reset_password_instructions: Pošlite mi pokyny na resetovanie hesla
@@ -473,7 +473,7 @@ sv:
473
473
  allowed_postal_codes: Tillåtna postnummer (separerade med kommatecken)
474
474
  document_number: Dokumentnummer
475
475
  postal_code: Postnummer
476
- name: Tillfällig exempel-verifiering
476
+ name: Exempel-verifiering för tillfälliga användare
477
477
  errors:
478
478
  duplicate_authorization: En deltagare är redan auktoriserad med samma data. En administratör kommer att kontakta dig för att verifiera dina uppgifter.
479
479
  expired_at: Förföll vid %{timestamp}
@@ -1555,7 +1555,7 @@ sv:
1555
1555
  disabled_message: Meddelande
1556
1556
  edit_profile: Redigera profil
1557
1557
  message: Meddelande
1558
- resend_email_confirmation_instructions: Skicka anvisningarna om bekräftelse om e-post igen
1558
+ resend_email_confirmation_instructions: Skicka e-postmeddelande med bekräftelseinstruktioner igen
1559
1559
  qr:
1560
1560
  show:
1561
1561
  scan: Scanna QR-koden
@@ -1819,6 +1819,7 @@ sv:
1819
1819
  nickname_help: Ditt användarnamn i %{organization}. Kan bara innehålla små bokstäver a-z, siffror, '-' och '_'.
1820
1820
  submit_button: Spara
1821
1821
  subtitle: Om du godkänner inbjudan väljer du ditt användarnamn och lösenord.
1822
+ subtitle_no_password: Om du accepterar inbjudan var vänlig ange ditt alias.
1822
1823
  invitation_removed: Din inbjudan har tagits bort.
1823
1824
  invitation_token_invalid: Ogiltig token för inbjudan!
1824
1825
  new:
@@ -1826,8 +1827,8 @@ sv:
1826
1827
  submit_button: Skicka en inbjudan
1827
1828
  no_invitations_remaining: Inga inbjudningar kvar
1828
1829
  send_instructions: Ett e-brev med inbjudan har skickats till %{email}.
1829
- updated: Lösenordet har nu ställts in. Du är nu inloggad.
1830
- updated_not_active: Ditt lösenord har ställts in.
1830
+ updated: Inbjudan godtogs. Du är nu inloggad.
1831
+ updated_not_active: Inbjudan godtogs.
1831
1832
  mailer:
1832
1833
  confirmation_instructions:
1833
1834
  action: Bekräfta mitt konto
@@ -1887,8 +1888,8 @@ sv:
1887
1888
  confirm_new_password: Bekräfta nytt lösenord
1888
1889
  new_password: Nytt lösenord
1889
1890
  old_password_help: För att bekräfta ändringarna av ditt konto, vänligen ange ditt nuvarande lösenord.
1890
- password_help: "Minst %{minimum_characters} tecken, får inte vara för vanligt (som 123456) och måste skilja sig från ditt användarnamn och din e-postadress."
1891
- password_help_admin: "Minst %{minimum_characters} tecken, får inte vara för vanligt (som 123456) och måste skilja sig från ditt användarnamn och din e-postadress."
1891
+ password_help: "Minst %{minimum_characters} tecken. Måste innehålla minst 5 olika tecken, får inte vara för vanligt (t.ex. 123456) och måste skilja sig från ditt namn, användarnamn, e-post och webbplatsens namn."
1892
+ password_help_admin: "Minst %{minimum_characters} tecken. Måste innehålla minst 5 olika tecken, får inte vara för vanligt (t.ex. 123456) och måste skilja sig från ditt namn, användarnamn, e-post, webbplatsens namn och dina tidigare lösenord."
1892
1893
  title: Ändra lösenord
1893
1894
  new:
1894
1895
  forgot_your_password: Glömt ditt lösenord?
@@ -2133,7 +2134,7 @@ sv:
2133
2134
  confirm_title_close_ephemeral_session: Innan du lämnar sidan…
2134
2135
  log_in: Logga in
2135
2136
  main_menu: Huvudmeny
2136
- mobile_account_greeting: Hej, %{user_name}
2137
+ mobile_account_greeting: Hej %{user_name}
2137
2138
  user_menu: Användarmeny
2138
2139
  impersonation_warning:
2139
2140
  close_session: Stäng session
@@ -16,6 +16,8 @@ tr:
16
16
  phone: Telefon
17
17
  report:
18
18
  details: Ek Yorumlar
19
+ taxonomy:
20
+ name: Sınıf Adı
19
21
  user:
20
22
  about: Hakkında
21
23
  email: E-posta adresiniz
@@ -131,6 +133,8 @@ tr:
131
133
  create: "%{user_name} , %{resource_name} statik sayfayı oluşturdu"
132
134
  delete: "%{user_name}, %{resource_name} statik sayfayı sildi"
133
135
  update: "%{user_name}, %{resource_name} statik sayfayı güncelledi"
136
+ taxonomy:
137
+ delete_with_parent: "%{user_name}, %{parent_taxonomy} sınıflaması içindeki %{resource_name} sınıfını sildi"
134
138
  user:
135
139
  block: "%{user_name}, %{resource_name} kullanıcısını engelledi"
136
140
  invite: "%{user_name} katılımcıyı %{resource_name} rolüyle davet etti: %{role}"
@@ -227,6 +231,7 @@ tr:
227
231
  postal_code: Posta kodu
228
232
  name: Örnek yetkilendirme
229
233
  dummy_authorization_workflow:
234
+ explanation: Sahte yetkilendirme iş akışı
230
235
  name: Sahte yetkilendirme iş akışı
231
236
  errors:
232
237
  duplicate_authorization: Bir katılımcı zaten aynı verilerle yetkilendirildi. Bir yönetici, bilgilerinizi doğrulamak için sizinle iletişime geçecektir.
@@ -595,6 +600,8 @@ tr:
595
600
  not_found: 'Veritabanında kapsam bulunamadı (ID: %{id})'
596
601
  scope_type_presenter:
597
602
  not_found: 'Veritabanında kapsam tipi bulunamadı (ID: %{id})'
603
+ taxonomy_presenter:
604
+ not_found: 'Sınıflandırma veritabanında bulunamadı (ID: %{id})'
598
605
  managed_users:
599
606
  expired_session: Mevcut kimliğe bürünme oturumunun süresi doldu.
600
607
  map:
@@ -690,6 +697,13 @@ tr:
690
697
  update:
691
698
  error: Bildirim ayarlarınız güncellenirken bir hata oluştu.
692
699
  success: Bildirim ayarlarınız başarıyla güncellendi.
700
+ onboarding_action_message:
701
+ click_link: Tıklayınız
702
+ cta_html: <a href="%{path}">%{link_text}</a> %{resource_name} içindeki %{action} işlemini gerçekleştirmek için <strong>%{resource_title}</strong>
703
+ expired_authorization_active_title: Yetkinizin süresi doldu.
704
+ incomplete_authorization_active_title: Gerekli tüm bilgiler girilmediğinden doğrulama işleminiz tamamlanmadı.
705
+ pending_authorization_active_message: Bu işlemi gerçekleştirmek için lütfen formu doldurun.
706
+ pending_authorization_active_title: Kimliğinizi doğrulamamız gerekiyor.
693
707
  open_data:
694
708
  not_available_yet: Açık Veri dosyaları henüz mevcut değil, lütfen birkaç dakika içinde tekrar deneyin.
695
709
  pad_iframe:
@@ -876,8 +890,6 @@ tr:
876
890
  submit_button: Davet gönder
877
891
  no_invitations_remaining: Kalan davet yok
878
892
  send_instructions: Davet e-postası %{email}gönderildi.
879
- updated: Şifreniz başarıyla ayarlandı. Şimdi oturum açtınız.
880
- updated_not_active: Şifreniz başarıyla ayarlandı.
881
893
  mailer:
882
894
  confirmation_instructions:
883
895
  action: Hesabımı onayla
@@ -938,13 +950,13 @@ tr:
938
950
  sessions:
939
951
  already_signed_out: Başarıyla Çıkış Yapıldı
940
952
  new:
941
- log_in: "Giriş \nGiriş Yapın "
953
+ log_in: Giriş Yapın
942
954
  signed_out:
943
955
  shared:
944
956
  links:
945
957
  back: Geri
946
958
  forgot_your_password: Parolanızı mı unuttunuz?
947
- log_in: "Giriş \nGiriş Yapın "
959
+ log_in: Giriş Yapın
948
960
  log_in_with_provider: '%{provider} ile giriş yapın'
949
961
  minimum_password_length:
950
962
  one: "(En az%{count} karakter)"
@@ -991,7 +1003,7 @@ tr:
991
1003
  footer:
992
1004
  cc_by_license: Kar Amaçsız Lisanslama (Creative Commons License)
993
1005
  decidim_logo: Decidim Logo
994
- log_in: "Giriş \nGiriş Yapın "
1006
+ log_in: Giriş Yapın
995
1007
  made_with_open_source: Web sitesi <a target="_blank" href="https://github.com/decidim/decidim">ücretsiz yazılımla yapılmıştır</a>.
996
1008
  terms_of_service: Hizmet Kullanım Koşulları
997
1009
  header:
@@ -773,8 +773,6 @@ zh-CN:
773
773
  submit_button: 发送邀请
774
774
  no_invitations_remaining: 没有剩余邀请
775
775
  send_instructions: 邀请邮件已发送至 %{email}。
776
- updated: 您的密码设置成功。您现在已登录。
777
- updated_not_active: 您的密码设置成功。
778
776
  mailer:
779
777
  confirmation_instructions:
780
778
  action: 确认我的帐户
@@ -1167,8 +1167,6 @@ zh-TW:
1167
1167
  submit_button: 發送一個邀請
1168
1168
  no_invitations_remaining: 沒有待處理的邀請
1169
1169
  send_instructions: 已向 %{email} 發送了一封邀請郵件。
1170
- updated: 您的密碼已成功設定。您現在已登入。
1171
- updated_not_active: 您的密碼已成功設定。
1172
1170
  mailer:
1173
1171
  confirmation_instructions:
1174
1172
  action: 確認我的帳戶
@@ -1306,7 +1304,7 @@ zh-TW:
1306
1304
  description: 說明
1307
1305
  name: 名稱
1308
1306
  service: 服務
1309
- type: 類別
1307
+ type: 種類
1310
1308
  items:
1311
1309
  _session_id:
1312
1310
  description: 允許網站在使用者在網頁之間移動時記住使用者。
@@ -68,7 +68,7 @@ module.exports = {
68
68
  sans: ["Source Sans Pro", "ui-sans-serif", "system-ui", "sans-serif"]
69
69
  },
70
70
  fontSize: {
71
- xs: ["13px", "16px"],
71
+ xs: ["12px", "16px"],
72
72
  sm: ["14px", "18px"],
73
73
  md: ["16px", "20px"],
74
74
  lg: ["18px", "23px"],
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-core version.
5
5
  module Core
6
6
  def self.version
7
- "0.31.2"
7
+ "0.31.3"
8
8
  end
9
9
  end
10
10
  end
@@ -45,14 +45,6 @@ module Decidim
45
45
  end
46
46
  # rubocop:enable Metrics/ParameterLists
47
47
 
48
- def create_language_selector(locales, tabs_id, name)
49
- if locales.count > 4
50
- language_selector_select(locales, tabs_id, name)
51
- else
52
- language_tabs(locales, tabs_id, name)
53
- end
54
- end
55
-
56
48
  # Public: Generates a form field for each locale.
57
49
  #
58
50
  # type - The form field's type, like `text_area` or `text_field`
@@ -65,23 +57,11 @@ module Decidim
65
57
 
66
58
  tabs_id = sanitize_tabs_selector(options[:tabs_id] || "#{object_name}-#{name}-tabs")
67
59
 
68
- label_tabs = content_tag(:div, class: "label--tabs") do
69
- field_label = label_i18n(name, options[:label] || label_for(name), required: options[:required])
60
+ error_on_locale = locales.find { |locale| error?(name_with_locale(name, locale)) }
70
61
 
71
- language_selector = "".html_safe
72
- language_selector = create_language_selector(locales, tabs_id, name) if options[:label] != false
62
+ label_tabs = translated_labels(name, options, tabs_id, error_on_locale)
73
63
 
74
- safe_join [field_label, language_selector]
75
- end
76
-
77
- tabs_content = content_tag(:div, class: "tabs-content", data: { tabs_content: tabs_id }) do
78
- locales.each_with_index.inject("".html_safe) do |string, (locale, index)|
79
- tab_content_id = "#{tabs_id}-#{name}-panel-#{index}"
80
- string + content_tag(:div, class: tab_element_class_for("panel", index), id: tab_content_id, "aria-hidden": tab_attr_aria_hidden_for(index)) do
81
- send(type, name_with_locale(name, locale), options.merge(label: false))
82
- end
83
- end
84
- end
64
+ tabs_content = translated_tabs(type, name, options, tabs_id, error_on_locale)
85
65
 
86
66
  safe_join [label_tabs, tabs_content]
87
67
  end
@@ -452,6 +432,44 @@ module Decidim
452
432
 
453
433
  private
454
434
 
435
+ def translated_tabs(type, name, options, tabs_id, error_on_locale = nil)
436
+ content_tag(:div, class: "tabs-content", data: { tabs_content: tabs_id }) do
437
+ locales.each_with_index.inject("".html_safe) do |string, (locale, index)|
438
+ tab_content_id = sanitize_tabs_selector "#{tabs_id}-#{name}-panel-#{index}"
439
+
440
+ aria_hidden = (error_on_locale.present? ? !locale.eql?(error_on_locale) : index.positive?).to_s
441
+ css_class = if error_on_locale.present?
442
+ tab_element_class_for("panel", locale.eql?(error_on_locale) ? 0 : 1)
443
+ else
444
+ tab_element_class_for("panel", index)
445
+ end
446
+
447
+ string + content_tag(:div, class: css_class, id: tab_content_id, "aria-hidden": aria_hidden) do
448
+ send(type, name_with_locale(name, locale), options.merge(label: false))
449
+ end
450
+ end
451
+ end
452
+ end
453
+
454
+ def create_language_selector(locales, tabs_id, name, error_on_locale = nil)
455
+ if locales.count > 4
456
+ language_selector_select(locales, tabs_id, name, error_on_locale)
457
+ else
458
+ language_tabs(locales, tabs_id, name, error_on_locale)
459
+ end
460
+ end
461
+
462
+ def translated_labels(name, options, tabs_id, error_on_locale = nil)
463
+ content_tag(:div, class: "label--tabs") do
464
+ field_label = label_i18n(name, options[:label] || label_for(name), required: options[:required])
465
+
466
+ language_selector = "".html_safe
467
+ language_selector = create_language_selector(locales, tabs_id, name, error_on_locale) if options[:label] != false
468
+
469
+ safe_join [field_label, language_selector]
470
+ end
471
+ end
472
+
455
473
  def editor_hidden_options(name, options)
456
474
  hidden_options = extract_validations(name, options).merge(options)
457
475
  if hidden_options[:minlength] || hidden_options[:maxlength]
@@ -682,9 +700,7 @@ module Decidim
682
700
  end
683
701
 
684
702
  def tab_attr_aria_hidden_for(index)
685
- return "false" if index.zero?
686
-
687
- "true"
703
+ index.positive?.to_s
688
704
  end
689
705
 
690
706
  def locales
@@ -799,29 +815,35 @@ module Decidim
799
815
  class: "columns")
800
816
  end
801
817
 
802
- def language_selector_select(locales, tabs_id, name)
818
+ # i18n-tasks-use t('locale.name_with_error')
819
+ # i18n-tasks-use t('locale.name')
820
+ def language_selector_select(locales, tabs_id, name, error_on_locale = nil)
803
821
  content_tag(:div) do
804
822
  content_tag(:select, id: tabs_id, class: "language-change", data: { controller: "language-change" }) do
805
823
  locales.each_with_index.inject("".html_safe) do |string, (locale, index)|
806
- title = if error?(name_with_locale(name, locale))
807
- I18n.with_locale(locale) { I18n.t("name_with_error", scope: "locale") }
808
- else
809
- I18n.with_locale(locale) { I18n.t("name", scope: "locale") }
810
- end
824
+ title = locale.eql?(error_on_locale) ? "name_with_error" : "name"
825
+ title = I18n.with_locale(locale) { I18n.t(title, scope: "locale") }
811
826
  tab_content_id = sanitize_tabs_selector "#{tabs_id}-#{name}-panel-#{index}"
812
- string + content_tag(:option, title, value: "##{tab_content_id}")
827
+ string + content_tag(:option, title, value: "##{tab_content_id}", selected: locale.eql?(error_on_locale))
813
828
  end
814
829
  end
815
830
  end
816
831
  end
817
832
 
818
- def language_tabs(locales, tabs_id, name)
833
+ def language_tabs(locales, tabs_id, name, error_on_locale = nil)
819
834
  content_tag(:ul, class: "tabs tabs--lang", id: tabs_id, data: { tabs: true }) do
820
835
  locales.each_with_index.inject("".html_safe) do |string, (locale, index)|
821
- string + content_tag(:li, class: tab_element_class_for("title", index)) do
836
+ display = if error_on_locale.nil?
837
+ index
838
+ else
839
+ locale.eql?(error_on_locale) ? 0 : 1
840
+ end
841
+
842
+ css_class = tab_element_class_for("title", display)
843
+ string + content_tag(:li, class: css_class) do
822
844
  title = I18n.with_locale(locale) { I18n.t("name", scope: "locale") }
823
845
  element_class = nil
824
- element_class = "is-tab-error" if error?(name_with_locale(name, locale))
846
+ element_class = "is-tab-error" if locale.eql?(error_on_locale)
825
847
  tab_content_id = sanitize_tabs_selector "#{tabs_id}-#{name}-panel-#{index}"
826
848
  content_tag(:a, title, href: "##{tab_content_id}", class: element_class)
827
849
  end
@@ -85,7 +85,7 @@ module Decidim
85
85
  component = GlobalID::Locator.locate(component_id)
86
86
  if component
87
87
  begin
88
- component.update!(settings: { taxonomy_filters: [filter.id.to_s] })
88
+ component.update!(settings: component.settings.to_h.merge(taxonomy_filters: [filter.id.to_s]))
89
89
  result[:components_assigned][filter.internal_name[organization.default_locale]] ||= []
90
90
  result[:components_assigned][filter.internal_name[organization.default_locale]] << component_id
91
91
  rescue ActiveRecord::RecordInvalid
@@ -101,7 +101,7 @@ module Decidim
101
101
 
102
102
  # Public: after_update callback to update index information of the model.
103
103
  #
104
- def try_update_index_for_search_resource
104
+ def try_update_index_for_search_resource(current_depth = 0)
105
105
  return unless self.class.searchable_resource?(self)
106
106
 
107
107
  org = self.class.search_resource_fields_mapper.retrieve_organization(self)
@@ -124,13 +124,13 @@ module Decidim
124
124
  searchables_in_org.destroy_all
125
125
  end
126
126
 
127
- find_and_update_descendants
127
+ find_and_update_descendants(current_depth)
128
128
  end
129
129
 
130
130
  private
131
131
 
132
- def find_and_update_descendants
133
- Decidim::FindAndUpdateDescendantsJob.perform_later(self)
132
+ def find_and_update_descendants(current_depth = 0)
133
+ Decidim::FindAndUpdateDescendantsJob.perform_later(self, current_depth)
134
134
  end
135
135
 
136
136
  def contents_to_searchable_resource_attributes(fields, locale)