mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	Add i18n for unknown branch
This commit is contained in:
		| @@ -56,7 +56,7 @@ func (gui *Gui) getCurrentBranch(path string) string { | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	return "unknown branch" | ||||
| 	return gui.c.Tr.LcBranchUnknown | ||||
| } | ||||
|  | ||||
| func (gui *Gui) handleCreateRecentReposMenu() error { | ||||
|   | ||||
| @@ -409,6 +409,7 @@ type TranslationSet struct { | ||||
| 	NoFilesStagedPrompt                 string | ||||
| 	BranchNotFoundTitle                 string | ||||
| 	BranchNotFoundPrompt                string | ||||
| 	LcBranchUnknown                     string | ||||
| 	UnstageLinesTitle                   string | ||||
| 	UnstageLinesPrompt                  string | ||||
| 	LcCreateNewBranchFromCommit         string | ||||
| @@ -1045,6 +1046,7 @@ func EnglishTranslationSet() TranslationSet { | ||||
| 		NoFilesStagedPrompt:                 "You have not staged any files. Commit all files?", | ||||
| 		BranchNotFoundTitle:                 "Branch not found", | ||||
| 		BranchNotFoundPrompt:                "Branch not found. Create a new branch named", | ||||
| 		LcBranchUnknown:                     "branch unknown", | ||||
| 		UnstageLinesTitle:                   "Unstage lines", | ||||
| 		UnstageLinesPrompt:                  "Are you sure you want to delete the selected lines (git reset)? It is irreversible.\nTo disable this dialogue set the config key of 'gui.skipUnstageLineWarning' to true", | ||||
| 		LcCreateNewBranchFromCommit:         "create new branch off of commit", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user