- fixed a small bug
This commit is contained in:
parent
5985c15842
commit
fc6ae08011
|
@ -89,8 +89,8 @@ def on_language_apply_click(app, restart=False):
|
|||
if restart:
|
||||
msgbox = QtWidgets.QMessageBox()
|
||||
msgbox.setText(_("The application will restart."))
|
||||
msgbox.setInformativeText('$s %s?' % _("Are you sure do you want to change the current language to"),
|
||||
name.capitalize())
|
||||
msgbox.setInformativeText('%s %s?' %
|
||||
(_("Are you sure do you want to change the current language to"), name.capitalize()))
|
||||
msgbox.setWindowTitle(_("Apply Language ..."))
|
||||
msgbox.setWindowIcon(QtGui.QIcon('share/language32.png'))
|
||||
bt_yes = msgbox.addButton(_("Yes"), QtWidgets.QMessageBox.YesRole)
|
||||
|
|
Loading…
Reference in New Issue