Changeset 1755 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2009-07-09T10:53:33+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/WikiReader.java
r1512 r1755 8 8 9 9 import org.openstreetmap.josm.Main; 10 import org.openstreetmap.josm.tools.LanguageInfo; 10 11 11 12 /** … … 43 44 44 45 public String readLang(String text) { 45 String languageCode = Main.getLanguageCodeU();46 String languageCode = LanguageInfo.getLanguageCodeWiki(); 46 47 String url = baseurl + "/wiki/"+languageCode+text; 47 48 String res = ""; -
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r1440 r1755 21 21 import org.xml.sax.helpers.DefaultHandler; 22 22 23 import org.openstreetmap.josm. Main;23 import org.openstreetmap.josm.tools.LanguageInfo; 24 24 25 25 /** … … 30 30 public class XmlObjectParser implements Iterable<Object> { 31 31 32 public static final String lang = Main.getLanguageCode()+".";32 public static final String lang = LanguageInfo.getLanguageCodeXML(); 33 33 public static class Uniform<T> implements Iterable<T>{ 34 34 private Iterator<Object> iterator;
Note:
See TracChangeset
for help on using the changeset viewer.