Skip to content

Commit

Permalink
clarify size limit error message for audio/video (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryYC committed Mar 10, 2024
1 parent c35d4f7 commit fe43755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions enjoy/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand All @@ -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}}",
Expand Down
4 changes: 2 additions & 2 deletions enjoy/src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"added": "成功添加音频",
"removed": "成功删除音频",
"notFound": "未找到音频",
"fileTooLarge": "文件太大了 {{ file }}",
"fileTooLarge": "文件太大了,请选择大小在50MB以下的音频 {{file}}",
"failedToAdd": "添加失败, {{error}}",
"fileNotFound": "无法访问文件 {{file}}",
"fileNotSupported": "文件不支持 {{file}}",
Expand All @@ -46,7 +46,7 @@
"added": "成功添加视频",
"removed": "成功删除视频",
"notFound": "未找到视频",
"fileTooLarge": "文件太大了 {{ file }}",
"fileTooLarge": "文件太大了,请选择大小在100MB以下的视频 {{file}}",
"failedToAdd": "添加失败, {{error}}",
"fileNotFound": "无法访问文件 {{file}}",
"fileNotSupported": "文件不支持 {{file}}",
Expand Down

0 comments on commit fe43755

Please sign in to comment.