Changeset 2163 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2009-09-20T10:23:22+02:00 (15 years ago)
Author:
stoecker
Message:

fixed typos

Location:
trunk/src/org/openstreetmap/josm
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java

    r2017 r2163  
    6868    public void export(Layer layer) {
    6969        if (layer == null)
    70             throw new IllegalArgumentException(tr("paramenter ''{0}'' must not be null", "layer"));
     70            throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "layer"));
    7171        if (! (layer instanceof OsmDataLayer) && ! (layer instanceof GpxLayer))
    7272            throw new IllegalArgumentException(tr("expected instance of OsmDataLayer or GpxLayer. Got ''{0}''.", layer.getClass().getName()));
  • trunk/src/org/openstreetmap/josm/actions/HelpAction.java

    r2017 r2163  
    216216                    if(url.equals(langurl))
    217217                    {
    218                         txt = ("<HTML>"+tr("Help page missing. Create it in <A HREF=\"{0}\">english</A>.",
     218                        txt = ("<HTML>"+tr("Help page missing. Create it in <A HREF=\"{0}\">English</A>.",
    219219                                url+"?action=edit")+"</HTML>");
    220220                    }
    221221                    else
    222222                    {
    223                         txt = ("<HTML>"+tr("Help page missing. Create it in <A HREF=\"{0}\">english</A> or <A HREF=\"{1}\">your language</A>.",
     223                        txt = ("<HTML>"+tr("Help page missing. Create it in <A HREF=\"{0}\">English</A> or <A HREF=\"{1}\">your language</A>.",
    224224                                url+"?action=edit", langurl+"?action=edit")+"</HTML>");
    225225                    }
  • trunk/src/org/openstreetmap/josm/command/ConflictAddCommand.java

    r2017 r2163  
    5252    @Override public void undoCommand() {
    5353        if (! Main.map.mapView.hasLayer(getLayer())) {
    54             System.out.println(tr("Warning: layer ''{0}'' doesn't exist anymore. Can't remove conflict for primitmive ''{1}''",
     54            System.out.println(tr("Warning: layer ''{0}'' doesn't exist any more. Can't remove conflict for primitmive ''{1}''",
    5555                    getLayer().getName(),
    5656                    conflict.getMy().getDisplayName(DefaultNameFormatter.getInstance())
  • trunk/src/org/openstreetmap/josm/command/ConflictResolveCommand.java

    r1750 r2163  
    6060
    6161        if (! Main.map.mapView.hasLayer(getLayer())) {
    62             logger.warning(tr("Can't undo command ''{0}'' because layer ''{1}'' is not present anymore",
     62            logger.warning(tr("Can't undo command ''{0}'' because layer ''{1}'' is not present any more",
    6363                    this.toString(),
    6464                    getLayer().toString()
  • trunk/src/org/openstreetmap/josm/command/PurgePrimitivesCommand.java

    r2070 r2163  
    249249    public void undoCommand() {
    250250        if (! Main.map.mapView.hasLayer(getLayer())) {
    251             logger.warning(tr("Can't undo command ''{0}'' because layer ''{1}'' is not present anymore",
     251            logger.warning(tr("Can't undo command ''{0}'' because layer ''{1}'' is not present any more",
    252252                    this.toString(),
    253253                    getLayer().toString()
  • trunk/src/org/openstreetmap/josm/command/RelationMemberConflictResolverCommand.java

    r2070 r2163  
    8888    public void undoCommand() {
    8989        if (! Main.map.mapView.hasLayer(layer)) {
    90             logger.warning(tr("Can't undo command ''{0}'' because layer ''{1}'' is not present anymore",
     90            logger.warning(tr("Can't undo command ''{0}'' because layer ''{1}'' is not present any more",
    9191                    this.toString(),
    9292                    layer.toString()
  • trunk/src/org/openstreetmap/josm/command/WayNodesConflictResolverCommand.java

    r2070 r2163  
    5252        return new DefaultMutableTreeNode(
    5353                new JLabel(
    54                         tr("Resolve conflicts in node list of of way {0}", conflict.getMy().getId()),
     54                        tr("Resolve conflicts in node list of way {0}", conflict.getMy().getId()),
    5555                        ImageProvider.get("data", "object"),
    5656                        JLabel.HORIZONTAL
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryDataSet.java

    r2019 r2163  
    7676        ArrayList<HistoryOsmPrimitive> versions = data.get(id);
    7777        if (versions == null)
    78             throw new NoSuchElementException(tr("Didn't find an  primitive with id {0} in this dataset", id));
     78            throw new NoSuchElementException(tr("Didn't find an primitive with id {0} in this dataset", id));
    7979
    8080        for (HistoryOsmPrimitive primitive: versions) {
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r2156 r2163  
    583583                    tr("<html>There is at least one member in this relation referring<br>"
    584584                            + "to the relation itself.<br>"
    585                             + "This creates circular dependencies and is dicuraged.<br>"
     585                            + "This creates circular dependencies and is discouraged.<br>"
    586586                            + "How do you want to proceed with circular dependencies?</html>"),
    587587                            tr("Warning"),
  • trunk/src/org/openstreetmap/josm/gui/io/CloseChangesetDialog.java

    r2139 r2163  
    124124            putValue(NAME, tr("Cancel"));
    125125            putValue(SMALL_ICON, ImageProvider.get("cancel"));
    126             putValue(SHORT_DESCRIPTION, tr("Cancel closeing of changesets"));
     126            putValue(SHORT_DESCRIPTION, tr("Cancel closing of changesets"));
    127127        }
    128128
  • trunk/src/org/openstreetmap/josm/io/GpxExporter.java

    r2032 r2163  
    5353    public void exportData(File file, Layer layer) throws IOException {
    5454        if (layer == null)
    55             throw new IllegalArgumentException(tr("paramenter ''{0}'' must not be null", "layer"));
     55            throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "layer"));
    5656        if (!(layer instanceof OsmDataLayer) && !(layer instanceof GpxLayer))
    5757            throw new IllegalArgumentException(tr("expected instance of OsmDataLayer or GpxLayer. Got ''{0}''.", layer
    5858                    .getClass().getName()));
    5959        if (file == null)
    60             throw new IllegalArgumentException(tr("paramenter ''{0}'' must not be null", "file"));
     60            throw new IllegalArgumentException(tr("parameter ''{0}'' must not be null", "file"));
    6161
    6262        String fn = file.getPath();
  • trunk/src/org/openstreetmap/josm/io/NMEAImporter.java

    r2017 r2163  
    5454                    JOptionPane.INFORMATION_MESSAGE);
    5555        } else {
    56             JOptionPane.showMessageDialog(Main.parent, msg, tr("NMEA import faliure!"), JOptionPane.ERROR_MESSAGE);
     56            JOptionPane.showMessageDialog(Main.parent, msg, tr("NMEA import failure!"), JOptionPane.ERROR_MESSAGE);
    5757        }
    5858    }
Note: See TracChangeset for help on using the changeset viewer.