From 75655c6414714e81716ad943050d1f9e23cfaf78 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 21 Jul 2022 13:57:30 +0200 Subject: [PATCH] follow discord.com locales name --- src/locales/{en.json => en-US.json} | 0 src/utils/client.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/locales/{en.json => en-US.json} (100%) diff --git a/src/locales/en.json b/src/locales/en-US.json similarity index 100% rename from src/locales/en.json rename to src/locales/en-US.json diff --git a/src/utils/client.ts b/src/utils/client.ts index 6ac5a21..41c10cd 100644 --- a/src/utils/client.ts +++ b/src/utils/client.ts @@ -53,7 +53,7 @@ export default async () => { * @returns Collection of strings */ const getLocale = async (client: Client) => { - const default_lang = 'en'; + const default_lang = 'en-US'; // Check if there is a defined valid value const old_path = __dirname.split('/');