From 0d0ecca1558ccb83bf9ce79542b524e44b3459cb Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 26 May 2024 15:05:30 +0700 Subject: [PATCH] Update translations when version changed --- src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index fa92337..f91b7c9 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -28,7 +28,7 @@ export function checkForUpdate() { }); // Update translations - Translations.updateTranslations(true); + Translations.updateTranslations(currentVersion === SCRIPT_VERSION); }