[2.0.14] Tech description too wide sometimes

Discuss translation contributions here.
Shadow_Man
Fast Inserter
Fast Inserter
Posts: 126
Joined: Fri Mar 02, 2018 2:55 pm
Contact:

[2.0.14] Tech description too wide sometimes

Post by Shadow_Man »

There used to be a situation where if you had long rich text in a technology description, that text would go outside the frame boundaries or get cut off.
Now it is not cut off and is shown in its entirety, but some particularly long names stretch the window a lot.
Perhaps such long rich text should be moved in its entirety to a new line if it starts stretching the text window.
Image
Loewchen
Global Moderator
Global Moderator
Posts: 9073
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.14] Tech description too wide sometimes

Post by Loewchen »

This just seems excessive.
Shadow_Man
Fast Inserter
Fast Inserter
Posts: 126
Joined: Fri Mar 02, 2018 2:55 pm
Contact:

Re: [2.0.14] Tech description too wide sometimes

Post by Shadow_Man »

Loewchen wrote: Sun Nov 03, 2024 10:50 pm This just seems excessive.
The translation? It's literally word-for-word, not a single extra word.

It is not a translation issue.
There's two things:
1. Words and phrases in Russian are longer than in English.
2. Rich text (text in brackets) apparently counts as 1 character, because it is never moved to the next line. As in this case, when it should be moved, the formatting of the text allows it, there is a space before it, but it is not moved, because if you count it as 1 character, it fits within the window boundaries.

That's why I suggested to calculate the length of the whole text in brackets, and move it to the next line if necessary (whole or by words, if possible).
Post Reply

Return to “Translations”