Closed Bug 427029 Opened 16 years ago Closed 16 years ago

about:robots looks bad on RTL

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.1a2

People

(Reporter: tomer, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug, )

Details

(Keywords: polish, rtl)

Attachments

(6 files)

Attached image about:robots
the about:robots page have not translated into Hebrew yet, but you can see in the attachment, it require some CSS fixes in order to make it usable (usable?! Are about:robots meant to be useful for something?!).

The image should be positioned in the right side of the page, and maybe even get it mirrored in order to make it face to the text.
Component: he-IL / Hebrew → General
Product: Mozilla Localizations → Firefox
QA Contact: hebrew.he → general
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
OS: Linux → All
Hardware: PC → All
Summary: about:robots looks bad in RTL → about:robots looks bad on RTL
(In reply to bug 437797 comment #10)
> In other words, isn't bug 427029 an edge case given the nature of about:robots
> and it's "optional" status for localizers? Seems like we could just live with
> it not looking perfect for RTL locales that haven't localized it rather than
> adding complexity.
> 

Well, the current state of the page require some attention. If we live with the non-translated page we get it wrong with unnecessary RTL support (see attachment 313609 [details]). But we also get it wrong AFTER translating it. 

I'm attaching another screenshot of how it looks in Firefox 3.0rc2 on Hebrew locale.
(In reply to comment #2)
> But we also get it wrong AFTER translating it.

What's wrong after translating it? I don't see what the problem is with attachment 324666 [details].
(In reply to comment #3)
> What's wrong after translating it? I don't see what the problem is with
> attachment 324666 [details].
The image should be floated to the other side. Please note the white line (hr) across the image.
Here's the culprit:

<http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/aboutRobots.xhtml&rev=1.2&mark=89#88>

We would also need an RTL version of the image as well.
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
I simply made this by flipping the original image horizontally in GIMP.
Attachment #324764 - Flags: ui-review?(beltzner)
Attached patch cvs patchSplinter Review
Patch to respect the RTL mode in about:robots.
Attachment #324765 - Flags: review?(gavin.sharp)
Given that this has a relatively low-risk patch ready, and it matters to the RTL locales (when for example showing the friends how cool Firefox is in an RTL build), I propose we take this in 3.0.x (3.0.1 if possible).  I don't think, however, that it should block 3.0.1, although having it would be nice.
Flags: wanted1.9.0.x?
Keywords: polish
Version: unspecified → Trunk
Whiteboard: [has patch] [needs review gavin]
Attachment #324765 - Flags: review?(gavin.sharp) → review+
Whiteboard: [has patch] [needs review gavin] → [has patch] [has review] [needs ui-r beltzner]
If it's just mirrored, I don't think the image needs ui-review. A hg patch would be nice, though.
Whiteboard: [has patch] [has review] [needs ui-r beltzner] → [has patch] [has review]
Attachment #324764 - Attachment description: RTL version of the robot face → RTL version of the robot face (for check-in)
Attachment #324764 - Flags: ui-review?(beltzner)
Carrying over gavin's r+ from attachment 324765 [details] [diff] [review].  This can be checked in on the trunk together with attachment 324764 [details].
Keywords: checkin-needed
Comment on attachment 324765 [details] [diff] [review]
cvs patch

It would be great if this can land for 1.9.0.2 on branch.  This is a fix for the about:robots page appearance for RTL locales which is pretty low-risk.
Attachment #324765 - Attachment description: Patch (v1) → cvs patch
Attachment #324765 - Flags: approval1.9.0.2?
Comment on attachment 324764 [details]
RTL version of the robot face (for check-in)

This is needed by attachment 324765 [details] [diff] [review].
Attachment #324764 - Flags: approval1.9.0.2?
(In reply to comment #11)
> Created an attachment (id=332542) [details]
> hg patch (for check-in)

you can include images in hg patches ...


http://hg.mozilla.org/index.cgi/mozilla-central/rev/f6c0993995c5
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [has patch] [has review]
Target Milestone: --- → Firefox 3.1a2
(In reply to comment #14)
> you can include images in hg patches ...

Wow, didn't know that!  :-)
Comment on attachment 324764 [details]
RTL version of the robot face (for check-in)

Moving approval request out to 1.9.0.3 but I kind of think we shouldn't take this for 1.9.0.x and just pick up the fix in 1.9.1.
Attachment #324764 - Flags: approval1.9.0.2? → approval1.9.0.3?
Attachment #324765 - Flags: approval1.9.0.2? → approval1.9.0.3?
Doesn't really meet the "wanted" criteria (security, stability, regression from maintenance release). And likewise, doesn't meet the criteria for 1.9.0.4.
Flags: wanted1.9.0.x?
Attachment #324765 - Flags: approval1.9.0.4? → approval1.9.0.4-
Attachment #324764 - Flags: approval1.9.0.4? → approval1.9.0.4-
No longer blocks: fx35-l10n-fa
Blocks: Persian
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: