Changeset 4278 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2011-07-30T16:26:10+02:00 (13 years ago)
Author:
stoecker
Message:

fix i18n

File:
1 edited

Legend:

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

    r4262 r4278  
    298298                String redirectLocation = con.getHeaderField("Location");
    299299                if (downloadUrl == null) {
    300                     String msg = tr("Fatal: unexpected response from HTTP server. Got {0} response without 'Location' header. Can''t redirect. Aborting.", con.getResponseCode());
     300                    /* I18n: argument is HTTP response code */ String msg = tr("Unexpected response from HTTP server. Got {0} response without ''Location'' header. Can''t redirect. Aborting.", con.getResponseCode());
    301301                    throw new IOException(msg);
    302302                }
     
    306306                numRedirects++;
    307307                if (numRedirects >= Main.pref.getInteger("socket.maxredirects", 5)) {
    308                     String msg = tr("Fatal: too many redirects to the download URL detected. Aborting.");
     308                    String msg = tr("Too many redirects to the download URL detected. Aborting.");
    309309                    throw new IOException(msg);
    310310                }
     
    312312                break;
    313313            default:
    314                 String msg = tr("Error: failed to read from ''{0}''. Server responded with status code {1}.", downloadUrl, con.getResponseCode());
     314                String msg = tr("Failed to read from ''{0}''. Server responded with status code {1}.", downloadUrl, con.getResponseCode());
    315315                throw new IOException(msg);
    316316            }
Note: See TracChangeset for help on using the changeset viewer.