diff --git a/mambabase/mambabase.py b/mambabase/mambabase.py index f912e31..074cff0 100755 --- a/mambabase/mambabase.py +++ b/mambabase/mambabase.py @@ -2,9 +2,9 @@ # Copyright (c) 2019-2022 by Silvan Calarco # Release under the terms of the GPL version 3 license -from PyQt5 import QtGui, QtCore, QtWidgets, uic -from PyQt5.QtCore import pyqtProperty -from PyQt5.QtCore import QLocale, QTranslator +from PyQt6 import QtGui, QtCore, QtWidgets, uic +from PyQt6.QtCore import pyqtProperty +from PyQt6.QtCore import QLocale, QTranslator from pathlib import Path import gettext import subprocess @@ -374,4 +374,4 @@ if __name__ == '__main__': gettext.install('mambabase', '/usr/share/locale') wizard = MambabaseWizard() wizard.show() - sys.exit(app.exec_()) + sys.exit(app.exec()) diff --git a/mambabase/update-translations.sh b/mambabase/update-translations.sh index bd63794..91f39b5 100755 --- a/mambabase/update-translations.sh +++ b/mambabase/update-translations.sh @@ -1,4 +1,4 @@ #!/bin/bash xgettext -s -o - mambabase.py --output=po/messages.pot msgmerge --update --no-fuzzy-matching --backup=off po/it.po po/messages.pot -lupdate-qt5 *.ui -ts mambabase_it.ts +lupdate-qt6 *.ui -ts mambabase_it.ts