Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add original plurals and labels to row preview plural strings #1505

Closed
pedro-mendonca opened this issue Oct 10, 2022 · 1 comment · Fixed by #1506
Closed

Add original plurals and labels to row preview plural strings #1505

pedro-mendonca opened this issue Oct 10, 2022 · 1 comment · Fixed by #1506
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@pedro-mendonca
Copy link
Member

pedro-mendonca commented Oct 10, 2022

For plural strings, currently the row preview only shows the translation text plurals, the original text only shows the singular.
imagem

On translate.wp.org template both singular and plurals are shown in the original text, with "Singular" and "Plural" labels:
imagem

@pedro-mendonca
Copy link
Member Author

The editor should have the same layout for consistency:

<small>Singular:</small>
<span class="original">Original text...</span>

The Locales which have 3 to 5 plural forms have both Originals on top, being the text areas below.
These Locales benefit the most from this plural labels being in the same layout, and for the consistency to be perfect, the blockquote top margin of the current Translation text should also be set to 0.

Currently it has a bad readability: Plural form labels inline and textarea label with huge margin.
imagem

Suggestion: Move the labels above, as it's on the row-preview, and use the same 0 margin between the label and the text.
imagem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
2 participants