Skip to content

Commit f0c4b1c

Browse files
committed
refactor: update import paths for i18n module to use Ui.i18n
1 parent c021eeb commit f0c4b1c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Venv_Manager/Manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from PySide6.QtWidgets import QApplication, QFileDialog, QMessageBox
1414

1515
from ..WidgetsCreator import ProgressDialog
16-
from ..i18n import log_i18n_level, log_with_level
16+
from Ui.i18n import log_i18n_level, log_with_level
1717

1818

1919
class VenvManager:

Core/sys_deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def tr(self, fr: str, en: str) -> str:
246246
except Exception:
247247
pass
248248
try:
249-
from .i18n import tr_fr_en
249+
from Ui.i18n import tr_fr_en
250250

251251
return tr_fr_en(getattr(self, "parent_widget", None), fr, en)
252252
except Exception:

0 commit comments

Comments
 (0)