Ignore:
Timestamp:
2008-10-23T18:15:37+02:00 (18 years ago)
Author:
stoecker
Message:

fixed a lot of the shortcut related translations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ShortcutPreference.java

    r1053 r1054  
    3535        // Maybe move this to prefPanel? There's no need for it to be here.
    3636        private class scListModel extends AbstractTableModel {
    37                 private String[] columnNames = new String[]{tr("ID"),tr("Action"), tr("Group"), tr("Shortcut")};
     37//              private String[] columnNames = new String[]{tr("Action"), tr("Shortcut"), tr("Group"), tr("ID")};
     38                private String[] columnNames = new String[]{tr("Action"), tr("Shortcut")};
    3839                private Collection<ShortCut> data;
    3940                public scListModel() {
     
    5253                        ShortCut sc = (ShortCut)data.toArray()[row];
    5354                        if (col == 0) {
    54                                 return sc.getShortText();
     55                                return sc.getLongText();
    5556                        } else if (col == 1) {
    56                                 return sc.getLongText();
    57                         } else if (col == 2) {
     57                                return sc.getKeyText();
     58                        } /*else if (col == 2) {
    5859                                if (sc.getRequestedGroup() == ShortCut.GROUP_NONE) {
    5960                                        return tr("None");
     
    7677                                }
    7778                        } else if (col == 3) {
    78                                 return sc.getKeyText();
    79                         } else {
     79                                return sc.getShortText();
     80                        } */else {
    8081                                // This is a kind of hack that allows the actions on the editing controls
    8182                                // to access the underlying shortcut object without introducing another
Note: See TracChangeset for help on using the changeset viewer.