Changeset 782 in josm


Ignore:
Timestamp:
2008-08-15T14:03:33+02:00 (16 years ago)
Author:
stoecker
Message:

translate server messages

File:
1 edited

Legend:

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

    r627 r782  
    11// License: GPL. Copyright 2007 by Immanuel Scholz and others
    22package org.openstreetmap.josm.io;
     3
     4import static org.openstreetmap.josm.tools.I18n.tr;
    35
    46import java.io.IOException;
     
    3335                } catch (IOException e) {
    3436                        if (con.getHeaderField("Error") != null)
    35                                 throw new OsmServerException(con.getHeaderField("Error"));
     37                                throw new OsmServerException(tr(con.getHeaderField("Error")));
    3638                        throw e;
    3739                }
Note: See TracChangeset for help on using the changeset viewer.