Ticket #3339: dirupl.patch

File dirupl.patch, 1.1 KB (added by xeen, 17 years ago)

Simple Fix

  • src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGui.java

     
    101101        JLabel descriptionLabel = new JLabel(tr("Description"));
    102102        descriptionField.setToolTipText(tr("Please enter Description about your trace."));
    103103
    104         JLabel tagsLabel = new JLabel(tr("Tags"));
     104        JLabel tagsLabel = new JLabel(tr("Tags (comma delimited)"));
    105105        tagsField.setToolTipText(tr("Please enter tags about your trace."));
    106106
    107107        JPanel p = new JPanel(new GridBagLayout());
     
    167167
    168168                // Clean description/tags from disallowed chars
    169169                description = description.replaceAll("[&?/\\\\]"," ");
    170                 tags = tags.replaceAll("[&?/\\\\.,;]"," ");
     170                tags = tags.replaceAll("[&?/\\\\.;]"," ");
    171171
    172172                // Set progress dialog to indeterminate while connecting
    173173                progressMonitor.indeterminateSubTask(tr("Connecting..."));