diff --git a/locales/ca/LC_MESSAGES/volto.po b/locales/ca/LC_MESSAGES/volto.po index 4fd41e4e6b..e01b268d76 100644 --- a/locales/ca/LC_MESSAGES/volto.po +++ b/locales/ca/LC_MESSAGES/volto.po @@ -1272,9 +1272,9 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Introduïu la vostra nova contrasenya. Mínim 5 caràcters." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Introduïu la vostra nova contrasenya. Mínim 8 caràcters." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index c662174ae1..22c83cb8a6 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -1269,9 +1269,9 @@ msgstr "Geben Sie Ihre E-Mail zur Verifikation ein." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Geben Sie ihr neues Passwort ein. Mindestens 5 Zeichen." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Geben Sie ihr neues Passwort ein. Mindestens 8 Zeichen." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index d99f995048..c85490b44b 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -1263,8 +1263,8 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." msgstr "" #: components/theme/PasswordReset/PasswordReset diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index 112723bb18..696ad123e6 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -1274,9 +1274,9 @@ msgstr "Introduzca su correo electrónico para verificar." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Introduzca su nueva contraseña. Mínimo 5 caracteres." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Introduzca su nueva contraseña. Mínimo 8 caracteres." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/eu/LC_MESSAGES/volto.po b/locales/eu/LC_MESSAGES/volto.po index c549d73d94..b19c9ad4de 100644 --- a/locales/eu/LC_MESSAGES/volto.po +++ b/locales/eu/LC_MESSAGES/volto.po @@ -1270,9 +1270,9 @@ msgstr "Idatzi zure eposta helbidea egiaztatu dezagun." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Idatzi zure pasahitz berria. Gutxienez 5 karaktere." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Idatzi zure pasahitz berria. Gutxienez 8 karaktere." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/fi/LC_MESSAGES/volto.po b/locales/fi/LC_MESSAGES/volto.po index c7f76d17a4..19345cfa05 100644 --- a/locales/fi/LC_MESSAGES/volto.po +++ b/locales/fi/LC_MESSAGES/volto.po @@ -1274,9 +1274,9 @@ msgstr "Syötä sähköpostiosoitteesi vahvistusta varten." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Syötä uusi salasanasi, jossa on vähintään viisi (5) merkkiä." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Syötä uusi salasanasi, jossa on vähintään viisi (8) merkkiä." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index 3c29448196..cfcd5a0af4 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -1280,9 +1280,9 @@ msgstr "Saisissez votre email pour vérification." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Saisissez votre nouveau mot de passe. Minimum 5 caractères." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Saisissez votre nouveau mot de passe. Minimum 8 caractères." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index d7daf1981d..64d87aadc6 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -1263,9 +1263,9 @@ msgstr "Inserisci la tua email per la verifica." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Inserisci la tua nuova password. Minimo 5 caratteri." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Inserisci la tua nuova password. Minimo 8 caratteri." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/ja/LC_MESSAGES/volto.po b/locales/ja/LC_MESSAGES/volto.po index e630519d58..9aef53b157 100644 --- a/locales/ja/LC_MESSAGES/volto.po +++ b/locales/ja/LC_MESSAGES/volto.po @@ -1271,9 +1271,9 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "新しいパスワードを入力。(5文字以上)" +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "新しいパスワードを入力。(8文字以上)" #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/nl/LC_MESSAGES/volto.po b/locales/nl/LC_MESSAGES/volto.po index fb7e7a52cd..c563bf05bb 100644 --- a/locales/nl/LC_MESSAGES/volto.po +++ b/locales/nl/LC_MESSAGES/volto.po @@ -1282,9 +1282,9 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Geef een nieuw wachtwoord op. Minimaal 5 karakters." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Geef een nieuw wachtwoord op. Minimaal 8 karakters." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/pt/LC_MESSAGES/volto.po b/locales/pt/LC_MESSAGES/volto.po index 623b2ed337..b9f0a4602b 100644 --- a/locales/pt/LC_MESSAGES/volto.po +++ b/locales/pt/LC_MESSAGES/volto.po @@ -1271,9 +1271,9 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Escreva uma senha nova. Mínimo de 5 caracteres." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Escreva uma senha nova. Mínimo de 8 caracteres." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/pt_BR/LC_MESSAGES/volto.po b/locales/pt_BR/LC_MESSAGES/volto.po index 5bf7724273..dc69005027 100644 --- a/locales/pt_BR/LC_MESSAGES/volto.po +++ b/locales/pt_BR/LC_MESSAGES/volto.po @@ -1273,9 +1273,9 @@ msgstr "Informe seu e-mail para verificação." #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Digite sua nova senha. Mínimo de 5 caracteres." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Digite sua nova senha. Mínimo de 8 caracteres." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/ro/LC_MESSAGES/volto.po b/locales/ro/LC_MESSAGES/volto.po index dace4b8f77..30009767d5 100644 --- a/locales/ro/LC_MESSAGES/volto.po +++ b/locales/ro/LC_MESSAGES/volto.po @@ -1263,9 +1263,9 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "Introduceți noua parolă. Minim 5 caractere." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "Introduceți noua parolă. Minim 8 caractere." #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/locales/volto.pot b/locales/volto.pot index 03a68ccf47..0524dad36f 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1265,8 +1265,8 @@ msgstr "" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." msgstr "" #: components/theme/PasswordReset/PasswordReset diff --git a/locales/zh_CN/LC_MESSAGES/volto.po b/locales/zh_CN/LC_MESSAGES/volto.po index 5f46b9ff89..e8f5457cdd 100644 --- a/locales/zh_CN/LC_MESSAGES/volto.po +++ b/locales/zh_CN/LC_MESSAGES/volto.po @@ -1269,9 +1269,9 @@ msgstr "输入你的邮箱进行验证" #: components/manage/Preferences/ChangePassword #: components/theme/PasswordReset/PasswordReset -# defaultMessage: Enter your new password. Minimum 5 characters. -msgid "Enter your new password. Minimum 5 characters." -msgstr "输入你的新密码。最少5个字符" +# defaultMessage: Enter your new password. Minimum 8 characters. +msgid "Enter your new password. Minimum 8 characters." +msgstr "" #: components/theme/PasswordReset/PasswordReset # defaultMessage: Enter your username for verification. diff --git a/news/4801.feature b/news/4801.feature new file mode 100644 index 0000000000..6d0b273792 --- /dev/null +++ b/news/4801.feature @@ -0,0 +1 @@ +Display PAS validation errors. [tschorr] diff --git a/news/4849.feature b/news/4849.feature new file mode 100644 index 0000000000..7eab003a6b --- /dev/null +++ b/news/4849.feature @@ -0,0 +1 @@ +Use a Container from the registry in the Form component and fallback to the Semantic UI one. @sneridagh diff --git a/src/components/manage/Form/Form.jsx b/src/components/manage/Form/Form.jsx index bdf0839c64..f9f826fccd 100644 --- a/src/components/manage/Form/Form.jsx +++ b/src/components/manage/Form/Form.jsx @@ -31,7 +31,7 @@ import { Portal } from 'react-portal'; import { connect } from 'react-redux'; import { Button, - Container, + Container as SemanticContainer, Form as UiForm, Message, Segment, @@ -545,12 +545,14 @@ class Form extends Component { const { schema: originalSchema, onCancel, onSubmit } = this.props; const { formData } = this.state; const schema = this.removeBlocksLayoutFields(originalSchema); + const Container = + config.getComponent({ name: 'Container' }).component || SemanticContainer; return this.props.visual ? ( // Removing this from SSR is important, since react-beautiful-dnd supports SSR, // but draftJS don't like it much and the hydration gets messed up this.state.isClient && ( -