Caret browser dialogue box is potentially confusing to new users
make the buttons be OK/Cancel instead of Yes/Cancel
patch by Andreas Kunz <durbacher@gmx.de> r=neil.parkwaycc.co.uk sr=alecf
This commit is contained in:
cbiesinger%web.de 2004-01-31 12:58:20 +00:00
Родитель 098d076ffd
Коммит 675ef7abb0
2 изменённых файлов: 2 добавлений и 4 удалений

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

@ -393,10 +393,9 @@
var buttonPressed = promptService.confirmEx(window, var buttonPressed = promptService.confirmEx(window,
this.mStrBundle.GetStringFromName('browsewithcaret.checkWindowTitle'), this.mStrBundle.GetStringFromName('browsewithcaret.checkWindowTitle'),
this.mStrBundle.GetStringFromName('browsewithcaret.checkLabel'), this.mStrBundle.GetStringFromName('browsewithcaret.checkLabel'),
(promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_OK * promptService.BUTTON_POS_0) +
(promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1), (promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1),
this.mStrBundle.GetStringFromName('browsewithcaret.checkButtonLabel'), null, null, null,
null, null,
this.mStrBundle.GetStringFromName('browsewithcaret.checkMsg'), this.mStrBundle.GetStringFromName('browsewithcaret.checkMsg'),
checkValue); checkValue);
if (buttonPressed != 0) if (buttonPressed != 0)

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

@ -3,4 +3,3 @@ tabs.untitled=(Untitled)
browsewithcaret.checkMsg=Do not show me this dialog box again. browsewithcaret.checkMsg=Do not show me this dialog box again.
browsewithcaret.checkWindowTitle=Caret Browsing browsewithcaret.checkWindowTitle=Caret Browsing
browsewithcaret.checkLabel=Pressing F7 turns Caret Browsing on or off. This feature places a moveable cursor in web pages, allowing you to select text with the keyboard. Do you want to turn Caret Browsing on? browsewithcaret.checkLabel=Pressing F7 turns Caret Browsing on or off. This feature places a moveable cursor in web pages, allowing you to select text with the keyboard. Do you want to turn Caret Browsing on?
browsewithcaret.checkButtonLabel=Yes