add localisation #205

Merged
Astalaseven merged 14 commits from master into master 2013-06-12 19:31:58 +02:00
Showing only changes of commit 7c96ef5b6c - Show all commits

View File

@ -2390,6 +2390,9 @@ class UISignaler(QThread):
def run(): def run():
app = QtGui.QApplication(sys.argv) 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 }") app.setStyleSheet("QStatusBar::item { border: 0px solid black }")
myapp = MyForm() myapp = MyForm()