Created attachment 157699 [details] screenshot See screenshot. The percentage value for "Don't indent lines wider than:" uses a spin box and a suffix to indicate the percentage, plus some additional text. Here, the spin box value and the percentage sign should be unified (plus the additional text) in order to properly localise it. Tried to look at the source, but the QML source was too frightening to look at :).
I am not sure if that is possible with QSpinbox... The additional text is just a suffix.
If that’s the case, shall I open a ticket with Qt?
This might help: https://invent.kde.org/libraries/perceptualcolor/-/snippets/2565
I would prefer that this it either provided by some framework or Qt but I don't see that we shall add such workarounds to our code, given this seems to be a rather small glitch.
Perhaps the below linked template or similar would make sense in ki18n, as pure template it might be feasible without extra deps.
This is on the radar of Qt right now, but I really do not know if they would fix this limitation. I will look into integrating Lukas' code into KF.