fix crash
This commit is contained in:
parent
8f0096a73c
commit
4068e0da7f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export const getLocale = (client: Client, text: string) => {
|
||||||
if (str === undefined) {
|
if (str === undefined) {
|
||||||
throw 'Missing locales';
|
throw 'Missing locales';
|
||||||
}
|
}
|
||||||
data[lang] = str;
|
data[lang] = str.toLowerCase();
|
||||||
});
|
});
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
|
|
Loading…
Reference in a new issue