mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 20:05:25 +00:00
Adding for international. Adding about str. name
This commit is contained in:
parent
7e461f9d1d
commit
ecc44e7bcc
@ -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()
|
||||
|
@ -1,3 +1,4 @@
|
||||
brandShortName=Mozilla
|
||||
vendorShortName=Mozilla
|
||||
releaseUrl=http://www.mozilla.org/projects/seamonkey/release-notes/
|
||||
aboutStrName=About Mozilla
|
||||
releaseUrl=http://www.mozilla.org/projects/seamonkey/release-notes/
|
||||
|
Loading…
Reference in New Issue
Block a user