Merge pull request #6789 from Russ4262/fix/initgui_translation

Path: Update translated message syntax - InitGui module
This commit is contained in:
sliptonic
2022-04-25 18:54:51 -05:00
committed by GitHub
+3 -1
View File
@@ -269,7 +269,9 @@ class PathWorkbench(Workbench):
msg = translate(
"Path",
f"The currently selected unit schema: \n '{current_schema}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'",
"The currently selected unit schema: \n '{}'\n Does not use 'minutes' for velocity values. \n \nCNC machines require feed rate to be expressed in \nunit/minute. To ensure correct gcode: \nSelect a minute-based schema in preferences.\nFor example:\n 'Metric, Small Parts & CNC'\n 'US Customary'\n 'Imperial Decimal'".format(
current_schema
),
)
header = translate("Path", "Warning")
msgbox = QtGui.QMessageBox(QtGui.QMessageBox.Warning, header, msg)