chore: 4matting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc
2025-09-05 17:08:36 -04:00
parent 5678a89dc3
commit 8eac41be72

View File

@ -39,7 +39,7 @@ func LoadLocale() *gotext.Mo {
if lastUnderscore := strings.LastIndex(locale, "_"); lastUnderscore != -1 {
locale = locale[0:lastUnderscore]
}
if locale != "" {
if slices.Contains(linguas, locale) {
Locale = locale