Changeset 31629 in osm for applications/editors/josm/plugins/josm-tofix-plugin/src/org
- Timestamp:
- 2015-10-14T17:36:05+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/josm-tofix-plugin/src/org/openstreetmap/josm/plugins/tofix
- Files:
-
- 3 edited
-
TofixDialog.java (modified) (4 diffs)
-
TofixTask.java (modified) (1 diff)
-
controller/ListTaskController.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/josm-tofix-plugin/src/org/openstreetmap/josm/plugins/tofix/TofixDialog.java
r31614 r31629 144 144 //add tittle for To-fix task 145 145 JLabel title_tasks = new javax.swing.JLabel(); 146 title_tasks.setText("<html><a href=\"\">List of To-fixtasks</a></html>");146 title_tasks.setText("<html><a href=\"\">List of tasks</a></html>"); 147 147 title_tasks.setCursor(new Cursor(Cursor.HAND_CURSOR)); 148 148 title_tasks.addMouseListener(new MouseAdapter() { … … 170 170 171 171 //add title to download 172 jcontenConfig.add(new Label(tr("S ize todownloadin Sq.m")));172 jcontenConfig.add(new Label(tr("Set download area (m²)"))); 173 173 174 174 //Add Slider to download … … 335 335 mainAccessToTask.setAccess(false); 336 336 JLabel text = new javax.swing.JLabel(); 337 text.setText(tr("<html>Somethig went wrong, please update Tofixpluginor open a ticket in<a href=\"\">josm-tofix-plugin/issues</a></html>"));337 text.setText(tr("<html>Something went wrong, please update the plugin or report an issue at <a href=\"\">josm-tofix-plugin/issues</a></html>")); 338 338 text.setCursor(new Cursor(Cursor.HAND_CURSOR)); 339 339 text.addMouseListener(new MouseAdapter() { … … 347 347 default: 348 348 mainAccessToTask.setAccess(false); 349 JOptionPane.showMessageDialog(Main.panel, tr("Somethig went wrong, try to again.,"), tr("Warning"), JOptionPane.WARNING_MESSAGE);349 JOptionPane.showMessageDialog(Main.panel, tr("Something went wrong, try again"), tr("Warning"), JOptionPane.WARNING_MESSAGE); 350 350 } 351 351 } -
applications/editors/josm/plugins/josm-tofix-plugin/src/org/openstreetmap/josm/plugins/tofix/TofixTask.java
r31614 r31629 133 133 DecimalFormat myFormatter = new DecimalFormat("#,###"); 134 134 String num = myFormatter.format(item.getTaskCompleteBean().getTotal()); 135 String message = "Task :" + accessToTask.getTask_name() + "was completed\n"136 + "Total items : " + num;135 String message = "Task " + accessToTask.getTask_name() + " is complete\n" 136 + num + " issues fixed"; 137 137 JOptionPane.showMessageDialog(Main.panel, tr(message)); 138 138 } -
applications/editors/josm/plugins/josm-tofix-plugin/src/org/openstreetmap/josm/plugins/tofix/controller/ListTaskController.java
r31614 r31629 5 5 import java.util.logging.Logger; 6 6 import org.openstreetmap.josm.plugins.tofix.bean.ListTaskBean; 7 import org.openstreetmap.josm.plugins.tofix.bean.TrackBean;8 7 import org.openstreetmap.josm.plugins.tofix.util.Config; 9 8 import org.openstreetmap.josm.plugins.tofix.util.Request;
Note:
See TracChangeset
for help on using the changeset viewer.
