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