Changeset 31251 in osm for applications
- Timestamp:
- 2015-06-08T13:17:36+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 3 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryPlugin.java
r31249 r31251 20 20 import org.openstreetmap.josm.plugins.mapillary.gui.MapillaryPreferenceSetting; 21 21 import org.openstreetmap.josm.plugins.mapillary.gui.MapillaryToggleDialog; 22 import org.openstreetmap.josm.plugins.mapillary.actions.*; 22 23 import org.openstreetmap.josm.tools.ImageProvider; 23 24 -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/HyperlinkLabel.java
r31249 r31251 1 1 package org.openstreetmap.josm.plugins.mapillary.gui; 2 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 3 4 import java.awt.Cursor; 4 5 import java.awt.event.ActionEvent; … … 20 21 * The normal text set by the user. 21 22 */ 22 23 23 private String text; 24 24 … … 26 26 27 27 /** 28 * Creates a new LinkLabel with the given text.28 * Creates a new HyperlinlLabel. 29 29 */ 30 31 30 public HyperlinkLabel() { 32 super( "View in website", SwingUtilities.RIGHT);31 super(tr("View in website"), SwingUtilities.RIGHT); 33 32 this.addActionListener(this); 34 33 setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); … … 40 39 * Sets the text of the label. 41 40 */ 42 43 41 public void setText(String text) { 44 42 super.setText("<html><font color=\"#0000CF\" size=\"2\">" + text + "</font></html>"); //$NON-NLS-1$ //$NON-NLS-2$ -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryExportDialog.java
r31249 r31251 59 59 selected.setEnabled(false); 60 60 } 61 path = new JLabel( "Select a folder");61 path = new JLabel(tr("Select a folder")); 62 62 choose = new JButton(tr("Explore")); 63 63 choose.addActionListener(this); … … 87 87 chooser.setCurrentDirectory(new java.io.File(System 88 88 .getProperty("user.home"))); 89 chooser.setDialogTitle( "Select a directory");89 chooser.setDialogTitle(tr("Select a directory")); 90 90 chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); 91 91 chooser.setAcceptAllFileFilterUsed(false); -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryPreferenceSetting.java
r31249 r31251 1 1 package org.openstreetmap.josm.plugins.mapillary.gui; 2 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 3 4 import java.awt.FlowLayout; 4 5 … … 13 14 public class MapillaryPreferenceSetting implements SubPreferenceSetting { 14 15 15 private JCheckBox reverseButtons = new JCheckBox( "Reverse buttons position when displaying images.");;16 private JCheckBox reverseButtons = new JCheckBox(tr("Reverse buttons position when displaying images."));; 16 17 17 18 @Override -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryToggleDialog.java
r31249 r31251 200 200 class redAction extends AbstractAction { 201 201 public redAction() { 202 putValue(NAME, "Jump to red");202 putValue(NAME, tr("Jump to red")); 203 203 putValue(SHORT_DESCRIPTION, 204 tr(" Shows the previous picture in the sequence"));204 tr("Jumps to the picture at the other side of the red line")); 205 205 } 206 206 … … 221 221 class blueAction extends AbstractAction { 222 222 public blueAction() { 223 putValue(NAME, "Jump to blue");223 putValue(NAME, tr("Jump to blue")); 224 224 putValue(SHORT_DESCRIPTION, 225 tr(" Shows the previous picture in the sequence"));225 tr("Jumps to the picture at the other side of the blue line")); 226 226 } 227 227
Note:
See TracChangeset
for help on using the changeset viewer.