fixed a typo

pull/4692/head
Frank Elsinga 3 weeks ago committed by GitHub
parent e3f0c60777
commit 3794bd5e51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -73,7 +73,7 @@ export function currentLocale() {
}
// some locales are further specified such as "en-US".
// If we only have a generic locale for this, we can use it too
const genericLocale = l.split("-")[0];
const genericLocale = locale.split("-")[0];
if (genericLocale in messages) {
return genericLocale;
}

Loading…
Cancel
Save