From 3e40e6c7f451b55131f73a13fd0538948db84cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD-=E7=99=BD?= Date: Thu, 19 Sep 2024 15:56:44 +0800 Subject: [PATCH] Add translation --- src/services/ui-translation/data/hentaiathome.ts | 3 +++ src/services/ui-translation/data/upload.ts | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/src/services/ui-translation/data/hentaiathome.ts b/src/services/ui-translation/data/hentaiathome.ts index f13e35e9b..3859e9e34 100644 --- a/src/services/ui-translation/data/hentaiathome.ts +++ b/src/services/ui-translation/data/hentaiathome.ts @@ -78,6 +78,9 @@ merge( '此客户端将托管在一台正常情况下 24 小时运行的系统上', 'Submit Application': '提交申请', + 'Your application is pending. You can still make changes below if necessary.': + '您的申请正在等待处理。如有必要,您仍可以在下方修改申请。', + 'If the auto-detected country is wrong, contact Tenboro to have an override applied. Include the correct country, client ID and IP address in your message, and ': '如果自动检测的国家/地区错误,请联系 Tenboro 以进行更改。在消息中包含正确的国家/地区、客户端 ID 和 IP 地址,并', 'make sure to keep your client running': '确保您的客户端保持运行', diff --git a/src/services/ui-translation/data/upload.ts b/src/services/ui-translation/data/upload.ts index d1eda610d..56564fac9 100644 --- a/src/services/ui-translation/data/upload.ts +++ b/src/services/ui-translation/data/upload.ts @@ -214,6 +214,10 @@ const data = { 'Gallery not found.': '图库未找到。', 'Rate limitation for new posters is in effect. You have to wait a while before you can post more galleries.': '针对新上传者的图库发布速率限制已生效,您必须等待一段时间才能继续发布图库。', + 'You have exceeded your rate limit for posting galleries, and have to wait a while before you can post any more.': + '您已超过了发布图库的速率限制,需要等待一段时间才能继续发布。', + 'This action cannot be done right now since another operation has locked this gallery. Please wait for this operation to finish.': + '由于另一个操作已锁定此图库,此操作暂时无法执行。请等待操作完成。', 'You cannot publish an empty gallery.': '您不能发布一个空图库', 'You must agree with the Terms of Service to continue.': '您必须同意服务条款才能继续', 'You must give the gallery a title to continue.': '您必须给图库命名才能继续', @@ -236,6 +240,14 @@ const regexData: Array<[RegExp, string]> = [ /^The file (.*?) is corrupt, incomplete, too large, or not an accepted image file.$/, '文件 $1 损坏 / 不完整 / 过大或是不支持的图像文件。', ], + [ + /^Failed to add the file (.*?) to the gallery. This probably means an identical file with the same filename already exists.$/, + '无法将文件 $1 添加到图库。这可能意味着具有相同文件名的相同文件已经存在。', + ], + [ + /^The file (.*?) was generated by this system and has been replaced with the original copy.$/, + '文件 $1 由本系统生成,已替换为原始副本。', + ], ]; merge(/^\/upld\//, undefined, data, regexData);