Index: /trunk/presets/presets.xml
===================================================================
--- /trunk/presets/presets.xml (revision 1317)
+++ /trunk/presets/presets.xml (revision 1318)
@@ -103,4 +103,5 @@
-
+
@@ -135,5 +136,6 @@
-
-
+
Index: /trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java (revision 1317)
+++ /trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java (revision 1318)
@@ -371,4 +371,5 @@
public String text;
public String locale_text;
+ public String locale_href;
@Override public void addToPanel(JPanel p, Collection sel) {
@@ -378,5 +379,5 @@
b.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e) {
- OpenBrowser.displayUrl(href);
+ OpenBrowser.displayUrl(locale_href != null ? locale_href : href);
}
});