#22897 closed defect (bug) (fixed)
RTL on plugin information tab
Reported by: | ramiy | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | RTL | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The plugin information tab needs a few adjustments RTL adjustments, check out the screenshot.
Attachments (9)
Change History (23)
@
12 years ago
Swaps title and close button in Thickbox on Plugin Details box and moves the FYI box back to being floated right instead of left.
#1
follow-up:
↓ 3
@
12 years ago
- Keywords has-patch rtl-feedback ui-feedback added
I have attached two patches. The first patch fixes the Thickbox address bar where the title and the close button are located. This patch swaps the two locations. The second patch, in addition to the fix found in the first patch also moves the For Your Information (FYI) box from the left back to the right. I have tested the fix in WP 3.4.2, WP 3.5, and trunk r23175 and it works in all of them. The patches are patched against trunk.
My personal thought, in LTR languages the FYI box is floated to the right. Thus, it is reasonable to assume that in a RTL language, the FYI box should be floated to the left, as it is in WP 3.5 and trunk (also how it is pictured in the Hebrew screenshot). Therefore, my opinion is to implement the fix found in the first patch and leave the FYI box floated the way it is.
#2
@
12 years ago
I forgot to mention that the testing in WP 2.4.2 and WP 3.5 was done in the Hebrew localized version while trunk was tested in the version from wordpress.org SVN.
#3
in reply to:
↑ 1
;
follow-up:
↓ 4
@
12 years ago
Replying to JDTrower:
My personal thought, in LTR languages the FYI box is floated to the right. Thus, it is reasonable to assume that in a RTL language, the FYI box should be floated to the left, as it is in WP 3.5 and trunk (also how it is pictured in the Hebrew screenshot). Therefore, my opinion is to implement the fix found in the first patch and leave the FYI box floated the way it is.
In english and other LTR languages the content aligned to left and the FYI box floated to right. And, as you said, it is reasonable to assume that in a RTL language, the FYI box should be floated to the left. BUT because the content is always in English (and it's aligned to left), the FYI box should be floated to the right.
Remember that there is no local version of the text, it's always in english.
#4
in reply to:
↑ 3
;
follow-up:
↓ 5
@
12 years ago
Replying to ramiy:
In english and other LTR languages the content aligned to left and the FYI box floated to right. And, as you said, it is reasonable to assume that in a RTL language, the FYI box should be floated to the left. BUT because the content is always in English (and it's aligned to left), the FYI box should be floated to the right.
Remember that there is no local version of the text, it's always in english.
Forgive me for being confused, but it appears to me in the screen shot that you attached that all the text in the FYI box is in Hebrew with the exception of the numbers and the authors name. It's my understanding though (unless I am mistaken), that in Hebrew the Arabic numbers are used to represent money, age, the civil calendar date, and in math. To me this would indicate, that the only non-Hebrew word(s) is the name of the author. I looked up numerous plugins in WP 3.5 localized in Hebrew and everyone of them had Hebrew for everything, Arabic numerals for the numbers, and English words for the name of the author. That being the case, would you not then agree that the box should be floated to the left as I assumed?
Now, if you are referencing the plugin description, then yes, that is in English and the text of the plugin description should be aligned left.
I'll attach a couple of screen shots, one showing the first patch applied and the second screen shot showing the second patch applied.
#5
in reply to:
↑ 4
@
12 years ago
Replying to JDTrower:
When i said that The text is in english i meant to the "Plugin Text" writen by the plugin author (Description, Installation, FAQ, Changelog, ect.), not the FYI.
On your 2nd screenshot (patch applied), you need to remove the margin-left:200px; from the H2 tag.
#plugin-information h2 { margin-right: 200px; margin-left: 0; }
Besides that, the patch is good.
#7
follow-up:
↓ 8
@
12 years ago
- Keywords ui-feedback removed
- Fixes double
float
declaration for#TB_closeAjaxWindow
in Thickbox RTL support-revised.diff. - Doesn't include non-relevant
padding
ortext-align
rules. - Merges too generic
.fyi
with#plugin-information .fyi
. - Removes somes styles that will become obsolete if the FYI box is floated to the right.
However, I'm not sure if the FYI box should always be floated to the right.
Replying to ramiy:
In english and other LTR languages the content aligned to left and the FYI box floated to right. And, as you said, it is reasonable to assume that in a RTL language, the FYI box should be floated to the left. BUT because the content is always in English (and it's aligned to left), the FYI box should be floated to the right.
Some plugins already have descriptions in other languages:
http://wordpress.org/extend/plugins/wwwartlebedevru-typograph/
What if the description is in Hebrew? I guess plugin descriptions might be properly internationalized in the future.
#8
in reply to:
↑ 7
@
12 years ago
Replying to SergeyBiryukov:
What if the description is in Hebrew? I guess plugin descriptions might be properly internationalized in the future.
For now, 99.9% of the plugins are in english. Never seen a plugin with hebrew discription. In the future, when plugin descriptions will be internationalized, we can change the CSS again. For now the patch will work.
#12
@
11 years ago
22897.3.diff fixes the "This plugin has not been tested" message which was hidden by the FYI box, same for screenshots and code blocks.
@ramiy Could you please check this again? Thanks.
Swaps title and close button in Thickbox on Plugin Details box.