diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-04 11:00:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-10 00:23:01 +1100 |
commit | 37bb89dac33cb4236bf817e1e2e09cb1cbfade5c (patch) | |
tree | ea06fa4595a7f2d7eff80c2602648b18450f5988 /pkg/gui/modes.go | |
parent | 7d9aa97f9691dd0a8658c4b6626877a198c5d03c (diff) |
type i18n
Diffstat (limited to 'pkg/gui/modes.go')
-rw-r--r-- | pkg/gui/modes.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/modes.go b/pkg/gui/modes.go index 79239e91c..03ac76dd3 100644 --- a/pkg/gui/modes.go +++ b/pkg/gui/modes.go @@ -19,7 +19,7 @@ func (gui *Gui) modeStatuses() []modeStatus { isActive: gui.State.Modes.Diffing.Active, description: func() string { return utils.ColoredString( - fmt.Sprintf("%s %s %s", gui.Tr.SLocalize("showingGitDiff"), "git diff "+gui.diffStr(), utils.ColoredString(gui.Tr.SLocalize("(reset)"), color.Underline)), + fmt.Sprintf("%s %s %s", gui.Tr.LcShowingGitDiff, "git diff "+gui.diffStr(), utils.ColoredString(gui.Tr.ResetInParentheses, color.Underline)), color.FgMagenta, ) }, @@ -29,7 +29,7 @@ func (gui *Gui) modeStatuses() []modeStatus { isActive: gui.State.Modes.Filtering.Active, description: func() string { return utils.ColoredString( - fmt.Sprintf("%s '%s' %s", gui.Tr.SLocalize("filteringBy"), gui.State.Modes.Filtering.Path, utils.ColoredString(gui.Tr.SLocalize("(reset)"), color.Underline)), + fmt.Sprintf("%s '%s' %s", gui.Tr.LcFilteringBy, gui.State.Modes.Filtering.Path, utils.ColoredString(gui.Tr.ResetInParentheses, color.Underline)), color.FgRed, color.Bold, ) @@ -40,7 +40,7 @@ func (gui *Gui) modeStatuses() []modeStatus { isActive: gui.GitCommand.PatchManager.Active, description: func() string { return utils.ColoredString( - fmt.Sprintf("%s %s", gui.Tr.SLocalize("buildingPatch"), utils.ColoredString(gui.Tr.SLocalize("(reset)"), color.Underline)), + fmt.Sprintf("%s %s", gui.Tr.LcBuildingPatch, utils.ColoredString(gui.Tr.ResetInParentheses, color.Underline)), color.FgYellow, color.Bold, ) @@ -51,7 +51,7 @@ func (gui *Gui) modeStatuses() []modeStatus { isActive: gui.State.Modes.CherryPicking.Active, description: func() string { return utils.ColoredString( - fmt.Sprintf("%d commits copied %s", len(gui.State.Modes.CherryPicking.CherryPickedCommits), utils.ColoredString(gui.Tr.SLocalize("(reset)"), color.Underline)), + fmt.Sprintf("%d commits copied %s", len(gui.State.Modes.CherryPicking.CherryPickedCommits), utils.ColoredString(gui.Tr.ResetInParentheses, color.Underline)), color.FgCyan, ) }, |