diff options
Diffstat (limited to 'kodereviewer/app.py')
-rw-r--r-- | kodereviewer/app.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kodereviewer/app.py b/kodereviewer/app.py index eb196d1..bb1080f 100644 --- a/kodereviewer/app.py +++ b/kodereviewer/app.py @@ -3,6 +3,7 @@ import os import sys import signal +import gettext from KI18n import KLocalizedContext, KLocalizedString from PySide6.QtGui import QGuiApplication @@ -25,14 +26,18 @@ logging.basicConfig( level="INFO", format=FORMAT, datefmt="[%X]", handlers=[RichHandler()] ) +logger = logging.getLogger(__name__) + def main(): """Initializes and manages the application execution""" app = QGuiApplication(sys.argv) engine = QQmlApplicationEngine() # KLocalizedString::setApplicationDomain("tutorial"); + KLocalizedString.setApplicationDomain(QByteArray(b"kodereviewer")) + app.setOrganizationName("Deprecated") app.setOrganizationDomain("deprecated.org") app.setApplicationName("Kode Reviewer") |