Fix up a few things in open location: our product isn't called "Navigator", and we don't need to use string bundle anymore to set text of dialog buttons.

This commit is contained in:
blakeross%telocity.com 2004-02-20 02:22:23 +00:00
Родитель daccbcc82a
Коммит 3a6fb58d73
4 изменённых файлов: 5 добавлений и 9 удалений

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

@ -45,9 +45,6 @@ function onLoad()
dialog.openWhereList.selectedItem = dialog.openTopWindow;
// change OK button text to 'open'
dialog.open.label = dialog.bundle.getString("openButtonLabel");
if (pref) {
try {
var value = pref.getIntPref("general.open_location.last_window_choice");

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

@ -31,6 +31,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&caption.label;"
onload="onLoad()"
buttonlabelaccept="&openBtn.label;"
ondialogaccept="open()"
style="width: 40em;"
persist="screenX screenY"

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

@ -2,11 +2,10 @@
<!ENTITY enter.label "Enter the web location (URL), or specify the local file you would like to open:">
<!ENTITY chooseFile.label "Choose File...">
<!ENTITY newWindow.label "New Navigator window">
<!ENTITY newTab.label "New Navigator tab">
<!ENTITY topWindow.label "Current Navigator window">
<!ENTITY editNewWindow.label "New Composer window">
<!ENTITY cancel.label "Cancel">
<!ENTITY newWindow.label "New Window">
<!ENTITY newTab.label "New Tab">
<!ENTITY topWindow.label "Current Window">
<!ENTITY caption.label "Open Web Location">
<!ENTITY openWhere.label "Open in:">
<!ENTITY example.label "Example: &vendorURL;">
<!ENTITY openBtn.label "Open">

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

@ -1,2 +1 @@
openButtonLabel=Open
chooseFileDialogTitle=Choose File