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/gui/GettingStarted.java

    r1138 r1163  
    6868            Matcher matcher = versionPattern.matcher(motdcontent); 
    6969            matcher.reset(); 
     70            String languageCode = Main.getLanguageCodeU(); 
    7071            while (matcher.find()) { 
    7172                int targetVersion = Integer.parseInt(matcher.group(4)); 
     
    9495                start = matcher.end(); 
    9596                if (included) { 
    96                     // translators: set this to a suitable language code to 
    97                     // be able to provide translations in the Wiki. 
    98                     String languageCode = tr("En:"); 
    9997                    String url = matcher.group(1) + languageCode + matcher.group(2); 
    10098                    try { 
Note: See TracChangeset for help on using the changeset viewer.