Ignore:
Timestamp:
22.12.2008 23:20:11 (3 years ago)
Author:
stoecker
Message:

cleanup language code handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java

    r824 r1163  
    11// License: GPL. Copyright 2007 by Immanuel Scholz and others 
    22package org.openstreetmap.josm.tools; 
    3  
    4 import static org.openstreetmap.josm.tools.I18n.tr; 
    53 
    64import java.io.Reader; 
     
    2321import org.xml.sax.helpers.DefaultHandler; 
    2422 
     23import org.openstreetmap.josm.Main; 
     24 
    2525/** 
    2626 * An helper class that reads from a XML stream into specific objects. 
     
    3030public class XmlObjectParser implements Iterable<Object> { 
    3131 
    32         public static final String lang = tr("En:").toLowerCase(); 
     32        public static final String lang = Main.getLanguageCode(); 
    3333        public static class Uniform<T> implements Iterable<T>{ 
    3434                private Iterator<Object> iterator; 
Note: See TracChangeset for help on using the changeset viewer.