Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@ You will need to migrate to Bolt 6.1 first, migrate all your databases and after

- `\Bolt\Doctrine\Migrations\ArrayToJsonMigrator`. This class was always meant to be temporary. If you use it in your migration, you should remove the usages in your migration (but make sure that it has already been executed on all your deployments).

## Removed translations

The following keys have been removed from the `messages` domain. Bolt itself only ever resolves them from the domain listed below, so this does not change anything Bolt renders. If your own code, templates or extensions translate one of these keys **from the `messages` domain**, update the call to use the correct domain, or add the key to your own `messages` catalogue.

| Key | Now only in domain | Used by Bolt at |
|---|---|---|
| `user.not_valid_display_name` | `validators` | `src/Entity/User.php` (`Assert\NotBlank`, `Assert\Length`) |
| `user.not_valid_email` | `validators` | `src/Entity/User.php` (`Assert\Email`) |
| `user.not_valid_password` | `validators` | `src/Entity/User.php` (`Assert\Length`) |
| `You have to login in order to access this page.` | `security` | `src/Security/AuthenticationEntryPointRedirector.php` |

Note that Symfony's translator falls back between *locales*, but never between *domains*, so a lookup in `messages` will not fall back to `validators` or `security`.

Affected locales: `cs`, `el`, `en`, `fr`, `hu`, `nl`, `ru`, `sk`, `tr`, `uk`, `zh_CN`.

Where a locale had a translation in `messages` but not yet in the serving domain, the translation was moved rather than dropped (`security.fr`, `security.nl`, `validators.hu`, `validators.zh_CN`). Those locales previously fell back to English for these keys and now show their own translation.

# From Bolt 6.0 to 6.1

This release upgrades the erusev parsedown packages (used for Markdown) requirements to resolve issues with newer PHP version compatibility. However, this can have an impact on your existing pages as the Markdown parsing rules have changed.
Expand Down
24 changes: 0 additions & 24 deletions translations/messages.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1719,18 +1719,6 @@
<target>Akce</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment state="translated">
<source>user.not_valid_email</source>
<target>Chybný email</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment state="translated">
<source>user.not_valid_password</source>
<target>Chybné heslo. Heslo by mělo obsahovat minimálně 6 znaků.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment state="translated">
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2127,12 +2115,6 @@
<target>Systémové informace</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment state="translated">
<source>user.not_valid_display_name</source>
<target>Chybné zobrazované jméno</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment state="translated">
<source>action.confirm_delete</source>
Expand Down Expand Up @@ -2661,12 +2643,6 @@
<target>Váš e-mail</target>
</segment>
</unit>
<unit id="NF.vvAN" name="You have to login in order to access this page.">
<segment>
<source>You have to login in order to access this page.</source>
<target>Pro přístup na tuto stránku se musíte přihlásit.</target>
</segment>
</unit>
<unit id="MjY7.cg" name="modal.title.file_field">
<segment>
<source>modal.title.file_field</source>
Expand Down
18 changes: 0 additions & 18 deletions translations/messages.el.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1768,18 +1768,6 @@
<target>Ενέργειες</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Ακυρο ηλ. ταχυδρομείο</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Λανθασμένος κωδικός. Ο κωδικός πρόσβασης πρέπει να περιέχει τουλάχιστον 6 χαρακτήρες.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2176,12 +2164,6 @@
<target>Πληροφορίες συστήματος</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Μη έγκυρο εμφανιζόμενο όνομα</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down
24 changes: 0 additions & 24 deletions translations/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1771,18 +1771,6 @@
<target>Actions</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Invalid email</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Invalid password. The password should contain at least 6 characters.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2179,12 +2167,6 @@
<target>System Information</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Invalid display name</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down Expand Up @@ -2713,12 +2695,6 @@
<target>your email</target>
</segment>
</unit>
<unit id="NF.vvAN" name="You have to login in order to access this page.">
<segment>
<source>You have to login in order to access this page.</source>
<target>You have to login in order to access this page.</target>
</segment>
</unit>
<unit id="MjY7.cg" name="modal.title.file_field">
<segment>
<source>modal.title.file_field</source>
Expand Down
24 changes: 0 additions & 24 deletions translations/messages.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1777,18 +1777,6 @@
<target>Actions</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Email invalide</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Mot de passe incorrect. Le mot de passe doit contenir au moins 6 caractères.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2185,12 +2173,6 @@
<target>Informations système</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Nom d'affichage non valide</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down Expand Up @@ -2719,12 +2701,6 @@
<target>votre email</target>
</segment>
</unit>
<unit id="NF.vvAN" name="You have to login in order to access this page.">
<segment>
<source>You have to login in order to access this page.</source>
<target>Vous devez vous connecter pour accéder à cette page.</target>
</segment>
</unit>
<unit id="MjY7.cg" name="modal.title.file_field">
<segment>
<source>modal.title.file_field</source>
Expand Down
12 changes: 0 additions & 12 deletions translations/messages.hu.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1785,18 +1785,6 @@
<target>Műveletek</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Érvénytelen email cím</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Érvénytelen jelszó</target>
</segment>
</unit>
<unit id="rCKtTo5" name="caption.redirection_page">
<segment>
<source>caption.redirection_page</source>
Expand Down
18 changes: 0 additions & 18 deletions translations/messages.nl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1374,18 +1374,6 @@
<target>Acties</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Invalid email</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Invalid password</target>
</segment>
</unit>
<unit id="t2TNwOq" name="Unknown">
<segment>
<source>Unknown</source>
Expand Down Expand Up @@ -2076,12 +2064,6 @@
<target>Avatar</target>
</segment>
</unit>
<unit id="NF.vvAN" name="You have to login in order to access this page.">
<segment>
<source>You have to login in order to access this page.</source>
<target>Je moet ingelogd zijn om deze pagina te bekijken.</target>
</segment>
</unit>
<unit id="MjY7.cg" name="modal.title.file_field">
<segment>
<source>modal.title.file_field</source>
Expand Down
24 changes: 0 additions & 24 deletions translations/messages.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1771,18 +1771,6 @@
<target>Действия</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Неверный адрес электронной почты</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Неправильный пароль. Пароль должен содержать не менее 6 символов.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2179,12 +2167,6 @@
<target>Системная информация</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Недействительное отображаемое имя</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down Expand Up @@ -2443,12 +2425,6 @@
<target>Аватар</target>
</segment>
</unit>
<unit id="NF.vvAN" name="You have to login in order to access this page.">
<segment state="translated">
<source>You have to login in order to access this page.</source>
<target>Вы должны войти в систему, чтобы получить доступ к этой странице.</target>
</segment>
</unit>
<unit id="dp42qbF" name="reset_password.email_title">
<segment state="translated">
<source>reset_password.email_title</source>
Expand Down
24 changes: 0 additions & 24 deletions translations/messages.sk.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1771,18 +1771,6 @@
<target>Akcie</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Neplatný e-mail</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Neplatné heslo. Heslo musí obsahovať aspoň 6 znakov.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2179,12 +2167,6 @@
<target>Systémové informácie</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Neplatné zobrazované meno</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down Expand Up @@ -2713,12 +2695,6 @@
<target>váš e-mail</target>
</segment>
</unit>
<unit id="NF.vvAN" name="You have to login in order to access this page.">
<segment>
<source>You have to login in order to access this page.</source>
<target>Na prístup k tejto stránke sa musíte prihlásiť.</target>
</segment>
</unit>
<unit id="MjY7.cg" name="modal.title.file_field">
<segment>
<source>modal.title.file_field</source>
Expand Down
18 changes: 0 additions & 18 deletions translations/messages.tr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1767,18 +1767,6 @@
<target>Eylemler</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Geçersiz e-posta.</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Geçersiz parola. Parola en az 6 karakter içermelidir.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2175,12 +2163,6 @@
<target>Sistem Bilgisi</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Geçersiz görüntüleme adı</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down
18 changes: 0 additions & 18 deletions translations/messages.uk.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1767,18 +1767,6 @@
<target>Дії</target>
</segment>
</unit>
<unit id="fkXL.k6" name="user.not_valid_email">
<segment>
<source>user.not_valid_email</source>
<target>Неправильна адреса електронної пошти</target>
</segment>
</unit>
<unit id="HjWW.NS" name="user.not_valid_password">
<segment>
<source>user.not_valid_password</source>
<target>Неправильний пароль. Пароль повинен містити не менше 6 символів.</target>
</segment>
</unit>
<unit id="TpGxDI3" name="user.unknown_user">
<segment>
<source>user.unknown_user</source>
Expand Down Expand Up @@ -2175,12 +2163,6 @@
<target>Системна інформація</target>
</segment>
</unit>
<unit id="4oq.CNw" name="user.not_valid_display_name">
<segment>
<source>user.not_valid_display_name</source>
<target>Недійсне відображене імʼя</target>
</segment>
</unit>
<unit id="6Gw1lsE" name="action.confirm_delete">
<segment>
<source>action.confirm_delete</source>
Expand Down
Loading
Loading