Changeset 24165 in osm for applications/editors/josm/plugins/FixAddresses/src/org
- Timestamp:
- 2010-11-08T23:37:05+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/GuessAddressRunnable.java
r24145 r24165 175 175 cancelled = false; 176 176 177 // Start progress monitor to guess address values 177 178 progressMonitor.subTask(tr("Searching") + "..."); 178 179 … … 206 207 break; 207 208 } 208 209 // Update progress monitor 209 210 progressMonitor.subTask(tr("Guess values for ") + aNode); 210 211 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ApplyAllGuessesAction.java
r24129 r24165 39 39 public class ApplyAllGuessesAction extends AbstractAddressEditAction implements MouseListener{ 40 40 41 public ApplyAllGuessesAction() { 42 //super(tr("Apply all guesses"), "applyguesses_24", "Turns all guesses into the corresponding tag values."); 43 super(tr("Apply all guesses"), "applyguesses_24", "Turns all guesses into the corresponding tag values."); 41 /** 42 * Instantiates a new "apply all guesses" action. 43 */ 44 public ApplyAllGuessesAction() { 45 super(tr("Apply all guesses"), "applyguesses_24", tr("Turns all guesses into the corresponding tag values.")); 44 46 } 45 47 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AssignAddressToStreetAction.java
r24129 r24165 29 29 public class AssignAddressToStreetAction extends AbstractAddressEditAction { 30 30 31 /** 32 * Instantiates a new "assign address to street" action. 33 */ 31 34 public AssignAddressToStreetAction() { 32 super(tr("Assign address to street"), "assignstreet_24", "Assign the selected address(es) to the selected street."); 35 super(tr("Assign address to street"), "assignstreet_24", 36 tr("Assign the selected address(es) to the selected street.")); 33 37 } 34 38 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertAllToRelationAction.java
r24107 r24165 23 23 public class ConvertAllToRelationAction extends ConvertToRelationAction { 24 24 public ConvertAllToRelationAction() { 25 super(tr("Convert ALL streets."), "convert2rel_24", "Create relation between street and related addresses for ALL streets in the current layer."); 25 super(tr("Convert ALL streets."), "convert2rel_24", 26 tr("Create relation between street and related addresses for ALL streets in the current layer.")); 26 27 } 27 28 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertToRelationAction.java
r24107 r24165 30 30 31 31 public ConvertToRelationAction() { 32 super(tr("Convert to relation."), "convert2rel_24", "Create relation between street and related addresses."); 32 super(tr("Convert to relation."), "convert2rel_24", 33 tr("Create relation between street and related addresses.")); 33 34 } 34 35 -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/GuessAddressDataAction.java
r24147 r24165 26 26 27 27 /** 28 * Guesses address tags by picking the closest street node with a name. The same is done (some day)28 * Guesses address tags by picking the closest street node with a name. The same is done 29 29 * with city, post code, state,... However, I strongly encourage you to check the result. 30 * 30 31 * @author Oliver Wieland <oliver.wieland@online.de> 31 *32 32 */ 33 33 … … 35 35 public class GuessAddressDataAction extends AbstractAddressEditAction implements IProgressMonitorFinishedListener { 36 36 37 /** 38 * Instantiates a new "guess address data" action. 39 */ 37 40 public GuessAddressDataAction() { 38 super(tr("Guess address data"), "guessstreets_24", "Tries to guess the street name by picking the name of the closest way.");41 super(tr("Guess address data"), "guessstreets_24", tr("Tries to guess address data by picking the name of the closest object with according tag.")); 39 42 } 40 43 … … 84 87 if (nodes == null) return; 85 88 86 GuessAddressRunnable aft = new GuessAddressRunnable(nodes, tr("Guess street names")); 89 // Launch address guessing thread 90 GuessAddressRunnable aft = new GuessAddressRunnable(nodes, tr("Guessing address values")); 87 91 aft.addFinishListener(this); 88 92 Main.worker.submit(aft); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/SelectAddressesInMapAction.java
r24129 r24165 48 48 public class SelectAddressesInMapAction extends AbstractAddressEditAction { 49 49 50 /** 51 * Instantiates a new "select addresses in map" action. 52 */ 50 53 public SelectAddressesInMapAction() { 51 // we simply use the existing icon :-| 52 super(tr("Select"), "selectall", "Selects selected addresses in the map"); 54 super(tr("Select"), "selectall", tr("Marks selected addresses in the map")); 53 55 } 54 56
Note:
See TracChangeset
for help on using the changeset viewer.