mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Remove non-English translation sets, read them from JSON instead
This commit is contained in:
@ -21,7 +21,7 @@ func NewDummyCommon() *common.Common {
|
||||
tr := i18n.EnglishTranslationSet()
|
||||
return &common.Common{
|
||||
Log: NewDummyLog(),
|
||||
Tr: &tr,
|
||||
Tr: tr,
|
||||
UserConfig: config.GetDefaultConfig(),
|
||||
Fs: afero.NewOsFs(),
|
||||
}
|
||||
@ -31,7 +31,7 @@ func NewDummyCommonWithUserConfigAndAppState(userConfig *config.UserConfig, appS
|
||||
tr := i18n.EnglishTranslationSet()
|
||||
return &common.Common{
|
||||
Log: NewDummyLog(),
|
||||
Tr: &tr,
|
||||
Tr: tr,
|
||||
UserConfig: userConfig,
|
||||
AppState: appState,
|
||||
// TODO: remove dependency on actual filesystem in tests and switch to using
|
||||
|
Reference in New Issue
Block a user