< prev index next >
src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties
Print this page
rev 1479 : 7034259: [all] incorrect mnemonic keys in JCP automatic update advanced settings dialog.
Reviewed-by: yhuang
rev 1481 : 7040228: [zh_TW] extra (C) on cancel button on File Chooser dialog
Reviewed-by: yhuang
rev 1483 : 7038803: [CCJK] Incorrect mnemonic key (0) is displayed on cancel button on messagedialog of JOptionPane
Reviewed-by: yhuang
rev 1486 : 7093156: NLS Please change the mnemonic assignment system to avoid translation issue (Swing files)
Reviewed-by: rupashka, alexp
rev 1492 : 7032018: The file list in JFileChooser does not have an accessible name
Reviewed-by: rupashka, coffeys
rev 1582 : 8020708: NLS mnemonics missing in SwingSet2/JInternalFrame demo
Reviewed-by: malenkov, leonidr
rev 1584 : 8080628: No mnemonics on Open and Save buttons in JFileChooser
Reviewed-by: serb, alexsch
*** 13,73 ****
# support.
#
# MNEMONIC NOTE:
# Many of strings in this file are used by widgets that have a
# mnemonic, for example:
! # ColorChooser.rgbNameText=RGB
! # ColorChooser.rgbMnemonic=71
! # ColorChooser.rgbDisplayedMnemonicIndex=1
# Indicates that the tab in the ColorChooser for RGB colors will have
# the text 'RGB', further the mnemonic character will be 'g' and that
# a decoration will be provided under the 'G'. This will typically
# look like: RGB
# -
- # 71 corresponds to the decimal value of the VK constant defined
- # in java/awt/KeyEvent.java. VK_G is defined as:
- #
- # public static final int VK_G = 0x47;
- #
- # 0x47 is a hex number and needs to be converted to decimal.
- # A simple way to calculate this for a-z is to add 64 to the index of
- # the letter in the alphabet. As 'a' is in the 1st letter the mnemonic
- # for 'a' is 65, 'b' is 66...
- #
- # The xxDisplayedMnemonicIndex is used to indicate the index of the
- # character that should be underlined in the String, with 0
- # corresponding to the first character in the String.
#
# One important thing to remember is that the mnemonic MUST exist in
# the String, if it does not exist you should add text that makes it
# exist. This will typically take the form 'XXXX (M)' where M is the
# character for the mnemonic.
#
# @author Steve Wilson
############ FILE CHOOSER STRINGS #############
! FileChooser.fileDescriptionText=Generic File
! FileChooser.directoryDescriptionText=Directory
! FileChooser.newFolderErrorText=Error creating new folder
FileChooser.newFolderErrorSeparator= :
! FileChooser.renameErrorTitleText=Error Renaming File or Folder
! FileChooser.renameErrorText=Cannot rename {0}
! FileChooser.acceptAllFileFilterText=All Files
! FileChooser.cancelButtonText=Cancel
! FileChooser.cancelButtonMnemonic=67
! FileChooser.saveButtonText=Save
! FileChooser.saveButtonMnemonic=83
! FileChooser.openButtonText=Open
! FileChooser.openButtonMnemonic=79
! FileChooser.saveDialogTitleText=Save
! FileChooser.openDialogTitleText=Open
! FileChooser.updateButtonText=Update
! FileChooser.updateButtonMnemonic=85
! FileChooser.helpButtonText=Help
! FileChooser.helpButtonMnemonic=72
! FileChooser.directoryOpenButtonText=Open
! FileChooser.directoryOpenButtonMnemonic=79
# File Size Units
FileChooser.fileSizeKiloBytes={0} KB
FileChooser.fileSizeMegaBytes={0} MB
FileChooser.fileSizeGigaBytes={0} GB
--- 13,57 ----
# support.
#
# MNEMONIC NOTE:
# Many of strings in this file are used by widgets that have a
# mnemonic, for example:
! # ColorChooser.rgbNameTextAndMnemonic=R&GB
! #
# Indicates that the tab in the ColorChooser for RGB colors will have
# the text 'RGB', further the mnemonic character will be 'g' and that
# a decoration will be provided under the 'G'. This will typically
# look like: RGB
# -
#
# One important thing to remember is that the mnemonic MUST exist in
# the String, if it does not exist you should add text that makes it
# exist. This will typically take the form 'XXXX (M)' where M is the
# character for the mnemonic.
#
# @author Steve Wilson
############ FILE CHOOSER STRINGS #############
! FileChooser.fileDescription.textAndMnemonic=Generic File
! FileChooser.directoryDescription.textAndMnemonic=Directory
! FileChooser.newFolderError.textAndMnemonic=Error creating new folder
FileChooser.newFolderErrorSeparator= :
! FileChooser.newFolderParentDoesntExistTitle.textAndMnemonic=Unable to create folder
! FileChooser.newFolderParentDoesntExist.textAndMnemonic=Unable to create the folder.\n\nThe system cannot find the path specified.
! FileChooser.renameErrorTitle.textAndMnemonic=Error Renaming File or Folder
! FileChooser.renameError.textAndMnemonic=Cannot rename {0}
! FileChooser.renameErrorFileExists.textAndMnemonic=Cannot rename {0}: A file with the name you specified already exists. \
! Specify a different file name.
! FileChooser.acceptAllFileFilter.textAndMnemonic=All Files
! FileChooser.cancelButton.textAndMnemonic=Cancel
! FileChooser.saveButton.textAndMnemonic=Save
! FileChooser.openButton.textAndMnemonic=Open
! FileChooser.saveDialogTitle.textAndMnemonic=Save
! FileChooser.openDialogTitle.textAndMnemonic=Open
! FileChooser.updateButton.textAndMnemonic=&Update
! FileChooser.helpButton.textAndMnemonic=&Help
! FileChooser.directoryOpenButton.textAndMnemonic=Open
# File Size Units
FileChooser.fileSizeKiloBytes={0} KB
FileChooser.fileSizeMegaBytes={0} MB
FileChooser.fileSizeGigaBytes={0} GB
*** 78,209 ****
FileChooser.other.newFolder=NewFolder
FileChooser.other.newFolder.subsequent=NewFolder.{0}
## file chooser tooltips ###
! FileChooser.cancelButtonToolTipText=Abort file chooser dialog
! FileChooser.saveButtonToolTipText=Save selected file
! FileChooser.openButtonToolTipText=Open selected file
! FileChooser.updateButtonToolTipText=Update directory listing
! FileChooser.helpButtonToolTipText=FileChooser help
! FileChooser.directoryOpenButtonToolTipText=Open selected directory
############ COLOR CHOOSER STRINGS #############
! ColorChooser.previewText=Preview
! ColorChooser.okText=OK
! ColorChooser.cancelText=Cancel
! ColorChooser.resetText=Reset
! # VK_XXX constant for 'ColorChooser.resetText' button to make mnemonic
! ColorChooser.resetMnemonic=82
! ColorChooser.sampleText=Sample Text Sample Text
! ColorChooser.swatchesNameText=Swatches
! ColorChooser.swatchesMnemonic=83
! ColorChooser.swatchesDisplayedMnemonicIndex=0
! ColorChooser.swatchesRecentText=Recent:
! ColorChooser.hsbNameText=HSB
! # Each of the ColorChooser types can define a mnemonic, as a KeyEvent.VK_XXX
! # constant, and an index into the text to render the mnemonic as. The
! # mnemonic is xxxMnemonic and the index of the character to underline is
! # xxxDisplayedMnemonicIndex.
! ColorChooser.hsbMnemonic=72
! ColorChooser.hsbDisplayedMnemonicIndex=0
! ColorChooser.hsbHueText=H
! ColorChooser.hsbSaturationText=S
! ColorChooser.hsbBrightnessText=B
! ColorChooser.hsbRedText=R
! ColorChooser.hsbGreenText=G
! ColorChooser.hsbBlueText=B
! ColorChooser.rgbNameText=RGB
! ColorChooser.rgbMnemonic=71
! ColorChooser.rgbDisplayedMnemonicIndex=1
! ColorChooser.rgbRedText=Red
! ColorChooser.rgbRedMnemonic=68
! ColorChooser.rgbGreenText=Green
! ColorChooser.rgbGreenMnemonic=78
! ColorChooser.rgbBlueText=Blue
! ColorChooser.rgbBlueMnemonic=66
############ OPTION PANE STRINGS #############
- # Mnemonic keys correspond to KeyEvent.VK_XXX constant
# We only define mnemonics for YES/NO, but for completeness you can
# define mnemonics for any of the buttons.
! OptionPane.yesButtonText=Yes
! OptionPane.yesButtonMnemonic=89
! OptionPane.noButtonText=No
! OptionPane.noButtonMnemonic=78
! OptionPane.okButtonText=OK
! OptionPane.okButtonMnemonic=0
! OptionPane.cancelButtonText=Cancel
! OptionPane.cancelButtonMnemonic=0
! OptionPane.titleText=Select an Option
# Title for the dialog for the showInputDialog methods. Only used if
# the developer uses one of the variants that doesn't take a title.
! OptionPane.inputDialogTitle=Input
# Title for the dialog for the showMessageDialog methods. Only used if
# the developer uses one of the variants that doesn't take a title.
! OptionPane.messageDialogTitle=Message
############ Printing Dialog Strings ############
! PrintingDialog.titleProgressText=Printing
! PrintingDialog.titleAbortingText=Printing (Aborting)
! PrintingDialog.contentInitialText=Printing in progress...
# The following string will be formatted by a MessageFormat
# and {0} will be replaced by page number being printed
! PrintingDialog.contentProgressText=Printed page {0}...
! PrintingDialog.contentAbortingText=Printing aborting...
! PrintingDialog.abortButtonText=Abort
! PrintingDialog.abortButtonMnemonic=65
! PrintingDialog.abortButtonDisplayedMnemonicIndex=0
! PrintingDialog.abortButtonToolTipText=Abort Printing
############ Internal Frame Strings ############
InternalFrame.iconButtonToolTip=Minimize
InternalFrame.maxButtonToolTip=Maximize
InternalFrame.restoreButtonToolTip=Restore
InternalFrame.closeButtonToolTip=Close
############ Internal Frame Title Pane Strings ############
! InternalFrameTitlePane.restoreButtonText=Restore
! InternalFrameTitlePane.moveButtonText=Move
! InternalFrameTitlePane.sizeButtonText=Size
! InternalFrameTitlePane.minimizeButtonText=Minimize
! InternalFrameTitlePane.maximizeButtonText=Maximize
! InternalFrameTitlePane.closeButtonText=Close
############ Text strings #############
# Used for html forms
! FormView.submitButtonText=Submit Query
! FormView.resetButtonText=Reset
! FormView.browseFileButtonText=Browse...
############ Abstract Document Strings ############
! AbstractDocument.styleChangeText=style change
! AbstractDocument.additionText=addition
! AbstractDocument.deletionText=deletion
! AbstractDocument.undoText=Undo
! AbstractDocument.redoText=Redo
############ Abstract Button Strings ############
! AbstractButton.clickText=click
############ Abstract Undoable Edit Strings ############
! AbstractUndoableEdit.undoText=Undo
! AbstractUndoableEdit.redoText=Redo
############ Combo Box Strings ############
! ComboBox.togglePopupText=togglePopup
############ Progress Monitor Strings ############
! ProgressMonitor.progressText=Progress...
############ Split Pane Strings ############
! SplitPane.leftButtonText=left button
! SplitPane.rightButtonText=right button
# Used for Isindex
IsindexView.prompt=This is a searchable index. Enter search keywords:
############ InternalFrameTitlePane Strings ############
InternalFrameTitlePane.iconifyButtonAccessibleName=Iconify
--- 62,194 ----
FileChooser.other.newFolder=NewFolder
FileChooser.other.newFolder.subsequent=NewFolder.{0}
## file chooser tooltips ###
! FileChooser.cancelButtonToolTip.textAndMnemonic=Abort file chooser dialog
! FileChooser.saveButtonToolTip.textAndMnemonic=Save selected file
! FileChooser.openButtonToolTip.textAndMnemonic=Open selected file
! FileChooser.updateButtonToolTip.textAndMnemonic=Update directory listing
! FileChooser.helpButtonToolTip.textAndMnemonic=FileChooser help
! FileChooser.directoryOpenButtonToolTip.textAndMnemonic=Open selected directory
!
! FileChooser.filesListAccessibleName=Files List
! FileChooser.filesDetailsAccessibleName=Files Details
############ COLOR CHOOSER STRINGS #############
! ColorChooser.preview.textAndMnemonic=Preview
! ColorChooser.ok.textAndMnemonic=OK
! ColorChooser.cancel.textAndMnemonic=Cancel
! ColorChooser.reset.textAndMnemonic=&Reset
! ColorChooser.sample.textAndMnemonic=Sample Text Sample Text
! ColorChooser.swatches.textAndMnemonic=&Swatches
! ColorChooser.swatchesRecent.textAndMnemonic=Recent:
! ColorChooser.hsb.textAndMnemonic=&HSB
! ColorChooser.hsbHue.textAndMnemonic=H
! ColorChooser.hsbSaturation.textAndMnemonic=S
! ColorChooser.hsbBrightness.textAndMnemonic=B
! ColorChooser.hsbRed.textAndMnemonic=R
! ColorChooser.hsbGreen.textAndMnemonic=G
! ColorChooser.hsbBlue.textAndMnemonic=B
! ColorChooser.hsv.textAndMnemonic=&HSV
! ColorChooser.hsvHue.textAndMnemonic=Hue
! ColorChooser.hsvSaturation.textAndMnemonic=Saturation
! ColorChooser.hsvValue.textAndMnemonic=Value
! ColorChooser.hsvTransparency.textAndMnemonic=Transparency
! ColorChooser.hsl.textAndMnemonic=HS&L
! ColorChooser.hslHue.textAndMnemonic=Hue
! ColorChooser.hslSaturation.textAndMnemonic=Saturation
! ColorChooser.hslLightness.textAndMnemonic=Lightness
! ColorChooser.hslTransparency.textAndMnemonic=Transparency
! ColorChooser.rgb.textAndMnemonic=R&GB
! ColorChooser.rgbRed.textAndMnemonic=Re&d
! ColorChooser.rgbGreen.textAndMnemonic=Gree&n
! ColorChooser.rgbBlue.textAndMnemonic=&Blue
! ColorChooser.rgbAlpha.textAndMnemonic=Alpha
! ColorChooser.rgbHexCode.textAndMnemonic=&Color Code
! ColorChooser.cmyk.textAndMnemonic=C&MYK
! ColorChooser.cmykCyan.textAndMnemonic=Cyan
! ColorChooser.cmykMagenta.textAndMnemonic=Magenta
! ColorChooser.cmykYellow.textAndMnemonic=Yellow
! ColorChooser.cmykBlack.textAndMnemonic=Black
! ColorChooser.cmykAlpha.textAndMnemonic=Alpha
############ OPTION PANE STRINGS #############
# We only define mnemonics for YES/NO, but for completeness you can
# define mnemonics for any of the buttons.
! OptionPane.yesButton.textAndMnemonic=&Yes
! OptionPane.noButton.textAndMnemonic=&No
! OptionPane.okButton.textAndMnemonic=OK
! #OptionPane.okButtonMnemonic=0
! OptionPane.cancelButton.textAndMnemonic=Cancel
! #OptionPane.cancelButtonMnemonic=0
! OptionPane.title.textAndMnemonic=Select an Option
# Title for the dialog for the showInputDialog methods. Only used if
# the developer uses one of the variants that doesn't take a title.
! OptionPane.inputDialog.titleAndMnemonic=Input
# Title for the dialog for the showMessageDialog methods. Only used if
# the developer uses one of the variants that doesn't take a title.
! OptionPane.messageDialog.titleAndMnemonic=Message
############ Printing Dialog Strings ############
! PrintingDialog.titleProgress.textAndMnemonic=Printing
! PrintingDialog.titleAborting.textAndMnemonic=Printing (Aborting)
! PrintingDialog.contentInitial.textAndMnemonic=Printing in progress...
# The following string will be formatted by a MessageFormat
# and {0} will be replaced by page number being printed
! PrintingDialog.contentProgress.textAndMnemonic=Printed page {0}...
! PrintingDialog.contentAborting.textAndMnemonic=Printing aborting...
! PrintingDialog.abortButton.textAndMnemonic=&Abort
! PrintingDialog.abortButtonToolTip.textAndMnemonic=Abort Printing
############ Internal Frame Strings ############
InternalFrame.iconButtonToolTip=Minimize
InternalFrame.maxButtonToolTip=Maximize
InternalFrame.restoreButtonToolTip=Restore
InternalFrame.closeButtonToolTip=Close
############ Internal Frame Title Pane Strings ############
! InternalFrameTitlePane.restoreButton.textAndMnemonic=&Restore
! InternalFrameTitlePane.moveButton.textAndMnemonic=&Move
! InternalFrameTitlePane.sizeButton.textAndMnemonic=&Size
! InternalFrameTitlePane.minimizeButton.textAndMnemonic=Mi&nimize
! InternalFrameTitlePane.maximizeButton.textAndMnemonic=Ma&ximize
! InternalFrameTitlePane.closeButton.textAndMnemonic=&Close
############ Text strings #############
# Used for html forms
! FormView.submitButton.textAndMnemonic=Submit Query
! FormView.resetButton.textAndMnemonic=Reset
! FormView.browseFileButton.textAndMnemonic=Browse...
############ Abstract Document Strings ############
! AbstractDocument.styleChange.textAndMnemonic=style change
! AbstractDocument.addition.textAndMnemonic=addition
! AbstractDocument.deletion.textAndMnemonic=deletion
! AbstractDocument.undo.textAndMnemonic=Undo
! AbstractDocument.redo.textAndMnemonic=Redo
############ Abstract Button Strings ############
! AbstractButton.click.textAndMnemonic=click
############ Abstract Undoable Edit Strings ############
! AbstractUndoableEdit.undo.textAndMnemonic=Undo
! AbstractUndoableEdit.redo.textAndMnemonic=Redo
############ Combo Box Strings ############
! ComboBox.togglePopup.textAndMnemonic=togglePopup
############ Progress Monitor Strings ############
! ProgressMonitor.progress.textAndMnemonic=Progress...
############ Split Pane Strings ############
! SplitPane.leftButton.textAndMnemonic=left button
! SplitPane.rightButton.textAndMnemonic=right button
# Used for Isindex
IsindexView.prompt=This is a searchable index. Enter search keywords:
############ InternalFrameTitlePane Strings ############
InternalFrameTitlePane.iconifyButtonAccessibleName=Iconify
< prev index next >