mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
Fix language auto-detection
Starting lazygit with an environment containing LANG=ko_KO or LANG=nl_NL would result in an error at startup.
This commit is contained in:
@@ -83,7 +83,7 @@ func TestNewTranslationSetFromConfig(t *testing.T) {
|
||||
configLanguage: "auto",
|
||||
envLanguage: "nl_NL",
|
||||
expected: "nl",
|
||||
expectedErr: true, // Demonstrates the bug, this should be false
|
||||
expectedErr: false,
|
||||
},
|
||||
{
|
||||
name: "auto-detection with LANG set to zh-CN",
|
||||
|
Reference in New Issue
Block a user