Suggestions - direction incorrectly set to RTL instead of LTR for text and alignement to start margin incorrectly set

Suggestions - direction incorrectly set to RTL instead of LTR for text and alignement to start margin incorrectly set

Suggestions panel in the translation UI - The direction is incorrectly set to RTL instead of LTR for the suggested text (so the final punctuation appears incorrectly to the left instead of the right, and its start margin is incorrectly set to right instead of left).

Note in this image, this is for translation to French (which should be LTR). In fact this is also reversed when translating in all other languages.

The direction and alignment is correct on the rest of the panel, only the "Suggestions" part is affected

Verdy p (talk)08:50, 23 May 2022

Does this still happen? Where do you see it?

Amir E. Aharoni (talk)11:41, 29 May 2022

It seems to no longer happen; it was the case when I posted this message (on 23 May) in EVERY translation (to French, Italian, Spanish...) for any message in any transltion project that was showing "Suggestions". And when I switched to translate to Arabic or Hebrew, the "Suggestions" where also swapped (LTR instead or RTL). So there was a bug in the UI (or in the CSS stylesheet) inversing the RTL/LTR conditions for styling this pane. I did not inspect the CSS with the browser's developer tools to notice how it was styled.

It is OK now, so I supposed it has been fixed (but there was no reply to this topic when this was done, may be you detected that bug yourself and fixed it without seeing this report, or because you saw another bug report in another channel, possibly in Phabricator, or on another wiki using the translation UI, which was updated recently to add a section about "Recent modifications" to show the last few edit comments).

Verdy p (talk)12:04, 29 May 2022