Changeset 1449 in josm for trunk/src/org


Ignore:
Timestamp:
2009-02-28T19:07:44+01:00 (16 years ago)
Author:
stoecker
Message:

fixed #2239

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/HelpAction.java

    r1220 r1449  
    165165        int i = url.lastIndexOf("/")+1;
    166166        String title = url.substring(i);
    167         if(!title.startsWith(languageCode))
     167        if(!title.startsWith(languageCode) && !languageCode.equals("En:"))
    168168            title = languageCode + title;
    169169        String langurl = url.substring(0, i) + title;
     
    185185                if(message.indexOf("Describe "") >= 0 && message.indexOf(le) >= 0)
    186186                    throw new IOException();
     187                if(message.indexOf("      Describe ") >= 0)
     188                    throw new IOException();
    187189                this.url = langurl;
    188190            } catch (IOException e) {
Note: See TracChangeset for help on using the changeset viewer.