Ignore:
Timestamp:
2010-11-08T23:37:05+01:00 (14 years ago)
Author:
oliverw
Message:

Added some missing "tr" calls/fixed some names after reviewing launchpad entries.

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  
    175175                cancelled = false;
    176176               
     177                // Start progress monitor to guess address values
    177178                progressMonitor.subTask(tr("Searching") + "...");
    178179               
     
    206207                                        break;
    207208                                }
    208                                
     209                                // Update progress monitor
    209210                                progressMonitor.subTask(tr("Guess values for ") + aNode);
    210211
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ApplyAllGuessesAction.java

    r24129 r24165  
    3939public class ApplyAllGuessesAction extends AbstractAddressEditAction implements MouseListener{
    4040
    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."));
    4446        }
    4547
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AssignAddressToStreetAction.java

    r24129 r24165  
    2929public class AssignAddressToStreetAction extends AbstractAddressEditAction  {
    3030
     31        /**
     32         * Instantiates a new "assign address to street" action.
     33         */
    3134        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."));
    3337        }
    3438
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertAllToRelationAction.java

    r24107 r24165  
    2323public class ConvertAllToRelationAction extends ConvertToRelationAction {
    2424        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."));
    2627        }
    2728       
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/ConvertToRelationAction.java

    r24107 r24165  
    3030
    3131        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."));
    3334        }
    3435       
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/GuessAddressDataAction.java

    r24147 r24165  
    2626
    2727/**
    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
    2929 * with city, post code, state,... However, I strongly encourage you to check the result.
     30 *
    3031 * @author Oliver Wieland <oliver.wieland@online.de>
    31  *
    3232 */
    3333
     
    3535public class GuessAddressDataAction extends AbstractAddressEditAction implements IProgressMonitorFinishedListener {
    3636
     37        /**
     38         * Instantiates a new "guess address data" action.
     39         */
    3740        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."));
    3942        }
    4043
     
    8487                if (nodes == null) return;
    8588               
    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"));
    8791                aft.addFinishListener(this);
    8892                Main.worker.submit(aft);
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/SelectAddressesInMapAction.java

    r24129 r24165  
    4848public class SelectAddressesInMapAction extends AbstractAddressEditAction {
    4949
     50        /**
     51         * Instantiates a new "select addresses in map" action.
     52         */
    5053        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"));
    5355        }
    5456
Note: See TracChangeset for help on using the changeset viewer.