Add units to some spinboxes on preferences pages (#19143)

* Add units to some spinboxes on preferences pages
* Ensure units have a space, ex: " px"
* FEM: Don't mark units for translation
This commit is contained in:
Ulices
2025-01-22 15:05:49 +00:00
committed by GitHub
parent b990fb129e
commit ee2f327a96
12 changed files with 362 additions and 347 deletions

View File

@@ -268,7 +268,10 @@
<string>Width of normal edges.</string>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
<string notr="true">px</string>
</property>
<property name="suffix">
<string notr="true"> px</string>
</property>
<property name="minimum">
<number>1</number>
@@ -362,7 +365,10 @@
<string>Width of construction edges.</string>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
<string notr="true">px</string>
</property>
<property name="suffix">
<string notr="true"> px</string>
</property>
<property name="minimum">
<number>1</number>
@@ -456,7 +462,10 @@
<string>Width of internal aligned edges.</string>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
<string notr="true">px</string>
</property>
<property name="suffix">
<string notr="true"> px</string>
</property>
<property name="minimum">
<number>1</number>
@@ -524,7 +533,10 @@
<string>Width of external edges.</string>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
<string notr="true">px</string>
</property>
<property name="suffix">
<string notr="true"> px</string>
</property>
<property name="minimum">
<number>1</number>

View File

@@ -125,6 +125,9 @@ If 'Grid Auto Spacing' is enabled, will be used as base value.</string>
<string>While using 'Grid Auto Spacing' this sets a threshold in pixel to the grid spacing.
The grid spacing change if it becomes smaller than this number of pixel.</string>
</property>
<property name="suffix">
<string notr="true"> px</string>
</property>
<property name="minimum">
<number>3</number>
</property>