From fe43755e02b87a47fb0e1d93aff1ab6ce423fd8a Mon Sep 17 00:00:00 2001 From: Harry Date: Sun, 10 Mar 2024 16:58:33 -0700 Subject: [PATCH] clarify size limit error message for audio/video (#397) --- enjoy/src/i18n/en.json | 4 ++-- enjoy/src/i18n/zh-CN.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/enjoy/src/i18n/en.json b/enjoy/src/i18n/en.json index d85ec31f7..4421eb5a9 100644 --- a/enjoy/src/i18n/en.json +++ b/enjoy/src/i18n/en.json @@ -21,7 +21,7 @@ "added": "Successfully added audio", "removed": "Successfully removed audio", "notFound": "Audio not found", - "fileTooLarge": "File too large {{ file }}", + "fileTooLarge": "File too large. Please select an audio under 50MB. {{file}}", "failedToAdd": "Failed to add, {{ error }}", "fileNotFound": "File not found {{file}}", "fileNotSupported": "File not supported {{file}}", @@ -46,7 +46,7 @@ "added": "Successfully added video", "removed": "Successfully removed video", "notFound": "Video not found", - "fileTooLarge": "File too large {{ file }}", + "fileTooLarge": "File too large. Please select a video under 100MB. {{file}}", "failedToAdd": "Failed to add, {{ error }}", "fileNotFound": "File not found {{file}}", "fileNotSupported": "File not supported {{file}}", diff --git a/enjoy/src/i18n/zh-CN.json b/enjoy/src/i18n/zh-CN.json index 98ff7ef8f..fbd07e273 100644 --- a/enjoy/src/i18n/zh-CN.json +++ b/enjoy/src/i18n/zh-CN.json @@ -21,7 +21,7 @@ "added": "成功添加音频", "removed": "成功删除音频", "notFound": "未找到音频", - "fileTooLarge": "文件太大了 {{ file }}", + "fileTooLarge": "文件太大了,请选择大小在50MB以下的音频 {{file}}", "failedToAdd": "添加失败, {{error}}", "fileNotFound": "无法访问文件 {{file}}", "fileNotSupported": "文件不支持 {{file}}", @@ -46,7 +46,7 @@ "added": "成功添加视频", "removed": "成功删除视频", "notFound": "未找到视频", - "fileTooLarge": "文件太大了 {{ file }}", + "fileTooLarge": "文件太大了,请选择大小在100MB以下的视频 {{file}}", "failedToAdd": "添加失败, {{error}}", "fileNotFound": "无法访问文件 {{file}}", "fileNotSupported": "文件不支持 {{file}}",