mambabase: port to PyQt6

This commit is contained in:
Silvan Calarco 2024-06-08 13:46:06 +02:00
parent c78c0b5c89
commit 9d10f5b4d2
2 changed files with 5 additions and 5 deletions

View File

@ -2,9 +2,9 @@
# Copyright (c) 2019-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>
# 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())

View File

@ -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