Changeset 31511 in osm for applications
- Timestamp:
- 2015-08-21T20:43:58+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/FinishedUploadDialog.java
r31495 r31511 36 36 text.setAlignmentX(Component.CENTER_ALIGNMENT); 37 37 this.add(text); 38 JButton web = new JButton( "Approve upload on the website.");38 JButton web = new JButton(tr("Approve upload on the website")); 39 39 web.addActionListener(new WebAction()); 40 40 web.setAlignmentX(Component.CENTER_ALIGNMENT); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryExportDialog.java
r31501 r31511 100 100 this.choose.addActionListener(this); 101 101 102 // All options belong to the same jpanel so the are in line.102 // All options belong to the same JPanel so the are in line. 103 103 JPanel jpanel = new JPanel(); 104 104 jpanel.setLayout(new BoxLayout(jpanel, BoxLayout.PAGE_AXIS)); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryUploadDialog.java
r31491 r31511 1 1 package org.openstreetmap.josm.plugins.mapillary.gui; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import javax.swing.BoxLayout; … … 34 36 this.group = new ButtonGroup(); 35 37 36 this.sequence = new JRadioButton( "Upload selected sequence.");38 this.sequence = new JRadioButton(tr("Upload selected sequence")); 37 39 if (MapillaryLayer.getInstance().getData().getSelectedImage() == null 38 40 || !(MapillaryLayer.getInstance().getData().getSelectedImage() instanceof MapillaryImportedImage)) … … 42 44 this.group.setSelected(this.sequence.getModel(), true); 43 45 44 this.delete = new JCheckBox( "Delete after uplaod");46 this.delete = new JCheckBox(tr("Delete after upload")); 45 47 this.delete.setSelected(Main.pref.getBoolean( 46 48 "mapillary.delete-after-upload", true)); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryWalkDialog.java
r31445 r31511 1 1 package org.openstreetmap.josm.plugins.mapillary.gui; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import javax.swing.JCheckBox; … … 37 39 add(interval); 38 40 39 this.waitForPicture = new JCheckBox( "Wait for full quality pictures");41 this.waitForPicture = new JCheckBox(tr("Wait for full quality pictures")); 40 42 this.waitForPicture.setSelected(true); 41 43 add(this.waitForPicture); 42 44 43 this.followSelection = new JCheckBox( "Follow selected image");45 this.followSelection = new JCheckBox(tr("Follow selected image")); 44 46 this.followSelection.setSelected(true); 45 47 add(this.followSelection); 46 48 47 this.goForward = new JCheckBox( "Go forward");49 this.goForward = new JCheckBox(tr("Go forward")); 48 50 this.goForward.setSelected(true); 49 51 add(this.goForward); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/JoinMode.java
r31490 r31511 1 1 package org.openstreetmap.josm.plugins.mapillary.mode; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.awt.Color; … … 88 90 @Override 89 91 public String toString() { 90 return "Join mode";92 return tr("Join mode"); 91 93 } 92 94 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java
r31490 r31511 1 1 package org.openstreetmap.josm.plugins.mapillary.mode; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.awt.Graphics2D; … … 200 202 @Override 201 203 public String toString() { 202 return "Select mode";204 return tr("Select mode"); 203 205 } 204 206 } -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/oauth/OAuthPortListener.java
r31486 r31511 1 1 package org.openstreetmap.josm.plugins.mapillary.oauth; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.io.IOException; … … 20 22 public class OAuthPortListener extends Thread { 21 23 22 protected static String RESPONSE = "<html><head><title>Mapillary login</title></head><body>Login successful, return to JOSM.</body></html>";24 protected static String RESPONSE = tr("<html><head><title>Mapillary login</title></head><body>Login successful, return to JOSM.</body></html>"); 23 25 24 26 @Override -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/utils/MapillaryUtils.java
r31501 r31511 40 40 String ret = ""; 41 41 if (PluginState.isDownloading()) 42 ret += tr("Downloading ");42 ret += tr("Downloading Mapillary images"); 43 43 else if (MapillaryLayer.getInstance().getData().size() > 0) 44 ret += tr("Total images: {0}", MapillaryLayer.getInstance().getData()45 . size());44 ret += tr("Total Mapillary images: {0}", MapillaryLayer.getInstance() 45 .getData().size()); 46 46 else 47 47 ret += tr("No images found"); … … 141 141 * @param mapillaryAbstractImage2 142 142 */ 143 public synchronized static void join(MapillaryAbstractImage mapillaryAbstractImage, 143 public synchronized static void join( 144 MapillaryAbstractImage mapillaryAbstractImage, 144 145 MapillaryAbstractImage mapillaryAbstractImage2) { 145 146 MapillaryAbstractImage firstImage = mapillaryAbstractImage; … … 175 176 * @param mapillaryAbstractImage2 176 177 */ 177 public synchronized static void unjoin(MapillaryAbstractImage mapillaryAbstractImage, 178 public synchronized static void unjoin( 179 MapillaryAbstractImage mapillaryAbstractImage, 178 180 MapillaryAbstractImage mapillaryAbstractImage2) { 179 181 MapillaryAbstractImage firstImage = mapillaryAbstractImage; … … 271 273 /** 272 274 * Returns the current date. 275 * 273 276 * @return A {@code String} object containing the current date. 274 277 */
Note:
See TracChangeset
for help on using the changeset viewer.