Changeset 31750 in osm for applications


Ignore:
Timestamp:
2015-11-16T00:14:27+01:00 (9 years ago)
Author:
donvip
Message:

[josm_importimageplugin] fix typos

Location:
applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/ImportImageFileImporter.java

    r31746 r31750  
    1717
    1818/**
    19  * Calss to open georeferened image with standard file open dialog
     19 * Class to open georeferenced image with standard file open dialog
    2020 */
    2121public class ImportImageFileImporter extends FileImporter {
     
    2424
    2525    public ImportImageFileImporter() {
    26         super(new ExtensionFileFilter("tiff,tif,jpg,jpeg,bmp,png", "jpg", "Georeferened image file [by ImportImage plugin] (*.jpg, *.jpeg, *.tif, *.tiff, *.png, *.bmp)"));
     26        super(new ExtensionFileFilter("tiff,tif,jpg,jpeg,bmp,png", "jpg",
     27                "Georeferenced image file [by ImportImage plugin] (*.jpg, *.jpeg, *.tif, *.tiff, *.png, *.bmp)"));
    2728    }
    2829
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/LoadImageAction.java

    r31746 r31750  
    11package org.openstreetmap.josm.plugins.ImportImagePlugin;
     2
    23import static org.openstreetmap.josm.tools.I18n.marktr;
    34import static org.openstreetmap.josm.tools.I18n.tr;
     
    1314import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    1415import org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.LayerCreationCanceledException;
    15 
    1616
    1717/**
     
    3333
    3434    @Override
    35         public void actionPerformed(ActionEvent arg0) {
     35    public void actionPerformed(ActionEvent arg0) {
    3636
    3737        // Choose a file
     
    4343        if (result == JFileChooser.APPROVE_OPTION) {
    4444            Main.pref.put("plugins.importimage.importpath", fc.getCurrentDirectory().getAbsolutePath());
    45             logger.info("File choosen:" + fc.getSelectedFile());
     45            logger.info("File chosen:" + fc.getSelectedFile());
    4646            try {
    4747                layer = new ImageLayer(fc.getSelectedFile());
     
    5353                JOptionPane.showMessageDialog(null, marktr("Error while creating image layer: " + e.getCause()));
    5454                return;
    55 
    5655            }
    5756
Note: See TracChangeset for help on using the changeset viewer.