mirror of
https://github.com/shizand/statapp.git
synced 2025-10-01 19:29:08 +03:00
fix: добавлены переводы для QMessageBox (#73)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user