|
|
@@ -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)
|