Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ export default class ImportStep extends React.PureComponent<Props, State> {
errorTranslationId = 'thumbnail_too_big'
break
}
case FileType.SMART_WEARABLE: {
errorTranslationId = 'smart_wearable_too_big'
break
}
default: {
errorTranslationId = 'file_too_big'
break
Expand Down
2 changes: 1 addition & 1 deletion src/modules/translation/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/translation/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/translation/languages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
"message": "表情的最大文件大小为 3MB。"
},
"smart_wearable_too_big": {
"title": "文件太大,无法上传",
"title": "智能可穿戴设备的解压内容超出大小限制",
"message": "智能可穿戴设备 .zip 文件中的未压缩文件的总文件大小必须低于 3MB。"
},
"unknown_required_permissions": {
Expand Down
Loading