diff --git a/languages/custom.json b/languages/custom.json index 0069238..67aef9d 100644 --- a/languages/custom.json +++ b/languages/custom.json @@ -13,7 +13,7 @@ "typeWarning":"[WARNING]", "typeInfo":"[INFO]", "headerConfigChecker":"CONFIG CHECKER", - "headerDescription":"check for errors in you config files!", + "headerDescription":"check for errors in your config files!", "footerError":"the bot won't start until all {0}'s are fixed!", "footerWarning":"it's recommended to fix all {0}'s before starting!", "footerSupport":"SUPPORT: {0} - DOCS: {1}", diff --git a/languages/english.json b/languages/english.json index ceb0f92..b9f69d2 100644 --- a/languages/english.json +++ b/languages/english.json @@ -13,7 +13,7 @@ "typeWarning":"[WARNING]", "typeInfo":"[INFO]", "headerConfigChecker":"CONFIG CHECKER", - "headerDescription":"check for errors in you config files!", + "headerDescription":"check for errors in your config files!", "footerError":"the bot won't start until all {0}'s are fixed!", "footerWarning":"it's recommended to fix all {0}'s before starting!", "footerSupport":"SUPPORT: {0} - DOCS: {1}", diff --git a/src/core/api/defaults/checker.ts b/src/core/api/defaults/checker.ts index 1044e12..650cd80 100644 --- a/src/core/api/defaults/checker.ts +++ b/src/core/api/defaults/checker.ts @@ -77,7 +77,7 @@ export class ODCheckerRenderer_Default extends ODCheckerRenderer { const t = { headerOpenticket:tm.get("other","openticket:header-openticket") ?? "OPEN TICKET", headerConfigchecker:tm.get("other","openticket:header-configchecker") ?? "CONFIG CHECKER", - headerDescription:tm.get("other","openticket:header-description") ?? "check for errors in you config files!", + headerDescription:tm.get("other","openticket:header-description") ?? "check for errors in your config files!", footerError:tm.get("other","openticket:footer-error") ?? "the bot won't start until all {0}'s are fixed!", footerWarning:tm.get("other","openticket:footer-warning") ?? "it's recommended to fix all {0}'s before starting!", footerSupport:tm.get("other","openticket:footer-support") ?? "SUPPORT: {0} - DOCS: {1}", diff --git a/src/core/startup/manageMigration.ts b/src/core/startup/manageMigration.ts index 9aa5def..515efb7 100644 --- a/src/core/startup/manageMigration.ts +++ b/src/core/startup/manageMigration.ts @@ -34,9 +34,11 @@ export const loadVersionMigrationSystem = async () => { const preloadMigrationContext = async () => { openticket.debug.debug("-- MIGRATION CONTEXT START --") await (await import("../../data/framework/flagLoader.js")).loadAllFlags() - openticket.flags.init() + await openticket.flags.init() await (await import("../../data/framework/configLoader.js")).loadAllConfigs() + await openticket.configs.init() await (await import("../../data/framework/databaseLoader.js")).loadAllDatabases() + await openticket.databases.init() openticket.debug.visible = true } diff --git a/src/data/framework/checkerLoader.ts b/src/data/framework/checkerLoader.ts index 5097f27..e8d4e08 100644 --- a/src/data/framework/checkerLoader.ts +++ b/src/data/framework/checkerLoader.ts @@ -32,7 +32,7 @@ export const registerDefaultCheckerSystemTranslations = (tm:api.ODCheckerTransla tm.quickTranslate(lm,"checker.system.typeWarning","other","openticket:type-warning") // [WARNING] (ignore) tm.quickTranslate(lm,"checker.system.typeInfo","other","openticket:type-info") // [INFO] (ignore) tm.quickTranslate(lm,"checker.system.headerConfigChecker","other","openticket:header-configchecker") // CONFIG CHECKER - tm.quickTranslate(lm,"checker.system.headerDescription","other","openticket:header-description") // check for errors in you config files! + tm.quickTranslate(lm,"checker.system.headerDescription","other","openticket:header-description") // check for errors in your config files! tm.quickTranslate(lm,"checker.system.footerError","other","openticket:footer-error") // the bot won't start until all {0}'s are fixed! tm.quickTranslate(lm,"checker.system.footerWarning","other","openticket:footer-warning") // it's recommended to fix all {0}'s before starting! tm.quickTranslate(lm,"checker.system.footerSupport","other","openticket:footer-support") // SUPPORT: {0} - DOCS: {1}