diff --git a/share/translations/valentina.ts b/share/translations/valentina.ts
index ddcd84322..0a860c671 100644
--- a/share/translations/valentina.ts
+++ b/share/translations/valentina.ts
@@ -3181,22 +3181,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3465,10 +3453,6 @@ Apply settings anyway?
-
-
-
-
@@ -3477,10 +3461,6 @@ Apply settings anyway?
-
-
-
-
@@ -3505,6 +3485,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4890,10 +4875,6 @@ Apply settings anyway?
Length:
-
-
-
-
@@ -5777,18 +5758,6 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
-
-
-
-
DialogSaveLayout
@@ -11203,10 +11172,6 @@ Do you want to save your changes?
Formula wizard
-
-
-
-
Value
diff --git a/share/translations/valentina_cs_CZ.ts b/share/translations/valentina_cs_CZ.ts
index af9b1d3a2..58fd4af60 100644
--- a/share/translations/valentina_cs_CZ.ts
+++ b/share/translations/valentina_cs_CZ.ts
@@ -3167,20 +3167,12 @@
- %
-
-
-
-
+ %
...
-
-
-
-
DialogLayoutSettings
@@ -3453,7 +3445,7 @@ Přesto použít nastavení?
- min
+ min
@@ -3465,7 +3457,7 @@ Přesto použít nastavení?
- %
+ %
@@ -3491,6 +3483,11 @@ Přesto použít nastavení?
+
+
+ minutes
+ min
+
DialogLine
@@ -4874,7 +4871,7 @@ Přesto použít nastavení?
- =
+ =
@@ -5750,20 +5747,12 @@ Přesto použít nastavení?
- %
-
-
-
-
+ %
...
-
-
-
-
DialogSaveLayout
@@ -10927,7 +10916,7 @@ Chcete uložit změny?
- =
+ =
diff --git a/share/translations/valentina_de_DE.ts b/share/translations/valentina_de_DE.ts
index 9d981a899..6607bb9cf 100644
--- a/share/translations/valentina_de_DE.ts
+++ b/share/translations/valentina_de_DE.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3450,10 +3438,6 @@ Einstellungen trotzdem anwenden?
-
-
-
-
@@ -3462,10 +3446,6 @@ Einstellungen trotzdem anwenden?
-
-
-
-
@@ -3490,6 +3470,11 @@ Einstellungen trotzdem anwenden?
+
+
+ minutes
+
+
DialogLine
@@ -4871,10 +4856,6 @@ Einstellungen trotzdem anwenden?
Länge:
-
-
-
-
@@ -5746,22 +5727,10 @@ Einstellungen trotzdem anwenden?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10893,10 +10862,6 @@ Do you want to save your changes?
Formelassistent
-
-
-
-
Wert
diff --git a/share/translations/valentina_el_GR.ts b/share/translations/valentina_el_GR.ts
index b48e0a0c6..4f5c5ad59 100644
--- a/share/translations/valentina_el_GR.ts
+++ b/share/translations/valentina_el_GR.ts
@@ -3109,22 +3109,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3378,10 +3366,6 @@ Apply settings anyway?
-
-
-
-
@@ -3390,10 +3374,6 @@ Apply settings anyway?
-
-
-
-
@@ -3418,6 +3398,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4787,10 +4772,6 @@ Apply settings anyway?
Μήκος:
-
-
-
-
@@ -5662,22 +5643,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10688,10 +10657,6 @@ Do you want to save your changes?
Βοηθός φόρμουλας
-
-
-
-
Τιμή
diff --git a/share/translations/valentina_en_CA.ts b/share/translations/valentina_en_CA.ts
index 6d08da1c9..b7b255ad3 100644
--- a/share/translations/valentina_en_CA.ts
+++ b/share/translations/valentina_en_CA.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3449,10 +3437,6 @@ Apply settings anyway?
-
-
-
-
@@ -3461,10 +3445,6 @@ Apply settings anyway?
-
-
-
-
@@ -3489,6 +3469,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4870,10 +4855,6 @@ Apply settings anyway?
Length:
-
-
-
-
@@ -5745,22 +5726,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10916,10 +10885,6 @@ Do you want to save your changes?
Formula wizard
-
-
-
-
Value
diff --git a/share/translations/valentina_en_IN.ts b/share/translations/valentina_en_IN.ts
index 8d2186c7e..2c96483b3 100644
--- a/share/translations/valentina_en_IN.ts
+++ b/share/translations/valentina_en_IN.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3449,10 +3437,6 @@ Apply settings anyway?
-
-
-
-
@@ -3461,10 +3445,6 @@ Apply settings anyway?
-
-
-
-
@@ -3489,6 +3469,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4870,10 +4855,6 @@ Apply settings anyway?
Length:
-
-
-
-
@@ -5745,22 +5726,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10916,10 +10885,6 @@ Do you want to save your changes?
Formula wizard
-
-
-
-
Value
diff --git a/share/translations/valentina_en_US.ts b/share/translations/valentina_en_US.ts
index d4043c1fd..07764069c 100644
--- a/share/translations/valentina_en_US.ts
+++ b/share/translations/valentina_en_US.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3449,10 +3437,6 @@ Apply settings anyway?
-
-
-
-
@@ -3461,10 +3445,6 @@ Apply settings anyway?
-
-
-
-
@@ -3489,6 +3469,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4870,10 +4855,6 @@ Apply settings anyway?
Length:
-
-
-
-
@@ -5745,22 +5726,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10916,10 +10885,6 @@ Do you want to save your changes?
Formula wizard
-
-
-
-
Value
diff --git a/share/translations/valentina_es_ES.ts b/share/translations/valentina_es_ES.ts
index 5faa86e87..8a2cbdf5c 100644
--- a/share/translations/valentina_es_ES.ts
+++ b/share/translations/valentina_es_ES.ts
@@ -3167,20 +3167,12 @@
- %
-
-
-
-
+ %
...
-
-
-
-
DialogLayoutSettings
@@ -3452,7 +3444,7 @@ Aplicar características de todos modos?
- min
+ min
@@ -3464,7 +3456,7 @@ Aplicar características de todos modos?
- %
+ %
@@ -3490,6 +3482,11 @@ Aplicar características de todos modos?
+
+
+ minutes
+ min
+
DialogLine
@@ -4873,7 +4870,7 @@ Aplicar características de todos modos?
- =
+ =
@@ -5748,20 +5745,12 @@ Aplicar características de todos modos?
- %
-
-
-
-
+ %
...
-
-
-
-
DialogSaveLayout
@@ -10921,7 +10910,7 @@ Quieres guardar los cambios?
- =
+ =
diff --git a/share/translations/valentina_fi_FI.ts b/share/translations/valentina_fi_FI.ts
index 466e8af13..d49a72a1d 100644
--- a/share/translations/valentina_fi_FI.ts
+++ b/share/translations/valentina_fi_FI.ts
@@ -2741,22 +2741,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -2950,10 +2938,6 @@ Apply settings anyway?
-
-
-
-
@@ -2962,10 +2946,6 @@ Apply settings anyway?
-
-
-
-
@@ -2990,6 +2970,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4307,10 +4292,6 @@ Apply settings anyway?
-
-
-
-
@@ -5094,22 +5075,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -9740,10 +9709,6 @@ Do you want to save your changes?
-
-
-
-
Arvo
diff --git a/share/translations/valentina_fr_FR.ts b/share/translations/valentina_fr_FR.ts
index 5f0ef24b0..1175e0f03 100644
--- a/share/translations/valentina_fr_FR.ts
+++ b/share/translations/valentina_fr_FR.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3446,10 +3434,6 @@ Apply settings anyway?
-
-
-
-
@@ -3458,10 +3442,6 @@ Apply settings anyway?
-
-
-
-
@@ -3486,6 +3466,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4867,10 +4852,6 @@ Apply settings anyway?
Longueur:
-
-
-
-
@@ -5742,22 +5723,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10901,10 +10870,6 @@ Voulez-vous enregistrer les changements?
Assistant formule
-
-
-
-
Valeur
diff --git a/share/translations/valentina_he_IL.ts b/share/translations/valentina_he_IL.ts
index 4cf4f4d4e..c15146a24 100644
--- a/share/translations/valentina_he_IL.ts
+++ b/share/translations/valentina_he_IL.ts
@@ -2298,22 +2298,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -2479,10 +2467,6 @@ Apply settings anyway?
-
-
-
-
@@ -2491,10 +2475,6 @@ Apply settings anyway?
-
-
-
-
@@ -2519,6 +2499,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -3641,10 +3626,6 @@ Apply settings anyway?
-
-
-
-
@@ -4380,22 +4361,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -8663,10 +8632,6 @@ Do you want to save your changes?
-
-
-
-
diff --git a/share/translations/valentina_id_ID.ts b/share/translations/valentina_id_ID.ts
index 7e5a2cad0..8f1c0c9b5 100644
--- a/share/translations/valentina_id_ID.ts
+++ b/share/translations/valentina_id_ID.ts
@@ -2569,18 +2569,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
DialogLayoutSettings
@@ -2746,10 +2734,6 @@ Apply settings anyway?
-
-
-
-
@@ -2758,10 +2742,6 @@ Apply settings anyway?
-
-
-
-
@@ -2786,6 +2766,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -3940,10 +3925,6 @@ Apply settings anyway?
-
-
-
-
@@ -4702,18 +4683,6 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
-
-
-
-
DialogSaveLayout
@@ -8993,10 +8962,6 @@ Do you want to save your changes?
-
-
-
-
diff --git a/share/translations/valentina_it_IT.ts b/share/translations/valentina_it_IT.ts
index d25c99035..a38d96f38 100644
--- a/share/translations/valentina_it_IT.ts
+++ b/share/translations/valentina_it_IT.ts
@@ -3157,22 +3157,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3445,7 +3433,7 @@ Applicare la configurazione comunque?
- min
+ min
@@ -3455,10 +3443,6 @@ Applicare la configurazione comunque?
Imposta coefficiente di efficienza del piazzamento. Il coefficiente di efficienza del piazzamento è la percentuale di area occupata dai pezzi all’interno dell’area delimitata. Se la loro disposizione raggiunge il livello richiesto, il processo si interrompe. Se il valore è impostato su 0 non viene effettuata nessuna verifica.
-
-
-
-
@@ -3483,6 +3467,11 @@ Applicare la configurazione comunque?
+
+
+ minutes
+ min
+
DialogLine
@@ -4864,10 +4853,6 @@ Applicare la configurazione comunque?
Lunghezza:
-
-
-
-
@@ -5739,22 +5724,10 @@ Applicare la configurazione comunque?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10911,10 +10884,6 @@ Vuoi salvare le tue modifiche?
Formula magica
-
-
-
-
Valore
diff --git a/share/translations/valentina_nl_NL.ts b/share/translations/valentina_nl_NL.ts
index c1f374f3b..8c3b62e80 100644
--- a/share/translations/valentina_nl_NL.ts
+++ b/share/translations/valentina_nl_NL.ts
@@ -3167,20 +3167,12 @@
- %
-
-
-
-
+ %
...
-
-
-
-
DialogLayoutSettings
@@ -3453,7 +3445,7 @@ Toch de instellingen aanpassen?
- min
+ min
@@ -3465,7 +3457,7 @@ Toch de instellingen aanpassen?
- %
+ %
@@ -3491,6 +3483,11 @@ Toch de instellingen aanpassen?
+
+
+ minutes
+ min
+
DialogLine
@@ -4874,7 +4871,7 @@ Toch de instellingen aanpassen?
- =
+ =
@@ -5749,20 +5746,12 @@ Toch de instellingen aanpassen?
- %
-
-
-
-
+ %
...
-
-
-
-
DialogSaveLayout
@@ -10924,7 +10913,7 @@ Wil je deze veranderingen opslaan?
- =
+ =
diff --git a/share/translations/valentina_pl_PL.ts b/share/translations/valentina_pl_PL.ts
index ab5590421..fd2299ce3 100644
--- a/share/translations/valentina_pl_PL.ts
+++ b/share/translations/valentina_pl_PL.ts
@@ -2933,22 +2933,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3138,10 +3126,6 @@ Apply settings anyway?
-
-
-
-
@@ -3150,10 +3134,6 @@ Apply settings anyway?
-
-
-
-
@@ -3178,6 +3158,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4439,10 +4424,6 @@ Apply settings anyway?
Długość:
-
-
-
-
@@ -5219,22 +5200,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -9890,10 +9859,6 @@ Do you want to save your changes?
Kreator formuł
-
-
-
-
Wartość
diff --git a/share/translations/valentina_pt_BR.ts b/share/translations/valentina_pt_BR.ts
index cc9d6ee7a..b8a5a54e1 100644
--- a/share/translations/valentina_pt_BR.ts
+++ b/share/translations/valentina_pt_BR.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3447,10 +3435,6 @@ Aplicar configurações de qualquer forma?
-
-
-
-
@@ -3459,10 +3443,6 @@ Aplicar configurações de qualquer forma?
-
-
-
-
@@ -3487,6 +3467,11 @@ Aplicar configurações de qualquer forma?
+
+
+ minutes
+
+
DialogLine
@@ -4868,10 +4853,6 @@ Aplicar configurações de qualquer forma?
Comprimento:
-
-
-
-
@@ -5739,22 +5720,10 @@ Aplicar configurações de qualquer forma?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10899,10 +10868,6 @@ Deseja salvar suas mudanças?
Assistente de fórmulas
-
-
-
-
Valor
diff --git a/share/translations/valentina_ro_RO.ts b/share/translations/valentina_ro_RO.ts
index b3ca87679..d4713898b 100644
--- a/share/translations/valentina_ro_RO.ts
+++ b/share/translations/valentina_ro_RO.ts
@@ -2914,22 +2914,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3123,10 +3111,6 @@ Apply settings anyway?
-
-
-
-
@@ -3135,10 +3119,6 @@ Apply settings anyway?
-
-
-
-
@@ -3163,6 +3143,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4396,10 +4381,6 @@ Apply settings anyway?
Lungime:
-
-
-
-
@@ -5172,22 +5153,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -9703,10 +9672,6 @@ Do you want to save your changes?
Asistent Formulă
-
-
-
-
Valoare
diff --git a/share/translations/valentina_ru_RU.ts b/share/translations/valentina_ru_RU.ts
index 61e8f5006..04dfce9ee 100644
--- a/share/translations/valentina_ru_RU.ts
+++ b/share/translations/valentina_ru_RU.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3451,10 +3439,6 @@ Apply settings anyway?
Время, данное алгоритму, чтобы найти лучшую раскладку.
-
-
-
-
Эффективность:
@@ -3463,10 +3447,6 @@ Apply settings anyway?
Установите коэффициент эффективности раскладки. Коэффициент эффективности раскладки - это отношение площади, занимаемой деталями, к ограничивающему прямоугольнику всех деталей. Когда раскладка достигает установленного значения, процесс останавливается. Если значение равно 0, проверка не производится.
-
-
-
-
Ручной приоритет
@@ -3491,6 +3471,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4872,10 +4857,6 @@ Apply settings anyway?
Длина:
-
-
-
-
U метка
@@ -5748,22 +5729,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10924,10 +10893,6 @@ Do you want to save your changes?
Мастер формул
-
-
-
-
Значение
diff --git a/share/translations/valentina_uk_UA.ts b/share/translations/valentina_uk_UA.ts
index 45c6231e7..7179cea01 100644
--- a/share/translations/valentina_uk_UA.ts
+++ b/share/translations/valentina_uk_UA.ts
@@ -3165,22 +3165,10 @@
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogLayoutSettings
@@ -3449,10 +3437,6 @@ Apply settings anyway?
-
-
-
-
@@ -3461,10 +3445,6 @@ Apply settings anyway?
-
-
-
-
@@ -3489,6 +3469,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -4870,10 +4855,6 @@ Apply settings anyway?
Довжина:
-
-
-
-
@@ -5746,22 +5727,10 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
...
-
-
-
-
DialogSaveLayout
@@ -10917,10 +10886,6 @@ Do you want to save your changes?
Мастер формул
-
-
-
-
Значення
diff --git a/share/translations/valentina_zh_CN.ts b/share/translations/valentina_zh_CN.ts
index b5acb1a29..7e90791ec 100644
--- a/share/translations/valentina_zh_CN.ts
+++ b/share/translations/valentina_zh_CN.ts
@@ -2442,18 +2442,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
DialogLayoutSettings
@@ -2627,10 +2615,6 @@ Apply settings anyway?
-
-
-
-
@@ -2639,10 +2623,6 @@ Apply settings anyway?
-
-
-
-
@@ -2667,6 +2647,11 @@ Apply settings anyway?
+
+
+ minutes
+
+
DialogLine
@@ -3777,10 +3762,6 @@ Apply settings anyway?
长度:
-
-
-
-
@@ -4479,18 +4460,6 @@ Apply settings anyway?
-
-
-
-
-
-
-
-
-
-
-
-
DialogSaveLayout
@@ -8799,10 +8768,6 @@ Do you want to save your changes?
-
-
-
-
diff --git a/src/app/valentina/dialogs/dialoglayoutscale.ui b/src/app/valentina/dialogs/dialoglayoutscale.ui
index 86fd6db95..0cc38f3c5 100644
--- a/src/app/valentina/dialogs/dialoglayoutscale.ui
+++ b/src/app/valentina/dialogs/dialoglayoutscale.ui
@@ -158,7 +158,7 @@
-
- %
+ %
1
@@ -180,7 +180,7 @@
-
- %
+ %
1
@@ -220,7 +220,7 @@
- <html><head/><body><p><span style=" font-size:16pt;">┐</span></p></body></html>
+ <html><head/><body><p><span style=" font-size:16pt;">┐</span></p></body></html>
Qt::AlignCenter
@@ -256,7 +256,7 @@
-
- <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">┘</span></p></body></html>
+ <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">┘</span></p></body></html>
diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.ui b/src/app/valentina/dialogs/dialoglayoutsettings.ui
index 94f63d258..03c001731 100644
--- a/src/app/valentina/dialogs/dialoglayoutsettings.ui
+++ b/src/app/valentina/dialogs/dialoglayoutsettings.ui
@@ -384,7 +384,7 @@
Time given for the algorithm to find best layout.
- min
+ min
1
@@ -429,7 +429,7 @@
Set layout efficiency coefficient. Layout efficiency coefficientt is the ratio of the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the process stops. If value is 0 no check will be made.
- %
+ %
1
diff --git a/src/app/valentina/dialogs/dialogsavelayout.ui b/src/app/valentina/dialogs/dialogsavelayout.ui
index 90bf2ac81..7d648eee7 100644
--- a/src/app/valentina/dialogs/dialogsavelayout.ui
+++ b/src/app/valentina/dialogs/dialogsavelayout.ui
@@ -174,7 +174,7 @@
-
- %
+ %
1
@@ -196,7 +196,7 @@
-
- %
+ %
1
@@ -236,7 +236,7 @@
- <html><head/><body><p><span style=" font-size:16pt;">┐</span></p></body></html>
+ <html><head/><body><p><span style=" font-size:16pt;">┐</span></p></body></html>
Qt::AlignCenter
@@ -272,7 +272,7 @@
-
- <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">┘</span></p></body></html>
+ <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">┘</span></p></body></html>
diff --git a/src/libs/vtools/dialogs/tools/piece/dialogpiecepath.ui b/src/libs/vtools/dialogs/tools/piece/dialogpiecepath.ui
index 9ef8c80b0..abf5627fc 100644
--- a/src/libs/vtools/dialogs/tools/piece/dialogpiecepath.ui
+++ b/src/libs/vtools/dialogs/tools/piece/dialogpiecepath.ui
@@ -325,7 +325,7 @@
-
-
+
:/icon/24x24/equal.png
@@ -561,7 +561,7 @@
-
-
+
:/icon/24x24/equal.png
@@ -760,7 +760,7 @@
-
-
+
:/icon/24x24/equal.png
@@ -1045,7 +1045,7 @@
- =
+ =
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
@@ -1527,7 +1527,7 @@
-
-
+
:/icon/24x24/equal.png
diff --git a/src/libs/vtools/dialogs/tools/piece/tabs/tabpassmarks.ui b/src/libs/vtools/dialogs/tools/piece/tabs/tabpassmarks.ui
index 7fd7e499d..fda806bec 100644
--- a/src/libs/vtools/dialogs/tools/piece/tabs/tabpassmarks.ui
+++ b/src/libs/vtools/dialogs/tools/piece/tabs/tabpassmarks.ui
@@ -172,7 +172,7 @@
- =
+ =
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
diff --git a/src/test/TranslationsTest/tst_tstranslation.cpp b/src/test/TranslationsTest/tst_tstranslation.cpp
index e89bbc673..b0098e870 100644
--- a/src/test/TranslationsTest/tst_tstranslation.cpp
+++ b/src/test/TranslationsTest/tst_tstranslation.cpp
@@ -171,6 +171,34 @@ void TST_TSTranslation::CheckEllipsis()
}
}
+//---------------------------------------------------------------------------------------------------------------------
+void TST_TSTranslation::CheckInvalidCharacter_data()
+{
+ PrepareOriginalStrings();
+}
+
+//---------------------------------------------------------------------------------------------------------------------
+void TST_TSTranslation::CheckInvalidCharacter()
+{
+ QFETCH(QString, source);
+ QFETCH(QDomElement, message);
+
+ if (source == '=' or source == '%')
+ {
+ const QDomNode context = message.parentNode();
+ if (context.isNull())
+ {
+ QFAIL("Can't get context.");
+ }
+
+ const QString contextName = context.firstChildElement(TagName).text();
+ const QString error = QString("String contains invalid character '%1' in context '%2'. It should not be "
+ "marked for translation.")
+ .arg(source, contextName);
+ QFAIL(qUtf8Printable(error));
+ }
+}
+
//---------------------------------------------------------------------------------------------------------------------
void TST_TSTranslation::PrepareOriginalStrings()
{
diff --git a/src/test/TranslationsTest/tst_tstranslation.h b/src/test/TranslationsTest/tst_tstranslation.h
index 06f1f2bdf..7ebe87971 100644
--- a/src/test/TranslationsTest/tst_tstranslation.h
+++ b/src/test/TranslationsTest/tst_tstranslation.h
@@ -44,6 +44,8 @@ private slots:
void CheckEmptyToolButton();
void CheckEllipsis_data();
void CheckEllipsis();
+ void CheckInvalidCharacter_data();
+ void CheckInvalidCharacter();
private:
Q_DISABLE_COPY(TST_TSTranslation)