summaryrefslogtreecommitdiffstats
path: root/pkg/i18n/chinese.go
blob: f8ec9720c462ffe6434d99355ed94522529aeddf (plain)
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
/*

本翻译文件中的词语的翻译参考了 https://github.com/progit/progit2-zh/blob/master/TRANSLATION_NOTES.asc。
下方的术语对照表是对其的补充。

Translation in this file refer to https://github.com/progit/progit2-zh/blob/master/TRANSLATION_NOTES.asc.
Glossary below is a supplement of that documentation.

Glossary 术语对照表

change   更改
fixup    修正
reset    重置

*/

package i18n

const chineseIntroPopupMessage = `
感谢使用 lazygit!你真的太棒了。下面几点你可能会感兴趣:

 1) 观看此视频,快速了解 lazygit 的功能:
      https://youtu.be/CPLdltN7wgE

 2) 记得看看最新发行说明:
      https://github.com/jesseduffield/lazygit/releases

 3) 使用 git 说明你是一位程序员!你可以和我们一起让 lazygit 变得更好。
    考虑为本项目做些贡献吧:
      https://github.com/jesseduffield/lazygit
    你也可以直接赞助,并告诉我哪里需要改进,点右下角的捐赠按钮就好了。
    哪怕只是给仓库点个星星也很棒!
`

// exporting this so we can use it in tests
func chineseTranslationSet() TranslationSet {
	return TranslationSet{
		NotEnoughSpace:                      "没有足够的空间来渲染面板",
		DiffTitle:                           "差异",
		FilesTitle:                          "文件",
		BranchesTitle:                       "分支",
		CommitsTitle:                        "提交",
		StashTitle:                          "贮藏",
		UnstagedChanges:                     `未暂存更改`,
		StagedChanges:                       `已暂存更改`,
		MainTitle:                           "主要",
		StagingTitle:                        "正在暂存",
		MergingTitle:                        "正在合并",
		NormalTitle:                         "正常",
		CommitSummary:                       "提交信息",
		CredentialsUsername:                 "用户名",
		CredentialsPassword:                 "密码",
		CredentialsPassphrase:               "输入 SSH 密钥的密码",
		PassUnameWrong:                      "密码 和/或 用户名错误",
		Commit:                              "提交更改",
		AmendLastCommit:                     "修补最后一次提交",
		AmendLastCommitTitle:                "修补最后一次提交",
		SureToAmend:                         "您确定要修补上一次提交吗?之后您可以从提交面板更改提交消息。",
		NoCommitToAmend:                     "没有需要提交的修补。",
		CommitChangesWithEditor:             "提交更改(使用编辑器编辑提交信息)",
		StatusTitle:                         "状态",
		Menu:                                "菜单",
		Execute:                             "执行",
		Stage:                               "切换暂存状态",
		ToggleStagedAll:                     "切换所有文件的暂存状态",
		ToggleTreeView:                      "切换文件树视图",
		OpenMergeTool:                       "打开外部合并工具 (git mergetool)",
		Refresh:                             "刷新",
		Push:                                "推送",
		Pull:                                "拉取",
		Scroll:                              "滚动",
		MergeConflictsTitle:                 "合并冲突",
		Checkout:                            "检出",
		NoChangedFiles:                      "没有更改过文件",
		SoftReset:                           "软重置",
		AlreadyCheckedOutBranch:             "您已经检出至此分支",
		SureForceCheckout:                   "您确定要强制检出吗?您将丢失所有本地更改",
		ForceCheckoutBranch:                 "强制检出分支",
		BranchName:                          "分支名称",
		NewBranchNameBranchOff:              "新分支名称(基于 {{.branchName}})",
		CantDeleteCheckOutBranch:            "您不能删除已检出的分支!",
		ForceDeleteBranchMessage:            "{{.selectedBranchName}} 还没有被完全合并。您确定要删除它吗?",
		RebaseBranch:                        "将已检出的分支变基到该分支",
		CantRebaseOntoSelf:                  "您不能将分支变基到其自身",
		CantMergeBranchIntoItself:           "您不能将分支合并到其自身",
		ForceCheckout:                       "强制检出",
		CheckoutByName:                      "按名称检出",
		NewBranch:                           "新分支",
		NoBranchesThisRepo:                  "此仓库中没有分支",
		CommitWithoutMessageErr:             "您必须编写提交消息才能进行提交",
		CloseCancel:                         "关闭",
		Confirm:                             "确认",
		Close:                               "关闭",
		Quit:                                "退出",
		NoCommitsThisBranch:                 "该分支没有提交",
		CannotSquashOrFixupFirstCommit:      "There's no commit below to squash into",
		Fixup:                               "修正(fixup)",
		SureFixupThisCommit:                 "您确定要“修正”此提交吗?它将合并到下面的提交中",
		SureSquashThisCommit:                "您确定要将这个提交压缩到下面的提交中吗?",
		Squash:                              "压缩",
		PickCommitTooltip:                   "选择提交(变基过程中)",
		RevertCommit:                        "还原提交",
		Reword:                              "改写提交",
		DropCommit:                          "删除提交",
		MoveDownCommit:                      "下移提交",
		MoveUpCommit:                        "上移提交",
		EditCommitTooltip:                   "编辑提交",
		AmendCommitTooltip:                  "用已暂存的更改来修补提交",
		RewordCommitEditor:                  "使用编辑器重命名提交",
		Error:                               "错误",
		PickHunk:                            "选中区块",
		PickAllHunks:                        "选中所有区块",
		Undo:                                "撤销",
		UndoReflog:                          "(通过 reflog)撤销「实验功能」",
		RedoReflog:                          "(通过 reflog)重做「实验功能」",
		Pop:                                 "应用并删除",
		Drop:                                "删除",
		Apply:                               "应用",
		NoStashEntries:                      "没有贮藏条目",
		StashDrop:                           "删除贮藏",
		SureDropStashEntry:                  "您确定要删除此贮藏条目吗?",
		StashPop:                            "应用并删除贮藏",
		SurePopStashEntry:                   "您确定要应用并删除此贮藏条目吗?",
		StashApply:                          "应用贮藏",
		SureApplyStashEntry:                 "您确定要应用此贮藏条目?",
		NoTrackedStagedFilesStash:           "没有可以贮藏的已跟踪/暂存文件",
		StashChanges:                        "贮藏更改",
		RenameStash:                         "Rename stash",
		RenameStashPrompt:                   "Rename stash: {{.stashName}}",
		OpenConfig:                          "打开配置文件",
		EditConfig:                          "编辑配置文件",
		ForcePush:                           "强制推送",
		ForcePushPrompt:                     "您的分支已与远程分支不同。按‘esc’取消,或‘enter’强制推送.",
		ForcePushDisabled:                   "您的分支已与远程分支不同, 并且您已经禁用了强行推送",
		UpdatesRejectedAndForcePushDisabled: "更新被拒绝,您已禁用强制推送",
		CheckForUpdate:                      "检查更新",
		CheckingForUpdates:                  "正在检查更新…",
		OnLatestVersionErr:                  "已是最新版本",
		MajorVersionErr:                     "新版本 ({{.newVersion}}) 与当前版本 ({{.currentVersion}}) 相比,具有非向后兼容的更改",
		CouldNotFindBinaryErr:               "在 {{.url}} 处找不到任何二进制文件",
		MergeToolTitle:                      "合并工具",
		MergeToolPrompt:                     "确定要打开 `git mergetool` 吗?",
		IntroPopupMessage:                   chineseIntroPopupMessage,
		GitconfigParseErr:                   `由于存在未加引号的'\'字符,因此 Gogit 无法解析您的 gitconfig 文件。删除它们应该可以解决问题。`,
		EditFile:                            `编辑文件`,
		OpenFile:                            `打开文件`,
		IgnoreFile:                          `添加到 .gitignore`,
		RefreshFiles:                        `刷新文件`,
		Merge:                               `合并到当前检出的分支`,
		ConfirmQuit:                         `您确定要退出吗?`,
		SwitchRepo:                          `切换到最近的仓库`,
		AllBranchesLogGraph:                 `显示所有分支的日志`,
		UnsupportedGitService:               `不支持的 git 服务`,
		CreatePullRequest:                   `创建抓取请求`,
		CopyPullRequestURL:                  `将抓取请求 URL 复制到剪贴板`,
		NoBranchOnRemote:                    `该分支在远程上不存在. 您需要先将其推送到远程.`,
		Fetch:                               `抓取`,
		NoAutomaticGitFetchTitle:            `无法自动进行 "git fetch"`,
		NoAutomaticGitFetchBody:             `Lazygit 不能在私人仓库中使用 "git fetch"; 请在文件面板中使用 'f' 手动运行 "git fetch"`,
		FileEnter:                           `暂存单个 块/行 用于文件, 或 折叠/展开 目录`,
		FileStagingRequirements:             `只能暂存跟踪文件的单独行`,
		StageSelectionTooltip:               `切换行暂存状态`,
		DiscardSelection:                    `取消变更 (git reset)`,
		ToggleRangeSelect:                   `切换拖动选择`,
		ToggleSelectHunk:                    `切换选择区块`,
		ToggleSelectionForPatch:             `添加/移除 行到补丁`,
		ToggleStagingView:                   `切换到其他面板`,
		ReturnToFilesPanel:                  `返回文件面板`,
		FastForward:                         `从上游快进此分支`,
		FastForwarding:                      "抓取并快进",
		FoundConflictsTitle:                 "自动合并失败",
		ViewMergeRebaseOptions:              "查看 合并/变基 选项",
		NotMergingOrRebasing:                "您目前既不进行变基也不进行合并",
		RecentRepos:                         "最近的仓库",
		MergeOptionsTitle:                   "合并选项",
		RebaseOptionsTitle:                  "变基选项",
		CommitSummaryTitle:                  "提交讯息",
		LocalBranchesTitle:                  "分支页面",
		SearchTitle:                         "搜索",
		TagsTitle:                           "标签页面",
		MenuTitle:                           "菜单",
		RemotesTitle:                        "远程页面",
		RemoteBranchesTitle:                 "远程分支",
		PatchBuildingTitle:                  "构建补丁中",
		InformationTitle:                    "信息",
		SecondaryTitle:                      "次要",
		ReflogCommitsTitle:                  "Reflog 页面",
		GlobalTitle:                         "全局键绑定",
		ConflictsResolved: