Closed Bug 541791 Opened 14 years ago Closed 14 years ago

about dialog "about:license" link target shouldn't be localizable

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.7a1
Tracking Status
status1.9.2 --- .2-fixed
status1.9.1 --- .9-fixed

People

(Reporter: Gavin, Assigned: philor)

References

Details

(Keywords: verified1.9.1, verified1.9.2)

Attachments

(2 files)

The only possible upside is that en-GB and en-US locales can link to different pages, and the downside is that http://mxr.mozilla.org/l10n-mozilla1.9.2/search?string=licenseLink+&find=aboutDialog.dtd returns instances of it being "localized".
Hihi.

Introduced in bug 415128, I never get the direction of the dependencies right for follow ups. Trying this way around.
Blocks: 415128
Assignee: nobody → philringnalda
Attached patch rmSplinter Review
On top of the second patch in bug 536336.

Couple of different possible followups, neither one of which need to be part of this bug:

* my preferred followup would be to note that en-GB has shipped both 1.9.1 and 1.9.2 using about:license, and nobody has filed a bug about it, implying that just dropping the whole licen(c|s)e deal is the right thing to do

* Pike's evil suggestion of adding a spell_license_licence entity and triggering "correct"Spelling() from that (which is mostly just evil because of the demonstrated lack of interest in having it spelled that way - beyond that, I don't care as long as I don't have to do it or be cc'ed to it)
Attachment #423301 - Flags: review?(gavin.sharp)
Attachment #423301 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mozilla-central/rev/b020c6b1588d
Target Milestone: --- → Firefox 3.7a1
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
For 1.9.2 and 1.9.1, just orphan the entity by hardcoding href="about:license" in the XUL.
Attachment #423398 - Flags: review?(gavin.sharp)
Attachment #423398 - Flags: review?(gavin.sharp) → review+
Attachment #423398 - Flags: approval1.9.2.1?
Attachment #423398 - Flags: approval1.9.1.8?
Why do we want to take this on older branches?
It fixes the license link in the about dialog for the locales that broke it, and there's no risk of it breaking anything.
Additional explanation, existing localizations translated "about:license", literally. Like "Ueber:Lizenz", which isn't a working url. We could try to fix this per locale, or just remove the source of trouble.

This doesn't have l10n impact, it's just not using a string anymore, without any other change that could cause addon-compat issues.
Yeah, sorry, I had it open to type the risk/reward, and then forgot why it was still open.

Right now, in 3.6 for Bengali (India), Tamil, Oriya, Marathi, and Frisian, and in 3.5 for all those plus Portuguese, if you open the About dialog, there's a totally broken ("the protocol isn't associated with any program" or a Google search for পরিচিতি:লাইসেন্স, depending) link for "Licensing information."

There are three ways to fix that: this way, which makes every shipping locale use what every single working shipping locale is already using, just more directly, with one checkin and one QA verification since it's going the be the same in every locale; by filing bugs on each locale to fix themselves, six bugs and eleven checkins and eleven QA verifications, assuming that there are still active maintainers for all those locales; or by forcing Pike to force-fix all the affected locales, with the subsequent risk of a maintainer who isn't familiar with hg accidentally reverting the only checkin that wasn't by him that he has ever seen, so an infinite number of verifications since every dot release of both 3.6 and 3.5 would require checking that all the affected locales hadn't reverted.

Oh, and if we are still taking updates to locales on either branch, either of the latter two solutions would require that we verify with http://mxr.mozilla.org/l10n-mozilla1.9.2/search?string=licenseLink+&find=aboutDialog.dtd and http://mxr.mozilla.org/l10n-mozilla1.9.1/search?string=licenseLink+&find=aboutDialog.dtd that nobody else has accidentally "fixed" their untranslated version to a broken translated version, for every dot release.

Risk is, um, that I typoed "about:license" and then failed to actually rebuild when I thought I was testing it and we'll forget to verify before shipping, or, that some risk-loving third party is shipping with their own license that they wrote an about: redirector for, for about:mylicenseinstead, but rather than directly change aboutDialog.xul to their URL or to another entity, they changed the licenseLink entity for every locale they ship. That's not physically impossible, but if there is someone like that, I would dearly love to smoke them out by "breaking" them by showing our license document instead.
Attachment #423398 - Flags: approval1.9.1.8? → approval1.9.1.9?
Comment on attachment 423398 [details] [diff] [review]
branches: just hardcode about:license

a=beltzner for 1.9.1 and 1.9.2
Attachment #423398 - Flags: approval1.9.2.2?
Attachment #423398 - Flags: approval1.9.2.2+
Attachment #423398 - Flags: approval1.9.1.9?
Attachment #423398 - Flags: approval1.9.1.9+
Verified that these changesets landed, see comment#10 for links.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: