Changeset 10334 in osm for applications/editors/josm


Ignore:
Timestamp:
2008-08-30T17:06:52+02:00 (16 years ago)
Author:
stoecker
Message:

fixed some texts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/agpifoj/src/org/openstreetmap/josm/plugins/agpifoj/CorrelateGpxWithImages.java

    r10122 r10334  
    181181    }
    182182   
    183     /** This action listener is called when the user has a photo of the time of his GPS receptor. It
     183    /** This action listener is called when the user has a photo of the time of his GPS receiver. It
    184184     * displays the list of photos of the layer, and upon selection displays the selected photo.
    185185     * From that photo, the user can key in the time of the GPS.
     
    201201            panel = new JPanel();
    202202            panel.setLayout(new BorderLayout());
    203             panel.add(new JLabel(tr("<html>Take a photo of your GPS receptor while it displays the time.<br>"
     203            panel.add(new JLabel(tr("<html>Take a photo of your GPS receiver while it displays the time.<br>"
    204204                                    + "Display that photo here.<br>"
    205205                                    + "And then, simply capture the time you read on the photo and select a timezone<hr></html>")),
     
    219219            gc.fill = GridBagConstraints.NONE;
    220220            gc.anchor = GridBagConstraints.WEST;
    221             panelTf.add(new JLabel(tr("Photo time (from exif) :")), gc);
     221            panelTf.add(new JLabel(tr("Photo time (from exif):")), gc);
    222222
    223223            lbExifTime = new JLabel();
     
    234234            gc.fill = GridBagConstraints.NONE;
    235235            gc.anchor = GridBagConstraints.WEST;
    236             panelTf.add(new JLabel(tr("Gps time (read from the above photo) : ")), gc);
     236            panelTf.add(new JLabel(tr("Gps time (read from the above photo): ")), gc);
    237237
    238238            tfGpsTime = new JTextField();
     
    254254            gc.fill = GridBagConstraints.NONE;
    255255            gc.anchor = GridBagConstraints.WEST;
    256             panelTf.add(new JLabel(tr("I'm in the timezone of : ")), gc);
     256            panelTf.add(new JLabel(tr("I'm in the timezone of: ")), gc);
    257257           
    258258            Vector vtTimezones = new Vector<String>();
     
    374374            boolean isOk = false;
    375375            while (! isOk) {
    376                 int answer = JOptionPane.showConfirmDialog(Main.parent, panel, tr("Synchronize time from a photo of the GPS receptor"), JOptionPane.OK_CANCEL_OPTION);
     376                int answer = JOptionPane.showConfirmDialog(Main.parent, panel, tr("Synchronize time from a photo of the GPS receiver"), JOptionPane.OK_CANCEL_OPTION);
    377377                if (answer == JOptionPane.CANCEL_OPTION) {
    378378                    return;
     
    436436        panelCb.setLayout(new FlowLayout());
    437437       
    438         panelCb.add(new JLabel(tr("GPX track : ")));
     438        panelCb.add(new JLabel(tr("GPX track: ")));
    439439       
    440440        cbGpx = new JComboBox(gpxLst);
     
    457457        gc.fill = GridBagConstraints.NONE;
    458458        gc.weightx = gc.weighty = 0.0;
    459         panelTf.add(new JLabel(tr("Timezone : ")), gc);
     459        panelTf.add(new JLabel(tr("Timezone: ")), gc);
    460460
    461461        float gpstimezone = Float.parseFloat(Main.pref.get("tagimages.doublegpstimezone", "0.0"));
     
    479479        gc.fill = GridBagConstraints.NONE;
    480480        gc.weightx = gc.weighty = 0.0;
    481         panelTf.add(new JLabel(tr("Offset :")), gc);
     481        panelTf.add(new JLabel(tr("Offset:")), gc);
    482482
    483483        long delta = Long.parseLong(Main.pref.get("tagimages.delta", "0")) / 1000;
     
    491491        panelTf.add(tfOffset, gc);
    492492
    493         JButton buttonViewGpsPhoto = new JButton(tr("<html>I can take a picture of my GPS receptor.<br>"
    494                                                     + "Can this help ? </html>"));
     493        JButton buttonViewGpsPhoto = new JButton(tr("<html>I can take a picture of my GPS receiver.<br>"
     494                                                    + "Can this help?</html>"));
    495495        buttonViewGpsPhoto.addActionListener(new SetOffsetActionListener());
    496496        gc.gridx = 2;
     
    508508        gc.fill = GridBagConstraints.NONE;
    509509        gc.weightx = gc.weighty = 0.0;
    510         panelTf.add(new JLabel(tr("Update position for : ")), gc);
     510        panelTf.add(new JLabel(tr("Update position for: ")), gc);
    511511       
    512512        gc.gridx = 1;
     
    572572            Float timezoneValue = parseTimezone(tfTimezone.getText().trim());
    573573            if (timezoneValue == null) {
    574                 JOptionPane.showMessageDialog(Main.parent, tr("Error while parsing timezone.\nExpected format : {0}", "+H:MM"),
     574                JOptionPane.showMessageDialog(Main.parent, tr("Error while parsing timezone.\nExpected format: {0}", "+H:MM"),
    575575                        tr("Invalid timezone"), JOptionPane.ERROR_MESSAGE);
    576576                continue;
     
    581581                delta = Long.parseLong(tfOffset.getText());
    582582            } catch(NumberFormatException nfe) {
    583                 JOptionPane.showMessageDialog(Main.parent, tr("Error while parsing offset.\nExpected format : {0}", "number"),
     583                JOptionPane.showMessageDialog(Main.parent, tr("Error while parsing offset.\nExpected format: {0}", "number"),
    584584                        tr("Invalid offset"), JOptionPane.ERROR_MESSAGE);
    585585                continue;
     
    643643        Main.main.map.repaint();
    644644       
    645         JOptionPane.showMessageDialog(Main.parent, tr("Found {0} matchs of {1} in GPX track {2}", matched, dateImgLst.size(), selectedGpx.name), 
     645        JOptionPane.showMessageDialog(Main.parent, tr("Found {0} matchs of {1} in GPX track {2}", matched, dateImgLst.size(), selectedGpx.name),
    646646                tr("GPX Track loaded"),
    647647                ((dateImgLst.size() > 0 && matched == 0) ? JOptionPane.WARNING_MESSAGE
Note: See TracChangeset for help on using the changeset viewer.