Changeset 31629 in osm for applications/editors
- Timestamp:
- 2015-10-14T17:36:05+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/josm-tofix-plugin
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/josm-tofix-plugin/.git/logs/HEAD
r31614 r31629 1 1 0000000000000000000000000000000000000000 e339a37900cdebb9743385da60e206774b0e400e Rub21 <ruben@mapbox.com> 1444684541 -0500 clone: from git@github.com:osmlab/josm-tofix-plugin.git 2 e339a37900cdebb9743385da60e206774b0e400e 7c440a8912e9881421f9fb8aef706e2097fad698 Rub21 <ruben@mapbox.com> 1444745676 -0500 commit: remove jar file 3 7c440a8912e9881421f9fb8aef706e2097fad698 34e89c358544a0291cd106a43b0da87a5499ed58 Rub21 <ruben@mapbox.com> 1444747957 -0500 commit: update readme 4 34e89c358544a0291cd106a43b0da87a5499ed58 f6d92882dab7bfe0c3eabb95874a1f98d132a4bc Rub21 <ruben@mapbox.com> 1444752978 -0500 pull: Fast-forward 5 f6d92882dab7bfe0c3eabb95874a1f98d132a4bc d6c530b931aec6fc4174adfd200e744514a9f4b7 Rub21 <ruben@mapbox.com> 1444834196 -0500 pull: Fast-forward -
applications/editors/josm/plugins/josm-tofix-plugin/.git/logs/refs/heads/master
r31614 r31629 1 1 0000000000000000000000000000000000000000 e339a37900cdebb9743385da60e206774b0e400e Rub21 <ruben@mapbox.com> 1444684541 -0500 clone: from git@github.com:osmlab/josm-tofix-plugin.git 2 e339a37900cdebb9743385da60e206774b0e400e 7c440a8912e9881421f9fb8aef706e2097fad698 Rub21 <ruben@mapbox.com> 1444745676 -0500 commit: remove jar file 3 7c440a8912e9881421f9fb8aef706e2097fad698 34e89c358544a0291cd106a43b0da87a5499ed58 Rub21 <ruben@mapbox.com> 1444747957 -0500 commit: update readme 4 34e89c358544a0291cd106a43b0da87a5499ed58 f6d92882dab7bfe0c3eabb95874a1f98d132a4bc Rub21 <ruben@mapbox.com> 1444752978 -0500 pull: Fast-forward 5 f6d92882dab7bfe0c3eabb95874a1f98d132a4bc d6c530b931aec6fc4174adfd200e744514a9f4b7 Rub21 <ruben@mapbox.com> 1444834196 -0500 pull: Fast-forward -
applications/editors/josm/plugins/josm-tofix-plugin/.git/refs/heads/master
r31614 r31629 1 e339a37900cdebb9743385da60e206774b0e400e 1 d6c530b931aec6fc4174adfd200e744514a9f4b7 -
applications/editors/josm/plugins/josm-tofix-plugin/README.md
r31614 r31629 3 3 Make [To-Fix](http://osmlab.github.io/to-fix) OpenStreetMap microtasking challenges available in [JOSM](http://josm.openstreetmap.de/) editor. 4 4 5 6  5  7 6 8 7 ## Installation 9 8 10 *Download* 9  11 10 12 - Download: https://github.com/osmlab/josm-tofix-plugin/blob/master/dist/tofix.jar?raw=true13 - or clone from GitHub: `git clone https://github.com/Rub21/josm-tofix-plugin.git`14 15 *Copy to plugins directory*16 17 - Ubuntu: `cp tofix.jar ~/.josm/plugins/`18 - Mac OSX: `cp tofix.jar ~/Library/JOSM/plugins`19 - Windows : Copy in `C:\Users\(Windows user)\AppData\Roaming\JOSM\plugins`20 21 *Activate plugin*22 23 24 25 26 11 27 12 ## Configuration -
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.