diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index 7796e74d..4b06ac3f 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -1150,7 +1150,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { horizontalPosition: 'center', data: { html: this.translateService.instant( - 'common.file.errors.notSupporedType', + 'common.file.errors.notAcceptableMime', { supporedType: checkExt.rejected.length > 0 ? checkExt.rejected.join(',') : '' diff --git a/projects/ucap-webmessenger-app/src/assets/i18n/en.json b/projects/ucap-webmessenger-app/src/assets/i18n/en.json index 1eb09bdf..7f03a5bd 100644 --- a/projects/ucap-webmessenger-app/src/assets/i18n/en.json +++ b/projects/ucap-webmessenger-app/src/assets/i18n/en.json @@ -441,6 +441,7 @@ "noPreview": "This file does not support preview.", "cantPlay": "This file does not support playing.", "notSupporedType": "File format is not supported.
({{supporedType}})", + "notAcceptableMime": "File type is invalid.
({{supporedType}})", "oversize": "You cannot upload files larger than {{size}} megabytes." } }, diff --git a/projects/ucap-webmessenger-app/src/assets/i18n/ko.json b/projects/ucap-webmessenger-app/src/assets/i18n/ko.json index cff93453..7f9392b1 100644 --- a/projects/ucap-webmessenger-app/src/assets/i18n/ko.json +++ b/projects/ucap-webmessenger-app/src/assets/i18n/ko.json @@ -441,6 +441,7 @@ "noPreview": "미리보기를 지원하지 않는 파일입니다.", "cantPlay": "재생을 지원하지 않는 파일입니다.", "notSupporedType": "지원하지 않는 파일형식입니다.
({{supporedType}})", + "notAcceptableMime": "유효하지 않은 파일 타입입니다.
({{supporedType}})", "oversize": "{{maxSize}}MB 이상 파일을 업로드 할 수 없습니다." } },