fixed translate module not being imported correctly

This commit is contained in:
Faraphel 2023-12-30 16:51:17 +01:00
parent ad52176197
commit 408edaff9a
7 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@ import sys
from PyQt6.QtCore import QTranslator, QLocale from PyQt6.QtCore import QTranslator, QLocale
from PyQt6.QtWidgets import QApplication from PyQt6.QtWidgets import QApplication
import translate from source import translate
from source import assets_path from source import assets_path
from source.widget import SurveyWindow from source.widget import SurveyWindow

View file

@ -4,7 +4,7 @@ from PyQt6.QtCore import Qt, pyqtSignal
from PyQt6.QtGui import QFont from PyQt6.QtGui import QFont
from PyQt6.QtWidgets import QVBoxLayout, QLabel, QSpinBox from PyQt6.QtWidgets import QVBoxLayout, QLabel, QSpinBox
import translate from source import translate
from source.survey.base import BaseSurvey from source.survey.base import BaseSurvey

View file

@ -4,7 +4,7 @@ from PyQt6.QtCore import Qt, pyqtSignal
from PyQt6.QtGui import QFont from PyQt6.QtGui import QFont
from PyQt6.QtWidgets import QFrame, QVBoxLayout, QLabel, QCheckBox, QLineEdit from PyQt6.QtWidgets import QFrame, QVBoxLayout, QLabel, QCheckBox, QLineEdit
import translate from source import translate
from source.survey.base import BaseSurvey from source.survey.base import BaseSurvey

View file

@ -4,7 +4,7 @@ from PyQt6.QtCore import Qt, pyqtSignal
from PyQt6.QtGui import QFont from PyQt6.QtGui import QFont
from PyQt6.QtWidgets import QFrame, QVBoxLayout, QLabel, QRadioButton, QButtonGroup, QLineEdit, QAbstractButton from PyQt6.QtWidgets import QFrame, QVBoxLayout, QLabel, QRadioButton, QButtonGroup, QLineEdit, QAbstractButton
import translate from source import translate
from source.survey.base import BaseSurvey from source.survey.base import BaseSurvey

View file

@ -4,7 +4,7 @@ from PyQt6.QtCore import Qt, pyqtSignal
from PyQt6.QtGui import QFont from PyQt6.QtGui import QFont
from PyQt6.QtWidgets import QVBoxLayout, QLabel from PyQt6.QtWidgets import QVBoxLayout, QLabel
import translate from source import translate
from source.survey.base import BaseSurvey from source.survey.base import BaseSurvey

View file

@ -4,7 +4,7 @@ from PyQt6.QtCore import Qt, pyqtSignal
from PyQt6.QtGui import QFont from PyQt6.QtGui import QFont
from PyQt6.QtWidgets import QVBoxLayout, QLabel, QTextEdit from PyQt6.QtWidgets import QVBoxLayout, QLabel, QTextEdit
import translate from source import translate
from source.survey.base import BaseSurvey from source.survey.base import BaseSurvey

View file

@ -6,7 +6,7 @@ from PyQt6.QtCore import Qt, QTimer, pyqtSignal, QUrl, QEvent, QObject
from PyQt6.QtGui import QFont, QMouseEvent, QResizeEvent, QKeyEvent from PyQt6.QtGui import QFont, QMouseEvent, QResizeEvent, QKeyEvent
from PyQt6.QtWidgets import QLabel, QVBoxLayout, QSizePolicy from PyQt6.QtWidgets import QLabel, QVBoxLayout, QSizePolicy
import translate from source import translate
from source import assets_path from source import assets_path
from source.survey.base import BaseSurvey from source.survey.base import BaseSurvey
from source.widget import Browser from source.widget import Browser