mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-06 23:46:13 +02:00
Shorten the waiting status for fast-forwarding a branch
Now that we no longer show it in a loader panel, but in the app status view, it's awkwardly long (the loading animation is much further to the right than for other waiting status texts). Hopefully seeing just "Fast-forwarding <branch>" is enough to be able to tell what's happening.
This commit is contained in:
parent
864a9ada57
commit
fc868cdda5
@ -537,10 +537,9 @@ func (self *BranchesController) fastForward(branch *models.Branch) error {
|
|||||||
action := self.c.Tr.Actions.FastForwardBranch
|
action := self.c.Tr.Actions.FastForwardBranch
|
||||||
|
|
||||||
message := utils.ResolvePlaceholderString(
|
message := utils.ResolvePlaceholderString(
|
||||||
self.c.Tr.Fetching,
|
self.c.Tr.FastForwarding,
|
||||||
map[string]string{
|
map[string]string{
|
||||||
"from": fmt.Sprintf("%s/%s", branch.UpstreamRemote, branch.UpstreamBranch),
|
"branch": branch.Name,
|
||||||
"to": branch.Name,
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ func chineseTranslationSet() TranslationSet {
|
|||||||
ToggleStagingPanel: `切换到其他面板`,
|
ToggleStagingPanel: `切换到其他面板`,
|
||||||
ReturnToFilesPanel: `返回文件面板`,
|
ReturnToFilesPanel: `返回文件面板`,
|
||||||
FastForward: `从上游快进此分支`,
|
FastForward: `从上游快进此分支`,
|
||||||
Fetching: "抓取并快进 {{.from}} -> {{.to}} ...",
|
FastForwarding: "抓取并快进 {{.branch}} ...",
|
||||||
FoundConflictsTitle: "自动合并失败",
|
FoundConflictsTitle: "自动合并失败",
|
||||||
ViewMergeRebaseOptions: "查看 合并/变基 选项",
|
ViewMergeRebaseOptions: "查看 合并/变基 选项",
|
||||||
NotMergingOrRebasing: "您目前既不进行变基也不进行合并",
|
NotMergingOrRebasing: "您目前既不进行变基也不进行合并",
|
||||||
|
@ -134,7 +134,7 @@ func dutchTranslationSet() TranslationSet {
|
|||||||
ToggleStagingPanel: `Ga naar een ander paneel`,
|
ToggleStagingPanel: `Ga naar een ander paneel`,
|
||||||
ReturnToFilesPanel: `Ga terug naar het bestanden paneel`,
|
ReturnToFilesPanel: `Ga terug naar het bestanden paneel`,
|
||||||
FastForward: `Fast-forward deze branch vanaf zijn upstream`,
|
FastForward: `Fast-forward deze branch vanaf zijn upstream`,
|
||||||
Fetching: "Fetching en fast-forwarding {{.from}} -> {{.to}} ...",
|
FastForwarding: "Fast-forwarding {{.branch}} ...",
|
||||||
FoundConflictsTitle: "Conflicten!",
|
FoundConflictsTitle: "Conflicten!",
|
||||||
ViewMergeRebaseOptions: "Bekijk merge/rebase opties",
|
ViewMergeRebaseOptions: "Bekijk merge/rebase opties",
|
||||||
NotMergingOrRebasing: "Je bent momenteel niet aan het rebasen of mergen",
|
NotMergingOrRebasing: "Je bent momenteel niet aan het rebasen of mergen",
|
||||||
|
@ -184,7 +184,7 @@ type TranslationSet struct {
|
|||||||
ToggleStagingPanel string
|
ToggleStagingPanel string
|
||||||
ReturnToFilesPanel string
|
ReturnToFilesPanel string
|
||||||
FastForward string
|
FastForward string
|
||||||
Fetching string
|
FastForwarding string
|
||||||
FoundConflictsTitle string
|
FoundConflictsTitle string
|
||||||
ViewConflictsMenuItem string
|
ViewConflictsMenuItem string
|
||||||
AbortMenuItem string
|
AbortMenuItem string
|
||||||
@ -977,7 +977,7 @@ func EnglishTranslationSet() TranslationSet {
|
|||||||
ToggleStagingPanel: `Switch to other panel (staged/unstaged changes)`,
|
ToggleStagingPanel: `Switch to other panel (staged/unstaged changes)`,
|
||||||
ReturnToFilesPanel: `Return to files panel`,
|
ReturnToFilesPanel: `Return to files panel`,
|
||||||
FastForward: `Fast-forward this branch from its upstream`,
|
FastForward: `Fast-forward this branch from its upstream`,
|
||||||
Fetching: "Fetching and fast-forwarding {{.from}} -> {{.to}} ...",
|
FastForwarding: "Fast-forwarding {{.branch}}",
|
||||||
FoundConflictsTitle: "Conflicts!",
|
FoundConflictsTitle: "Conflicts!",
|
||||||
ViewConflictsMenuItem: "View conflicts",
|
ViewConflictsMenuItem: "View conflicts",
|
||||||
AbortMenuItem: "Abort the %s",
|
AbortMenuItem: "Abort the %s",
|
||||||
|
@ -170,7 +170,7 @@ func koreanTranslationSet() TranslationSet {
|
|||||||
ToggleStagingPanel: `패널 전환`,
|
ToggleStagingPanel: `패널 전환`,
|
||||||
ReturnToFilesPanel: `파일 목록으로 돌아가기`,
|
ReturnToFilesPanel: `파일 목록으로 돌아가기`,
|
||||||
FastForward: `Fast-forward this branch from its upstream`,
|
FastForward: `Fast-forward this branch from its upstream`,
|
||||||
Fetching: "Fetching and fast-forwarding {{.from}} -> {{.to}} ...",
|
FastForwarding: "Fast-forwarding {{.branch}} ...",
|
||||||
FoundConflictsTitle: "Auto-merge failed",
|
FoundConflictsTitle: "Auto-merge failed",
|
||||||
ViewMergeRebaseOptions: "View merge/rebase options",
|
ViewMergeRebaseOptions: "View merge/rebase options",
|
||||||
NotMergingOrRebasing: "You are currently neither rebasing nor merging",
|
NotMergingOrRebasing: "You are currently neither rebasing nor merging",
|
||||||
|
@ -201,7 +201,7 @@ func RussianTranslationSet() TranslationSet {
|
|||||||
ToggleStagingPanel: `Переключиться на другую панель (проиндексированные/непроиндексированные изменения)`,
|
ToggleStagingPanel: `Переключиться на другую панель (проиндексированные/непроиндексированные изменения)`,
|
||||||
ReturnToFilesPanel: `Вернуться к панели файлов`,
|
ReturnToFilesPanel: `Вернуться к панели файлов`,
|
||||||
FastForward: `Перемотать эту ветку вперёд из её upstream-ветки`,
|
FastForward: `Перемотать эту ветку вперёд из её upstream-ветки`,
|
||||||
Fetching: "Получить изменения и перемотать вперёд {{.from}} -> {{.to}} ...",
|
FastForwarding: "Получить изменения и перемотать вперёд {{.branch}} ...",
|
||||||
FoundConflictsTitle: "Конфликты!",
|
FoundConflictsTitle: "Конфликты!",
|
||||||
ViewConflictsMenuItem: "Просмотр конфликтов",
|
ViewConflictsMenuItem: "Просмотр конфликтов",
|
||||||
AbortMenuItem: "Прервать %s",
|
AbortMenuItem: "Прервать %s",
|
||||||
|
@ -234,7 +234,7 @@ func traditionalChineseTranslationSet() TranslationSet {
|
|||||||
ToggleStagingPanel: `切換至另一個面板 (已預存/未預存更改)`,
|
ToggleStagingPanel: `切換至另一個面板 (已預存/未預存更改)`,
|
||||||
ReturnToFilesPanel: `返回檔案面板`,
|
ReturnToFilesPanel: `返回檔案面板`,
|
||||||
FastForward: `從上游快進此分支`,
|
FastForward: `從上游快進此分支`,
|
||||||
Fetching: "{{.from}} -> {{.to}} 的擷取和快進中...",
|
FastForwarding: "{{.branch}} 的擷取和快進中...",
|
||||||
FoundConflictsTitle: "自動合併失敗",
|
FoundConflictsTitle: "自動合併失敗",
|
||||||
ViewMergeRebaseOptions: "查看合併/變基選項",
|
ViewMergeRebaseOptions: "查看合併/變基選項",
|
||||||
NotMergingOrRebasing: "你當前既不在變基也不在合併中",
|
NotMergingOrRebasing: "你當前既不在變基也不在合併中",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user