diff --git a/src/components/Modals/CreateSingleItemModal/ImportStep/ImportStep.tsx b/src/components/Modals/CreateSingleItemModal/ImportStep/ImportStep.tsx index 7ffd902c0..8b340e9f9 100644 --- a/src/components/Modals/CreateSingleItemModal/ImportStep/ImportStep.tsx +++ b/src/components/Modals/CreateSingleItemModal/ImportStep/ImportStep.tsx @@ -219,6 +219,10 @@ export default class ImportStep extends React.PureComponent { errorTranslationId = 'thumbnail_too_big' break } + case FileType.SMART_WEARABLE: { + errorTranslationId = 'smart_wearable_too_big' + break + } default: { errorTranslationId = 'file_too_big' break diff --git a/src/modules/translation/languages/en.json b/src/modules/translation/languages/en.json index 37aa28efc..bfa1102c5 100644 --- a/src/modules/translation/languages/en.json +++ b/src/modules/translation/languages/en.json @@ -345,7 +345,7 @@ "message": "The max file size is 3MB for Emotes." }, "smart_wearable_too_big": { - "title": "The file is too large and can't be uploaded", + "title": "The uncompressed Smart Wearable content exceeds the size limit", "message": "The total filesize sum of the uncompressed files from the Smart Wearable .zip file must be under 3MB." }, "unknown_required_permissions": { diff --git a/src/modules/translation/languages/es.json b/src/modules/translation/languages/es.json index 7db9e68aa..2b4b815a8 100644 --- a/src/modules/translation/languages/es.json +++ b/src/modules/translation/languages/es.json @@ -344,7 +344,7 @@ "message": "El tamaño máximo de archivo es de 3MB para Emotes." }, "smart_wearable_too_big": { - "title": "El archivo es demasiado grande para cargarlo", + "title": "El contenido descomprimido del Smart Wearable supera el límite de tamaño", "message": "La suma total del tamaño de los archivos descomprimidos del archivo .zip de Smart Wearable debe ser inferior a 3MB." }, "unknown_required_permissions": { diff --git a/src/modules/translation/languages/zh.json b/src/modules/translation/languages/zh.json index bb95e80b1..69f40459b 100644 --- a/src/modules/translation/languages/zh.json +++ b/src/modules/translation/languages/zh.json @@ -338,7 +338,7 @@ "message": "表情的最大文件大小为 3MB。" }, "smart_wearable_too_big": { - "title": "文件太大,无法上传", + "title": "智能可穿戴设备的解压内容超出大小限制", "message": "智能可穿戴设备 .zip 文件中的未压缩文件的总文件大小必须低于 3MB。" }, "unknown_required_permissions": {