usbinstall.py: fix startup due to change in gettext interface

This commit is contained in:
Silvan Calarco 2024-07-19 19:11:38 +02:00
parent 3c050e81ee
commit 0b59771a06

View File

@ -4,7 +4,7 @@
# Copyright 2011 michiamophil (openmamba user :-)
# Copyright 2011-2020 Silvan Calarco
# ChangeLog:
# (michiamophil on 11/11/11) Rewrited all the graphic code and removed gui.py
# (michiamophil on 11/11/11) Rewritten all the graphic code and removed gui.py
from PyQt4 import QtGui, QtCore
@ -403,7 +403,7 @@ def end_forced():
# Program start
app = QtGui.QApplication(['usbinstall'])
gettext.install('usbinstall', '/usr/share/locale', 1)
gettext.install('usbinstall', '/usr/share/locale')
window = create_window()
mainloop = GLib.MainLoop()