diff --git a/suite/common/builtinURLs.js b/suite/common/builtinURLs.js index 53b7d787855..b5704623c72 100644 --- a/suite/common/builtinURLs.js +++ b/suite/common/builtinURLs.js @@ -84,7 +84,7 @@ function loadDS() gTitleArc = gRDFService.GetResource("http://home.netscape.com/NC-rdf#title"); gContentArc = gRDFService.GetResource("http://home.netscape.com/NC-rdf#content"); - var ds_uri = "chrome://global/locale/builtinURLs.rdf"; + var ds_uri = "chrome://global-region/locale/builtinURLs.rdf"; var url_ds = gRDFService.GetDataSource(ds_uri); // return nsIRDFDataSource if (!url_ds) { debug_dump("\n >>Can't get " + ds_uri + "<-\n"); @@ -93,7 +93,7 @@ function loadDS() if (url_ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).loaded) { - ds_uri = "chrome://global/locale/builtinURLs.rdf"; + ds_uri = "chrome://global-region/locale/builtinURLs.rdf"; gBuiltinUrlsDataSource = gRDFService.GetDataSource(ds_uri); // return nsIRDFDataSource gDataSourceLoaded = (gBuiltinUrlsDataSource != null); } diff --git a/suite/common/contents-region.rdf b/suite/common/contents-region.rdf new file mode 100644 index 00000000000..85fbcc0ff68 --- /dev/null +++ b/suite/common/contents-region.rdf @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/suite/common/utilityOverlay.js b/suite/common/utilityOverlay.js index 8aa8ab7880e..39b121c34e4 100644 --- a/suite/common/utilityOverlay.js +++ b/suite/common/utilityOverlay.js @@ -320,12 +320,13 @@ function helpMenuCreate() { //adding the brand string to the about var BrandBundle = srGetStrBundle("chrome://global/locale/brand.properties"); + var regionalBundle = srGetStrBundle("chrome://global-region/locale/region.properties"); var aboutStrName = BrandBundle.GetStringFromName("aboutStrName"); var aboutItem = document.getElementById( "releaseName" ); aboutItem.setAttribute("value", aboutStrName); //Adding the release url since it will change based on brand - var BrandRelUrl = BrandBundle.GetStringFromName("releaseUrl"); + var BrandRelUrl = regionalBundle.GetStringFromName("releaseUrl"); var relCommand = "openTopWin(\'" + BrandRelUrl + "\')"; var relItem = document.getElementById( "releaseUrl" ); relItem.setAttribute("oncommand", relCommand); diff --git a/suite/locales/generic/chrome/common-region/contents.rdf b/suite/locales/generic/chrome/common-region/contents.rdf new file mode 100644 index 00000000000..b2c0288bfba --- /dev/null +++ b/suite/locales/generic/chrome/common-region/contents.rdf @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + +