Opened 8 years ago
Last modified 3 months ago
#43476 new defect (bug)
Fix parentheses in post status links for RTL
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | has-screenshots 2nd-opinion close |
| Focuses: | rtl | Cc: |
Description
When switching to a RTL language, the parentheses in the post status links can become mixed up, when the status is not translated.
How to replicate the issue? Switch to e.g. the Azərbaycan dili language that is missing the Draft post status translation.
Where to see the issue?: Visit the wp-admin/edit.php and check out the parentheses in the Draft post status link.
Attachments (3)
Change History (7)
#2
@
8 years ago
- Keywords 2nd-opinion added
It can happen in any other place where parentheses are used with English words in an RTL locale.
Instead of patching these instances separately, I think it's better to encourage translation editors to finish the translation.
#3
@
8 years ago
Here are examples of other parts using the .subsubsub a .count:
- the comment status links in
wp-admin/edit-comments.php. - the plugin status links
wp-admin/plugins.php.
This can also happen in dropdowns.
@SergeyBiryukov yes, that might be the way to go, but I think we should at least take care of the parts that can contain user added options, like in /wp-admin/nav-menus.php. Maybe adjust this ticket or create a new one?
The screenshot in nav-menus-dropdown-with-user-input-including-parentheses.jpg shows what can happen when the user adds a menu containing parentheses.
#4
@
3 months ago
- Keywords close added
Hi @birgire,
I have taken a quick look into this, and tested this issue with a selection or RTL languages, and this looks to be working in the current release. I suspect this has been fixed for a while now with more contributions going into translatations in recent years.
As this issue looks to be resolved I am going to mark this ticket with the close tag. However if you feel this is incorrect please feel free to continue the conversation further and remove this tag. 😃
The screenshot in su.JPG shows the issue.
The screenshot in su-fix.jpg shows a possible fix, if the parentheses should be placed on the left side. Here I tested the
unicode-bidi:.subsubsub a .count { unicode-bidi: embed; }