Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translation #1273

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/services/ui-translation/data/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ merge(
'某些关键词使用了不支持的语法、太短或无效。',
'The provided date is invalid or outside the range of posted galleries.':
'提供的日期无效或超出已发布图库的日期范围。',
'The page range minimum cannot be above 1000.': '页数最小值最多为 1000。',
'The page range minimum cannot be above 1000.': '页数最小值至多为 1000。',
'The page range maximum cannot be below 10.': '页数最大值至少为 10。',
'Your page range filter is too narrow.': '页数范围差至少为 20。',
'Your page range filter is too narrow.': '页数范围差至少为 20,范围比至多为 0.8。',
'You provided too many keywords. Use fewer keywords, or combine keywords with quotes.':
'使用的关键词过多。请减少关键词或使用引号组合关键词。',
'You provided too many keywords. Use fewer keywords, or combine keywords with quotes. (Ignored ':
Expand Down Expand Up @@ -189,6 +189,17 @@ merge(
'The site is currently in Read Only Mode. This page is therefore not available.':
'网站当前处于只读模式,因此本页面不可用。',
'This content is not available in Russia.RU': '此内容在俄罗斯 (RU) 不可用',

'user:': '用户:',
'pass:': '密码:',
'code:': '代码:',
username: '用户名',
password: '密码',
CPTCA: '验证码',
'Fuck Off': '刷新',
'Log In': '登录',
'You have to complete every field': '您必须填完每个字段',
'Please try again': '请再试一次',
},
[
[/^(\d+) pages?$/, '$1 页'],
Expand Down
10 changes: 6 additions & 4 deletions src/services/ui-translation/data/gallery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ merge(
'- The ': '● 您对标签的影响',
power: '权重',
' with which you can affect tagging is determined by a number of factors, such as your account age and whether or not you are active on the ':
'取决于多种因素,例如您的帐户资历、您是否活跃于',
'取决于多种因素,例如您的账户资历、您是否活跃于',
forums: '论坛等',
'- The forums is also where ': '● 论坛也是',
'everything about tagging is discussed': '讨论标签相关内容',
Expand Down Expand Up @@ -105,6 +105,8 @@ merge(
'在此处输入您的评论,然后点击发表评论。如果最后一条评论是您的,则新评论会被附加到最后一条评论下。',
'Post Comment': '发表评论',
'Your comment is too short.': '您的评论太短了。',
Edit: '编辑',
'Edit Comment': '编辑评论',

'Gallery not found. If you just added this gallery, you may have to wait a short while before it becomes available.':
'没有找到图库。如果您刚刚添加了此图库,可能需要等待一段时间后才能变得可用。',
Expand Down Expand Up @@ -159,7 +161,7 @@ merge(
' Content has been defaced by adding content-obstructing scanmarks, censorship or advertisements beyond what is present in the original artist release, or has been intentionally degraded to the point where legibility is an issue.':
'图库内容被污损,添加了与内容无关的扫描水印、审查或广告,超出了原作者发布的内容或被故意降低画质,以至于影响了易读性。',
'Enter a reason for this expunge here. Note that submitting petitions with subjective reasons along the line of "I hate this content/artist/uploader/etc" are NOT valid and can cause account penalties/restrictions.':
'在此处输入删除的详细原因。请注意,“我讨厌此内容/艺术家/上传者”等主观理由是无效的,并且可能导致帐户处罚/限制。',
'在此处输入删除的详细原因。请注意,“我讨厌此内容/艺术家/上传者”等主观理由是无效的,并且可能导致账户处罚/限制。',
'Enter the URL of the conflicting gallery, if applicable.': '如有必要,在此处输入冲突图库的 URL。',
'Create New Petition': '提交新申请',
'Cancel Expunge Petition': '撤回删除申请',
Expand Down Expand Up @@ -212,7 +214,7 @@ merge(
'Appeals must not be submitted if the gallery should be expunged but the wrong expunge type was used.':
'如果图库应该被删除但使用了错误的删除类型,则不得提交申诉。',
'Note that submitting invalid appeals can lead to account restrictions/penalities.':
'请注意,提交无效申诉可能会导致帐户受到限制/处罚。',
'请注意,提交无效申诉可能会导致账户受到限制/处罚。',
'Enter a valid reason for why this expunge petition should be revoked here.':
'请在此处输入应撤销此删除申请的正当理由。',
'Create New Appeal': '提交新申诉',
Expand Down Expand Up @@ -251,7 +253,7 @@ merge(
'Reversion/Split/Undisown Request': '回退/拆分/恢复所有权请求',

'If you log on with an account, we will remember your provided contact details.':
'如果您使用帐户登录,我们将记住您提供的联系信息。',
'如果您使用账户登录,我们将记住您提供的联系信息。',
'We remember and automatically fill in any previous contact details you have entered.':
'我们会记住并自动填充您曾经输入的联系信息。',
'Your email address': '您的电子邮件地址',
Expand Down
2 changes: 0 additions & 2 deletions src/services/ui-translation/data/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { merge } from '../helper';

merge(/^\/bounce_login\.php/, undefined, {
'This page requires you to log on.': '此页面需要登录才能访问',
'user:': '用户:',
'pass:': '密码:',
'Login!': '登录',
'\xA0or\xA0': ' 或 ',
Register: '注册',
Expand Down
4 changes: 3 additions & 1 deletion src/services/ui-translation/data/thirdparty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ merge(
{
'E-Hentai Downloader ': 'E-Hentai 下载器 ',

'Image Limits: ': '图像配额:',
'! Account Suspended !': '! 账户已被封禁 !',
'Download Archive': '下载档案 ',
' Number Images': ' 图像编号',
'Pages Range ': '页面范围 ',
Expand Down Expand Up @@ -113,7 +115,7 @@ merge(
' 是一种归档漫画图像的文件类型,您可以使用 CDisplay/CDisplayEX 等漫画查看器打开它,或者直接将其视为 Zip 文件解压。为了保持图像的顺序,您还可以启用对图像进行编号。',

"\t\t\t\t\t\t\t(7) If you cannot original images, but you've already logged in and your account is not blocked or used up your limits, it may caused by your cookies is not sent to the server. This feature may helps you to pass your current cookies to the download request, but please enable it ONLY if you cannot download any original images.\t\t\t\t\t\t":
' (7) 如果您无法下载原图,但是您已经登录并且您的帐户没有被阻止或用完您的限制,这可能是因为您的 cookie 没有被发送到服务器。此功能可以帮助您将当前的 cookie 传递给下载请求,但只有当您无法下载任何原图时才应该启用它。',
' (7) 如果您无法下载原图,但是您已经登录并且您的账户没有被阻止或用完您的限制,这可能是因为您的 cookie 没有被发送到服务器。此功能可以帮助您将当前的 cookie 传递给下载请求,但只有当您无法下载任何原图时才应该启用它。',

"\t\t\t\t\t\t\t(8) If you have already logged in, but the script detects that you're not logged in, you can enable this to skip login check. Please note that if you are not logged in actually, the script will not work as expect.\t\t\t\t\t\t":
' (8) 如果您已经登录,但脚本检测到您没有登录,您可以启用此功能以跳过登录检查。请注意,如果您实际没有登录,则脚本不会按预期工作。',
Expand Down
1 change: 1 addition & 0 deletions src/services/ui-translation/data/uconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ merge(
' 页面加载时 (页面加载时间更长,但是显示的时候无需等待)',
'You can set a default thumbnail configuration for all galleries you visit.': '图库详情页缩略图设置。',
'Size: ': '大小:',
' Small': ' 小图',
' Large': ' 大图',
'Rows:': '行数:',

Expand Down
4 changes: 4 additions & 0 deletions src/services/ui-translation/data/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ const regexData: Array<[RegExp, string]> = [
/^The file (.*?) was generated by this system and has been replaced with the original copy.$/,
'文件 $1 由本系统生成,已替换为原始副本。',
],
[
/^The file (.*?) is too low resolution.$/,
'文件 $1 分辨率过低。',
],
];

merge(/^\/upld\//, undefined, data, regexData);
Expand Down