Skip to content

Commit 199cb57

Browse files
committed
Fixed settings.GetLocale()
1 parent 6bf0ca9 commit 199cb57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: internal/cli/configuration/locale.go

+3
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
package configuration
1717

1818
func (s *Settings) Locale() string {
19+
if locale, ok, err := s.GetStringOk("locale"); ok && err == nil {
20+
return locale
21+
}
1922
return s.Defaults.GetString("locale")
2023
}

0 commit comments

Comments
 (0)