fix: добавлены переводы для QMessageBox (#73)

This commit is contained in:
2023-10-05 21:27:51 +03:00
committed by GitHub
parent a89d7896e3
commit e653c3df29
6 changed files with 76 additions and 88 deletions

View File

@@ -32,6 +32,7 @@ def main():
locale = QtCore.QLocale.system().name()
path = QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.TranslationsPath)
translator.load(f'qt_{locale}', path)
translator.load(f'qtbase_{locale}', path)
app.installTranslator(translator)
window = MainWindow()