Skip to content

Commit

Permalink
Merge pull request #1272 from EhViewer-NekoInverter/pr
Browse files Browse the repository at this point in the history
Add translation
  • Loading branch information
OpportunityLiu authored Sep 28, 2024
2 parents a12baab + 3e40e6c commit fc29f0c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/ui-translation/data/hentaiathome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': '确保您的客户端保持运行',
Expand Down
12 changes: 12 additions & 0 deletions src/services/ui-translation/data/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.': '您必须给图库命名才能继续',
Expand All @@ -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);
Expand Down

0 comments on commit fc29f0c

Please sign in to comment.