зеркало из https://github.com/mozilla/pjs.git
fix bug 71695 - Buttons on delete profile dialog - all include 'yah'
r=timeless, a=ben
This commit is contained in:
Родитель
78d4d66854
Коммит
16d1d1b8e3
|
@ -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" );
|
||||
|
|
|
@ -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"/>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче