Skip to content
Merged
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
21 changes: 21 additions & 0 deletions docs/source/upgrade-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,27 @@ Also review any components that depend on hidden accessibility elements to ensur
[Add visually-hidden class #6356](https://github.com/plone/volto/pull/6356)
```

### Restored original `FileWidget` i18n message IDs
```{versionchanged} Volto 19.1.3 and Volto 19.1.6
The `msgid` keys renamed in Volto 19.1.3 were reverted to their original values.
```

Volto 19.1.3 in pull request [#7982](https://github.com/plone/volto/pull/7982) inadvertently renamed several `defineMessages` `id` keys in `FileWidget` and `RegistryImageWidget`.
Because the `id` is the key used to look up translations in the `.po` files, renaming it silently broke all existing translations for those strings, which then fell back to their English default.

Volto 19.1.6 restores the original `msgid` keys, so the long-standing translations apply again.
The `defaultMessage` (the visible English text) was also updated to more accessible wording, but that does not affect the translation lookup.

The renamed keys existed only in Volto 19.1.3, 19.1.4, and 19.1.5.
If your add-on or project referenced or translated any of those message IDs, update them to the restored keys.
- `Drop a file here or click to replace the existing file` was restored to `Drop file here to replace the existing file`,
- `Drop a file here or click to upload` was restored to `Drop file here to upload a new file`,
- `File upload area. Press Enter to open the file browser` was restored to `Press Enter to browse files from your computer.`.

```{seealso}
[Fix FileWidget i18n msgid breakage introduced in #7982 #8334](https://github.com/plone/volto/pull/8334)
```

Comment thread
stevepiercy marked this conversation as resolved.
(19-removed-support-for-loading-configuration-from-project-label)=

### Removed support for loading configuration from project
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/af/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1253,18 +1253,14 @@ msgstr "Laai {filename} af"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr ""

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "Plaas 'n lêer hier of klik om die bestaande lêer te vervang"
msgid "Drop file here to replace the existing file"
msgstr "Lêeroplaaiarea. Druk Enter of klik om die bestaande lêer te vervang"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "Sleep 'n lêer hier of klik om op te laai"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr ""
Expand Down Expand Up @@ -1623,10 +1619,10 @@ msgstr ""
msgid "File size"
msgstr ""

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "Lêeroplaaiarea. Druk Enter om die lêerblaaier oop te maak"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "Lêeroplaaiarea. Druk Enter of klik om die bestaande lêer te vervang"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2929,6 +2925,11 @@ msgstr ""
msgid "Preferences"
msgstr ""

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "Lêeroplaaiarea. Druk Enter of klik om die lêerblaaier te open"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/ar/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1253,18 +1253,14 @@ msgstr "تنزيل {filename}"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr ""

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "أسقط ملفًا هنا أو انقر لاستبدال الملف الموجود"
msgid "Drop file here to replace the existing file"
msgstr "منطقة تحميل الملف. اضغط Enter أو انقر لاستبدال الملف الموجود"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "اسحب ملفاً هنا أو انقر للرفع"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr ""
Expand Down Expand Up @@ -1623,10 +1619,10 @@ msgstr ""
msgid "File size"
msgstr ""

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "منطقة رفع الملفات. اضغط Enter لفتح متصفح الملفات"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "منطقة تحميل الملف. اضغط Enter أو انقر لاستبدال الملف الموجود"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2929,6 +2925,11 @@ msgstr ""
msgid "Preferences"
msgstr ""

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "منطقة تحميل الملف. اضغط Enter أو انقر لفتح متصفح الملفات"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/bg/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1253,18 +1253,14 @@ msgstr "Изтегляне на {filename}"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr ""

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "Пуснете файл тук или кликнете, за да замените съществуващия файл"
msgid "Drop file here to replace the existing file"
msgstr "Зона за качване на файл. Натиснете Enter или кликнете, за да замените съществуващия файл"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "Пуснете файл тук или щракнете за качване"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr ""
Expand Down Expand Up @@ -1623,10 +1619,10 @@ msgstr ""
msgid "File size"
msgstr ""

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "Зона за качване на файл. Натиснете Enter за отваряне на файловия браузър"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "Зона за качване на файл. Натиснете Enter или кликнете, за да замените съществуващия файл"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2929,6 +2925,11 @@ msgstr ""
msgid "Preferences"
msgstr ""

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "Зона за качване на файл. Натиснете Enter или кликнете, за да отворите файловия браузър"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/bn/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1253,18 +1253,14 @@ msgstr "{filename} ডাউনলোড করুন"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr ""

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "এখানে একটি ফাইল ড্রপ করুন বা বিদ্যমান ফাইলটি প্রতিস্থাপন করতে ক্লিক করুন"
msgid "Drop file here to replace the existing file"
msgstr "ফাইল আপলোড এলাকা। বিদ্যমান ফাইলটি প্রতিস্থাপন করতে Enter চাপুন বা ক্লিক করুন"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "এখানে একটি ফাইল টেনে আনুন অথবা আপলোড করতে ক্লিক করুন"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr ""
Expand Down Expand Up @@ -1623,10 +1619,10 @@ msgstr ""
msgid "File size"
msgstr ""

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "ফাইল আপলোড এলাকা। ফাইল ব্রাউজার খুলতে Enter চাপুন"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "ফাইল আপলোড এলাকা। বিদ্যমান ফাইলটি প্রতিস্থাপন করতে Enter চাপুন বা ক্লিক করুন"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2929,6 +2925,11 @@ msgstr ""
msgid "Preferences"
msgstr ""

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "ফাইল আপলোড এলাকা। ফাইল ব্রাউজার খুলতে Enter চাপুন বা ক্লিক করুন"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/ca/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1254,18 +1254,14 @@ msgstr "Descarrega {filename}"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr "Arrossegueu fitxers des del vostre ordinador a aquesta àrea o feu clic al botó \"Navega\"."

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "Arrossegueu un fitxer aquí o feu clic per substituir el fitxer existent"
msgid "Drop file here to replace the existing file"
msgstr "Àrea de càrrega de fitxers. Premeu Enter o feu clic per substituir el fitxer existent"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "Arrossegueu un fitxer aquí o feu clic per pujar-lo"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr "Deixeu anar el fitxer aquí per pujar un fitxer nou"
Expand Down Expand Up @@ -1624,10 +1620,10 @@ msgstr "El fitxer no és del tipus acceptat {accept}"
msgid "File size"
msgstr "Mida de l'arxiu"

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "Àrea de càrrega de fitxers. Premeu Enter per obrir el navegador de fitxers"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "Àrea de càrrega de fitxers. Premeu Enter o feu clic per substituir el fitxer existent"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2930,6 +2926,11 @@ msgstr "Desenvolupat amb Plone i Python"
msgid "Preferences"
msgstr "Preferències"

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "Àrea de càrrega de fitxers. Premeu Enter o feu clic per obrir el navegador de fitxers"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/cs/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1253,18 +1253,14 @@ msgstr "Stáhnout {filename}"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr ""

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "Přetáhněte soubor sem nebo klikněte pro nahrazení stávajícího souboru"
msgid "Drop file here to replace the existing file"
msgstr "Oblast pro nahrávání souborů. Stiskněte Enter nebo klikněte pro nahrazení stávajícího souboru"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "Přetáhněte soubor sem nebo klikněte pro nahrání"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr ""
Expand Down Expand Up @@ -1623,10 +1619,10 @@ msgstr ""
msgid "File size"
msgstr ""

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "Oblast pro nahrávání souborů. Stiskněte Enter pro otevření prohlížeče souborů"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "Oblast pro nahrávání souborů. Stiskněte Enter nebo klikněte pro nahrazení stávajícího souboru"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2929,6 +2925,11 @@ msgstr ""
msgid "Preferences"
msgstr ""

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "Oblast pro nahrávání souborů. Stiskněte Enter nebo klikněte pro otevření prohlížeče souborů"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
23 changes: 12 additions & 11 deletions packages/volto/locales/cy/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1253,18 +1253,14 @@ msgstr "Lawrlwytho {filename}"
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
msgstr ""

#. Default: "Drop a file here or click to replace the existing file"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop a file here or click to replace the existing file"
msgstr "Gollyngwch ffeil yma neu cliciwch i amnewid y ffeil bresennol"
msgid "Drop file here to replace the existing file"
msgstr "Ardal uwchlwytho ffeil. Gwasgwch Enter neu cliciwch i amnewid y ffeil bresennol"

#. Default: "Drop a file here or click to upload"
#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Drop a file here or click to upload"
msgstr "Llusgwch ffeil yma neu cliciwch i uwchlwytho"

#. Default: "Drop file here to upload a new file"
#: components/manage/Widgets/RegistryImageWidget
msgid "Drop file here to upload a new file"
msgstr ""
Expand Down Expand Up @@ -1623,10 +1619,10 @@ msgstr ""
msgid "File size"
msgstr ""

#. Default: "File upload area. Press Enter to open the file browser"
#. Default: "File upload area. Press Enter or click to replace the existing file."
#: components/manage/Widgets/FileWidget
msgid "File upload area. Press Enter to open the file browser"
msgstr "Ardal uwchlwytho ffeiliau. Gwasgwch Enter i agor y porwr ffeiliau"
msgid "File upload area. Press Enter or click to replace the existing file"
msgstr "Ardal uwchlwytho ffeil. Gwasgwch Enter neu cliciwch i amnewid y ffeil bresennol"

#. Default: "File view"
#: config/Views
Expand Down Expand Up @@ -2929,6 +2925,11 @@ msgstr ""
msgid "Preferences"
msgstr ""

#. Default: "File upload area. Press Enter or click to open the file browser."
#: components/manage/Widgets/FileWidget
msgid "Press Enter to browse files from your computer."
msgstr "Ardal uwchlwytho ffeil. Gwasgwch Enter neu cliciwch i agor y porwr ffeiliau"

#. Default: "Prettify your code"
#: components/manage/Blocks/HTML/Edit
msgid "Prettify your code"
Expand Down
Loading
Loading