Ignore:
Timestamp:
2009-07-09T10:53:33+02:00 (15 years ago)
Author:
stoecker
Message:

fixed build error due to slippy map change, i18n update, added pt_BR

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  
    88
    99import org.openstreetmap.josm.Main;
     10import org.openstreetmap.josm.tools.LanguageInfo;
    1011
    1112/**
     
    4344
    4445    public String readLang(String text) {
    45         String languageCode = Main.getLanguageCodeU();
     46        String languageCode = LanguageInfo.getLanguageCodeWiki();
    4647        String url = baseurl + "/wiki/"+languageCode+text;
    4748        String res = "";
  • trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java

    r1440 r1755  
    2121import org.xml.sax.helpers.DefaultHandler;
    2222
    23 import org.openstreetmap.josm.Main;
     23import org.openstreetmap.josm.tools.LanguageInfo;
    2424
    2525/**
     
    3030public class XmlObjectParser implements Iterable<Object> {
    3131
    32     public static final String lang = Main.getLanguageCode()+".";
     32    public static final String lang = LanguageInfo.getLanguageCodeXML();
    3333    public static class Uniform<T> implements Iterable<T>{
    3434        private Iterator<Object> iterator;
Note: See TracChangeset for help on using the changeset viewer.