Closed Bug 261957 Opened 20 years ago Closed 20 years ago

Install script template for other locales never register DOMI or HELP (even when they are present)

Categories

(Firefox :: Installer, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: vberon, Assigned: benjamin)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040808
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040808

The ab-CD.jst files in browser/installer/{unix,windows}/ab-CD.jst (used as
templates for the install.js in the langpack xpi for the full installer) never
register DOMI or HELP, even if LOCALE_HAS_DOMI or LOCALE_HAS_HELP is set in
defines.inc.
The install.rdf template in browser/locales/generic/install.rdf (for standalone
xpi as extensions) do have those checks.
Fix: add checks for LOCALE_HAS_DOMI and LOCALE_HAS_HELP to ab-CD.jst.

Reproducible: Always
Steps to Reproduce:
Comment on attachment 160361 [details] [diff] [review]
Add checks for LOCALE_HAS_DOMI and LOCALE_HAS_HELP in ab-CD.jst

Requesting review from bsmedberg
Attachment #160361 - Flags: review?(bsmedberg)
Attachment #160361 - Flags: approval-aviary?
This should go to bsmedberg
Assignee: bugs → bsmedberg
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 160361 [details] [diff] [review]
Add checks for LOCALE_HAS_DOMI and LOCALE_HAS_HELP in ab-CD.jst

Please do not ifdef autoconfig. That ifdef in toolkit/ is a temporary measure
for thunderbird, autoconfig is considered an essential part of firefox.

You need to fix up the makefile that builds these also, because right now it
does not include defines.inc. See
http://lxr.mozilla.org/aviarybranch/source/browser/installer/windows/Makefile.i
n#91
which needs the -I flag from
http://lxr.mozilla.org/aviarybranch/source/browser/installer/unix/Makefile.in#8
5
Attachment #160361 - Flags: review?(bsmedberg)
Attachment #160361 - Flags: review-
Attachment #160361 - Flags: approval-aviary?
Comment on attachment 160365 [details] [diff] [review]
Add checks for LOCALE_HAS_DOMI and LOCALE_HAS_HELP in ab-CD.jst (take 2)

Review points taken into account.
Requesting review from bsmedberg for revised patch
Attachment #160365 - Flags: review?(bsmedberg)
Attachment #160365 - Flags: approval-aviary?
Attachment #160365 - Flags: review?(bsmedberg)
Attachment #160365 - Flags: review+
Attachment #160365 - Flags: approval-aviary?
Attachment #160365 - Flags: approval-aviary+
Fixed on branch, doesn't apply (yet) to the trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → installer
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: