mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
fix bug 71695 - Buttons on delete profile dialog - all include 'yah'
r=timeless, a=ben
This commit is contained in:
parent
6af6ab8297
commit
f7c7a4d722
@ -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"/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user