Closed
Bug 55011
Opened 24 years ago
Closed 24 years ago
We can't localize start page on messenger
Categories
(MailNews Core :: Localization, defect, P2)
MailNews Core
Localization
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: kazu, Assigned: nhottanscp)
References
Details
(Whiteboard: [rtm++] super reviewed)
Attachments
(2 files)
4.45 KB,
patch
|
Details | Diff | Splinter Review | |
5.34 KB,
patch
|
Details | Diff | Splinter Review |
We can modify start page on navigator by language pack because its URL is in chrome/navigator/navigator.properties. So we can localize start page by language pack. But we couldn't localize start page on messenger because its URL is in pref/mailnews.js/mailnews.start_page.url I think mailnews.js should not be modified be language pack. Please move mailnews.start_page.url from mailnews.js to messenger.properties.
Comment 2•24 years ago
|
||
mailnews.start_page.url resides in messenger-ns.properties. This file was inadvertantly left out of PR-3. See bug 2458.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•24 years ago
|
||
??? I'm reopening this problem. There isn't messenger-ns.properties in current mozilla. The resource of mailnews.start_page.url is in defaults/pref/mailnews.js. You SHOULD move this resource into chrome/*/locale/*/messenger/messenger.properties for localization works. chrome/*/locale/*/navigator/navigator.properties contains browser.startup.homepage. Do you understand? And bug 2458 has nothing to do with this problem.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 4•24 years ago
|
||
I'm sorry, I misunderstood. In bugscape 2458, a similar problem is discussed. I'm assigning this to nhotta. If this change is made, both problems will be resolved.
Assignee: amasri → nhotta
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•24 years ago
|
||
Assignee | ||
Comment 6•24 years ago
|
||
Tao, could you review this? We also need to change commercial files. Nominating for rtm, start up page has to be localizable.
Keywords: rtm
Assignee | ||
Comment 8•24 years ago
|
||
I found a problem, "Restore Default" does not work with the patch. Tao, is there equivalence of CopyDefaultCharPref for localized pref?
Assignee | ||
Comment 9•24 years ago
|
||
We need to add getDefaultLocalizedUnicharPref. Or do the redirection in the client JS code.
Comment 10•24 years ago
|
||
do you need to change anything in the /ns tree ?
Assignee | ||
Comment 11•24 years ago
|
||
See bugscape 2458 for the commercial changes.
Assignee | ||
Comment 14•24 years ago
|
||
Assignee | ||
Comment 15•24 years ago
|
||
In new patch, I added getDefaultLocalizedUnicharPref to nsIPref. And changed pref-mailnews.js to use it so it can restore the default value. Tao, could you review the changed part before I send it for super review? Also adding alecf to cc.
Comment 16•24 years ago
|
||
I thought I did; perhaps, I didn't commit it. -> peer review =tao.
Comment 17•24 years ago
|
||
sr=alecf
Assignee | ||
Updated•24 years ago
|
Whiteboard: [rtm+ need info] → [rtm+] super reviewed
Comment 18•24 years ago
|
||
PDT marking [rtm++]
Whiteboard: [rtm+] super reviewed → [rtm++] super reviewed
Assignee | ||
Comment 19•24 years ago
|
||
Checked in the patch to branch, will check in to trunk tomorrow.
Assignee | ||
Comment 20•24 years ago
|
||
Checked in to the trunk.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 21•24 years ago
|
||
** Checked with 10/30/2000 MN build & 10/27/2000 Mtrunk build ** The fix for this bug involved the folowing: 1. That the "mailnews.start_page.url" in mailnews.js and mailnews-ns.js be moved to a. locale/Lang-Region/messenger/messenger.properties b. locale/Lang-Region/messenger/messenger-ns.properties (a is used by Mozilla, b is used by NS6) 2. That the default page URL specified in 1a and 1b can be restored via "Edit | Preferences | Mail & Newsgroup | Mail Start Page" preference setting. You can use the "Restore" button when you have set the start page to something else first using the above preference setting. With the above builds (both NS6 and Mozilla for the Mtrunk build), the desired results mentioned in 1 and 2 above have been achieved. The pref item now resides in the 2 proprties files under the chrome directory and the Restore button works as intended. Marking the fix verified for both the NS6 branch and Mozilla Trunk builds.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•