From 9b72d61ad1a014c568e32e10ac939a9c38429708 Mon Sep 17 00:00:00 2001 From: CyberWon Date: Fri, 25 Apr 2025 17:43:52 +0800 Subject: [PATCH] fix: path ValueError --- tools/i18n/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/i18n/i18n.py b/tools/i18n/i18n.py index 4cd123f3..1de56dd3 100644 --- a/tools/i18n/i18n.py +++ b/tools/i18n/i18n.py @@ -2,7 +2,7 @@ import json import locale import os -I18N_JSON_DIR: os.PathLike = os.path.join(os.path.dirname(os.path.relpath(__file__)), "locale") +I18N_JSON_DIR: os.PathLike = os.path.join(os.path.dirname(os.path.abspath(__file__)), "locale") def load_language_list(language):