Thanks much for your advice.
I'll update the patch and rever the .spec files.
fujiwara
Ginn Chen wrote:
>
> On Apr 11, 2008, at 1:39 PM, Takao Fujiwara wrote:
>
>> Ginn Chen wrote:
>>
>>> I think we don't need to introduce DEF_LOCALE, because in this
>>> patch DEF_LOCALE is either as same as AB_CD or as string "chrome://
>>> global/ locale/intl.properties".
>>> In firefox/browser/locales/en-US/firefox-l10n.js, we can just write
>>> +pref("general.useragent.locale", "chrome://global/locale/
>>> intl.properties");
>>
>>
>> I just thought some community might need AB_CD.
>> Do you think the mozilla HEAD source should have the hard-coded
>> "intl.properties" instead of "AB_CD"?
>
>
> I think so.
> AB-CD is used in locale packages.
> e.g. en-US.jar has locale/en-US/global/intl.properties
> it contains a line as
> general.useragent.locale=en-US
>
> So we can hardcode "intl.properties" in firefox-l10n.js.
>
> Ginn
>
>>
>> Actually I'm not sure the behavior on Linux and Windows so I'll
>> simply apply your suggestion.
>>
>> Thanks,
>> fujiwara
>
>
> --------
> Ginn Chen
> Software Engineer, Browser Team
> Sun Microsystems, Inc.
> Phone: x82869 / +86-10-62673869
> Fax: +86-10-62780969
>
>