From a094bf0df7e2b3e5c5b2e3b158a9040a6474892f Mon Sep 17 00:00:00 2001
From: Furgo <148809153+furgo16@users.noreply.github.com>
Date: Thu, 16 May 2024 22:24:04 +0200
Subject: [PATCH] Update grid size nomenclature (#13093)
* Update grid nomenclature to major/minor. Closes #13090
---
src/Mod/Draft/Resources/ui/TaskSelectPlane.ui | 45 ++++++++++++-------
.../Resources/ui/preferences-draftsnap.ui | 13 +++---
2 files changed, 38 insertions(+), 20 deletions(-)
diff --git a/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui b/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui
index 16cb11103b..b62c46f67b 100644
--- a/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui
+++ b/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui
@@ -144,7 +144,7 @@ of the buttons above
Moves the working plane without changing its
orientation. If no point is selected, the plane
-will be moved to the center of the view
+will be moved to the center of the view.
Move working plane
@@ -155,18 +155,25 @@ will be moved to the center of the view
-
+
+ The color of the grid
+
Grid color
-
-
+
+
+ The color of the grid
+
+
-
- The spacing between the smaller grid lines
+ The distance between grid lines
Grid spacing
@@ -176,7 +183,7 @@ will be moved to the center of the view
-
- The spacing between the smaller grid lines
+ The distance between grid lines
mm
@@ -186,31 +193,40 @@ will be moved to the center of the view
-
- The number of squares between each main line of the grid
+ The number of squares between major grid lines
- Main line every
+ Major lines every
-
- The number of squares between each main line of the grid
+ The number of squares between major grid lines
+
+
+ squares
-
+
+ The number of squares in the X and Y direction of the grid
+
- Grid extension
+ Grid size
-
+
+ The number of squares in the X and Y direction of the grid
+
- lines
+ squares
1
@@ -223,9 +239,7 @@ will be moved to the center of the view
-
- The distance at which a point can be snapped to
-when approaching the mouse. You can also change this
-value by using the [ and ] keys while drawing
+ The distance at which a point can be snapped to
Snapping radius
@@ -235,9 +249,10 @@ value by using the [ and ] keys while drawing
-
- The distance at which a point can be snapped to
-when approaching the mouse. You can also change this
-value by using the [ and ] keys while drawing
+ The distance at which a point can be snapped to
+
+
+ px
diff --git a/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui b/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui
index 5d0d5df56a..bd8f771208 100644
--- a/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui
+++ b/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui
@@ -130,7 +130,7 @@ if they match the X, Y or Z axis of the global coordinate system
-
- Main lines every
+ Major lines every
@@ -143,8 +143,11 @@ if they match the X, Y or Z axis of the global coordinate system
- The number of squares between main grid lines.
-These lines are thicker than normal grid lines.
+ The number of squares between major grid lines.
+Major grid lines are thicker than minor grid lines.
+
+
+ squares
10
@@ -212,10 +215,10 @@ These lines are thicker than normal grid lines.
-
- The number of horizontal and vertical lines in the grid
+ The number of squares in the X and Y direction of the grid
- lines
+ squares
9999