зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
daccbcc82a
Коммит
3a6fb58d73
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче