forked from 52cik/github-hans
-
Notifications
You must be signed in to change notification settings - Fork 4
/
locals.js
1673 lines (1484 loc) · 85.4 KB
/
locals.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
var I18N = {};
I18N.conf = {
/**
* 要翻译的页面正则
*/
rePageClass: /\b(vis-public|page-(dashboard|profile|account|new-repo|create-org)|homepage|signup|session-authentication|oauth)\b/,
/**
* 匹配 pathname 页面的正则
*
* 通知页面 /notifications
* 关注页面 /watching
* 点赞页面 /stars
* 问题页面 /issues
* 拉取请求 /pulls
* 搜索页面 /search
* 趋势页面 /trending
* 展示页面 /showcases
* 导入仓库 /new/import
*
* 未登录首页 /
*/
rePagePath: /\/(notifications|watching|stars|issues|search|pulls|trending|showcases|$|new\/import)/,
/**
* 匹配 url 页面的正则
*
* 代码片段页面 gist
*/
rePageUrl: /(gist)\.github.com/,
/**
* 忽略区域的 class 正则
*
* 面包屑 breadcrumb
* 文件列表 files js-navigation-container js-active-navigation-container
* 代码高亮 highlight tab-size js-file-line-container
* 代码差异 data highlight blob-wrapper
* wiki内容 markdown-body
*/
reIgnore: /(breadcrumb|files js-navigation-container|highlight tab-size|highlight blob-wrapper|markdown-body)/,
};
I18N.zh = {
"title": { // 标题翻译
"static": { // 静态翻译
},
"regexp": [ // 正则翻译
],
},
"pubilc": { // 公共区域翻译
"static": { // 静态翻译
// 未登录部分
"Personal": "个人",
"Open source": "开源",
"Business": "商业",
"Pricing": "定价",
"Support": "支持",
"Sign in": "登录",
"Sign up": "注册",
"Search GitHub": "GitHub 一下,你就知道",
"This repository": "当前仓库",
"Search": "搜索",
"Pull Requests": "拉取请求",
"Pull requests": "拉取请求",
"Issues": "问题",
"Marketplace": "广场",
"Gist": "代码片段",
"Your dashboard": "返回首页",
"You have no unread notifications": "您没有未读通知",
"You have unread notifications": "您有未读通知",
"Create new…": "新建…",
"View profile and more": "查看更多信息",
"New repository": "新建仓库",
"New organization": "新建组织",
"Import repository": "导入仓库",
"New gist": "新建代码片段",
"New issue": "新建问题",
"Signed in as": "您好",
"Your profile": "您的主页",
"Your stars": "点赞的项目",
"Your gists": "您的代码片段",
"Explore": "探索",
"Integrations": "集成",
"Help": "帮助",
"Settings": "设置",
"Sign out": "退出",
"Showcases": "展柜",
"Trending": "趋势",
"Stars": "已赞",
"Previous": "上一页",
"Next": "下一页",
"Period:": "最近:",
"Filter activity": "选择时间",
"1 day": "一天",
"3 days": "三天",
"1 week": "一周",
"1 month": "一个月",
"Confirm password to continue": "确认密码后才能继续操作",
"Password": "密码",
"(Forgot password)": "(忘记密码)",
"Confirm password": "继续",
"Updated": "更新",
"Terms": "条款",
"Privacy": "隐私",
"Security": "安全",
"Contact": "联系",
"Status": "状态",
"Training": "培训",
"Shop": "商店",
"Blog": "博客",
"About": "关于",
// 评论编辑器翻译
"Write": "编辑",
"Preview": "预览",
"Add header text": "标题",
"Add bold text <cmd+b>": "加粗 <cmd+b>",
"Add italic text <cmd+i>": "斜体 <cmd+i>",
"Insert a quote": "插入引用",
"Insert code": "插入代码",
"Add a link <cmd+k>": "连接 <cmd+k>",
"Add a bulleted list": "添加无序列表",
"Add a numbered list": "添加有序列表",
"Add a task list": "添加任务列表",
"Directly mention a user or team": "直接提到用户或团队",
"Reference an issue or pull request": "参考问题或拉取请求",
"Leave a comment": "留下评论",
"Attach files by dragging & dropping,": "拖拽添加附件,",
"selecting them": "或选择文件",
", or pasting from the clipboard.": ",或复制粘贴内容。",
"Styling with Markdown is supported": "支持 Markdown 功能哦。",
"Close issue": "关闭问题",
"Comment": "提交",
"Submit new issue": "提交新问题",
"Comment on this commit": "提交",
"Close and comment": "提交并关闭",
"Reopen and comment": "提交并重新打开",
"Reopen issue": "重新打开问题",
// 公共动作词
"Followers": "粉丝",
"Follow": "关注",
"Unfollow": "取消关注",
"Watch": "关注",
"Unwatch": "取消关注",
"Star": "点赞",
"Unstar": "取消点赞",
"Fork": "派生",
// 邮箱验证提示
"Please verify your email address to access all of GitHub's features.": "请验证您的电子邮件地址以便开启所有 GitHub 功能。",
"Configure email settings": "修改电子邮件设置",
"Your email was verified.": "您的邮件地址验证成功!",
},
"regexp": [ // 正则翻译 (公共区域正则会二次调用翻译,为了弥补部分翻译的情况)
/**
* 匹配时间格式
*
* Mar 19, 2015 – Mar 19, 2016
* January 26 – March 19
* March 26
*
* 不知道是否稳定, 暂时先试用着. 2016-03-19 20:46:45
*/
[/(Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)?|May(?:)?|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|Oct(?:ober)?|Nov(?:ember)?|Dec(?:ember)?) (\d+)(?:, (\d+)|)/g, function (all, month, date, year) {
var monthKey = {
"Jan": "1月",
"Feb": "2月",
"Mar": "3月",
"Apr": "4月",
"May": "5月",
"Jun": "6月",
"Jul": "7月",
"Aug": "8月",
"Sep": "9月",
"Oct": "10月",
"Nov": "11月",
"Dec": "12月"
};
return (year ? year + '年' : '') + monthKey[month.substring(0, 3)] + date + '日';
}],
/**
* 相对时间格式处理
*/
[/just now|(an?|\d+) (second|minute|hour|day|month|year)s? ago/, function (m, d, t) {
if (m === 'just now') {
return '刚刚';
}
if (d[0] === 'a') {
d = '1';
} // a, an 修改为 1
var dt = {second: '秒', minute: '分钟', hour: '小时', day: '天', month: '个月', year: '年'};
return d + ' ' + dt[t] + '之前';
}],
// 仓库删除提示
[/Your repository "([^"]+)"was successfully deleted\./, "您的 \"$1\"仓库已被成功删除。"],
// 邮箱验证提示
[/An email containing verification instructions was sent to (.+)\./, "验证邮件已发送到 $1。"],
// 头像下面的注册信息
[/Joined on/, "注册于"],
],
},
"page-dashboard": { // 已登录的首页
"static": { // 静态翻译
// 新手帮助
"Learn Git and GitHub without any code!": "了解 Git 和 GitHub 无需任何代码!",
"Using the Hello World guide, you’ll create a repository, start a branch,": "使用 Hello World 指南,您将创建一个仓库,开始一个分支,",
"write comments, and open a pull request.": "写评论,并创建一个拉取请求。(教程内容就不翻译了...)",
"Let's get started!": "让我们开始吧!",
"Hide this notice forever": "永久的隐藏该信息",
"Welcome to GitHub! What’s next?": "欢迎来到 GitHub!下一步干什么?",
"Create a repository": "创建一个仓库",
"Tell us about yourself": "介绍一下你自己",
"Browse interesting repositories": "浏览有趣资料库",
"on Twitter": "在 Twitter 上",
"You don’t have any repositories yet!": "您目前还没有任何仓库!",
"Create your first repository": "创建您的第一个仓库",
"or": "或者",
"learn more about Git and GitHub": "学习更多关于 Git 和 GitHub 知识",
// 已有仓库的项目
"Repositories you contribute to": "您贡献过的仓库",
"Your repositories": "您的仓库",
"Find a repository…": "搜索仓库…",
"All": "全部",
"Public": "公共",
"Private": "私有",
"Sources": "源码",
"Forks": "派生",
"View": "查看",
"new broadcast": "条新公告",
"new broadcasts": "条新公告",
// 动态 状态词
"starred": "赞了",
"forked": "派生了",
"forked from": "派生至",
"created repository": "创建了仓库",
"opened pull request": "发起了拉取请求",
"commented on pull request": "评论了拉取请求",
"opened issue": "新建问题",
"close issue": "关闭问题",
"added": "添加了",
"to": "到",
"pushed to": "推送了",
"closed issue": "关闭了问题",
"merged pull request": "合并了拉取请求",
"commented on issue": "提交了评论",
"More": "更多",
"Switch dashboard context": "切换默认身份",
"Manage organizations": "管理组织",
"Create organization": "创建组织",
// 首次加入组织通知
"You’ve been added to the": "您已经被添加到",
"organization!": "组织!",
"Here are some quick tips for a first-time organization member.": "以下是首次加入组织的一些提示。",
"Use the switch context button in the upper left corner of this page to switch between your personal context (": "使用页面左上角的切换身份按钮,您可以在(",
") and organizations you are a member of.": ")和组织身份之间进行切换。",
"After you switch contexts you’ll see an organization-focused dashboard that lists out organization repositories and activities.": "当您切换身份,您会看到一个组织为中心的页面,其中列出了组织库和活动。",
},
"regexp": [ // 正则翻译
[/Show (\d+) more repositories…/, "显示 $1 个更多的仓库…"],
],
},
"page-profile": { // 个人首页
"static": { // 静态翻译
"Updating your profile with your name, location, and a profile picture helps other GitHub users get to know you.": "更新您的资料信息包括姓名,地址,头像等资料,让其他用户更容易的了解您。",
"Joined on": "注册于",
"Change your avatar": "修改头像",
"Starred": "赞了",
"Following": "关注",
"Organizations": "组织",
"Contributions": "贡献",
"Public contributions": "贡献",
"Overview": "概述",
"Repositories": "仓库",
"Public activity": "动态",
"Edit profile": "修改设置",
"Popular repositories": "流行的仓库",
"Pinned repositories": "固定的仓库",
"Customize your pinned repositories": "自定义您的固定仓库",
"Repositories contributed to": "贡献过的仓库",
"Contribution activity": "贡献信息",
"You can now pin up to 6 repositories.": "你现在可以设置6个固定仓库。",
"Select up to five public repositories you'd like to show.": "最多可选择五个要显示的公共仓库。",
"Show:": "显示:",
"Your repositories": "您的仓库",
"Repositories you contribute to": "您贡献过的仓库",
"Save pinned repositories": "保存固定仓库",
"Jan": "1月",
"Feb": "2月",
"Mar": "3月",
"Apr": "4月",
"May": "5月",
"Jun": "6月",
"Jul": "7月",
"Aug": "8月",
"Sep": "9月",
"Oct": "10月",
"Nov": "11月",
"Dec": "12月",
"January": "一月",
"February": "二月",
"March": "三月",
"April": "四月",
"May": "五月",
"June": "六月",
"July": "七月",
"August": "八月",
"September": "九月",
"October": "十月",
"November": "十一月",
"December": "十二月",
"Mon": "周一",
"Wed": "周三",
"Fri": "周五",
"Includes contributions from private repositories you can access.": "您可以访问包括私人仓库。",
"Summary of pull requests, issues opened, and commits.": "包括 拉取请求, 提问, 提交.",
"Learn how we count contributions": "您想知道如何计算贡献的吗",
"Less": "少",
"More": "多",
// "Contributions in the last year": "过去一年的贡献",
// "Longest streak": "最长连续贡献天数",
// "Current streak": "当前连续贡献天数",
// "No recent contributions": "最近没有贡献",
// 2016-05-20 更新贡献日历部分
"Contribution settings": "贡献设置",
"Select which contributions to show": "选择要显示哪些贡献",
"Public contributions only": "仅公共的贡献",
"Visitors to your profile will only see your contributions to public repositories.": "访客到您的个人资料只会看到公共仓库部分的贡献。",
"Public and private contributions": "公共和私人贡献",
"Visitors to your profile will see your public and anonymized private contributions.": "访客到您的个人资料将会看到您的公共和匿名的私人贡献。",
"Visitors will now see only your public contributions.": "访客只会看到您公共仓库部分的贡献。",
"Visitors will now see your public and anonymized private contributions.": "访客将看到您的公共和匿名的私人贡献。",
"commits": "次提交",
"Pull Request": "拉取请求",
"Pull Requests": "拉取请求",
"Issue reported": "问题报告",
"Issues reported": "问题报告",
// 动态 状态词
"starred": "赞了",
"forked": "收藏了",
"forked from": "收藏至",
"created repository": "创建了仓库",
"opened pull request": "发起了拉取请求",
"commented on pull request": "评论了拉取请求",
"opened issue": "新建问题",
"close issue": "关闭问题",
"added": "添加了",
"to": "到",
"pushed to": "推送了",
"closed issue": "关闭了问题",
"merged pull request": "合并了拉取请求",
"commented on issue": "提交了评论",
// 仓库 tab
"Find a repository…": "搜索仓库…",
"All": "全部",
"Public": "公共",
"Private": "私有",
"Sources": "源码",
"Forks": "派生",
"Mirrors": "镜像",
"New": "新建",
"Block or report": "阻止或举报",
"Learn more about blocking a user.": "查看详细的阻止用户信息。",
"Block or report this user": "阻止或举报该用户",
"Block user": "阻止该用户",
"Hide content and notifications from this user.": "屏蔽所有来自该用户的通知消息。",
"Report abuse": "举报该用户",
"Contact Support about this user's behavior.": "将该用户行为上报。",
"Search repositories…": "搜索这些查库…",
"Search starred repositories…": "搜索点赞的仓库…",
"Type:": "类型:",
"Select type:": "选择类型:",
"Language:": "语言:",
"Select language:": "选择语言:",
"All languages": "所有语言",
"Sort:": "排序:",
"Sort options": "排序选项",
"Recently starred": "最近关注的",
"Recently active": "最近活动的",
"Most stars": "最多赞的",
"Unstar": "取消点赞",
"Jump to": "跳转到",
"First pull request": "第一次拉取请求",
"First issue": "第一次提问",
"First repository": "第一个仓库",
"Joined GitHub": "刚注册 GitHub",
"Show more activity": "显示更多",
},
"regexp": [ // 正则翻译
[/Created (\d+)[\s\r\n]+commits? in[\s\r\n]+(\d+)[\s\r\n]+repositor(y|ies)/, "在 $1 个库中创建了 $2 次提交"],
[/Created (\d+)[\s\r\n]+repositor(y|ies)/, "创建了 $1 个仓库"],
[/Opened (\d+)[\s\r\n]+other[\s\r\n]+pull requests?/, "发起了 $1 个拉取请求"],
[/Opened (\d+)[\s\r\n]+other[\s\r\n]+issues/, "开了 $1 个其他问题"],
[/(\d+) commits?/, "$1 次提交"],
[/Pushed (\d+) commits? to/, "推送了 $1 次提交到"],
[/Follow ([^’]+)’s activity feed/, "关注 $1 的 feed"],
[/([^ ]+) has no activity during this period\./, "$1 近期没有任何活动。"],
[/([\s\S]+?) has no activity yet for this period\./, "$1 近期没有任何活动。"],
[/(\d+) total/, "$1 次"],
[/(\d+) days?/, "$1 天"],
[/([\d,]+) contributions in the last year/, "$1 次贡献在过去的一年中"],
],
},
"page-account": { // 个人设置
"static": { // 静态翻译
// 菜单
"Personal settings": "个人设置",
"Profile": "基本信息",
"Account": "帐户设置",
"Emails": "邮箱设置",
"Notifications": "通知设置",
"Billing": "财务信息",
"SSH and GPG keys": "SSH 和 GPG keys",
"Security": "安全信息",
"OAuth applications": "授权应用",
"Personal access tokens": "访问令牌",
"Repositories": "仓库管理",
"Organizations": "组织管理",
"Saved replies": "快捷回复",
// Profile 菜单
"Public profile": "基本资料",
"Profile picture": "我的头像",
"Upload new picture": "上传新图片",
"You can also drag and drop a picture from your computer.": "您也可以直接拖拽照片镜像上传.",
"Name": "昵称",
"Public email": "公共邮箱",
"Don’t show my email address": "不显示我的邮箱",
"You can add or remove verified email addresses in your": "您可以添加或删除邮件地址在您的",
"personal email settings": "邮箱设置",
"URL": "网站",
"Company": "公司",
"You can": "您可以",
"other users and organizations to link to them.": "其他用户和组织链接到他们。",
"Location": "地址",
"your company's GitHub organization to link it.": "贵公司和GitHub的组织联系起来。",
"Update profile": "更新资料",
"Profile updated successfully": "资料更新成功。",
"Contributions": "贡献",
"Include private contributions on my profile": "在我的主页显示私人贡献",
"Get credit for all your work by showing the number of contributions to private repositories on your profile without any repository or organization information.": "显示所有包括私人仓库的贡献到您的个人资料页面,不包括组织仓库信息。",
"Learn how we count contributions": "查看如统计贡献",
"Update contributions": "更新贡献",
"GitHub Developer Program": "GitHub 开发者计划",
"Building an application, service, or tool that integrates with GitHub?": "构建应用程序、服务或工具,集成了GitHub吗?",
"Join the GitHub Developer Program": "加入 GitHub 开发者计划",
", or read more about it at our": "或了解更多信息在我们的",
"Developer site": "开发者站点",
"Jobs profile": "就业状态",
"Available for hire": "求HR带走",
"Save jobs profile": "保存状态",
// Account settings 菜单
"Change password": "修改密码",
"Old password": "旧的密码",
"New password": "新的密码",
"Confirm new password": "再次输入新的密码",
"Update password": "更新",
"I forgot my password": "我忘记我的密码了",
"Looking for two-factor authentication? You can find it in": "使用双重认证?您可以去",
"Change username": "修改用户名",
"Changing your username can have": "修改您的用户名会导致",
"unintended side effects": "意想不到的副作用",
"Delete account": "删除帐户",
"Once you delete your account, there is no going back. Please be certain.": "一旦您删除了帐户,就没办法恢复,请三思而行。",
"Delete your account": "确认删除",
// Emails 菜单
"Your": "您的",
"primary GitHub email address": "GitHub Email 主帐户",
"will be used for account-related notifications (e.g. account changes and billing receipts) as well as any web-based GitHub operations (e.g. edits and merges).": "将被用于接收相关通知 (例如:账单信息),以及任何基于 web 的 GitHub 操作 (例如:编辑或合并操作)。",
"Primary": "主帐户",
"Private": "私有",
"Public": "公开",
"This email will be used as the 'from' address for web-based GitHub operations.": "该邮箱将被用作 \"发件人\"地址",
"Your primary email address is now public.": "主邮件地址现在是公开的。",
"Your primary email address is now private.": "主邮件地址现在是保密的。",
"Set as primary": "设为主帐户",
"Add email address": "添加 Email 地址",
"Add": "添加",
"Keep my email address private": "将我的邮件地址保密",
"We will use": "我们将使用",
"when performing web-based Git operations and sending email on your behalf. If you want command line Git operations to use your private email you must": "作为默认\"发件人\"地址以您的名义发送电子邮件。如果您想在命令行 Git 的操作中使用您的私人邮件地址,您必须在",
"set your email in Git": "Git 中设置您的电子邮件地址",
"Email preferences": "Email 偏好设置",
"Receive all emails, except those I unsubscribe from.": "接收所有邮件,除了那些我退订的信息。",
"We'll occasionally contact you with the latest news and happenings from the GitHub Universe.": "我们将会把 GitHub Universe 的最新消息和事件发送给您。",
"Learn more": "查看更多",
"Only receive account related emails, and those I subscribe to.": "只接收帐户相关的电子邮件,以及我的订阅的信息。",
"We'll only send you legal or administrative emails, and any emails you’ve specifically subscribed to.": "我们只向您发送法律或行政邮件以及您订阅信息。",
"Save email preferences": "保存偏好",
"Successfully updated your email preferences.": "Email 偏好设置修改成功。",
"Looking for activity notification controls? Check the": "想要了解更详细的通知设置,请前往",
// Notification center 菜单
"How you receive notifications": "通知设置",
"Automatic watching": "自动关注",
"When you’re given push access to a repository, automatically receive notifications for it.": "当您给一个仓库推送权限时,自动接收相关通知。",
"Automatically watch repositories": "自动关注仓库",
"Participating": "参与话题",
"When you participate in a conversation or someone brings you in with an": "当有人",
"@mention": "@用户名",
"Watching": "关注仓库",
"Updates to any repositories or threads you’re watching.": "当您关注的仓库更新时。",
"Your notification settings apply to the": "通知设置将应用到",
"repositories you’re watching": "您关注的仓库",
"Notification email": "接收通知的邮箱",
"Primary email address": "主邮箱地址",
"Save": "保存",
"Custom routing": "自定义",
"You can send notifications to different": "您可以发送通知不同的",
"verified": "验证",
"email addresses depending on the organization that owns the repository.": "电子邮件地址取决于组织拥有仓库。",
// Billing 菜单
"Billing overview": "财务信息",
"Plan": "方案",
"Free": "免费",
"Change plan": "修改方案",
"per month for": "每月 -",
"Learn more about Git LFS": "什么是 Git LFS (大文件存储)?",
"Purchase more": "购买更多",
"Billing cycle": "结算周期",
"Bandwidth": "带宽",
"Bandwidth quota resets every billing cycle": "带宽配额每个周期重置",
"Storage": "存储",
"Payment": "支付方式",
"No payment method on file.": "没有设置支付方式",
"Add payment method": "添加支付方式",
"Coupon": "优惠券",
"You don’t have an active coupon.": "没有可用的优惠券",
"Redeem a coupon": "兑换优惠券",
"Payment history": "支付记录",
"Amounts shown in USD": "以美元显示",
"You have not made any payments.": "没有支付记录",
// Security 菜单
"Two-factor authentication": "双重认证",
"Status:": "状态:",
"Off": "未开启",
"Set up two-factor authentication": "设置双重认证",
"provides another layer of security to your account.": "为您的帐户提供了另一层安全保障。",
"Sessions": "会话信息",
"This is a list of devices that have logged into your account. Revoke any sessions that you do not recognize.": "这是您登陆的设备会话列表,如果不是您本人操作,可以关闭该会话。",
"Your current session": "您当前的会话",
"Location:": "地址",
"Signed in:": "登陆于",
"Last accessed on": "最后访问时间",
"Revoke": "注销",
"Security history": "操作记录",
"This is a security log of important events involving your account.": "这是您帐户的操作日志",
// Applications 菜单
"Authorized applications": "已授权的应用",
"Developer applications": "开发者应用",
"Revoke all": "注销全部",
"You have granted the following applications access to your account. Read more about connecting with third-party applications at": "您已授权下来应用访问您的帐户信息,如需了解更多请阅读",
"Sort": "排序",
"Sort by": "排序方式",
"Alphabetical": "字母排序",
"Recently used": "最近使用",
"Least recently used": "最少使用",
"No Developer Applications": "暂无开发者的应用",
"Developer applications are used to access the": "开发者应用是用于访问",
". To get started you should": "。首先您应该",
"register an application": "注册一个应用",
"Register new application": "注册应用",
"Register a new OAuth application": "注册一个 OAuth 应用",
"Application name": "应用名",
"Something users will recognize and trust": "让用户识别和信任",
"Homepage URL": "主页地址",
"The full URL to your application homepage": "您的应用主页地址",
"Application description": "应用描述",
"Application description is optional": "应用描述 (可选)",
"This is displayed to all potential users of your application": "给您的目标用户最直接的信息",
"Authorization callback URL": "认证回调地址",
"Your application’s callback URL. Read our": "您的应用授权回调地址。详情请阅读",
"OAuth documentation": "OAuth 文档",
"for more information": "。",
"Register application": "注册应用",
"Drag & drop": "拖拽上传",
"or": "或者",
"choose an image": "选择图片",
// Personal access tokens 页面
"Generate new token": "创建新的密令",
"Tokens you have generated that can be used to access the": "密令可以用来访问",
"Full control of private repositories": "完全控制私有仓库",
"Edit": "编辑",
"Delete": "删除",
"Personal access tokens function like ordinary OAuth access tokens. They can be used instead of a password for Git over HTTPS, or can be used to": "访问令牌功能类似于OAuth,他可以代替密码给 Git Https 访问,",
"authenticate to the API over Basic Authentication": "或用来进行API调用的验证",
// Organizations 页面
"You are not a member of any organizations.": "您暂无任何组织。",
"Transform account": "账户变更",
"Account transformation warning": "账户变更警告",
"What you are about to do is an irreversible and destructive process. Please be aware:": "这将是一个不可逆转的过程,请确认:",
"Any user-specific information (OAuth tokens, SSH keys, Job Profile, etc) will be erased": "任何用户特定的信息(OAuth tokens, SSH keys, Job Profile, 等)将被删除。",
"create a new personal account": "创建一个新的个人帐户",
},
"regexp": [ // 正则翻译
[/This email will not be used as the 'from' address for web-based GitHub operations - we will instead use ([^@]+@users.noreply.github.com)./, "该邮箱不会被用作 \"发件人\"地址,我们会改用 ($1) 作为默认 \"发件人\"地址。"],
[/Your primary email was changed to ([^@]+@[^\n]+)\./, "您的 Email 主帐户已经更改为 $1"],
[/(\d+) private repositories?\./, "$1 个私有仓库."],
[/(\d+) data packs?/, "$1 数据包"],
[/(\d+) days? left,\n\s+billed monthly/, "$1天, 按月"],
[/Using\n\s+([\d.]+) of\n\s+(\d+) GB\/month/, "$$1, $2GB/月"],
[/Using\n\s+([\d.]+) of\n\s+(\d+) GB/, "$$1, $2GB"],
[/(\d+) Authorized applications?/, "$1 个授权应用"],
[/Turn (\w+) into an organization/, "变更 $1 为一个组织"],
[/You will no longer be able to sign into (\w+) \(all administrative privileges will be bestowed upon the owners you choose\)/, "您将不能作为账户登录到 $1。(所有管理权限将赋予您选择的所有者)"],
[/Any commits credited to (\w+) will no longer be linked to this GitHub account/, "任何提交归功于 $1 将不再链接到这个 GitHub 帐户"],
[/If you are using (\w+) as a personal account, you should/, "如果您正在使用 $1 作为个人帐户,您应"],
[/before transforming (\w+) into an organization./, "在转化 $1 组织之前。"],
],
},
"page-new-repo": { // 新建仓库
"static": { // 静态翻译
"Create a new repository": "创建一个新的仓库",
"A repository contains all the files for your project, including the revision history.": "仓库包含项目中的所有文件,包括修订历史记录。",
"Owner": "创建者",
"Repository name": "仓库名",
"Great repository names are short and memorable. Need inspiration? How about": "一个好的仓库名应该是简单容易被记住的,需要来点灵感吗?这个名字怎么样",
"Description": "描述",
"(optional)": "(可选)",
"Public": "公共 (免费)",
"Anyone can see this repository. You choose who can commit.": "任何人都可以看到这个仓库,您可以选择谁能提交。",
"Private": "私有 (收费)",
"You choose who can see and commit to this repository.": "您可以选择谁可以看和提交到该仓库。",
"Initialize this repository with a README": "使用 README.md 初始化仓库",
"This will let you immediately clone the repository to your computer. Skip this step if you’re importing an existing repository.": "这将让您可以立刻克隆该仓库到您的电脑。如果您要提交已有的仓库,请忽略这个选项。",
"Add .gitignore:": "添加 .gitignore 文件",
"Filter ignores…": "筛选忽略文件…",
"Add a license:": "添加发布许可",
"Filter licenses…": "筛选许可…",
"None": "无",
"Need help picking a license? We’ve built a site just for you.": "需要帮您挑选一个许可吗?我们为您供了参考页面。",
"Create repository": "创建仓库",
"Creating repository…": "创建仓库中…",
},
"regexp": [ // 正则翻译
],
},
"new/import": { // 导入仓库
"static": { // 静态翻译
// 第一页
"Import your project to GitHub": "导入您的项目到 GitHub",
"Import all the files, including the revision history, from another version control system.": "导入的所有文件,包括修订历史记录,从另一个版本控制系统。",
"Your old repository’s clone URL": "你的老仓库 URL 地址",
"Learn more about the types of": "仓库更多类型的帮助",
"supported VCS": "支持 VCS",
"Your new repository details": "新仓库描述",
"Owner": "所有者",
"Name": "仓库名",
"Your new repository will be": "新仓库将会",
"public": "公开",
". In order to make this repository private, you’ll need to": "如果想使这个仓库转为私有的,你需要",
"upgrade your account": "升级帐户",
"Cancel": "取消",
"Begin import": "开始导入",
"Preparing import…": "准备导入…",
},
"regexp": [ // 正则翻译
],
},
"page-create-org": { // 新建组织
"static": { // 静态翻译
},
"regexp": [ // 正则翻译
],
},
"vis-public": { // 仓库页
"static": { // 静态翻译
// 导入仓库 第二页
"Preparing your new repository": "准备新的存储库",
"There is no need to keep this window open, we’ll email you when the import is done.": "没有必要在这个窗口傻等,当导入完成时,我们会向您发送电子邮件。",
"Detecting your project’s version control system…": "检测项目的版本控制系统…",
"Importing commits and revision history…": "导入提交和历史版本…",
"Importing complete! Your new repository": "导入完成,您的新仓库",
"is ready.": "已经就绪。",
// 仓库页面
"Where should we fork this repository?": "您想把该仓库派生到哪个角色下?",
"Code": "代码",
"Pulse": "统计",
"Graphs": "图表",
"Projects": "项目",
// 仓库描述编辑
"No description or website provided.": "没有提供说明和网站信息.",
"Edit": "编辑",
"Description": "描述",
"Short description of this repository": "简短的描述下您的仓库",
"Website": "网址",
"Website for this repository (optional)": "这个仓库的网址 (可选)",
"Save": "保存",
"or": "或",
"Cancel": "取消",
// 关注通知设置
"Notifications": "通知类型",
"Not watching": "取消关注",
"Watching": "关注",
"Ignoring": "忽略",
"Be notified when participating or @mentioned.": "仅参与交谈或@我时通知我.",
"Be notified of all conversations.": "所有交谈都通知我.",
"Never be notified.": "忽略任何通知.",
"commit": "次提交",
"commits": "次提交",
"branch": "分支",
"branches": "分支",
"release": "次发布",
"releases": "次发布",
"contributor": "个贡献者",
"contributors": "个贡献者",
"Copy to clipboard": "复制到剪切板",
"Copied!": "复制成功!",
"Your recently pushed branches:": "您最近推送的分支:",
"(less than a minute ago)": "不到一分钟前",
"Compare & pull request": "比较 & 拉取请求",
"New pull request": "发起拉取请求",
"Create new file": "新建文件",
"Upload files": "上传文件",
"Find file": "查找文件",
"Copy path": "复制路径",
"Clone or download": "克隆或下载",
"Download ZIP": "下载 ZIP",
"History": "历史记录",
"Use SSH": "使用 SSH",
"Use HTTPS": "使用 HTTPS",
"Open in Desktop": "从桌面版打开",
"Clone with SSH": "通过 SSH 克隆",
"Clone with HTTPS": "通过 HTTPS 克隆",
"Use an SSH key and passphrase from account.": "使用 SSH 密钥和密码访问。",
"Use Git or checkout with SVN using the web URL.": "使用 git 或 svn 检出该仓库。",
"Branch:": "分支:",
"Switch branches/tags": "选择分支或标签",
"Branches": "分支",
"Tags": "标签",
"Nothing to show": "暂无",
"File uploading is now available": "现在可以上传文件了",
"You can now drag and drop files into your repositories.": "您可以直接拖拽文件到该仓库界面进行上传。",
"Learn more": "查看详情",
"Dismiss": "我知道了",
// 关注者页面
"Watchers": "关注者",
// 点赞者页面
"Stargazers": "点赞的人",
"All": "全部",
"You know": "您关注的",
// issues 页面
"opened this": "打开这个",
"Issue": "问题",
"added a commit that closed this issue": "在提交时关闭了这个问题",
"closed this in": "关闭于",
"added the": "添加了",
"added": "添加",
"and removed": "并移除了",
"label": "标签",
"labels": "标签",
"self-assigned this": "自己受理了该问题",
"edited": "编辑的",
"added this to the": "添加到",
"milestone": "里程碑",
"closed this": "关闭了",
"reopened this": "重新打开了",
"This was referenced": "这是引用",
"No description provided.": "没有具体描述。",
"Add your reaction": "添加您的表情",
"Pick your reaction": "选择您的表情",
"Leave a comment": "发表评论",
"Milestone": "里程碑",
"Unsubscribe": "取消订阅",
"Attach files by dragging & dropping,": "拖拽添加附件,",
"selecting them": "或选择文件,",
", or pasting from the clipboard.": "或复制黏贴内容。",
"Styling with Markdown is supported": "支持 Markdown 功能。",
"Close issue": "关闭问题",
"Comment": "提交",
"Filters": "筛选",
"Open issues and pull requests": "开放的问题或拉取请求",
"Your issues": "您提出的问题",
"Your pull requests": "您的拉取请求",
"Everything assigned to you": "任何关于您的",
"Everything mentioning you": "提及您的",
"View advanced search syntax": "查看高级搜索语法",
"Labels": "标签",
"None yet": "暂无",
"Milestones": "里程碑",
"No milestone": "无里程碑",
"Author": "作者",
"Assignee": "受理人",
"Assignees": "受理人",
"No one—": "无人 - ",
"assign yourself": " 受理自己",
"No one assigned": "无人受理",
"Sort": "排序",
"Filter by author": "筛选用户",
"Filter users": "筛选用户名",
"Filter by label": "筛选标签",
"Filter labels": "筛选标签",
"Unlabeled": "无标签",
"Filter by milestone": "筛选里程碑",
"Filter milestones": "筛选里程碑",
"Issues with no milestone": "无里程碑",
"Filter by who’s assigned": "筛选代理人",
"Assigned to nobody": "无代理人",
"Sort by": "排序",
"Newest": "最新的",
"Oldest": "最老的",
"Most commented": "最多评论",
"Least commented": "最少评论",
"Recently updated": "最近更新",
"Least recently updated": "最早更新",
"View all issues in this milestone": "查看这个里程碑的所有问题",
// New collaborator 页面
"New collaborator": "添加合作者",
"Collaborators": "合作者",
"Push access to the repository": "当前仓库的推送权限",
"This repository doesn’t have any collaborators yet. Use the form below to add a collaborator.": "当前仓库没有合作者,您可以在下面输入框添加合作者。",
"Search by username, full name or email address": "搜索用户名, 全名, 邮箱地址:",
"Add collaborator": "添加合作者",
// Upload files 页面
"Drag files here to add them to your repository": "拖拽文件添加到当前仓库",
"Drag additional files here to add them to your repository": "拖拽其他文件添加到当前仓库",
"Drop to upload your files": "拖拽上传您的文件",
"Or": "或",
"choose your files": "选择文件",
"Yowza, that’s a big file. Try again with a file smaller than 25MB.": "我勒个擦,这么大的文件,单文件不得超过25MB",
"Yowza, that’s a lot of files. Try again with fewer than 100 files.": "我勒个擦,这么多文件,一次不能超过100个",
"This file is empty.": "这个文件是空的",
"Something went really wrong, and we can’t process that file.": "遇到错误,我们处理不了这个文件。",
"Uploading": "文件上传中",
"of": "",
"files": "",
"Commit changes": "提交变更",
"Add files via upload": "通过添加文件上传",
"Optional extended description": "可选的描述",
"Add an optional extended description…": "添加描述... (可选)",
"Commit directly to the": "提交到",
"Create a": "创建",
"new branch": "新分支",
"for this commit and start a pull request.": "为这个提交,并且发起一个拉取请求。",
"Learn more about pull requests.": "了解更多拉取请求。",
// Find file 页面
"You’ve activated the": "您已激活",
"file finder": "文件搜索模式",
". Start typing to filter the file list. Use": "。输入关键词查找您的文件。使用",
"and": "和",
"to navigate,": "选择文件",
"to view files,": "查看文件",
"to exit.": "返回。",
// 拉取请求信息提示
"Your recently pushed branches:": "你最近推送的分支:",
"Compare & pull request": "比较 & 拉取请求",
// Pull Requests 页面
"There aren’t any open pull requests.": "暂无拉取请求。",
"There aren’t any open issues.": "暂无开放的问题。",
"Use the links above to find what you’re looking for, or try": "使用上面的链接来找到您要找的,或者尝试",
"a new search query": "新的搜索查询",
". The Filters menu is also super helpful for quickly finding issues most relevant to you.": "。搜索栏也是快速找到问题最相关的您超级有帮助的。",
"Conversation": "交谈",
"Files changed": "更改的文件",
"commented": "评论",
"merged commit": "以合并提交",
"into": "到",
"from": "来自",
"Revert": "还原",
"Avoid bugs by automatically running your tests.": "通过持续集成测试来避免BUG。",
"Continuous integration can help catch bugs by running your tests automatically.": "持续集成可以通过自动运行您的测试有助于捕获错误。",
"Merge your code with confidence using one of our continuous integration providers.": "合并您的代码使用我们信任的持续集成供应商。",
"Add more commits by pushing to the": "添加更多来至于",
"branch on": "分支的提交推送到",
"This branch has no conflicts with the base branch": "该分支与base支没有冲突",
"Merging can be performed automatically.": "可以自动地执行合并。",
"You can also": "您也可以在",
"open this in GitHub Desktop": "GitHub桌面版本",
"or view": "打开,或通过",
"command line instructions": "命令行查看",
//// 直接提交拉取请求
"Open a pull request": "新建一个拉取请求",
"Create a new pull request by comparing changes across two branches. If you need to, you can also": "通过比较两个分支的更改来创建一个新的拉请求。如果需要,还可以",
"Able to merge.": "可被合并。",
"These branches can be automatically merged.": "该分支可被自动合并。",
"file changed": "个文件变更",
"files changed": "个文件变更",
"commit comment": "次提交",
"commit comments": "次提交",
"No commit comments for this range": "该范围变更没有提交注释",
"Comparing changes": "比较变更",
"Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also": "选择两个分支,看看发生了什么改变,或发起一个新的拉请求。如果你需要,你也可以",
"base fork:": "基派生:",
"There isn’t anything to compare.": "没有任何东西可比较。",
"is up to date with all commits from": "已是最新,提交于",
". Try": "。尝试",
"switching the base": "切换基础库",
"for your comparison.": "来进行比较。",
// projects 页面
"This repository doesn't have any projects yet": "该仓库目前没有任何项目",
"Create a project": "创建一个项目",
// wiki 页面
"Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together.": "wiki 为您的仓库提供了一个更好的文档资料。",
"Create the first page": "创建第一个页面",
"Create new page": "创建新页面",
"Write": "编辑",
"Preview": "预览",
"Edit mode:": "编辑模式:",
"Edit Message": "提交信息",
"Save Page": "保存页面",
// settings 页面
"Webhooks & services": "Web钩子 & 服务",
"Deploy keys": "部署密钥",