load QTranslator and get locale
This commit is contained in:
parent
7dd57d6181
commit
7c96ef5b6c
|
@ -2390,6 +2390,9 @@ class UISignaler(QThread):
|
|||
|
||||
def run():
|
||||
app = QtGui.QApplication(sys.argv)
|
||||
translator = QtCore.QTranslator()
|
||||
translator.load("translations/bitmessage_"+str(locale.getlocale()[0]))
|
||||
QtGui.QApplication.installTranslator(translator)
|
||||
app.setStyleSheet("QStatusBar::item { border: 0px solid black }")
|
||||
myapp = MyForm()
|
||||
|
||||
|
|
Reference in New Issue
Block a user