Changeset 6159 in osm
- Timestamp:
- 2007-12-26T22:30:30+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorComponent.java
r4277 r6159 5 5 package at.dallermassl.josm.plugin.surveyor; 6 6 7 import static org.openstreetmap.josm.tools.I18n.tr; 7 8 import java.awt.BorderLayout; 8 9 import java.awt.Dimension; … … 103 104 104 105 public void addButton(ButtonDescription description) { 105 if(hotKeys.contains(description.getHotkey())) { 106 // <FIXXME date="23.06.2007" author="cdaller"> 107 // TODO if i18n is done 108 //JOptionPane.showMessageDialog(Main.parent, tr("Duplicate hotkey for button '{0}' - button will be ignored!",description.getLabel())); 109 JOptionPane.showMessageDialog(Main.parent, "Duplicate hotkey for button '" + description.getLabel() 110 + "' - button will be ignored!"); 111 // </FIXXME> 106 if(description.getHotkey() != "" && hotKeys.contains(description.getHotkey())) { 107 JOptionPane.showMessageDialog(Main.parent, tr("Duplicate hotkey for button '{0}' - button will be ignored!",description.getLabel())); 112 108 } else { 113 109 if(rows == 0 && columns == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.