From da22b6d28264653bd9804f0738b96572c9580ecc Mon Sep 17 00:00:00 2001 From: richard-loafle <44828666+richard-loafle@users.noreply.github.com> Date: Fri, 14 Feb 2020 09:35:01 +0900 Subject: [PATCH] message is added --- .../src/app/layouts/messenger/components/messages.component.ts | 2 +- projects/ucap-webmessenger-app/src/assets/i18n/en.json | 1 + projects/ucap-webmessenger-app/src/assets/i18n/ko.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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 이상 파일을 업로드 할 수 없습니다." } },