Closed Bug 632264 Opened 13 years ago Closed 2 years ago

about:home hardcodes "Firefox" in its snippets

Categories

(Firefox :: General, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: glandium, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [about-home])

Attachments

(1 file)

The snippets in browser/locales/en-US/chrome/browser/aboutHome.dtd use the "Firefox" name instead of using the branded name.
Attachment #510483 - Flags: review?(gavin.sharp)
I don't think we can take string changes. plus we don't usually like inserting entities in strings (that is usually done by provding a prefix and postfix) since it's error-prone for localizers. plus your fix only applies to en-us, any other translation is already using Firefox probably.
Most likely you could want to set the remote snippets url to your own resource, and we can fix this in the next version, if we find remote snippets we don't show the default ones.
(In reply to comment #1)
> I don't think we can take string changes.

I wasn't expecting that to be taken right now, but i just found out recently, so I just filed the bug with a patch.

> plus we don't usually like inserting
> entities in strings (that is usually done by provding a prefix and postfix)
> since it's error-prone for localizers.

http://mxr.mozilla.org/mozilla-central/search?string=%26brandShortName; seems to contradict that.
(In reply to comment #2)
> > plus we don't usually like inserting
> > entities in strings (that is usually done by provding a prefix and postfix)
> > since it's error-prone for localizers.
> 
> http://mxr.mozilla.org/mozilla-central/search?string=%26brandShortName; seems
> to contradict that.

Ah, then nevermind, I just reported what was said to me, but looks like it was a different context (maybe it was more about having html tags), thanks for pointing that up!

If your patch is not for FX4.0, then you want to change the entity name (just changing the .v1 part to .v2 and replacing in the xhtml page should be fine) so that other locales can notice the change and upgrade their localizations.
(In reply to comment #1)
> I don't think we can take string changes. plus we don't usually like inserting
> entities in strings (that is usually done by provding a prefix and postfix)
> since it's error-prone for localizers. plus your fix only applies to en-us, any
> other translation is already using Firefox probably.
> Most likely you could want to set the remote snippets url to your own resource,
> and we can fix this in the next version, if we find remote snippets we don't
> show the default ones.

I don't understand wh this would be a stringchange issue.  Stringchange issues have to do with adding new strings.  This would seem to require only replacing a hardcoded Firefox with "&brandShortName;".
and that change would only work for en-US, any other branded build using a localization would still have hardcoded Firefox
Well,I think the way it is present trademark issues and you should get your legal Trademark protection people involved because people who follow all of the rules to prevent their builds from being identified as Firefox will end up with the about:home page identifying the program as being Firefox.  This could result in Mozilla losing any trademark rights to the Firefox brand.
distributions are free to change the default homepage, and I guess most of them already do, since I doubt they were pointing at http://www.google.it/firefox previously.
(In reply to comment #7)
> distributions are free to change the default homepage, and I guess most of them
> already do, since I doubt they were pointing at http://www.google.it/firefox
> previously.

Speaking for Debian here, I was using about: as a default homepage when google.com/firefox was being used, but now about:home is actually a nicer default (except for the messages talking about Firefox ;) )
Sure, I'm not saying you are wrong, just that fixing this earlier would have been easier :(
(In reply to comment #9)
> Sure, I'm not saying you are wrong, just that fixing this earlier would have
> been easier :(

Don't worry too much about this, there are many other places where "Firefox" is hardcoded. One more or one less is not making a big difference ;)

That being said, I understand there are downloaded snippets, are these going to contain "Firefox", too ?
yes, but the snippets download url is a pref, so you can make it point to a server you like.
Comment on attachment 510483 [details] [diff] [review]
Replace hardcoded Firefox with branded name in about:home

Sadly too late for string changes in this release.
Attachment #510483 - Flags: approval2.0-
Comment on attachment 510483 [details] [diff] [review]
Replace hardcoded Firefox with branded name in about:home

You'll need to also rev the entity name to notify localizers of the change.
Attachment #510483 - Flags: review?(gavin.sharp) → review-
What does revving the entityName look like?
even if you change the entity names, the links will still point to Firefox pages (http://mxr.mozilla.org/mozilla-central/source/browser/base/content/aboutHome.js#143)
This will need to be fixed for the "unbranded Firefox"
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 4 duplicates.
:mossop, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dtownsend)

DTD doesn't exist anymore, nor the string.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(dtownsend)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: