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

@@ -189,7 +189,7 @@
<string>The default transparency for new shapes</string>
</property>
<property name="suffix">
<string notr="true">%</string>
<string notr="true"> %</string>
</property>
<property name="maximum">
<number>100</number>
@@ -224,7 +224,7 @@
<string>The default shininess for new shapes</string>
</property>
<property name="suffix">
<string notr="true">%</string>
<string notr="true"> %</string>
</property>
<property name="maximum">
<number>100</number>
@@ -295,7 +295,7 @@
<string>The default line thickness for new shapes</string>
</property>
<property name="suffix">
<string>px</string>
<string notr="true"> px</string>
</property>
<property name="maximum">
<number>9</number>
@@ -363,7 +363,7 @@
<string>The default size for new vertices</string>
</property>
<property name="suffix">
<string>px</string>
<string notr="true"> px</string>
</property>
<property name="maximum">
<number>9</number>
@@ -431,7 +431,7 @@
<string>The font size of bounding boxes in the 3D view</string>
</property>
<property name="suffix">
<string notr="true">pt</string>
<string notr="true"> pt</string>
</property>
<property name="decimals">
<number>1</number>