Skip to content

Commit 649db3b

Browse files
authored
feat(a11y): added an event listener on the file, for availability (#733)
* feat(a11y): added an event listener on the file, for availability * feat(locale): added locale a11y-file-item-status
1 parent b410122 commit 649db3b

36 files changed

+181
-6
lines changed

blocks/FileItem/FileItem.js

+10-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import { generateThumb } from '../utils/resizeImage.js';
1010
import { parseShrink } from '../../utils/parseShrink.js';
1111

1212
const FileItemState = Object.freeze({
13-
FINISHED: Symbol(0),
14-
FAILED: Symbol(1),
15-
UPLOADING: Symbol(2),
16-
IDLE: Symbol(3),
13+
FINISHED: Symbol('FINISHED'),
14+
FAILED: Symbol('FAILED'),
15+
UPLOADING: Symbol('UPLOADING'),
16+
IDLE: Symbol('IDLE'),
1717
});
1818

1919
export class FileItem extends UploaderBlock {
@@ -55,6 +55,7 @@ export class FileItem extends UploaderBlock {
5555
isFocused: false,
5656
isEditable: false,
5757
state: FileItemState.IDLE,
58+
ariaLabelStatusFile: '',
5859
onEdit: () => {
5960
this.$['*currentActivityParams'] = {
6061
internalId: this._entry.uid,
@@ -290,6 +291,10 @@ export class FileItem extends UploaderBlock {
290291
progressVisible: state === FileItemState.UPLOADING,
291292
isEditable: this.cfg.useCloudImageEditor && this._entry?.getValue('isImage') && this._entry?.getValue('cdnUrl'),
292293
errorText: this._entry.getValue('errors')?.[0]?.message,
294+
ariaLabelStatusFile: this.l10n('a11y-file-item-status', {
295+
fileName: this._entry?.getValue('fileName'),
296+
status: this.l10n(state?.description?.toLocaleLowerCase() ?? '').toLocaleLowerCase(),
297+
}),
293298
});
294299
}
295300

@@ -425,7 +430,7 @@ FileItem.template = /* HTML */ `
425430
<uc-icon set="@name: badgeIcon"></uc-icon>
426431
</div>
427432
</div>
428-
<div class="uc-file-name-wrapper">
433+
<div aria-live="polite" class="uc-file-name-wrapper" set="@aria-label:ariaLabelStatusFile;">
429434
<span class="uc-file-name" set="@title: itemName">{{itemName}}</span>
430435
<span class="uc-file-error" set="@hidden: !errorText">{{errorText}}</span>
431436
</div>

blocks/UploadList/UploadList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export class UploadList extends UploaderBlock {
201201

202202
UploadList.template = /* HTML */ `
203203
<uc-activity-header>
204-
<span class="uc-header-text">{{headerText}}</span>
204+
<span aria-live="polite" class="uc-header-text">{{headerText}}</span>
205205
<button
206206
type="button"
207207
class="uc-mini-btn uc-close-btn"

locales/file-uploader/ar.js

+5
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,9 @@ export default {
119119
'a11y-cloud-editor-apply-filter': 'تطبيق فلتر {{name}}',
120120
'a11y-cloud-editor-apply-crop': 'تطبيق عملية {{name}}',
121121
'a11y-cloud-editor-apply-tuning': 'تطبيق ضبط {{name}}',
122+
finished: 'تم الانتهاء',
123+
failed: 'فشل',
124+
uploading: 'جارٍ التحميل',
125+
idle: 'خامل',
126+
'a11y-file-item-status': 'الملف {{fileName}} في حالة {{status}}',
122127
};

locales/file-uploader/az.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '{{name}} filtrini tətbiq et',
112112
'a11y-cloud-editor-apply-crop': '{{name}} əməliyyatını tətbiq et',
113113
'a11y-cloud-editor-apply-tuning': '{{name}} tənzimləməsini tətbiq et',
114+
finished: 'Bitdi',
115+
failed: 'Uğursuz',
116+
uploading: 'Yüklənir',
117+
idle: 'Boş',
118+
'a11y-file-item-status': '{{fileName}} faylı {{status}} statusundadır',
114119
};

locales/file-uploader/ca.js

+5
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ export default {
114114
'a11y-cloud-editor-apply-filter': 'Aplicar el filtre {{name}}',
115115
'a11y-cloud-editor-apply-crop': "Aplicar l'operació {{name}}",
116116
'a11y-cloud-editor-apply-tuning': "Aplicar l'ajust {{name}}",
117+
finished: 'Acabat',
118+
failed: 'Fallat',
119+
uploading: 'Carregant',
120+
idle: 'Inactiu',
121+
'a11y-file-item-status': 'El fitxer {{fileName}} està en estat {{status}}',
117122
};

locales/file-uploader/cs.js

+5
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,9 @@ export default {
116116
'a11y-cloud-editor-apply-filter': 'Použít filtr {{name}}',
117117
'a11y-cloud-editor-apply-crop': 'Použít operaci {{name}}',
118118
'a11y-cloud-editor-apply-tuning': 'Použít ladění {{name}}',
119+
finished: 'Dokončeno',
120+
failed: 'Selhalo',
121+
uploading: 'Nahrává se',
122+
idle: 'Nečinný',
123+
'a11y-file-item-status': 'Soubor {{fileName}} je ve stavu {{status}}',
119124
};

locales/file-uploader/da.js

+5
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,9 @@ export default {
112112
'a11y-cloud-editor-apply-filter': 'Anvend {{name}} filter',
113113
'a11y-cloud-editor-apply-crop': 'Anvend {{name}} handling',
114114
'a11y-cloud-editor-apply-tuning': 'Anvend {{name}} justering',
115+
finished: 'Afsluttet',
116+
failed: 'Mislykkedes',
117+
uploading: 'Uploader',
118+
idle: 'Inaktiv',
119+
'a11y-file-item-status': 'Filen {{fileName}} er i status {{status}}',
115120
};

locales/file-uploader/de.js

+5
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@ export default {
113113
'a11y-cloud-editor-apply-filter': '{{name}}-Filter anwenden',
114114
'a11y-cloud-editor-apply-crop': '{{name}}-Operation anwenden',
115115
'a11y-cloud-editor-apply-tuning': '{{name}}-Abstimmung anwenden',
116+
finished: 'Abgeschlossen',
117+
failed: 'Fehlgeschlagen',
118+
uploading: 'Hochladen',
119+
idle: 'Leerlauf',
120+
'a11y-file-item-status': 'Datei {{fileName}} im Status {{status}}',
116121
};

locales/file-uploader/el.js

+5
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@ export default {
113113
'a11y-cloud-editor-apply-filter': 'Εφαρμογή φίλτρου {{name}}',
114114
'a11y-cloud-editor-apply-crop': 'Εφαρμογή της λειτουργίας {{name}}',
115115
'a11y-cloud-editor-apply-tuning': 'Εφαρμογή της ρύθμισης {{name}}',
116+
finished: 'Ολοκληρώθηκε',
117+
failed: 'Απέτυχε',
118+
uploading: 'Μεταφόρτωση',
119+
idle: 'Αδράνεια',
120+
'a11y-file-item-status': 'Το αρχείο {{fileName}} βρίσκεται στην κατάσταση {{status}}',
116121
};

locales/file-uploader/en.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Apply {{name}} filter',
112112
'a11y-cloud-editor-apply-crop': 'Apply {{name}} operation',
113113
'a11y-cloud-editor-apply-tuning': 'Apply {{name}} tuning',
114+
finished: 'Finished',
115+
failed: 'Failed',
116+
uploading: 'Uploading',
117+
idle: 'Idle',
118+
'a11y-file-item-status': 'File {{fileName}} in status {{status}}',
114119
};

locales/file-uploader/es.js

+5
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ export default {
114114
'a11y-cloud-editor-apply-filter': 'Aplicar filtro {{name}}',
115115
'a11y-cloud-editor-apply-crop': 'Aplicar operación {{name}}',
116116
'a11y-cloud-editor-apply-tuning': 'Aplicar ajuste {{name}}',
117+
finished: 'Terminado',
118+
failed: 'Fallido',
119+
uploading: 'Subiendo',
120+
idle: 'Inactivo',
121+
'a11y-file-item-status': 'El archivo {{fileName}} está en estado {{status}}',
117122
};

locales/file-uploader/et.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Rakenda filter {{name}}',
112112
'a11y-cloud-editor-apply-crop': 'Rakenda toiming {{name}}',
113113
'a11y-cloud-editor-apply-tuning': 'Rakenda häälestus {{name}}',
114+
finished: 'Valmis',
115+
failed: 'Ebaõnnestunud',
116+
uploading: 'Üleslaadimine',
117+
idle: 'Ootel',
118+
'a11y-file-item-status': 'Fail {{fileName}} on seisundis {{status}}',
114119
};

locales/file-uploader/fr.js

+5
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ export default {
114114
'a11y-cloud-editor-apply-filter': 'Appliquer le filtre {{name}}',
115115
'a11y-cloud-editor-apply-crop': "Appliquer l'opération {{name}}",
116116
'a11y-cloud-editor-apply-tuning': 'Appliquer le réglage {{name}}',
117+
finished: 'Terminé',
118+
failed: 'Échoué',
119+
uploading: 'Téléchargement',
120+
idle: 'Inactif',
121+
'a11y-file-item-status': 'Le fichier {{fileName}} est en statut {{status}}',
117122
};

locales/file-uploader/he.js

+5
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@ export default {
113113
'a11y-cloud-editor-apply-filter': 'החל מסנן {{name}}',
114114
'a11y-cloud-editor-apply-crop': 'החל פעולה {{name}}',
115115
'a11y-cloud-editor-apply-tuning': 'החל כיוון {{name}}',
116+
finished: 'הושלם',
117+
failed: 'נכשל',
118+
uploading: 'מעלה',
119+
idle: 'בטלה',
120+
'a11y-file-item-status': 'הקובץ {{fileName}} במצב {{status}}',
116121
};

locales/file-uploader/hy.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Կիրառել {{name}} զտիչը',
112112
'a11y-cloud-editor-apply-crop': 'Կիրառել {{name}} գործողությունը',
113113
'a11y-cloud-editor-apply-tuning': 'Կիրառել {{name}} կարգավորումը',
114+
finished: 'Ավարտված',
115+
failed: 'Չհաջողվեց',
116+
uploading: 'Բեռնվում է',
117+
idle: 'Անգործ',
118+
'a11y-file-item-status': 'Ֆայլը {{fileName}} {{status}} կարգավիճակում է',
114119
};

locales/file-uploader/is.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Nota {{name}} sía',
112112
'a11y-cloud-editor-apply-crop': 'Nota {{name}} aðgerð',
113113
'a11y-cloud-editor-apply-tuning': 'Nota {{name}} stillingu',
114+
finished: 'Lokið',
115+
failed: 'Mistókst',
116+
uploading: 'Hleður upp',
117+
idle: 'Aðgerðalaus',
118+
'a11y-file-item-status': 'Skráin {{fileName}} er í stöðu {{status}}',
114119
};

locales/file-uploader/it.js

+5
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ export default {
114114
'a11y-cloud-editor-apply-filter': 'Applica filtro {{name}}',
115115
'a11y-cloud-editor-apply-crop': 'Applica operazione {{name}}',
116116
'a11y-cloud-editor-apply-tuning': 'Applica regolazione {{name}}',
117+
finished: 'Completato',
118+
failed: 'Fallito',
119+
uploading: 'Caricamento',
120+
idle: 'Inattivo',
121+
'a11y-file-item-status': 'Il file {{fileName}} è nello stato {{status}}',
117122
};

locales/file-uploader/ja.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '{{name}} フィルターを適用',
112112
'a11y-cloud-editor-apply-crop': '{{name}} 操作を適用',
113113
'a11y-cloud-editor-apply-tuning': '{{name}} 調整を適用',
114+
finished: '完了',
115+
failed: '失敗',
116+
uploading: 'アップロード中',
117+
idle: 'アイドル',
118+
'a11y-file-item-status': 'ファイル {{fileName}} のステータスは {{status}} です',
114119
};

locales/file-uploader/ka.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '{{name}} ფილტრის გამოყენება',
112112
'a11y-cloud-editor-apply-crop': '{{name}} ოპერაციის გამოყენება',
113113
'a11y-cloud-editor-apply-tuning': '{{name}} რეგულირების გამოყენება',
114+
finished: 'დასრულებული',
115+
failed: 'შეცდომა',
116+
uploading: 'იტვირთება',
117+
idle: 'მოქმედების გარეშე',
118+
'a11y-file-item-status': 'ფაილი {{fileName}} არის მდგომარეობაში {{status}}',
114119
};

locales/file-uploader/kk.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '{{name}} фильтрін қолдану',
112112
'a11y-cloud-editor-apply-crop': '{{name}} операциясын қолдану',
113113
'a11y-cloud-editor-apply-tuning': '{{name}} тюнингін қолдану',
114+
finished: 'Аяқталды',
115+
failed: 'Сәтсіз аяқталды',
116+
uploading: 'Жүктелуде',
117+
idle: 'Бос',
118+
'a11y-file-item-status': '{{fileName}} файлы {{status}} күйінде',
114119
};

locales/file-uploader/ko.js

+5
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,9 @@ export default {
110110
'a11y-cloud-editor-apply-filter': '{{name}} 필터 적용',
111111
'a11y-cloud-editor-apply-crop': '{{name}} 작업 적용',
112112
'a11y-cloud-editor-apply-tuning': '{{name}} 튜닝 적용',
113+
finished: '완료됨',
114+
failed: '실패함',
115+
uploading: '업로드 중',
116+
idle: '대기 중',
117+
'a11y-file-item-status': '{{fileName}} 파일이 {{status}} 상태입니다',
113118
};

locales/file-uploader/lv.js

+5
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@ export default {
113113
'a11y-cloud-editor-apply-filter': 'Lietot filtru {{name}}',
114114
'a11y-cloud-editor-apply-crop': 'Lietot operāciju {{name}}',
115115
'a11y-cloud-editor-apply-tuning': 'Lietot pielāgošanu {{name}}',
116+
finished: 'Pabeigts',
117+
failed: 'Neizdevās',
118+
uploading: 'Augšupielādē',
119+
idle: 'Gaida',
120+
'a11y-file-item-status': 'Fails {{fileName}} ir stāvoklī {{status}}',
116121
};

locales/file-uploader/nb.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Bruk filter {{name}}',
112112
'a11y-cloud-editor-apply-crop': 'Bruk operasjon {{name}}',
113113
'a11y-cloud-editor-apply-tuning': 'Bruk innstilling {{name}}',
114+
finished: 'Fullført',
115+
failed: 'Mislyktes',
116+
uploading: 'Laster opp',
117+
idle: 'Inaktiv',
118+
'a11y-file-item-status': 'Fil {{fileName}} i status {{status}}',
114119
};

locales/file-uploader/nl.js

+5
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,9 @@ export default {
112112
'a11y-cloud-editor-apply-filter': '{{name}} filter toepassen',
113113
'a11y-cloud-editor-apply-crop': '{{name}} operatie toepassen',
114114
'a11y-cloud-editor-apply-tuning': '{{name}} afstemming toepassen',
115+
finished: 'Voltooid',
116+
failed: 'Mislukt',
117+
uploading: 'Uploaden',
118+
idle: 'Inactief',
119+
'a11y-file-item-status': 'Bestand {{fileName}} in status {{status}}',
115120
};

locales/file-uploader/pl.js

+5
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,9 @@ export default {
115115
'a11y-cloud-editor-apply-filter': 'Zastosuj filtr {{name}}',
116116
'a11y-cloud-editor-apply-crop': 'Zastosuj operację {{name}}',
117117
'a11y-cloud-editor-apply-tuning': 'Zastosuj dostrajanie {{name}}',
118+
finished: 'Zakończono',
119+
failed: 'Nie powiodło się',
120+
uploading: 'Przesyłanie',
121+
idle: 'Bezczynny',
122+
'a11y-file-item-status': 'Plik {{fileName}} ma status {{status}}',
118123
};

locales/file-uploader/pt.js

+5
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ export default {
114114
'a11y-cloud-editor-apply-filter': 'Aplicar filtro {{name}}',
115115
'a11y-cloud-editor-apply-crop': 'Aplicar operação {{name}}',
116116
'a11y-cloud-editor-apply-tuning': 'Aplicar ajuste {{name}}',
117+
finished: 'Concluído',
118+
failed: 'Falhou',
119+
uploading: 'Carregando',
120+
idle: 'Ocioso',
121+
'a11y-file-item-status': 'O arquivo {{fileName}} está no status {{status}}',
117122
};

locales/file-uploader/ro.js

+5
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,9 @@ export default {
114114
'a11y-cloud-editor-apply-filter': 'Aplică filtrul {{name}}',
115115
'a11y-cloud-editor-apply-crop': 'Aplică operațiunea {{name}}',
116116
'a11y-cloud-editor-apply-tuning': 'Aplică ajustarea {{name}}',
117+
finished: 'Finalizat',
118+
failed: 'Eșuat',
119+
uploading: 'Se încarcă',
120+
idle: 'Inactiv',
121+
'a11y-file-item-status': 'Fișierul {{fileName}} este în starea {{status}}',
117122
};

locales/file-uploader/ru.js

+5
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,9 @@ export default {
115115
'a11y-cloud-editor-apply-filter': 'Применить фильтр {{name}}',
116116
'a11y-cloud-editor-apply-crop': 'Применить операцию {{name}}',
117117
'a11y-cloud-editor-apply-tuning': 'Применить настройку {{name}}',
118+
finished: 'Завершено',
119+
failed: 'Не удалось',
120+
uploading: 'Загрузка',
121+
idle: 'Ожидание',
122+
'a11y-file-item-status': 'Файл {{fileName}} находится в статусе {{status}}',
118123
};

locales/file-uploader/sk.js

+5
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,9 @@ export default {
115115
'a11y-cloud-editor-apply-filter': 'Použiť filter {{name}}',
116116
'a11y-cloud-editor-apply-crop': 'Použiť operáciu {{name}}',
117117
'a11y-cloud-editor-apply-tuning': 'Použiť ladenie {{name}}',
118+
finished: 'Dokončené',
119+
failed: 'Neúspešné',
120+
uploading: 'Nahrávanie',
121+
idle: 'Nečinný',
122+
'a11y-file-item-status': 'Súbor {{fileName}} je v stave {{status}}',
118123
};

locales/file-uploader/sr.js

+5
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@ export default {
113113
'a11y-cloud-editor-apply-filter': 'Primeni filter {{name}}',
114114
'a11y-cloud-editor-apply-crop': 'Primeni operaciju {{name}}',
115115
'a11y-cloud-editor-apply-tuning': 'Primeni podešavanje {{name}}',
116+
finished: 'Završeno',
117+
failed: 'Neuspešno',
118+
uploading: 'Otpremanje',
119+
idle: 'Neaktivan',
120+
'a11y-file-item-status': 'Datoteka {{fileName}} je u statusu {{status}}',
116121
};

locales/file-uploader/sv.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Applicera filter {{name}}',
112112
'a11y-cloud-editor-apply-crop': 'Applicera {{name}} operation',
113113
'a11y-cloud-editor-apply-tuning': 'Applicera {{name}} inställning',
114+
finished: 'Slutfört',
115+
failed: 'Misslyckades',
116+
uploading: 'Laddar upp',
117+
idle: 'Overksam',
118+
'a11y-file-item-status': 'Filen {{fileName}} är i status {{status}}',
114119
};

locales/file-uploader/tr.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '{{name}} filtresini uygula',
112112
'a11y-cloud-editor-apply-crop': '{{name}} işlemini uygula',
113113
'a11y-cloud-editor-apply-tuning': '{{name}} ayarını uygula',
114+
finished: 'Tamamlandı',
115+
failed: 'Başarısız',
116+
uploading: 'Yükleniyor',
117+
idle: 'Boşta',
118+
'a11y-file-item-status': '{{fileName}} dosyası {{status}} durumunda',
114119
};

locales/file-uploader/uk.js

+5
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,9 @@ export default {
115115
'a11y-cloud-editor-apply-filter': 'Застосувати фільтр {{name}}',
116116
'a11y-cloud-editor-apply-crop': 'Застосувати операцію {{name}}',
117117
'a11y-cloud-editor-apply-tuning': 'Застосувати налаштування {{name}}',
118+
finished: 'Завершено',
119+
failed: 'Не вдалося',
120+
uploading: 'Завантаження',
121+
idle: 'Очікування',
122+
'a11y-file-item-status': 'Файл {{fileName}} у стані {{status}}',
118123
};

locales/file-uploader/vi.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': 'Áp dụng bộ lọc {{name}}',
112112
'a11y-cloud-editor-apply-crop': 'Áp dụng thao tác {{name}}',
113113
'a11y-cloud-editor-apply-tuning': 'Áp dụng điều chỉnh {{name}}',
114+
finished: 'Hoàn thành',
115+
failed: 'Thất bại',
116+
uploading: 'Đang tải lên',
117+
idle: 'Nhàn rỗi',
118+
'a11y-file-item-status': 'Tệp {{fileName}} ở trạng thái {{status}}',
114119
};

locales/file-uploader/zh-TW.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '應用 {{name}} 篩選器',
112112
'a11y-cloud-editor-apply-crop': '應用 {{name}} 操作',
113113
'a11y-cloud-editor-apply-tuning': '應用 {{name}} 調整',
114+
finished: '完成',
115+
failed: '失敗',
116+
uploading: '上傳中',
117+
idle: '閒置',
118+
'a11y-file-item-status': '檔案 {{fileName}} 的狀態是 {{status}}',
114119
};

locales/file-uploader/zh.js

+5
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export default {
111111
'a11y-cloud-editor-apply-filter': '应用 {{name}} 过滤器',
112112
'a11y-cloud-editor-apply-crop': '应用 {{name}} 操作',
113113
'a11y-cloud-editor-apply-tuning': '应用 {{name}} 调整',
114+
finished: '已完成',
115+
failed: '失败',
116+
uploading: '上传中',
117+
idle: '空闲',
118+
'a11y-file-item-status': '文件 {{fileName}} 的状态是 {{status}}',
114119
};

0 commit comments

Comments
 (0)