Changeset 3589 in josm


Ignore:
Timestamp:
2010-10-04T10:56:52+02:00 (11 years ago)
Author:
stoecker
Message:

fix bug in startup page access

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

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

    r3418 r3589  
    2323        } else if (code.matches("[^_]+_[^_]+")) {
    2424            code = code.substring(0,2);
     25            if (code.equals("en")) return "";
    2526        } else {
    2627            System.err.println(tr("Warning: failed to derive wiki language prefix from JOSM locale code ''{0}''. Using default code ''en''.", code));
  • trunk/src/org/openstreetmap/josm/tools/WikiReader.java

    r3569 r3589  
    141141            }
    142142        }
    143         if (b.indexOf("      Describe ") >= 0)
     143        if (b.indexOf("      Describe ") >= 0
     144        || b.indexOf(" does not exist. You can create it here.</p>") >= 0)
    144145            return "";
    145146        return "<html>" + b + "</html>";
Note: See TracChangeset for help on using the changeset viewer.