From fc6ae0801183bcc360773b7a15a8110fff3b99bb Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Sat, 14 Sep 2019 02:31:44 +0300 Subject: [PATCH] - fixed a small bug --- FlatCAMTranslation.py | 4 ++-- README.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/FlatCAMTranslation.py b/FlatCAMTranslation.py index 1fe4ec9c..047df558 100644 --- a/FlatCAMTranslation.py +++ b/FlatCAMTranslation.py @@ -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) diff --git a/README.md b/README.md index 4403fb65..14ad1db4 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing. - more string changes - updated translation files +- fixed a small bug 13.09.2019