Changeset 28113 in osm for applications/editors/josm/plugins/opendata/modules/be.bruxelles
- Timestamp:
- 2012-03-19T00:23:49+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/opendata/modules/be.bruxelles/src/org/openstreetmap/josm/plugins/opendata/modules/be/bruxelles/datasets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/be.bruxelles/src/org/openstreetmap/josm/plugins/opendata/modules/be/bruxelles/datasets/BruxellesDataSetHandler.java
r28000 r28113 18 18 import java.net.MalformedURLException; 19 19 import java.net.URL; 20 import java.util.Locale;21 20 22 import org.openstreetmap.josm.Main;23 21 import org.openstreetmap.josm.data.projection.Projection; 24 22 import org.openstreetmap.josm.plugins.opendata.core.datasets.be.BelgianDataSetHandler; 23 import org.openstreetmap.josm.plugins.opendata.core.util.OdUtils; 25 24 import org.openstreetmap.josm.plugins.opendata.modules.be.bruxelles.BruxellesConstants; 26 25 … … 70 69 public URL getLocalPortalURL() { 71 70 String basePortal = null; 72 String lang = Main.pref.get("language"); 73 if (lang == null || lang.isEmpty()) { 74 lang = Locale.getDefault().toString(); 75 } 71 String lang = OdUtils.getJosmLanguage(); 76 72 77 73 if (lang.startsWith("fr")) { -
applications/editors/josm/plugins/opendata/modules/be.bruxelles/src/org/openstreetmap/josm/plugins/opendata/modules/be/bruxelles/datasets/culture/BDHandler.java
r28000 r28113 7 7 public class BDHandler extends BruxellesDataSetHandler { 8 8 9 public BDHandler() { 10 getCsvHandler().setSeparator(","); 11 } 12 9 13 @Override 10 14 public boolean acceptsFilename(String filename) { … … 19 23 } 20 24 } 21 22 /* (non-Javadoc)23 * @see org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler#getCsvSeparator()24 */25 @Override26 public String getCsvSeparator() {27 return ",";28 }29 25 }
Note:
See TracChangeset
for help on using the changeset viewer.