mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 08:06:25 -04:00
add local
This commit is contained in:
parent
1547b4155e
commit
769a6cd069
|
|
@ -44,7 +44,7 @@ func (gui *Gui) createOrOpenPullRequestMenu(selectedBranch *models.Branch, check
|
|||
|
||||
if hasPr {
|
||||
menuItems = append(menuItems, &menuItem{
|
||||
displayString: "open #" + strconv.Itoa(pr.Number),
|
||||
displayString: gui.GitCommand.Tr.OpenPr + strconv.Itoa(pr.Number),
|
||||
onPress: func() error {
|
||||
return gui.OSCommand.OpenLink(pr.Url)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -441,6 +441,8 @@ func chineseTranslationSet() TranslationSet {
|
|||
LcDefaultBranch: "默认分支",
|
||||
LcSelectBranch: "选择分支",
|
||||
CreatingPullRequestAtUrl: "在 URL 创建抓取请求: %s",
|
||||
OpenPr: "公开公关 #",
|
||||
|
||||
Spans: Spans{
|
||||
// TODO: combine this with the original keybinding descriptions (those are all in lowercase atm)
|
||||
CheckoutCommit: "检出提交",
|
||||
|
|
|
|||
|
|
@ -436,6 +436,7 @@ type TranslationSet struct {
|
|||
MustSpecifyOriginError string
|
||||
GitOutput string
|
||||
GitCommandFailed string
|
||||
OpenPr string
|
||||
Spans Spans
|
||||
}
|
||||
|
||||
|
|
@ -965,6 +966,8 @@ func englishTranslationSet() TranslationSet {
|
|||
MustSpecifyOriginError: "Must specify a remote if specifying a branch",
|
||||
GitOutput: "Git output:",
|
||||
GitCommandFailed: "Git command failed. Check command log for details (open with %s)",
|
||||
OpenPr: "Open PR #",
|
||||
|
||||
Spans: Spans{
|
||||
// TODO: combine this with the original keybinding descriptions (those are all in lowercase atm)
|
||||
CheckoutCommit: "Checkout commit",
|
||||
|
|
|
|||
Loading…
Reference in a new issue