fix: update aria-label translation for upload error status

- Modified the aria-label attribute in the file uploading list row component to improve translation handling for upload error messages.
- Removed unnecessary translation parameter to streamline the error message retrieval process.
This commit is contained in:
Denys Vuika
2026-02-25 17:42:51 +00:00
parent 06801292b6
commit d2c2b07676
@@ -95,7 +95,7 @@
role="status"
class="adf-file-uploading-row__block adf-file-uploading-row__status--error">
<mat-icon
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.UPLOAD_FILE_ERROR' | translate: { error: getFileUploadErrorKey(file.errorCode) | translate }"
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.UPLOAD_FILE_ERROR' | translate: { error: getFileUploadErrorKey(file.errorCode) }"
[title]="getFileUploadErrorKey(file.errorCode) | translate"
adf-icon="report_problem"
matListItemIcon