Fixing 'Set Home Page' dialog description issue.

This commit is contained in:
noririty%jcom.home.ne.jp 2003-08-06 14:54:47 +00:00
Родитель 587a4cd0c6
Коммит 1565876e67
2 изменённых файлов: 3 добавлений и 5 удалений

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

@ -1926,11 +1926,10 @@ function openHomeDialog(aURL)
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService); var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);
var promptTitle = gNavigatorBundle.getString("droponhometitle"); var promptTitle = gNavigatorBundle.getString("droponhometitle");
var promptMsg = gNavigatorBundle.getString("droponhomemsg"); var promptMsg = gNavigatorBundle.getString("droponhomemsg");
var okButton = gNavigatorBundle.getString("droponhomeokbutton");
var pressedVal = promptService.confirmEx(window, promptTitle, promptMsg, var pressedVal = promptService.confirmEx(window, promptTitle, promptMsg,
(promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_YES * promptService.BUTTON_POS_0) +
(promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1), (promptService.BUTTON_TITLE_NO * promptService.BUTTON_POS_1),
okButton, null, null, null, {value:0}); null, null, null, null, {value:0});
if (pressedVal == 0) { if (pressedVal == 0) {
try { try {

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

@ -7,7 +7,6 @@ defaultStatus=
droponhomebutton=Drop a link or file to make it your home page droponhomebutton=Drop a link or file to make it your home page
droponhometitle=Set Home Page droponhometitle=Set Home Page
droponhomemsg=Do you want this document to be your new home page? droponhomemsg=Do you want this document to be your new home page?
droponhomeokbutton=Set Home Page
jserror=An error has occurred on this page. Double click here for details. jserror=An error has occurred on this page. Double click here for details.