[Project_owners] another i18n question

Nickolay Ponomarev asqueella at gmail.com
Tue May 9 00:45:03 EDT 2006


On 5/8/06, Eric H. Jung <eric.jung at yahoo.com> wrote:
> Hi,
>
> Given the following code:
>
> var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
>   .getService(Components.interfaces.nsIWindowMediator);
> var winEnum = wm.getEnumerator("navigator:browser");
>
> can I assume that "navigator:browser" does not need to be localized?
> And what about "parsererror" in this code:
>
> var req = new XMLHttpRequest();
> req.open("GET", "http://www.yahoo.com", false);
> req.send(null);
> var dom = req.responseXML;
> if (dom.documentElement.nodeName == "parsererror") {}
>
As you could guess, both strings are not user-visible, thus do not
need to be localized . They are similar to element IDs in browser
window in that.

Nickolay


More information about the Project_owners mailing list