Ignore:
Timestamp:
2008-12-31T00:36:58+01:00 (15 years ago)
Author:
stoecker
Message:

fixed relation handling, applied language patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r1169 r1195  
    201201                         Collection<RelationMemberData> list = relations.get(current);
    202202                         if (list == null)
    203                               throw new SAXException(tr("Found <member> tag on non-relation."));
     203                              throw new SAXException(tr("Found <member> element in non-relation."));
    204204                         RelationMemberData emd = new RelationMemberData();
    205205                         emd.relationMember = new RelationMember();
     
    223223               } catch (NullPointerException x) {
    224224                    x.printStackTrace(); // SAXException does not chain correctly
    225                     throw new SAXException(tr("NullPointerException, Possibly some missing tags."), x);
     225                    throw new SAXException(tr("NullPointerException, possibly some missing tags."), x);
    226226               }
    227227          }
     
    460460          } catch (NumberFormatException e) {
    461461               e.printStackTrace();
    462                throw new SAXException(tr("Illformed Node id"));
     462               throw new SAXException(tr("Ill-formed node id"));
    463463          }
    464464
Note: See TracChangeset for help on using the changeset viewer.