feat: locales #27
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