< 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
   1 # This properties file is used to create a PropertyResourceBundle
   2 # It contains Locale specific strings used in Swing
   3 # Currently, the following components need this for support:
   4 #
   5 #    ColorChooser
   6 #    FileChooser
   7 #    OptionPane
   8 #
   9 # When this file is read in, the strings are put into the 
  10 # defaults table.  This is an implementation detail of the current
  11 # workings of Swing.  DO NOT DEPEND ON THIS.  
  12 # This may change in future versions of Swing as we improve localization 
  13 # support.
  14 #
  15 #                        MNEMONIC NOTE:
  16 # Many of strings in this file are used by widgets that have a
  17 # mnemonic, for example:
  18 #   ColorChooser.rgbNameText=RGB
  19 #   ColorChooser.rgbMnemonic=71
  20 #   ColorChooser.rgbDisplayedMnemonicIndex=1
  21 # Indicates that the tab in the ColorChooser for RGB colors will have
  22 # the text 'RGB', further the mnemonic character will be 'g' and that
  23 # a decoration will be provided under the 'G'. This will typically
  24 # look like:  RGB
  25 #              -
  26 # 71 corresponds to the decimal value of the VK constant defined
  27 # in java/awt/KeyEvent.java. VK_G is defined as:
  28 #
  29 #    public static final int VK_G              = 0x47;
  30 #
  31 # 0x47 is a hex number and needs to be converted to decimal.
  32 # A simple way to calculate this for a-z is to add 64 to the index of
  33 # the letter in the alphabet. As 'a' is in the 1st letter the mnemonic
  34 # for 'a' is 65, 'b' is 66...
  35 #
  36 # The xxDisplayedMnemonicIndex is used to indicate the index of the
  37 # character that should be underlined in the String, with 0
  38 # corresponding to the first character in the String.
  39 #
  40 # One important thing to remember is that the mnemonic MUST exist in
  41 # the String, if it does not exist you should add text that makes it
  42 # exist. This will typically take the form 'XXXX (M)' where M is the
  43 # character for the mnemonic.
  44 # 
  45 # @author Steve Wilson
  46 
  47 ############ FILE CHOOSER STRINGS #############
  48 FileChooser.fileDescriptionText=Generic File
  49 FileChooser.directoryDescriptionText=Directory
  50 FileChooser.newFolderErrorText=Error creating new folder
  51 FileChooser.newFolderErrorSeparator= : 
  52 FileChooser.renameErrorTitleText=Error Renaming File or Folder
  53 FileChooser.renameErrorText=Cannot rename {0}
  54 FileChooser.acceptAllFileFilterText=All Files
  55 FileChooser.cancelButtonText=Cancel
  56 FileChooser.cancelButtonMnemonic=67
  57 FileChooser.saveButtonText=Save
  58 FileChooser.saveButtonMnemonic=83
  59 FileChooser.openButtonText=Open
  60 FileChooser.openButtonMnemonic=79
  61 FileChooser.saveDialogTitleText=Save
  62 FileChooser.openDialogTitleText=Open
  63 FileChooser.updateButtonText=Update
  64 FileChooser.updateButtonMnemonic=85
  65 FileChooser.helpButtonText=Help
  66 FileChooser.helpButtonMnemonic=72
  67 FileChooser.directoryOpenButtonText=Open
  68 FileChooser.directoryOpenButtonMnemonic=79
  69 
  70 # File Size Units
  71 FileChooser.fileSizeKiloBytes={0} KB
  72 FileChooser.fileSizeMegaBytes={0} MB
  73 FileChooser.fileSizeGigaBytes={0} GB
  74 
  75 # These strings are platform dependent not look and feel dependent.
  76 FileChooser.win32.newFolder=New Folder
  77 FileChooser.win32.newFolder.subsequent=New Folder ({0})
  78 FileChooser.other.newFolder=NewFolder
  79 FileChooser.other.newFolder.subsequent=NewFolder.{0}
  80 
  81 
  82 ## file chooser tooltips ###
  83 FileChooser.cancelButtonToolTipText=Abort file chooser dialog
  84 FileChooser.saveButtonToolTipText=Save selected file
  85 FileChooser.openButtonToolTipText=Open selected file
  86 FileChooser.updateButtonToolTipText=Update directory listing
  87 FileChooser.helpButtonToolTipText=FileChooser help
  88 FileChooser.directoryOpenButtonToolTipText=Open selected directory



  89 
  90 ############ COLOR CHOOSER STRINGS #############
  91 ColorChooser.previewText=Preview
  92 ColorChooser.okText=OK
  93 ColorChooser.cancelText=Cancel
  94 ColorChooser.resetText=Reset
  95 # VK_XXX constant for 'ColorChooser.resetText' button to make mnemonic
  96 ColorChooser.resetMnemonic=82
  97 ColorChooser.sampleText=Sample Text  Sample Text
  98 ColorChooser.swatchesNameText=Swatches
  99 ColorChooser.swatchesMnemonic=83
 100 ColorChooser.swatchesDisplayedMnemonicIndex=0
 101 ColorChooser.swatchesRecentText=Recent:
 102 ColorChooser.hsbNameText=HSB
 103 # Each of the ColorChooser types can define a mnemonic, as a KeyEvent.VK_XXX
 104 # constant, and an index into the text to render the mnemonic as. The
 105 # mnemonic is xxxMnemonic and the index of the character to underline is
 106 # xxxDisplayedMnemonicIndex.
 107 ColorChooser.hsbMnemonic=72
 108 ColorChooser.hsbDisplayedMnemonicIndex=0
 109 ColorChooser.hsbHueText=H
 110 ColorChooser.hsbSaturationText=S
 111 ColorChooser.hsbBrightnessText=B
 112 ColorChooser.hsbRedText=R
 113 ColorChooser.hsbGreenText=G
 114 ColorChooser.hsbBlueText=B
 115 ColorChooser.rgbNameText=RGB
 116 ColorChooser.rgbMnemonic=71
 117 ColorChooser.rgbDisplayedMnemonicIndex=1
 118 ColorChooser.rgbRedText=Red
 119 ColorChooser.rgbRedMnemonic=68
 120 ColorChooser.rgbGreenText=Green
 121 ColorChooser.rgbGreenMnemonic=78
 122 ColorChooser.rgbBlueText=Blue
 123 ColorChooser.rgbBlueMnemonic=66



 124 
 125 ############ OPTION PANE STRINGS #############
 126 # Mnemonic keys correspond to KeyEvent.VK_XXX constant
 127 # We only define mnemonics for YES/NO, but for completeness you can
 128 # define mnemonics for any of the buttons.
 129 OptionPane.yesButtonText=Yes
 130 OptionPane.yesButtonMnemonic=89
 131 OptionPane.noButtonText=No
 132 OptionPane.noButtonMnemonic=78
 133 OptionPane.okButtonText=OK
 134 OptionPane.okButtonMnemonic=0
 135 OptionPane.cancelButtonText=Cancel
 136 OptionPane.cancelButtonMnemonic=0
 137 OptionPane.titleText=Select an Option
 138 # Title for the dialog for the showInputDialog methods. Only used if
 139 # the developer uses one of the variants that doesn't take a title.
 140 OptionPane.inputDialogTitle=Input
 141 # Title for the dialog for the showMessageDialog methods. Only used if
 142 # the developer uses one of the variants that doesn't take a title.
 143 OptionPane.messageDialogTitle=Message
 144 
 145 ############ Printing Dialog Strings ############
 146 PrintingDialog.titleProgressText=Printing
 147 PrintingDialog.titleAbortingText=Printing (Aborting)
 148 
 149 PrintingDialog.contentInitialText=Printing in progress...
 150 
 151 # The following string will be formatted by a MessageFormat
 152 # and {0} will be replaced by page number being printed
 153 PrintingDialog.contentProgressText=Printed page {0}...
 154 
 155 PrintingDialog.contentAbortingText=Printing aborting...
 156 
 157 PrintingDialog.abortButtonText=Abort
 158 PrintingDialog.abortButtonMnemonic=65
 159 PrintingDialog.abortButtonDisplayedMnemonicIndex=0
 160 PrintingDialog.abortButtonToolTipText=Abort Printing
 161 
 162 ############ Internal Frame Strings ############
 163 InternalFrame.iconButtonToolTip=Minimize
 164 InternalFrame.maxButtonToolTip=Maximize
 165 InternalFrame.restoreButtonToolTip=Restore
 166 InternalFrame.closeButtonToolTip=Close
 167 
 168 ############ Internal Frame Title Pane Strings ############
 169 InternalFrameTitlePane.restoreButtonText=Restore
 170 InternalFrameTitlePane.moveButtonText=Move
 171 InternalFrameTitlePane.sizeButtonText=Size
 172 InternalFrameTitlePane.minimizeButtonText=Minimize
 173 InternalFrameTitlePane.maximizeButtonText=Maximize
 174 InternalFrameTitlePane.closeButtonText=Close
 175 
 176 ############ Text strings #############
 177 # Used for html forms
 178 FormView.submitButtonText=Submit Query
 179 FormView.resetButtonText=Reset
 180 FormView.browseFileButtonText=Browse...
 181 
 182 ############ Abstract Document Strings ############
 183 AbstractDocument.styleChangeText=style change
 184 AbstractDocument.additionText=addition
 185 AbstractDocument.deletionText=deletion
 186 AbstractDocument.undoText=Undo
 187 AbstractDocument.redoText=Redo
 188 
 189 ############ Abstract Button Strings ############
 190 AbstractButton.clickText=click
 191 
 192 ############ Abstract Undoable Edit Strings ############
 193 AbstractUndoableEdit.undoText=Undo
 194 AbstractUndoableEdit.redoText=Redo
 195 
 196 ############ Combo Box Strings ############
 197 ComboBox.togglePopupText=togglePopup
 198 
 199 ############ Progress Monitor Strings ############
 200 ProgressMonitor.progressText=Progress...
 201 
 202 ############ Split Pane Strings ############
 203 SplitPane.leftButtonText=left button
 204 SplitPane.rightButtonText=right button
 205 # Used for Isindex
 206 IsindexView.prompt=This is a searchable index.  Enter search keywords:
 207 
 208 ############ InternalFrameTitlePane Strings ############
 209 InternalFrameTitlePane.iconifyButtonAccessibleName=Iconify
 210 InternalFrameTitlePane.maximizeButtonAccessibleName=Maximize
 211 InternalFrameTitlePane.closeButtonAccessibleName=Close
   1 # This properties file is used to create a PropertyResourceBundle
   2 # It contains Locale specific strings used in Swing
   3 # Currently, the following components need this for support:
   4 #
   5 #    ColorChooser
   6 #    FileChooser
   7 #    OptionPane
   8 #
   9 # When this file is read in, the strings are put into the
  10 # defaults table.  This is an implementation detail of the current
  11 # workings of Swing.  DO NOT DEPEND ON THIS.
  12 # This may change in future versions of Swing as we improve localization
  13 # support.
  14 #
  15 #                        MNEMONIC NOTE:
  16 # Many of strings in this file are used by widgets that have a
  17 # mnemonic, for example:
  18 #   ColorChooser.rgbNameTextAndMnemonic=R&GB
  19 #

  20 # Indicates that the tab in the ColorChooser for RGB colors will have
  21 # the text 'RGB', further the mnemonic character will be 'g' and that
  22 # a decoration will be provided under the 'G'. This will typically
  23 # look like:  RGB
  24 #              -













  25 #
  26 # One important thing to remember is that the mnemonic MUST exist in
  27 # the String, if it does not exist you should add text that makes it
  28 # exist. This will typically take the form 'XXXX (M)' where M is the
  29 # character for the mnemonic.
  30 #
  31 # @author Steve Wilson
  32 
  33 ############ FILE CHOOSER STRINGS #############
  34 FileChooser.fileDescription.textAndMnemonic=Generic File
  35 FileChooser.directoryDescription.textAndMnemonic=Directory
  36 FileChooser.newFolderError.textAndMnemonic=Error creating new folder
  37 FileChooser.newFolderErrorSeparator= :
  38 FileChooser.newFolderParentDoesntExistTitle.textAndMnemonic=Unable to create folder
  39 FileChooser.newFolderParentDoesntExist.textAndMnemonic=Unable to create the folder.\n\nThe system cannot find the path specified.
  40 FileChooser.renameErrorTitle.textAndMnemonic=Error Renaming File or Folder
  41 FileChooser.renameError.textAndMnemonic=Cannot rename {0}
  42 FileChooser.renameErrorFileExists.textAndMnemonic=Cannot rename {0}: A file with the name you specified already exists. \
  43   Specify a different file name.
  44 FileChooser.acceptAllFileFilter.textAndMnemonic=All Files
  45 FileChooser.cancelButton.textAndMnemonic=Cancel
  46 FileChooser.saveButton.textAndMnemonic=Save
  47 FileChooser.openButton.textAndMnemonic=Open
  48 FileChooser.saveDialogTitle.textAndMnemonic=Save
  49 FileChooser.openDialogTitle.textAndMnemonic=Open
  50 FileChooser.updateButton.textAndMnemonic=&Update
  51 FileChooser.helpButton.textAndMnemonic=&Help
  52 FileChooser.directoryOpenButton.textAndMnemonic=Open


  53 
  54 # File Size Units
  55 FileChooser.fileSizeKiloBytes={0} KB
  56 FileChooser.fileSizeMegaBytes={0} MB
  57 FileChooser.fileSizeGigaBytes={0} GB
  58 
  59 # These strings are platform dependent not look and feel dependent.
  60 FileChooser.win32.newFolder=New Folder
  61 FileChooser.win32.newFolder.subsequent=New Folder ({0})
  62 FileChooser.other.newFolder=NewFolder
  63 FileChooser.other.newFolder.subsequent=NewFolder.{0}
  64 
  65 
  66 ## file chooser tooltips ###
  67 FileChooser.cancelButtonToolTip.textAndMnemonic=Abort file chooser dialog
  68 FileChooser.saveButtonToolTip.textAndMnemonic=Save selected file
  69 FileChooser.openButtonToolTip.textAndMnemonic=Open selected file
  70 FileChooser.updateButtonToolTip.textAndMnemonic=Update directory listing
  71 FileChooser.helpButtonToolTip.textAndMnemonic=FileChooser help
  72 FileChooser.directoryOpenButtonToolTip.textAndMnemonic=Open selected directory
  73 
  74 FileChooser.filesListAccessibleName=Files List
  75 FileChooser.filesDetailsAccessibleName=Files Details
  76 
  77 ############ COLOR CHOOSER STRINGS #############
  78 ColorChooser.preview.textAndMnemonic=Preview
  79 ColorChooser.ok.textAndMnemonic=OK
  80 ColorChooser.cancel.textAndMnemonic=Cancel
  81 ColorChooser.reset.textAndMnemonic=&Reset
  82 ColorChooser.sample.textAndMnemonic=Sample Text  Sample Text
  83 ColorChooser.swatches.textAndMnemonic=&Swatches
  84 ColorChooser.swatchesRecent.textAndMnemonic=Recent:
  85 ColorChooser.hsb.textAndMnemonic=&HSB
  86 ColorChooser.hsbHue.textAndMnemonic=H
  87 ColorChooser.hsbSaturation.textAndMnemonic=S
  88 ColorChooser.hsbBrightness.textAndMnemonic=B
  89 ColorChooser.hsbRed.textAndMnemonic=R
  90 ColorChooser.hsbGreen.textAndMnemonic=G
  91 ColorChooser.hsbBlue.textAndMnemonic=B
  92 ColorChooser.hsv.textAndMnemonic=&HSV
  93 ColorChooser.hsvHue.textAndMnemonic=Hue
  94 ColorChooser.hsvSaturation.textAndMnemonic=Saturation
  95 ColorChooser.hsvValue.textAndMnemonic=Value
  96 ColorChooser.hsvTransparency.textAndMnemonic=Transparency
  97 ColorChooser.hsl.textAndMnemonic=HS&L
  98 ColorChooser.hslHue.textAndMnemonic=Hue
  99 ColorChooser.hslSaturation.textAndMnemonic=Saturation
 100 ColorChooser.hslLightness.textAndMnemonic=Lightness
 101 ColorChooser.hslTransparency.textAndMnemonic=Transparency
 102 ColorChooser.rgb.textAndMnemonic=R&GB
 103 ColorChooser.rgbRed.textAndMnemonic=Re&d
 104 ColorChooser.rgbGreen.textAndMnemonic=Gree&n
 105 ColorChooser.rgbBlue.textAndMnemonic=&Blue
 106 ColorChooser.rgbAlpha.textAndMnemonic=Alpha
 107 ColorChooser.rgbHexCode.textAndMnemonic=&Color Code
 108 ColorChooser.cmyk.textAndMnemonic=C&MYK
 109 ColorChooser.cmykCyan.textAndMnemonic=Cyan
 110 ColorChooser.cmykMagenta.textAndMnemonic=Magenta
 111 ColorChooser.cmykYellow.textAndMnemonic=Yellow
 112 ColorChooser.cmykBlack.textAndMnemonic=Black
 113 ColorChooser.cmykAlpha.textAndMnemonic=Alpha
 114 
 115 ############ OPTION PANE STRINGS #############

 116 # We only define mnemonics for YES/NO, but for completeness you can
 117 # define mnemonics for any of the buttons.
 118 OptionPane.yesButton.textAndMnemonic=&Yes
 119 OptionPane.noButton.textAndMnemonic=&No
 120 OptionPane.okButton.textAndMnemonic=OK
 121 #OptionPane.okButtonMnemonic=0
 122 OptionPane.cancelButton.textAndMnemonic=Cancel
 123 #OptionPane.cancelButtonMnemonic=0
 124 OptionPane.title.textAndMnemonic=Select an Option


 125 # Title for the dialog for the showInputDialog methods. Only used if
 126 # the developer uses one of the variants that doesn't take a title.
 127 OptionPane.inputDialog.titleAndMnemonic=Input
 128 # Title for the dialog for the showMessageDialog methods. Only used if
 129 # the developer uses one of the variants that doesn't take a title.
 130 OptionPane.messageDialog.titleAndMnemonic=Message
 131 
 132 ############ Printing Dialog Strings ############
 133 PrintingDialog.titleProgress.textAndMnemonic=Printing
 134 PrintingDialog.titleAborting.textAndMnemonic=Printing (Aborting)
 135 
 136 PrintingDialog.contentInitial.textAndMnemonic=Printing in progress...
 137 
 138 # The following string will be formatted by a MessageFormat
 139 # and {0} will be replaced by page number being printed
 140 PrintingDialog.contentProgress.textAndMnemonic=Printed page {0}...
 141 
 142 PrintingDialog.contentAborting.textAndMnemonic=Printing aborting...
 143 
 144 PrintingDialog.abortButton.textAndMnemonic=&Abort
 145 PrintingDialog.abortButtonToolTip.textAndMnemonic=Abort Printing


 146 
 147 ############ Internal Frame Strings ############
 148 InternalFrame.iconButtonToolTip=Minimize
 149 InternalFrame.maxButtonToolTip=Maximize
 150 InternalFrame.restoreButtonToolTip=Restore
 151 InternalFrame.closeButtonToolTip=Close
 152 
 153 ############ Internal Frame Title Pane Strings ############
 154 InternalFrameTitlePane.restoreButton.textAndMnemonic=&Restore
 155 InternalFrameTitlePane.moveButton.textAndMnemonic=&Move
 156 InternalFrameTitlePane.sizeButton.textAndMnemonic=&Size
 157 InternalFrameTitlePane.minimizeButton.textAndMnemonic=Mi&nimize
 158 InternalFrameTitlePane.maximizeButton.textAndMnemonic=Ma&ximize
 159 InternalFrameTitlePane.closeButton.textAndMnemonic=&Close
 160 
 161 ############ Text strings #############
 162 # Used for html forms
 163 FormView.submitButton.textAndMnemonic=Submit Query
 164 FormView.resetButton.textAndMnemonic=Reset
 165 FormView.browseFileButton.textAndMnemonic=Browse...
 166 
 167 ############ Abstract Document Strings ############
 168 AbstractDocument.styleChange.textAndMnemonic=style change
 169 AbstractDocument.addition.textAndMnemonic=addition
 170 AbstractDocument.deletion.textAndMnemonic=deletion
 171 AbstractDocument.undo.textAndMnemonic=Undo
 172 AbstractDocument.redo.textAndMnemonic=Redo
 173 
 174 ############ Abstract Button Strings ############
 175 AbstractButton.click.textAndMnemonic=click
 176 
 177 ############ Abstract Undoable Edit Strings ############
 178 AbstractUndoableEdit.undo.textAndMnemonic=Undo
 179 AbstractUndoableEdit.redo.textAndMnemonic=Redo
 180 
 181 ############ Combo Box Strings ############
 182 ComboBox.togglePopup.textAndMnemonic=togglePopup
 183 
 184 ############ Progress Monitor Strings ############
 185 ProgressMonitor.progress.textAndMnemonic=Progress...
 186 
 187 ############ Split Pane Strings ############
 188 SplitPane.leftButton.textAndMnemonic=left button
 189 SplitPane.rightButton.textAndMnemonic=right button
 190 # Used for Isindex
 191 IsindexView.prompt=This is a searchable index.  Enter search keywords:
 192 
 193 ############ InternalFrameTitlePane Strings ############
 194 InternalFrameTitlePane.iconifyButtonAccessibleName=Iconify
 195 InternalFrameTitlePane.maximizeButtonAccessibleName=Maximize
 196 InternalFrameTitlePane.closeButtonAccessibleName=Close
< prev index next >