fix bug 71695 - Buttons on delete profile dialog - all include 'yah'

r=timeless, a=ben
This commit is contained in:
maolson%earthlink.net 2001-03-13 06:35:49 +00:00
Родитель 78d4d66854
Коммит 16d1d1b8e3
2 изменённых файлов: 9 добавлений и 7 удалений

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

@ -1,16 +1,15 @@
var bundle = window.opener.bundle;
function Startup()
{
var bundle = document.getElementById("bundle_profileManager");
doSetOKCancel( onDontDeleteFiles, onCancel, onDeleteFiles, null );
var okButton = document.getElementById("ok");
var Button2 = document.getElementById("Button2");
var cancelButton = document.getElementById("cancel");
try {
okButton.setAttribute( "value", bundle.GetStringFromName("dontDeleteFiles") );
Button2.setAttribute( "value", bundle.GetStringFromName("deleteFiles") );
cancelButton.setAttribute( "value", bundle.GetStringFromName("cancel") );
okButton.setAttribute("value", bundle.getString("dontDeleteFiles"));
Button2.setAttribute("value", bundle.getString("deleteFiles"));
cancelButton.setAttribute("value", bundle.getString("cancel"));
} catch(e) {
okButton.setAttribute( "value", "Don't Delete Files Yah" );
Button2.setAttribute( "value", "Delete Files Yah" );
@ -35,4 +34,4 @@ function onDontDeleteFiles()
function onCancel()
{
window.close();
}
}

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

@ -20,7 +20,10 @@
title="&title;"
onload="Startup();">
<script language="javascript" src="chrome://communicator/content/profile/deleteProfile.js"></script>
<stringbundle id="bundle_profileManager"
src="chrome://communicator/locale/profile/profileManager.properties"/>
<script type="application/x-javascript"
src="chrome://communicator/content/profile/deleteProfile.js"/>
<keyset id="keyset"/>