From ecc44e7bcc8610cba67b1b5fde737ef975f92d3e Mon Sep 17 00:00:00 2001 From: "matt%netscape.com" Date: Sat, 18 Mar 2000 00:47:25 +0000 Subject: [PATCH] Adding for international. Adding about str. name --- xpfe/global/resources/content/globalOverlay.js | 8 +------- xpfe/global/resources/locale/en-US/brand.properties | 3 ++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/xpfe/global/resources/content/globalOverlay.js b/xpfe/global/resources/content/globalOverlay.js index dbf6964c70a4..2f072e69258d 100644 --- a/xpfe/global/resources/content/globalOverlay.js +++ b/xpfe/global/resources/content/globalOverlay.js @@ -303,21 +303,15 @@ function helpMenuCreate() { //adding the brand string to the about var BrandBundle = srGetStrBundle("chrome://global/locale/brand.properties"); - dump(BrandBundle.GetStringFromName("brandShortName")); - var BrandName = BrandBundle.GetStringFromName("brandShortName"); + var aboutStrName = BrandBundle.GetStringFromName("aboutStrName"); var aboutItem = document.getElementById( "releaseName" ); - var aboutName = aboutItem.getAttribute("name"); - var aboutStrName = aboutName + " " + BrandName; aboutItem.setAttribute("value", aboutStrName); //Adding the release url since it will change based on brand var BrandRelUrl = BrandBundle.GetStringFromName("releaseUrl"); var relCommand = "openTopWin(\'" + BrandRelUrl + "\')"; - dump("\n" + relCommand + "\n"); var relItem = document.getElementById( "releaseUrl" ); - dump("\n" + relItem + "\n"); relItem.setAttribute("oncommand", relCommand); - //relItem.oncommand=relCommand; } function SendPage() diff --git a/xpfe/global/resources/locale/en-US/brand.properties b/xpfe/global/resources/locale/en-US/brand.properties index 6cde58091493..a3f087d36437 100644 --- a/xpfe/global/resources/locale/en-US/brand.properties +++ b/xpfe/global/resources/locale/en-US/brand.properties @@ -1,3 +1,4 @@ brandShortName=Mozilla vendorShortName=Mozilla -releaseUrl=http://www.mozilla.org/projects/seamonkey/release-notes/ \ No newline at end of file +aboutStrName=About Mozilla +releaseUrl=http://www.mozilla.org/projects/seamonkey/release-notes/