JFileChooser翻译

时间:2013-06-05 13:44:44

标签: java localization translation jfilechooser

我需要翻译完全 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",

3 个答案:

答案 0 :(得分:1)

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

"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"

这里是Source

答案 1 :(得分:0)

缺少FileChooser.viewMenuButtonToolTipText

答案 2 :(得分:-1)

如果可以使用您想要的语言,则无法更改locale吗?

否则,您可以查看internationalization