- Timestamp:
- 2009-01-21T18:03:58+01:00 (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/presets/presets.xml
r1245 r1318 103 103 <separator/> 104 104 <item name="Primary" icon="presets/way_primary.png"> 105 <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=primary"/> 105 106 <label text="Edit a Primary Road" /> 106 107 <space /> … … 135 136 </item> 136 137 <item name="Secondary" icon="presets/way_secondary.png"> 137 <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=secondary"/> 138 <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=secondary" 139 de:href="http://wiki.openstreetmap.org/wiki/DE:Tag:highway=secondary"/> 138 140 <label text="Edit a Secondary Road" /> 139 141 <space /> -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r1245 r1318 371 371 public String text; 372 372 public String locale_text; 373 public String locale_href; 373 374 374 375 @Override public void addToPanel(JPanel p, Collection<OsmPrimitive> sel) { … … 378 379 b.addActionListener(new ActionListener(){ 379 380 public void actionPerformed(ActionEvent e) { 380 OpenBrowser.displayUrl( href);381 OpenBrowser.displayUrl(locale_href != null ? locale_href : href); 381 382 } 382 383 });
Note:
See TracChangeset
for help on using the changeset viewer.