Changeset 1338 in josm for trunk/src/org
- Timestamp:
- 2009-01-25T14:07:31+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java
r1195 r1338 15 15 import java.io.StringWriter; 16 16 import java.io.UnsupportedEncodingException; 17 import java.lang.Math; 17 18 import java.net.ConnectException; 18 19 import java.net.HttpURLConnection; … … 144 145 int progress = Main.pleaseWaitDlg.progress.getValue(); 145 146 String time_left_str = timeLeft(progress, list.size()); 146 Main.pleaseWaitDlg.currentAction.setText(tr("Upload {0} {1} (id: {2}) {3}% {4}/{5} ({6} left)...", 147 tr(v.className), v.name, osm.id, 100.0*progress/list.size(), progress, list.size(), time_left_str)); 147 Main.pleaseWaitDlg.currentAction.setText( 148 tr("{0}% ({1}/{2}), {3} left. Uploading {4}: {5} (id: {6})", 149 Math.round(100.0*progress/list.size()), progress, 150 list.size(), time_left_str, tr(v.className), v.name, osm.id)); 148 151 osm.visit(this); 149 152 Main.pleaseWaitDlg.progress.setValue(progress+1);
Note:
See TracChangeset
for help on using the changeset viewer.