Changeset 18408 in osm
- Timestamp:
- 2009-11-01T14:48:03+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
r18404 r18408 2 2 3 3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 import static org.openstreetmap.josm.tools.I18n.marktr; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 133 134 134 135 if (cadastreJMenu == null) { 135 cadastreJMenu = menu.addMenu(tr("Cadastre"), KeyEvent.VK_C, menu.defaultMenuPos, ht("/Plugin/CadastreFr")); 136 cadastreJMenu = menu.addMenu(marktr("Cadastre"), KeyEvent.VK_C, menu.defaultMenuPos, ht("/Plugin/CadastreFr")); 136 137 JosmAction grab = new MenuActionGrab(); 137 138 JMenuItem menuGrab = new JMenuItem(grab); -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ConflictResolver.java
r15585 r18408 65 65 66 66 // And finalize initializing the form. 67 setupDialog(mainPanel, new String[] {}); 67 setContent(mainPanel); 68 setupDialog(); 68 69 // TODO: Why does it always crash if the modality is set in constructor? 69 70 setModal(false); -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/HouseEditor.java
r15649 r18408 34 34 35 35 // And finalize initializing the form. 36 setupDialog(mainPanel, new String[] {"ok.png", "cancel.png"}); 36 setContent(mainPanel); 37 this.setButtonIcons(new String[] {"ok.png", "cancel.png"}); 38 setupDialog(); 37 39 } 38 40 -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/StreetEditor.java
r15649 r18408 45 45 46 46 // And finalize initializing the form. 47 setupDialog(mainPanel, new String[] {"ok.png", "cancel.png"}); 47 setContent(mainPanel); 48 this.setButtonIcons(new String[] {"ok.png", "cancel.png"}); 49 setupDialog(); 48 50 } 49 51 -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/SuburbEditor.java
r15649 r18408 53 53 54 54 // And finalize initializing the form. 55 setupDialog(mainPanel, new String[] {"ok.png", "cancel.png"}); 55 setContent(mainPanel); 56 this.setButtonIcons(new String[] {"ok.png", "cancel.png"}); 57 setupDialog(); 56 58 } 57 59 -
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java
r18404 r18408 2 2 3 3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 import static org.openstreetmap.josm.tools.I18n.marktr; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 98 99 { 99 100 MainMenu menu = Main.main.menu; 100 lgpsmenu = menu.addMenu(tr("LiveGPS"), KeyEvent.VK_G, menu.defaultMenuPos, ht("/Plugin/LiveGPS")); 101 lgpsmenu = menu.addMenu(marktr("LiveGPS"), KeyEvent.VK_G, menu.defaultMenuPos, ht("/Plugin/LiveGPS")); 101 102 102 103 JosmAction captureAction = new CaptureAction(); -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java
r18404 r18408 22 22 23 23 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 24 import static org.openstreetmap.josm.tools.I18n.tr; 24 import static org.openstreetmap.josm.tools.I18n.marktr; 25 25 26 26 import java.awt.event.KeyEvent; … … 60 60 // Create menu entry 61 61 if ( Main.main.menu != null ) { 62 m_menu = Main.main.menu.addMenu(tr("PicLayer") , KeyEvent.VK_I, Main.main.menu.defaultMenuPos, ht("/Plugin/PicLayer")); 62 m_menu = Main.main.menu.addMenu(marktr("PicLayer") , KeyEvent.VK_I, Main.main.menu.defaultMenuPos, ht("/Plugin/PicLayer")); 63 63 } 64 64 -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingMenu.java
r18404 r18408 29 29 30 30 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 31 import static org.openstreetmap.josm.tools.I18n.marktr; 31 32 import static org.openstreetmap.josm.tools.I18n.tr; 32 33 … … 74 75 public RoutingMenu() { 75 76 MainMenu mm = Main.main.menu; 76 menu = mm.addMenu(tr("Routing"), KeyEvent.VK_O, mm.defaultMenuPos, ht("/Plugin/Routing")); 77 menu = mm.addMenu(marktr("Routing"), KeyEvent.VK_O, mm.defaultMenuPos, ht("/Plugin/Routing")); 77 78 78 79 startMI = new JMenuItem(tr("Add routing layer")); -
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersPlugin.java
r18404 r18408 2 2 3 3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 import static org.openstreetmap.josm.tools.I18n.tr; 4 import static org.openstreetmap.josm.tools.I18n.marktr; 5 5 6 6 import java.awt.event.KeyEvent; … … 26 26 { 27 27 MainMenu menu = Main.main.menu; 28 walkingPapersMenu = menu.addMenu(tr("Walking Papers"), KeyEvent.VK_K, menu.defaultMenuPos, ht("/Plugin/WalkingPapers")); 28 walkingPapersMenu = menu.addMenu(marktr("Walking Papers"), KeyEvent.VK_K, menu.defaultMenuPos, ht("/Plugin/WalkingPapers")); 29 29 walkingPapersMenu.add(new JMenuItem(new WalkingPapersAddLayerAction())); 30 30 } -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java
r18404 r18408 2 2 3 3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 import static org.openstreetmap.josm.tools.I18n.marktr; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 169 170 170 171 if (wmsJMenu == null) 171 wmsJMenu = menu.addMenu(tr("WMS"), KeyEvent.VK_W, menu.defaultMenuPos, ht("/Plugin/WMS")); 172 wmsJMenu = menu.addMenu(marktr("WMS"), KeyEvent.VK_W, menu.defaultMenuPos, ht("/Plugin/WMS")); 172 173 else 173 174 wmsJMenu.removeAll();
Note:
See TracChangeset
for help on using the changeset viewer.