-
Notifications
You must be signed in to change notification settings - Fork 129
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 plural and plural forms labels to row previews and format the row editor accordingly #1506
Conversation
This is consistent with the above spacing between labels and original singular/plural
The commit 22e2856 moves the Plural forms labels above the Original texts. The commit ac9d084 removes the margin from the Plural form label and the Translation text. Please check the comment #1505 (comment) on the issue. |
Removed minified asset from the PR accordingly this chat with @amieiro about including minified assets. The minified diffs is unreadable, and merging it creates conflicts with other pending PRs that are very difficult to keep up with. It's better to build all the assets on the repo, after all the merge sessions are complete. |
We agreed on our triage session that this can be merged after a code review. The functionality is fine. |
The PR is now again free of conflicts. |
What?
Add plurals to original in the translation row preview, and add plural forms labels, accordingly to translate.wp.org
Why?
When filtering the Untranslated strings, there is no visual information about plural strings, either on original or translation column.

Example:
If the translation is added, only the translation shows the plural forms.

How?
This PR adds the same logic to the template as the template on wp.org, implementing this:
Result for Singular/Plural (e.g.: Portuguese):

Result for other plural form (e.g.: Russian):

Testing Instructions
Fixes #1505