Skip to content

Commit ca455ee

Browse files
fix(a11y): FileWidget and RegistryImageWidget a11y improvements - backport (#8320)
Co-authored-by: Steve Piercy <web@stevepiercy.com>
1 parent 874b332 commit ca455ee

71 files changed

Lines changed: 1462 additions & 414 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/volto/locales/af/LC_MESSAGES/volto.po

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,22 +1212,27 @@ msgstr ""
12121212
msgid "Download file"
12131213
msgstr ""
12141214

1215+
#. Default: "Download {filename}"
1216+
#: components/manage/Widgets/FileWidget
1217+
msgid "Download {filename}"
1218+
msgstr "Laai {filename} af"
1219+
12151220
#. Default: "Drag and drop files from your computer onto this area or click the “Browse” button."
12161221
#: components/manage/Contents/ContentsUploadModal
12171222
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
12181223
msgstr ""
12191224

1220-
#. Default: "Drop file here to replace the existing file"
1225+
#. Default: "File upload area. Press Enter or click to replace the existing file"
12211226
#: components/manage/Widgets/FileWidget
12221227
#: components/manage/Widgets/RegistryImageWidget
12231228
msgid "Drop file here to replace the existing file"
1224-
msgstr ""
1229+
msgstr "Sleep 'n lêer hier of klik om die bestaande lêer te vervang"
12251230

1226-
#. Default: "Drop file here to upload a new file"
1231+
#. Default: "File upload area. Press Enter or click to open the file browser"
12271232
#: components/manage/Widgets/FileWidget
12281233
#: components/manage/Widgets/RegistryImageWidget
12291234
msgid "Drop file here to upload a new file"
1230-
msgstr ""
1235+
msgstr "Sleep 'n lêer hier of klik om op te laai"
12311236

12321237
#. Default: "Drop files here ..."
12331238
#: components/manage/Widgets/FileWidget
@@ -1578,6 +1583,11 @@ msgstr ""
15781583
msgid "File size"
15791584
msgstr ""
15801585

1586+
#. Default: "File upload area. Press Enter or click to replace the existing file"
1587+
#: components/manage/Widgets/FileWidget
1588+
msgid "File upload area. Press Enter or click to replace the existing file"
1589+
msgstr "Lêer-oplaai-area. Druk Enter of klik om die bestaande lêer te vervang"
1590+
15811591
#. Default: "File view"
15821592
#: config/Views
15831593
msgid "File view"
@@ -2846,10 +2856,10 @@ msgstr ""
28462856
msgid "Preferences"
28472857
msgstr ""
28482858

2849-
#. Default: "Press Enter to browse files from your computer."
2859+
#. Default: "File upload area. Press Enter or click to open the file browser"
28502860
#: components/manage/Widgets/FileWidget
28512861
msgid "Press Enter to browse files from your computer."
2852-
msgstr ""
2862+
msgstr "Lêer oplaai area. Druk Enter of klik om die lêerblaaier oop te maak"
28532863

28542864
#. Default: "Prettify your code"
28552865
#: components/manage/Blocks/HTML/Edit
@@ -3953,6 +3963,11 @@ msgstr ""
39533963
msgid "Third"
39543964
msgstr ""
39553965

3966+
#. Default: "This field is required."
3967+
#: components/manage/Widgets/FileWidget
3968+
msgid "This field is required."
3969+
msgstr "Hierdie veld is verpligtend."
3970+
39563971
#. Default: "This has an ongoing working copy in {title}"
39573972
#: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory
39583973
msgid "This has an ongoing working copy in {title}"

packages/volto/locales/ar/LC_MESSAGES/volto.po

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,22 +1212,27 @@ msgstr ""
12121212
msgid "Download file"
12131213
msgstr ""
12141214

1215+
#. Default: "Download {filename}"
1216+
#: components/manage/Widgets/FileWidget
1217+
msgid "Download {filename}"
1218+
msgstr "تنزيل {filename}"
1219+
12151220
#. Default: "Drag and drop files from your computer onto this area or click the “Browse” button."
12161221
#: components/manage/Contents/ContentsUploadModal
12171222
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
12181223
msgstr ""
12191224

1220-
#. Default: "Drop file here to replace the existing file"
1225+
#. Default: "File upload area. Press Enter or click to replace the existing file"
12211226
#: components/manage/Widgets/FileWidget
12221227
#: components/manage/Widgets/RegistryImageWidget
12231228
msgid "Drop file here to replace the existing file"
1224-
msgstr ""
1229+
msgstr "اسحب ملفاً هنا أو انقر لاستبدال الملف الموجود"
12251230

1226-
#. Default: "Drop file here to upload a new file"
1231+
#. Default: "File upload area. Press Enter or click to open the file browser"
12271232
#: components/manage/Widgets/FileWidget
12281233
#: components/manage/Widgets/RegistryImageWidget
12291234
msgid "Drop file here to upload a new file"
1230-
msgstr ""
1235+
msgstr "أسقط ملفاً هنا أو انقر للتحميل"
12311236

12321237
#. Default: "Drop files here ..."
12331238
#: components/manage/Widgets/FileWidget
@@ -1578,6 +1583,11 @@ msgstr ""
15781583
msgid "File size"
15791584
msgstr ""
15801585

1586+
#. Default: "File upload area. Press Enter or click to replace the existing file"
1587+
#: components/manage/Widgets/FileWidget
1588+
msgid "File upload area. Press Enter or click to replace the existing file"
1589+
msgstr "منطقة تحميل الملف. اضغط Enter أو انقر لاستبدال الملف الموجود"
1590+
15811591
#. Default: "File view"
15821592
#: config/Views
15831593
msgid "File view"
@@ -2846,10 +2856,10 @@ msgstr ""
28462856
msgid "Preferences"
28472857
msgstr ""
28482858

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

28542864
#. Default: "Prettify your code"
28552865
#: components/manage/Blocks/HTML/Edit
@@ -3953,6 +3963,11 @@ msgstr ""
39533963
msgid "Third"
39543964
msgstr ""
39553965

3966+
#. Default: "This field is required."
3967+
#: components/manage/Widgets/FileWidget
3968+
msgid "This field is required."
3969+
msgstr "هذا الحقل مطلوب."
3970+
39563971
#. Default: "This has an ongoing working copy in {title}"
39573972
#: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory
39583973
msgid "This has an ongoing working copy in {title}"

packages/volto/locales/bg/LC_MESSAGES/volto.po

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,22 +1212,27 @@ msgstr ""
12121212
msgid "Download file"
12131213
msgstr ""
12141214

1215+
#. Default: "Download {filename}"
1216+
#: components/manage/Widgets/FileWidget
1217+
msgid "Download {filename}"
1218+
msgstr "Изтегляне на {filename}"
1219+
12151220
#. Default: "Drag and drop files from your computer onto this area or click the “Browse” button."
12161221
#: components/manage/Contents/ContentsUploadModal
12171222
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
12181223
msgstr ""
12191224

1220-
#. Default: "Drop file here to replace the existing file"
1225+
#. Default: "File upload area. Press Enter or click to replace the existing file"
12211226
#: components/manage/Widgets/FileWidget
12221227
#: components/manage/Widgets/RegistryImageWidget
12231228
msgid "Drop file here to replace the existing file"
1224-
msgstr ""
1229+
msgstr "Пуснете файл тук или щракнете, за да замените съществуващия файл"
12251230

1226-
#. Default: "Drop file here to upload a new file"
1231+
#. Default: "File upload area. Press Enter or click to open the file browser"
12271232
#: components/manage/Widgets/FileWidget
12281233
#: components/manage/Widgets/RegistryImageWidget
12291234
msgid "Drop file here to upload a new file"
1230-
msgstr ""
1235+
msgstr "Пуснете файл тук или кликнете за качване"
12311236

12321237
#. Default: "Drop files here ..."
12331238
#: components/manage/Widgets/FileWidget
@@ -1578,6 +1583,11 @@ msgstr ""
15781583
msgid "File size"
15791584
msgstr ""
15801585

1586+
#. Default: "File upload area. Press Enter or click to replace the existing file"
1587+
#: components/manage/Widgets/FileWidget
1588+
msgid "File upload area. Press Enter or click to replace the existing file"
1589+
msgstr "Зона за качване на файл. Натиснете Enter или щракнете, за да замените съществуващия файл"
1590+
15811591
#. Default: "File view"
15821592
#: config/Views
15831593
msgid "File view"
@@ -2846,10 +2856,10 @@ msgstr ""
28462856
msgid "Preferences"
28472857
msgstr ""
28482858

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

28542864
#. Default: "Prettify your code"
28552865
#: components/manage/Blocks/HTML/Edit
@@ -3953,6 +3963,11 @@ msgstr ""
39533963
msgid "Third"
39543964
msgstr ""
39553965

3966+
#. Default: "This field is required."
3967+
#: components/manage/Widgets/FileWidget
3968+
msgid "This field is required."
3969+
msgstr "Това поле е задължително."
3970+
39563971
#. Default: "This has an ongoing working copy in {title}"
39573972
#: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory
39583973
msgid "This has an ongoing working copy in {title}"

packages/volto/locales/bn/LC_MESSAGES/volto.po

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,22 +1212,27 @@ msgstr ""
12121212
msgid "Download file"
12131213
msgstr ""
12141214

1215+
#. Default: "Download {filename}"
1216+
#: components/manage/Widgets/FileWidget
1217+
msgid "Download {filename}"
1218+
msgstr "{filename} ডাউনলোড করুন"
1219+
12151220
#. Default: "Drag and drop files from your computer onto this area or click the “Browse” button."
12161221
#: components/manage/Contents/ContentsUploadModal
12171222
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
12181223
msgstr ""
12191224

1220-
#. Default: "Drop file here to replace the existing file"
1225+
#. Default: "File upload area. Press Enter or click to replace the existing file"
12211226
#: components/manage/Widgets/FileWidget
12221227
#: components/manage/Widgets/RegistryImageWidget
12231228
msgid "Drop file here to replace the existing file"
1224-
msgstr ""
1229+
msgstr "বিদ্যমান ফাইলটি প্রতিস্থাপন করতে এখানে একটি ফাইল টেনে আনুন বা ক্লিক করুন"
12251230

1226-
#. Default: "Drop file here to upload a new file"
1231+
#. Default: "File upload area. Press Enter or click to open the file browser"
12271232
#: components/manage/Widgets/FileWidget
12281233
#: components/manage/Widgets/RegistryImageWidget
12291234
msgid "Drop file here to upload a new file"
1230-
msgstr ""
1235+
msgstr "এখানে একটি ফাইল ড্রপ করুন বা আপলোড করতে ক্লিক করুন"
12311236

12321237
#. Default: "Drop files here ..."
12331238
#: components/manage/Widgets/FileWidget
@@ -1578,6 +1583,11 @@ msgstr ""
15781583
msgid "File size"
15791584
msgstr ""
15801585

1586+
#. Default: "File upload area. Press Enter or click to replace the existing file"
1587+
#: components/manage/Widgets/FileWidget
1588+
msgid "File upload area. Press Enter or click to replace the existing file"
1589+
msgstr "ফাইল আপলোড এলাকা। বিদ্যমান ফাইলটি প্রতিস্থাপন করতে Enter চাপুন বা ক্লিক করুন"
1590+
15811591
#. Default: "File view"
15821592
#: config/Views
15831593
msgid "File view"
@@ -2846,10 +2856,10 @@ msgstr ""
28462856
msgid "Preferences"
28472857
msgstr ""
28482858

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

28542864
#. Default: "Prettify your code"
28552865
#: components/manage/Blocks/HTML/Edit
@@ -3953,6 +3963,11 @@ msgstr ""
39533963
msgid "Third"
39543964
msgstr ""
39553965

3966+
#. Default: "This field is required."
3967+
#: components/manage/Widgets/FileWidget
3968+
msgid "This field is required."
3969+
msgstr "এই ক্ষেত্রটি আবশ্যক।"
3970+
39563971
#. Default: "This has an ongoing working copy in {title}"
39573972
#: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory
39583973
msgid "This has an ongoing working copy in {title}"

packages/volto/locales/ca/LC_MESSAGES/volto.po

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,22 +1213,27 @@ msgstr "Descarrega l'esdeveniment"
12131213
msgid "Download file"
12141214
msgstr "Descarrega el fitxer"
12151215

1216+
#. Default: "Download {filename}"
1217+
#: components/manage/Widgets/FileWidget
1218+
msgid "Download {filename}"
1219+
msgstr "Descarrega {filename}"
1220+
12161221
#. Default: "Drag and drop files from your computer onto this area or click the “Browse” button."
12171222
#: components/manage/Contents/ContentsUploadModal
12181223
msgid "Drag and drop files from your computer onto this area or click the “Browse” button."
12191224
msgstr "Arrossegueu fitxers des del vostre ordinador a aquesta àrea o feu clic al botó \"Navega\"."
12201225

1221-
#. Default: "Drop file here to replace the existing file"
1226+
#. Default: "File upload area. Press Enter or click to replace the existing file"
12221227
#: components/manage/Widgets/FileWidget
12231228
#: components/manage/Widgets/RegistryImageWidget
12241229
msgid "Drop file here to replace the existing file"
1225-
msgstr "Deixeu anar el fitxer aquí per substituir el fitxer existent"
1230+
msgstr "Arrossegueu un fitxer aquí o feu clic per substituir el fitxer existent"
12261231

1227-
#. Default: "Drop file here to upload a new file"
1232+
#. Default: "File upload area. Press Enter or click to open the file browser"
12281233
#: components/manage/Widgets/FileWidget
12291234
#: components/manage/Widgets/RegistryImageWidget
12301235
msgid "Drop file here to upload a new file"
1231-
msgstr "Deixeu anar el fitxer aquí per pujar un fitxer nou"
1236+
msgstr "Arrossegueu un fitxer aquí o feu clic per pujar-lo"
12321237

12331238
#. Default: "Drop files here ..."
12341239
#: components/manage/Widgets/FileWidget
@@ -1579,6 +1584,11 @@ msgstr "El fitxer no és del tipus acceptat {accept}"
15791584
msgid "File size"
15801585
msgstr "Mida de l'arxiu"
15811586

1587+
#. Default: "File upload area. Press Enter or click to replace the existing file"
1588+
#: components/manage/Widgets/FileWidget
1589+
msgid "File upload area. Press Enter or click to replace the existing file"
1590+
msgstr "Àrea de càrrega de fitxers. Premeu Retorn o feu clic per substituir el fitxer existent"
1591+
15821592
#. Default: "File view"
15831593
#: config/Views
15841594
msgid "File view"
@@ -2847,10 +2857,10 @@ msgstr "Desenvolupat amb Plone i Python"
28472857
msgid "Preferences"
28482858
msgstr "Preferències"
28492859

2850-
#. Default: "Press Enter to browse files from your computer."
2860+
#. Default: "File upload area. Press Enter or click to open the file browser"
28512861
#: components/manage/Widgets/FileWidget
28522862
msgid "Press Enter to browse files from your computer."
2853-
msgstr "Prem Enter per explorar els fitxers del teu ordinador."
2863+
msgstr "Àrea de càrrega de fitxers. Premeu Enter o feu clic per obrir el navegador de fitxers"
28542864

28552865
#. Default: "Prettify your code"
28562866
#: components/manage/Blocks/HTML/Edit
@@ -3954,6 +3964,11 @@ msgstr "Aquests elements tindran enllaços trencats"
39543964
msgid "Third"
39553965
msgstr "Tercer"
39563966

3967+
#. Default: "This field is required."
3968+
#: components/manage/Widgets/FileWidget
3969+
msgid "This field is required."
3970+
msgstr "Aquest camp és obligatori."
3971+
39573972
#. Default: "This has an ongoing working copy in {title}"
39583973
#: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory
39593974
msgid "This has an ongoing working copy in {title}"

0 commit comments

Comments
 (0)