зеркало из https://github.com/mozilla/gecko-dev.git
Adding for international. Adding about str. name
This commit is contained in:
Родитель
7e461f9d1d
Коммит
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/
|
||||
|
|
Загрузка…
Ссылка в новой задаче