mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
i18n for a link in keymap selector
GitOrigin-RevId: 85cf97187c158280936fa33eb1c4c64787eea467
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c7f2007a99
commit
a905856a47
@@ -76,12 +76,6 @@ final class KeymapSelector extends SimpleSchemesPanel<KeymapScheme> {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected String getSchemeTypeName() {
|
||||
return "Keymap";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
protected AbstractSchemeActions<KeymapScheme> createSchemeActions() {
|
||||
@@ -122,7 +116,8 @@ final class KeymapSelector extends SimpleSchemesPanel<KeymapScheme> {
|
||||
|
||||
@Override
|
||||
protected JComponent createTopComponent() {
|
||||
SwingActionLink link = new SwingActionLink(new AbstractAction("Get more keymaps in " + ShowSettingsUtil.getSettingsMenuName() + " | Plugins") {
|
||||
SwingActionLink link = new SwingActionLink(new AbstractAction(
|
||||
KeyMapBundle.message("link.get.more.keymaps.in.0.plugins", ShowSettingsUtil.getSettingsMenuName())) {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Settings settings = Settings.KEY.getData(DataManager.getInstance().getDataContext((SwingActionLink)e.getSource()));
|
||||
|
||||
@@ -108,3 +108,4 @@ keymap.patch.dialog.message=Use Ctrl+Y to Redo or to Delete Line?\n\nThis behavi
|
||||
keymap.patch.dialog.redo.option=Redo
|
||||
keymap.patch.dialog.delete.line.option=Delete Line
|
||||
keymap.patch.dialog.cancel.option=Cancel
|
||||
link.get.more.keymaps.in.0.plugins=Get more keymaps in {0} | Plugins
|
||||
|
||||
Reference in New Issue
Block a user