4

我需要完全翻译JFileChooser 表单。我得到了所有的钥匙,除了:

  • 右键单击文件名时上下文菜单的“向上”。
  • 将鼠标悬停在桌面图标上时出现的描述

有人知道这些键的名称吗?

以防万一,这里是所有其他键的列表:

"FileChooser.lookInLabelText",
"FileChooser.lookInLabelMnemonic",
"FileChooser.fileNameLabelText",
"FileChooser.fileNameLabelMnemonic",
"FileChooser.filesOfTypeLabelText",
"FileChooser.filesOfTypeLabelMnemonic",
"FileChooser.upFolderToolTipText",
"FileChooser.upFolderAccessibleName",
"FileChooser.homeFolderToolTipText",
"FileChooser.homeFolderAccessibleName",
"FileChooser.newFolderToolTipText",
"FileChooser.newFolderAccessibleName",
"FileChooser.listViewButtonToolTipText",
"FileChooser.listViewButtonAccessibleName",
"FileChooser.detailsViewButtonToolTipText",
"FileChooser.detailsViewButtonAccessibleName",
"FileChooser.cancelButtonText",
"FileChooser.cancelButtonMnemonic",
"FileChooser.cancelButtonToolTipText",
"FileChooser.openButtonText",
"FileChooser.openButtonMnemonic",
"FileChooser.openButtonToolTipText",
"FileChooser.saveButtonText",
"FileChooser.saveButtonMnemonic",
"FileChooser.saveButtonToolTipText",
"FileChooser.acceptAllFileFilterText",
"FileChooser.openDialogTitleText",
"FileChooser.saveDialogTitleText",
"FileChooser.homeFolderToolTipText",
"FileChooser.newFolderAccessibleName",
"FileChooser.viewMenuLabelText",
"FileChooser.refreshActionLabelText",
"FileChooser.newFolderActionLabelText",
"FileChooser.goupFolderActionLabelText",
"FileChooser.listViewActionLabelText",
"FileChooser.detailsViewActionLabelText",
"FileChooser.foldersLabelText",
4

3 回答 3

2

我知道我回答这个问题有点晚了,但是任何仍在寻找手动翻译键的人:

"FileChooser.acceptAllFileFilterText",
"FileChooser.ancestorInputMap",
"FileChooser.byDateText",
"FileChooser.byNameText",
"FileChooser.cancelButtonMnemonic",
"FileChooser.cancelButtonText",
"FileChooser.chooseButtonText",
"FileChooser.createButtonText",
"FileChooser.desktopName",
"FileChooser.detailsViewIcon",
"FileChooser.directoryDescriptionText",
"FileChooser.directoryOpenButtonMnemonic",
"FileChooser.directoryOpenButtonText",
"FileChooser.fileDescriptionText",
"FileChooser.fileNameLabelMnemonic",
"FileChooser.fileNameLabelText",
"FileChooser.fileSizeGigaBytes",
"FileChooser.fileSizeKiloBytes",
"FileChooser.fileSizeMegaBytes",
"FileChooser.filesOfTypeLabelMnemonic",
"FileChooser.filesOfTypeLabelText",
"FileChooser.helpButtonMnemonic",
"FileChooser.helpButtonText",
"FileChooser.homeFolderIcon",
"FileChooser.listViewIcon",
"FileChooser.lookInLabelMnemonic",
"FileChooser.mac.newFolder",
"FileChooser.mac.newFolder.subsequent",
"FileChooser.newFolderAccessibleName",
"FileChooser.newFolderButtonText",
"FileChooser.newFolderErrorSeparator",
"FileChooser.newFolderErrorText",
"FileChooser.newFolderExistsErrorText",
"FileChooser.newFolderIcon",
"FileChooser.newFolderPromptText",
"FileChooser.newFolderTitleText",
"FileChooser.openButtonMnemonic"
"FileChooser.openButtonText",
"FileChooser.openDialogTitleText",
"FileChooser.openTitleText",
"FileChooser.readOnly",
"FileChooser.saveButtonMnemonic",
"FileChooser.saveButtonText",
"FileChooser.saveDialogFileNameLabelText",
"FileChooser.saveDialogTitleText",
"FileChooser.saveTitleText",
"FileChooser.untitledFileName",
"FileChooser.untitledFolderName",
"FileChooser.upFolderIcon",
"FileChooser.updateButtonMnemonic",
"FileChooser.updateButtonText",
"FileChooser.useSystemExtensionHiding",
"FileChooser.usesSingleFilePane"

这里是

于 2018-08-08T08:25:40.950 回答
0

FileChooser.viewMenuButtonToolTipText 丢失

于 2019-11-08T14:04:36.703 回答
-1

Can't you change the locale if it's available for the language you want?

Otherwise, you can look into internationalization.

于 2013-06-05T13:52:01.050 回答