Skip to content

Commit 6f538fc

Browse files
feat: add translation
1 parent 4832a49 commit 6f538fc

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

src/services/ui-translation/data/common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ merge(
190190
'网站当前处于只读模式,因此本页面不可用。',
191191
'This content is not available in Russia.RU': '此内容在俄罗斯 (RU) 不可用',
192192

193+
// 洋葱网址登录页
193194
'user:': '用户:',
194195
'pass:': '密码:',
195196
'code:': '代码:',

src/services/ui-translation/data/gallery.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ merge(
134134
[/^, added (\d\d\d\d-\d\d-\d\d \d\d:\d\d)$/, ',更新于 $1'],
135135
[/^Showing ([\d,]+) - ([\d,]+) of ([\d,]+) images?$/, '$1 - $2,共 $3 张图像'],
136136
[/^Page (\d+): /, '第 $1 页:'],
137+
[/^Page (\d+)$/, '第 $1 页'],
137138
[/^Posted on (\d\d \w+ \d\d\d\d, \d\d:\d\d) by:\s*$/, '评论时间:$1 \xA0作者:'],
138139
[/^Posted on (\d\d \w+ \d\d\d\d, \d\d:\d\d)\s*/, '评论时间:$1'],
139140
[/^There (is|are) ([\d,]+) more comments? below the viewing threshold - $/, '还有 $2 条评论尚未显示 - '],

src/services/ui-translation/data/uconfig.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,15 @@ merge(
313313
'Front Page / Search Settings': '首页 / 搜索设置',
314314
'What categories would you like to show by default on the front page and in searches?':
315315
'您希望首页和搜索页面默认显示哪些类别?',
316+
316317
'Which display mode would you like to use on the front and search pages?':
317318
'您希望首页和搜索页面使用哪种显示模式?',
318319
' Minimal': ' 最小化',
319320
' Minimal+': ' 最小化 + 关注标签',
320321
' Compact': ' 紧凑 + 标签',
321322
' Extended': ' 扩展',
322323
' Thumbnail': ' 缩略图',
324+
323325
'Which display style would you like for the search range indicator?': '您希望搜索范围指示器采用哪种显示样式?',
324326
' Normal': ' 普通',
325327
' Disabled': ' 禁用',
@@ -438,6 +440,12 @@ merge(
438440
'Gallery Page Numbering': '图库页码',
439441
'Show gallery page numbers:\n\t': '在图库详情页缩略图下方显示页码:',
440442

443+
'Gallery Page Thumbnail Labeling': '图库缩略图标签',
444+
'Show label below gallery thumbnails:\n\t': '在图库详情页缩略图下方显示标签:',
445+
' None': ' 无',
446+
' Page Number Only': ' 仅页码',
447+
' Page Number + Name': ' 页码 + 名称',
448+
441449
'Multi-Page Viewer': '多页查看器',
442450
'Always use the Multi-Page Viewer? There will still be a link to manually start it if this is left disabled.':
443451
'总是使用多页查看器?禁用此选项时,仍可以手动启动多页查看器。',

0 commit comments

Comments
 (0)