Skip to content

Commit

Permalink
Fix zh translations (thx to @Jasonyang1991)
Browse files Browse the repository at this point in the history
  • Loading branch information
araccaine committed Sep 18, 2023
1 parent 6283ce7 commit 1dfb24c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions rails/locales/zh-CN.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
zh-CN:
errors:
messages:
carrierwave_processing_error: 处理错误
carrierwave_integrity_error: 文件类型不正确
carrierwave_download_error: 下载错误
extension_allowlist_error: "不可上传 %{extension} 文件,可上传文件类型为:%{allowed_types}"
extension_denylist_error: "不可上传 %{extension} 文件,不可上传文件类型为:%{prohibited_types}"
content_type_allowlist_error: "不可上传 %{content_type} 文件"
content_type_denylist_error: "不可上传 %{content_type} 文件"
carrierwave_processing_error: "处理失败"
carrierwave_integrity_error: "不是允许的文件类型"
carrierwave_download_error: "无法下载"
extension_allowlist_error: "您不能上传 %{extension} 文件,允许的文件类型为:%{allowed_types}"
extension_denylist_error: "您不能上传 %{extension} 文件,禁止的文件类型为:%{prohibited_types}"
content_type_allowlist_error: "您不能上传 %{content_type} 文件,允许的文件类型为:%{allowed_types}"
content_type_denylist_error: "您不能上传 %{content_type} 文件"
processing_error: "处理失败,请确保上传的文件是有效的图像文件。"
min_size_error: "文件大小应大于 %{min_size}"
max_size_error: "文件的大小应小于 %{max_size}"
max_size_error: "文件大小应小于 %{max_size}"
min_width_error: "图片宽度应大于 %{min_width}px"
max_width_error: "图片宽度应小于 %{max_width}px"
min_height_error: "图片高度应大于 %{min_height}px"
Expand Down
18 changes: 9 additions & 9 deletions rails/locales/zh-TW.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
zh-TW:
errors:
messages:
carrierwave_processing_error: 處理錯誤
carrierwave_integrity_error: 文件類型錯誤
carrierwave_download_error: 下載錯誤
extension_allowlist_error: "不可上傳 %{extension} 文件,可上傳文件類型為:%{allowed_types}"
extension_denylist_error: "不可上傳 %{extension} 文件,不可上傳文件類型為:%{prohibited_types}"
content_type_allowlist_error: "不可上傳 %{content_type} 文件"
content_type_denylist_error: "不可上傳 %{content_type} 文件"
carrierwave_processing_error: "處理失敗"
carrierwave_integrity_error: "不是允許的檔案類型"
carrierwave_download_error: "無法下載"
extension_allowlist_error: "您無法上傳 %{extension} 檔案,允許的檔案類型為:%{allowed_types}"
extension_denylist_error: "您無法上傳 %{extension} 檔案,禁止的檔案類型為:%{prohibited_types}"
content_type_allowlist_error: "您無法上傳 %{content_type} 檔案,允許的檔案類型為:%{allowed_types}"
content_type_denylist_error: "您無法上傳 %{content_type} 檔案"
processing_error: "處理失敗,請確保上傳的檔案為有效的圖像檔案。"
min_size_error: "文件大小應大於 %{min_size}"
max_size_error: "文件大小應小於 %{max_size}"
min_size_error: "檔案大小應大於 %{min_size}"
max_size_error: "檔案大小應小於 %{max_size}"
min_width_error: "圖片寬度應大於 %{min_width}px"
max_width_error: "圖片寬度應小於 %{max_width}px"
min_height_error: "圖片高度應大於 %{min_height}px"
Expand Down

0 comments on commit 1dfb24c

Please sign in to comment.