- trimmed the application strings

This commit is contained in:
Marius Stanciu
2020-11-03 22:37:39 +02:00
committed by Marius Stanciu
parent 77c66862c5
commit f5310148eb
77 changed files with 15407 additions and 15204 deletions

View File

@@ -1010,7 +1010,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.replot_btn = self.toolbarview.addAction(
QtGui.QIcon(self.app.resource_location + '/replot32.png'), _("Replot"))
self.clear_plot_btn = self.toolbarview.addAction(
QtGui.QIcon(self.app.resource_location + '/clear_plot32.png'), _("Clear plot"))
QtGui.QIcon(self.app.resource_location + '/clear_plot32.png'), _("Clear Plot"))
self.zoom_in_btn = self.toolbarview.addAction(
QtGui.QIcon(self.app.resource_location + '/zoom_in32.png'), _("Zoom In"))
self.zoom_out_btn = self.toolbarview.addAction(
@@ -1036,7 +1036,7 @@ class MainGUI(QtWidgets.QMainWindow):
# ########################## Tools Toolbar# ##############################
# ########################################################################
self.dblsided_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/doubleside32.png'), _("2Sided Tool"))
QtGui.QIcon(self.app.resource_location + '/doubleside32.png'), _("2-Sided Tool"))
self.align_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/align32.png'), _("Align Objects Tool"))
self.extract_btn = self.toolbartools.addAction(
@@ -1097,9 +1097,9 @@ class MainGUI(QtWidgets.QMainWindow):
self.select_drill_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/pointer32.png'), _("Select"))
self.add_drill_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/plus16.png'), _('Add Drill Hole'))
QtGui.QIcon(self.app.resource_location + '/plus16.png'), _('Add Drill'))
self.add_drill_array_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/addarray16.png'), _('Add Drill Hole Array'))
QtGui.QIcon(self.app.resource_location + '/addarray16.png'), _('Add Drill Array'))
self.add_slot_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/slot26.png'), _('Add Slot'))
self.add_slot_array_btn = self.exc_edit_toolbar.addAction(
@@ -1162,7 +1162,7 @@ class MainGUI(QtWidgets.QMainWindow):
QtGui.QIcon(self.app.resource_location + '/copy32.png'), _("Copy Shape(s)"))
self.geo_delete_btn = self.geo_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/trash32.png'), _("Delete Shape '-'"))
QtGui.QIcon(self.app.resource_location + '/trash32.png'), _("Delete Shape"))
self.geo_transform_btn = self.geo_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/transform.png'), _("Transformations"))
self.geo_edit_toolbar.addSeparator()
@@ -2181,7 +2181,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.replot_btn = self.toolbarview.addAction(
QtGui.QIcon(self.app.resource_location + '/replot32.png'), _("Replot"))
self.clear_plot_btn = self.toolbarview.addAction(
QtGui.QIcon(self.app.resource_location + '/clear_plot32.png'), _("Clear plot"))
QtGui.QIcon(self.app.resource_location + '/clear_plot32.png'), _("Clear Plot"))
self.zoom_in_btn = self.toolbarview.addAction(
QtGui.QIcon(self.app.resource_location + '/zoom_in32.png'), _("Zoom In"))
self.zoom_out_btn = self.toolbarview.addAction(
@@ -2205,7 +2205,7 @@ class MainGUI(QtWidgets.QMainWindow):
# ######################### Tools Toolbar #################################
# #########################################################################
self.dblsided_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/doubleside32.png'), _("2Sided Tool"))
QtGui.QIcon(self.app.resource_location + '/doubleside32.png'), _("2-Sided Tool"))
self.align_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/align32.png'), _("Align Objects Tool"))
self.extract_btn = self.toolbartools.addAction(
@@ -2266,9 +2266,9 @@ class MainGUI(QtWidgets.QMainWindow):
self.select_drill_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/pointer32.png'), _("Select"))
self.add_drill_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/plus16.png'), _('Add Drill Hole'))
QtGui.QIcon(self.app.resource_location + '/plus16.png'), _('Add Drill'))
self.add_drill_array_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/addarray16.png'), _('Add Drill Hole Array'))
QtGui.QIcon(self.app.resource_location + '/addarray16.png'), _('Add Drill Array'))
self.resize_drill_btn = self.exc_edit_toolbar.addAction(
QtGui.QIcon(self.app.resource_location + '/resize16.png'), _('Resize Drill'))
self.add_slot_btn = self.exc_edit_toolbar.addAction(
@@ -3250,7 +3250,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.grb_editor.delete_selected()
self.app.grb_editor.plot_all()
else:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected to delete."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected."))
return
# Delete aperture in apertures table if delete key event comes from the Selected Tab
@@ -3334,7 +3334,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.grb_editor.active_tool.set_origin(
(self.app.grb_editor.snap_x, self.app.grb_editor.snap_y))
else:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected to copy."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected."))
return
# Add Disc Tool
@@ -3380,7 +3380,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.grb_editor.active_tool.set_origin(
(self.app.grb_editor.snap_x, self.app.grb_editor.snap_y))
else:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected to move."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected."))
return
# Add Region Tool
@@ -3465,7 +3465,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.exc_editor.delete_selected()
self.app.exc_editor.replot()
else:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected to delete."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected."))
return
# Delete tools in tools table if delete key event comes from the Selected Tab
@@ -3581,7 +3581,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.app.exc_editor.active_tool.set_origin(
(self.app.exc_editor.snap_x, self.app.exc_editor.snap_y))
else:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected to copy."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Cancelled. Nothing selected."))
return
# Add Drill Hole Tool
@@ -3649,7 +3649,7 @@ class MainGUI(QtWidgets.QMainWindow):
'[success] %s: %s %s' % (_("Added new tool with dia"), formated_val, str(self.units))
)
else:
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Adding Tool cancelled ..."))
self.app.inform.emit('[WARNING_NOTCL] %s...' % _("Adding Tool cancelled"))
return
elif self.app.call_source == 'gcode_editor':
# CTRL
@@ -4015,7 +4015,7 @@ class ShortcutsTab(QtWidgets.QWidget):
self.sh_hlay = QtWidgets.QHBoxLayout()
self.sh_title = QtWidgets.QTextEdit(_('<b>Shortcut Key List</b>'))
self.sh_title = QtWidgets.QTextEdit('<b>%s</b>' % _('Shortcut Key List'))
self.sh_title.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
self.sh_title.setFrameStyle(QtWidgets.QFrame.NoFrame)
self.sh_title.setMaximumHeight(30)
@@ -4507,8 +4507,8 @@ class ShortcutsTab(QtWidgets.QWidget):
_('Del'), _("Delete Object"),
_('Del'), _("Alternate: Delete Tool"),
_('`'), _("(left to Key_1)Toggle Notebook Area (Left Side)"),
_('SPACE'), _("En(Dis)able Obj Plot"),
_('ESC'), _("Deselects all objects")
_('Space'), _("En(Dis)able Obj Plot"),
_('Esc'), _("Deselects all objects")
)
)
@@ -4708,7 +4708,7 @@ class ShortcutsTab(QtWidgets.QWidget):
_('Ctrl+X'), _("Polygon Cut Tool"),
_('Space'), _("Rotate Geometry"),
_('ENTER'), _("Finish drawing for certain tools"),
_('ESC'), _("Abort and return to Select"),
_('Esc'), _("Abort and return to Select"),
_('Del'), _("Delete Shape")
)
@@ -4792,17 +4792,17 @@ class ShortcutsTab(QtWidgets.QWidget):
""" % (
_("EXCELLON EDITOR"),
_('A'), _("Add Drill Array"),
_('C'), _("Copy Drill(s)"),
_('C'), _("Copy Drill"),
_('D'), _("Add Drill"),
_('J'), _("Jump to Location (x, y)"),
_('M'), _("Move Drill(s)"),
_('M'), _("Move Drill"),
_('Q'), _("Add Slot Array"),
_('R'), _("Resize Drill(s)"),
_('R'), _("Resize Drill"),
_('T'), _("Add a new Tool"),
_('W'), _("Add Slot"),
_('Shift+M'), _("Distance Minimum Tool"),
_('Del'), _("Delete Drill(s)"),
_('Del'), _("Alternate: Delete Tool(s)"),
_('Del'), _("Delete Drill"),
_('Del'), _("Alternate: Delete Tool"),
_('Esc'), _("Abort and return to Select"),
_('Ctrl+S'), _("Save Object and Exit Editor")
)
@@ -4937,7 +4937,7 @@ class ShortcutsTab(QtWidgets.QWidget):
_('T'), _("Within Track & Region Tools will cycle FORWARD the bend modes"),
_('Del'), _("Delete"),
_('Del'), _("Alternate: Delete Apertures"),
_('ESC'), _("Abort and return to Select"),
_('Esc'), _("Abort and return to Select"),
_('Shift+M'), _("Distance Minimum Tool"),
_('Ctrl+E'), _("Eraser Tool"),
_('Ctrl+S'), _("Save Object and Exit Editor"),

View File

@@ -241,7 +241,7 @@ class GerberObjectUI(ObjectUI):
self.editor_button = QtWidgets.QPushButton(_('Gerber Editor'))
self.editor_button.setIcon(QtGui.QIcon(self.app.resource_location + '/edit_file32.png'))
self.editor_button.setToolTip(
_("Edit an Gerber object.")
_("Start the Object Editor")
)
self.editor_button.setStyleSheet("""
QPushButton
@@ -580,7 +580,7 @@ class ExcellonObjectUI(ObjectUI):
self.editor_button.setIcon(QtGui.QIcon(self.app.resource_location + '/edit_file32.png'))
self.editor_button.setToolTip(
_("Edit an Excellon object.")
_("Start the Object Editor")
)
self.editor_button.setStyleSheet("""
QPushButton
@@ -673,7 +673,7 @@ class ExcellonObjectUI(ObjectUI):
"will be showed as a T1, T2 ... Tn in the Machine Code.\n\n"
"Here the tools are selected for G-code generation."))
self.tools_table.horizontalHeaderItem(1).setToolTip(
_("Tool Diameter. It's value (in current FlatCAM units) \n"
_("Tool Diameter. It's value\n"
"is the cut width into the material."))
self.tools_table.horizontalHeaderItem(2).setToolTip(
_("The number of Drill holes. Holes that are drilled with\n"
@@ -902,7 +902,7 @@ class GeometryObjectUI(ObjectUI):
self.editor_button.setIcon(QtGui.QIcon(self.app.resource_location + '/edit_file32.png'))
self.editor_button.setToolTip(
_("Edit an Geometry object.")
_("Start the Object Editor")
)
self.editor_button.setStyleSheet("""
QPushButton
@@ -1008,10 +1008,8 @@ class GeometryObjectUI(ObjectUI):
"will be showed as a T1, T2 ... Tn")
)
self.geo_tools_table.horizontalHeaderItem(1).setToolTip(
_(
"Tool Diameter. It's value (in current FlatCAM units) \n"
"is the cut width into the material."
))
_("Tool Diameter. It's value\n"
"is the cut width into the material."))
self.geo_tools_table.horizontalHeaderItem(2).setToolTip(
_(
"The value for the Offset can be:\n"
@@ -1596,7 +1594,7 @@ class GeometryObjectUI(ObjectUI):
grid_a1.addWidget(self.over_z_entry, 2, 1)
# Button Add Area
self.add_area_button = QtWidgets.QPushButton(_('Add area:'))
self.add_area_button = QtWidgets.QPushButton(_('Add Area:'))
self.add_area_button.setToolTip(_("Add an Exclusion Area."))
# Area Selection shape
@@ -1910,7 +1908,7 @@ class CNCObjectUI(ObjectUI):
self.editor_button.setIcon(QtGui.QIcon(self.app.resource_location + '/edit_file32.png'))
self.editor_button.setToolTip(
_("Edit an GCode object.")
_("Start the Object Editor")
)
self.editor_button.setStyleSheet("""
QPushButton

View File

@@ -107,8 +107,8 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
"- Incremental G91 -> the reference is the previous position")
)
self.coords_type_radio = RadioSet([
{"label": _("Absolute G90"), "value": "G90"},
{"label": _("Incremental G91"), "value": "G91"}
{"label": _("Absolute"), "value": "G90"},
{"label": _("Incremental"), "value": "G91"}
], orientation='vertical', stretch=False)
grid0.addWidget(coords_type_label, 8, 0)
grid0.addWidget(self.coords_type_radio, 8, 1)

View File

@@ -33,7 +33,7 @@ class ExcellonAdvOptPrefGroupUI(OptionsGroupUI):
self.exc_label = QtWidgets.QLabel('<b>%s:</b>' % _('Advanced Options'))
self.exc_label.setToolTip(
_("A list of Excellon advanced parameters.\n"
_("A list of advanced parameters.\n"
"Those parameters are available only for\n"
"Advanced App. Level.")
)

View File

@@ -195,8 +195,8 @@ class ExcellonEditorPrefGroupUI(OptionsGroupUI):
self.slot_angle_label.setToolTip(
_("Angle at which the slot is placed.\n"
"The precision is of max 2 decimals.\n"
"Min value is: -359.99 degrees.\n"
"Max value is: 360.00 degrees.")
"Min value is: -360.00 degrees.\n"
"Max value is: 360.00 degrees.")
)
self.slot_angle_label.setMinimumWidth(100)

View File

@@ -33,7 +33,7 @@ class GeometryAdvOptPrefGroupUI(OptionsGroupUI):
# ------------------------------
self.geo_label = FCLabel('<b>%s:</b>' % _('Advanced Options'))
self.geo_label.setToolTip(
_("A list of Geometry advanced parameters.\n"
_("A list of advanced parameters.\n"
"Those parameters are available only for\n"
"Advanced App. Level.")
)

View File

@@ -30,7 +30,7 @@ class GerberAdvOptPrefGroupUI(OptionsGroupUI):
# ## Advanced Gerber Parameters
self.adv_param_label = QtWidgets.QLabel('<b>%s:</b>' % _('Advanced Options'))
self.adv_param_label.setToolTip(
_("A list of Gerber advanced parameters.\n"
_("A list of advanced parameters.\n"
"Those parameters are available only for\n"
"Advanced App. Level.")
)

View File

@@ -102,7 +102,7 @@ class Tools2CThievingPrefGroupUI(OptionsGroupUI):
], orientation='vertical', stretch=False)
self.reference_label = FCLabel(_("Reference:"))
self.reference_label.setToolTip(
_("- 'Itself' - the copper Thieving extent is based on the object extent.\n"
_("- 'Itself' - the copper thieving extent is based on the object extent.\n"
"- 'Area Selection' - left mouse click to start selection of the area to be filled.\n"
"- 'Reference Object' - will do copper thieving within the area specified by another object.")
)
@@ -114,7 +114,7 @@ class Tools2CThievingPrefGroupUI(OptionsGroupUI):
{'label': _('Rectangular'), 'value': 'rect'},
{"label": _("Minimal"), "value": "min"}
], stretch=False)
self.bbox_type_label = FCLabel(_("Box Type:"))
self.bbox_type_label = FCLabel('%s:' % _("Box Type"))
self.bbox_type_label.setToolTip(
_("- 'Rectangular' - the bounding box will be of rectangular shape.\n"
"- 'Minimal' - the bounding box will be the convex hull shape.")

View File

@@ -128,8 +128,8 @@ class Tools2CalPrefGroupUI(OptionsGroupUI):
"- top-left -> the user will align the PCB vertically\n"
"- bottom-right -> the user will align the PCB horizontally")
)
self.second_point_radio = RadioSet([{'label': _('Top-Left'), 'value': 'tl'},
{'label': _('Bottom-Right'), 'value': 'br'}],
self.second_point_radio = RadioSet([{'label': _('Top Left'), 'value': 'tl'},
{'label': _('Bottom Right'), 'value': 'br'}],
orientation='vertical')
grid_lay.addWidget(second_point_lbl, 8, 0)

View File

@@ -24,7 +24,7 @@ class Tools2sidedPrefGroupUI(OptionsGroupUI):
# OptionsGroupUI.__init__(self, "2sided Tool Options", parent=parent)
super(Tools2sidedPrefGroupUI, self).__init__(self, parent=parent)
self.setTitle(str(_("2Sided Tool Options")))
self.setTitle(str(_("2-Sided Tool Options")))
self.decimals = decimals
# ## Board cuttout
@@ -44,7 +44,7 @@ class Tools2sidedPrefGroupUI(OptionsGroupUI):
self.drill_dia_entry.set_precision(self.decimals)
self.drill_dia_entry.setSingleStep(0.1)
self.dd_label = QtWidgets.QLabel('%s:' % _("Drill dia"))
self.dd_label = QtWidgets.QLabel('%s:' % _("Drill Dia"))
self.dd_label.setToolTip(
_("Diameter of the drill for the "
"alignment holes.")

View File

@@ -97,11 +97,11 @@ class ToolsCutoutPrefGroupUI(OptionsGroupUI):
grid0.addWidget(self.maxdepth_entry, 2, 1)
# Object kind
kindlabel = FCLabel('%s:' % _('Object kind'))
kindlabel = FCLabel('%s:' % _('Kind'))
kindlabel.setToolTip(
_("Choice of what kind the object we want to cutout is.<BR>"
"- <B>Single</B>: contain a single PCB Gerber outline object.<BR>"
"- <B>Panel</B>: a panel PCB Gerber object, which is made\n"
_("Choice of what kind the object we want to cutout is.\n"
"- Single: contain a single PCB Gerber outline object.\n"
"- Panel: a panel PCB Gerber object, which is made\n"
"out of many individual PCB outlines.")
)

View File

@@ -213,7 +213,7 @@ class ToolsFilmPrefGroupUI(OptionsGroupUI):
{'label': _('PDF'), 'value': 'pdf'}
], stretch=False)
self.file_type_label = FCLabel(_("Film Type:"))
self.file_type_label = FCLabel('%s:' % _("Film Type"))
self.file_type_label.setToolTip(
_("The file type of the saved film. Can be:\n"
"- 'SVG' -> open-source vectorial format\n"

View File

@@ -115,7 +115,7 @@ class ToolsISOPrefGroupUI(OptionsGroupUI):
cutzlabel = QtWidgets.QLabel('%s:' % _('Cut Z'))
cutzlabel.setToolTip(
_("Depth of cut into material. Negative value.\n"
"In FlatCAM units.")
"In application units.")
)
self.cutz_entry = FCDoubleSpinner()
self.cutz_entry.set_precision(self.decimals)
@@ -124,7 +124,7 @@ class ToolsISOPrefGroupUI(OptionsGroupUI):
self.cutz_entry.setToolTip(
_("Depth of cut into material. Negative value.\n"
"In FlatCAM units.")
"In application units.")
)
grid0.addWidget(cutzlabel, 5, 0)
@@ -338,7 +338,7 @@ class ToolsISOPrefGroupUI(OptionsGroupUI):
{"label": _("Progressive"), "value": "progressive"}])
plotting_label = QtWidgets.QLabel('%s:' % _("Plotting"))
plotting_label.setToolTip(
_("- 'Normal' - normal plotting, done at the end of the job\n"
_("- 'Normal' - normal plotting, done at the end of the job\n"
"- 'Progressive' - each shape is plotted after it is generated")
)
grid0.addWidget(plotting_label, 25, 0)

View File

@@ -98,7 +98,7 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
cutzlabel = QtWidgets.QLabel('%s:' % _('Cut Z'))
cutzlabel.setToolTip(
_("Depth of cut into material. Negative value.\n"
"In FlatCAM units.")
"In application units.")
)
self.cutz_entry = FCDoubleSpinner()
self.cutz_entry.set_precision(self.decimals)
@@ -107,7 +107,7 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
self.cutz_entry.setToolTip(
_("Depth of cut into material. Negative value.\n"
"In FlatCAM units.")
"In application units.")
)
grid0.addWidget(cutzlabel, 4, 0)
@@ -340,7 +340,7 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
{"label": _("Progressive"), "value": "progressive"}])
plotting_label = QtWidgets.QLabel('%s:' % _("Plotting"))
plotting_label.setToolTip(
_("- 'Normal' - normal plotting, done at the end of the job\n"
_("- 'Normal' - normal plotting, done at the end of the job\n"
"- 'Progressive' - each shape is plotted after it is generated")
)
grid0.addWidget(plotting_label, 21, 0)

View File

@@ -302,7 +302,7 @@ class ToolsPaintPrefGroupUI(OptionsGroupUI):
{"label": _("Progressive"), "value": "progressive"}])
plotting_label = QtWidgets.QLabel('%s:' % _("Plotting"))
plotting_label.setToolTip(
_("- 'Normal' - normal plotting, done at the end of the job\n"
_("- 'Normal' - normal plotting, done at the end of the job\n"
"- 'Progressive' - each shape is plotted after it is generated")
)
grid0.addWidget(plotting_label, 20, 0)

View File

@@ -53,7 +53,7 @@ class ToolsSolderpastePrefGroupUI(OptionsGroupUI):
# New Nozzle Tool Dia
self.addtool_entry_lbl = QtWidgets.QLabel('<b>%s:</b>' % _('New Nozzle Dia'))
self.addtool_entry_lbl.setToolTip(
_("Diameter for the new Nozzle tool to add in the Tool Table")
_("Diameter for the new tool to add in the Tool Table")
)
self.addtool_entry = FCDoubleSpinner()
self.addtool_entry.set_precision(self.decimals)

View File

@@ -36,7 +36,7 @@ class ToolsSubPrefGroupUI(OptionsGroupUI):
self.layout.addWidget(self.sublabel)
self.close_paths_cb = FCCheckBox(_("Close paths"))
self.close_paths_cb.setToolTip(_("Checking this will close the paths cut by the Geometry substractor object."))
self.close_paths_cb.setToolTip(_("Checking this will close the paths cut by the subtractor object."))
self.layout.addWidget(self.close_paths_cb)
self.delete_sources_cb = FCCheckBox(_("Delete source"))

View File

@@ -95,7 +95,7 @@ class ToolsTransformPrefGroupUI(OptionsGroupUI):
self.rotate_label = QtWidgets.QLabel('%s:' % _("Angle"))
self.rotate_label.setToolTip(
_("Angle for Rotation action, in degrees.\n"
_("Angle, in degrees.\n"
"Float number between -360 and 359.\n"
"Positive numbers for CW motion.\n"
"Negative numbers for CCW motion.")
@@ -123,7 +123,7 @@ class ToolsTransformPrefGroupUI(OptionsGroupUI):
self.skewx_label = QtWidgets.QLabel('%s:' % _("X angle"))
self.skewx_label.setToolTip(
_("Angle for Skew action, in degrees.\n"
_("Angle, in degrees.\n"
"Float number between -360 and 359.")
)
grid0.addWidget(self.skewx_label, 9, 0)
@@ -137,7 +137,7 @@ class ToolsTransformPrefGroupUI(OptionsGroupUI):
self.skewy_label = QtWidgets.QLabel('%s:' % _("Y angle"))
self.skewy_label.setToolTip(
_("Angle for Skew action, in degrees.\n"
_("Angle, in degrees.\n"
"Float number between -360 and 359.")
)
grid0.addWidget(self.skewy_label, 10, 0)