Adding for international. Adding about str. name

This commit is contained in:
matt%netscape.com 2000-03-18 00:47:25 +00:00
Родитель 7e461f9d1d
Коммит ecc44e7bcc
2 изменённых файлов: 3 добавлений и 8 удалений

Просмотреть файл

@ -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/