Fix for bug 53511. Added the warning text and formatted the dialog to fit it correctly. r=ben a=ben

This commit is contained in:
dbragg%netscape.com 2000-09-22 03:17:52 +00:00
Родитель 137ef27382
Коммит 27957fb0f9
2 изменённых файлов: 9 добавлений и 3 удалений

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

@ -34,7 +34,8 @@ Contributor(s):
onload="onLoad()"
title="&dialog.title;"
class = "dialog"
align = "vertical"
orient = "vertical"
style = "max-width: 40em;"
>
<script src="chrome://communicator/content/xpinstall/institems.js"></script>
@ -51,6 +52,9 @@ Contributor(s):
<separator align="center" class="groove" flex="100%"/>
<spring id="verticalSmallSpacer"/>
<html>&warningText.label;</html>
<html>&warningText2.label;</html>
<separator/>
<text class="label" id="componentList" value="&componentList.label;"/>
<spring id="verticalSmallSpacer"/>
<spring id="verticalSmallSpacer"/>

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

@ -4,6 +4,8 @@
<!ENTITY dialogOk.label "Install">
<!ENTITY items.label "Items to Install">
<!ENTITY dialog.title "Software Installation">
<!ENTITY componentList.label "The following packages will be installed:">
<!ENTITY moduleName.label "Module name">
<!ENTITY warningText.label "A web site is requesting permission to install software on your machine.">
<!ENTITY warningText2.label "Software that contains malicious programming instructions could damage or otherwise compromise the contents of your computer. You should only install software from sites that you trust.">
<!ENTITY componentList.label "Would you like to install the following packages?">
<!ENTITY moduleName.label "Package name">
<!ENTITY moduleSource.label "Location">