-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/data/validation/tests/ApiCapabilitiesTest.java b/src/org/openstreetmap/josm/data/validation/tests/ApiCapabilitiesTest.java
|
a
|
b
|
|
| 26 | 26 | * Constructs a new {@code ApiCapabilitiesTest}. |
| 27 | 27 | */ |
| 28 | 28 | public ApiCapabilitiesTest() { |
| 29 | | super(tr("API Capabilities"), tr("Checks for errors against API capabilities")); |
| | 29 | super(tr("API capabilities"), tr("Checks for errors against API capabilities")); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java b/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java
|
a
|
b
|
|
| 47 | 47 | * Constructs a new {@code ConditionalKeys}. |
| 48 | 48 | */ |
| 49 | 49 | public ConditionalKeys() { |
| 50 | | super(tr("Conditional Keys"), tr("Tests for the correct usage of ''*:conditional'' tags.")); |
| | 50 | super(tr("Conditional keys"), tr("Tests for the correct usage of ''*:conditional'' tags")); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java b/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
|
a
|
b
|
|
| 1121 | 1121 | GBC a = GBC.eol(); |
| 1122 | 1122 | a.anchor = GridBagConstraints.LINE_END; |
| 1123 | 1123 | |
| 1124 | | testPanel.add(new JLabel(name+" :"), GBC.eol().insets(3, 0, 0, 0)); |
| | 1124 | testPanel.add(new JLabel(name+":"), GBC.eol().insets(3, 0, 0, 0)); |
| 1125 | 1125 | |
| 1126 | | prefCheckKeys = new JCheckBox(tr("Check property keys."), Config.getPref().getBoolean(PREF_CHECK_KEYS, true)); |
| 1127 | | prefCheckKeys.setToolTipText(tr("Validate that property keys are valid checking against list of words.")); |
| | 1126 | prefCheckKeys = new JCheckBox(tr("Check property keys"), Config.getPref().getBoolean(PREF_CHECK_KEYS, true)); |
| | 1127 | prefCheckKeys.setToolTipText(tr("Validate that property keys are valid checking against list of words")); |
| 1128 | 1128 | testPanel.add(prefCheckKeys, GBC.std().insets(20, 0, 0, 0)); |
| 1129 | 1129 | |
| 1130 | 1130 | prefCheckKeysBeforeUpload = new JCheckBox(); |
| 1131 | 1131 | prefCheckKeysBeforeUpload.setSelected(Config.getPref().getBoolean(PREF_CHECK_KEYS_BEFORE_UPLOAD, true)); |
| 1132 | 1132 | testPanel.add(prefCheckKeysBeforeUpload, a); |
| 1133 | 1133 | |
| 1134 | | prefCheckComplex = new JCheckBox(tr("Use complex property checker."), Config.getPref().getBoolean(PREF_CHECK_COMPLEX, true)); |
| 1135 | | prefCheckComplex.setToolTipText(tr("Validate property values and tags using complex rules.")); |
| | 1134 | prefCheckComplex = new JCheckBox(tr("Use complex property checker"), Config.getPref().getBoolean(PREF_CHECK_COMPLEX, true)); |
| | 1135 | prefCheckComplex.setToolTipText(tr("Validate property values and tags using complex rules")); |
| 1136 | 1136 | testPanel.add(prefCheckComplex, GBC.std().insets(20, 0, 0, 0)); |
| 1137 | 1137 | |
| 1138 | 1138 | prefCheckComplexBeforeUpload = new JCheckBox(); |
| … |
… |
|
| 1153 | 1153 | |
| 1154 | 1154 | handlePrefEnable(); |
| 1155 | 1155 | |
| 1156 | | prefCheckValues = new JCheckBox(tr("Check property values."), Config.getPref().getBoolean(PREF_CHECK_VALUES, true)); |
| 1157 | | prefCheckValues.setToolTipText(tr("Validate that property values are valid checking against presets.")); |
| | 1156 | prefCheckValues = new JCheckBox(tr("Check property values"), Config.getPref().getBoolean(PREF_CHECK_VALUES, true)); |
| | 1157 | prefCheckValues.setToolTipText(tr("Validate that property values are valid checking against presets")); |
| 1158 | 1158 | testPanel.add(prefCheckValues, GBC.std().insets(20, 0, 0, 0)); |
| 1159 | 1159 | |
| 1160 | 1160 | prefCheckValuesBeforeUpload = new JCheckBox(); |
| 1161 | 1161 | prefCheckValuesBeforeUpload.setSelected(Config.getPref().getBoolean(PREF_CHECK_VALUES_BEFORE_UPLOAD, true)); |
| 1162 | 1162 | testPanel.add(prefCheckValuesBeforeUpload, a); |
| 1163 | 1163 | |
| 1164 | | prefCheckFixmes = new JCheckBox(tr("Check for fixme."), Config.getPref().getBoolean(PREF_CHECK_FIXMES, true)); |
| 1165 | | prefCheckFixmes.setToolTipText(tr("Looks for nodes or ways with fixme in any property value.")); |
| | 1164 | prefCheckFixmes = new JCheckBox(tr("Check for fixme"), Config.getPref().getBoolean(PREF_CHECK_FIXMES, true)); |
| | 1165 | prefCheckFixmes.setToolTipText(tr("Looks for nodes or ways with fixme in any property value")); |
| 1166 | 1166 | testPanel.add(prefCheckFixmes, GBC.std().insets(20, 0, 0, 0)); |
| 1167 | 1167 | |
| 1168 | 1168 | prefCheckFixmesBeforeUpload = new JCheckBox(); |
| 1169 | 1169 | prefCheckFixmesBeforeUpload.setSelected(Config.getPref().getBoolean(PREF_CHECK_FIXMES_BEFORE_UPLOAD, true)); |
| 1170 | 1170 | testPanel.add(prefCheckFixmesBeforeUpload, a); |
| 1171 | 1171 | |
| 1172 | | prefCheckPresetsTypes = new JCheckBox(tr("Check for presets types."), Config.getPref().getBoolean(PREF_CHECK_PRESETS_TYPES, true)); |
| 1173 | | prefCheckPresetsTypes.setToolTipText(tr("Validate that objects types are valid checking against presets.")); |
| | 1172 | prefCheckPresetsTypes = new JCheckBox(tr("Check for presets types"), Config.getPref().getBoolean(PREF_CHECK_PRESETS_TYPES, true)); |
| | 1173 | prefCheckPresetsTypes.setToolTipText(tr("Validate that objects types are valid checking against presets")); |
| 1174 | 1174 | testPanel.add(prefCheckPresetsTypes, GBC.std().insets(20, 0, 0, 0)); |
| 1175 | 1175 | |
| 1176 | 1176 | prefCheckPresetsTypesBeforeUpload = new JCheckBox(); |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java b/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
|
a
|
b
|
|
| 153 | 153 | }; |
| 154 | 154 | |
| 155 | 155 | private AdvancedPreference() { |
| 156 | | super(/* ICON(preferences/) */ "advanced", tr("Advanced Preferences"), tr("Setting Preference entries directly. Use with caution!")); |
| | 156 | super("advanced", tr("Advanced Preferences"), tr("Setting preference entries directly. Use with caution!")); |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/audio/AudioPreference.java b/src/org/openstreetmap/josm/gui/preferences/audio/AudioPreference.java
|
a
|
b
|
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | private AudioPreference() { |
| 39 | | super(/* ICON(preferences/) */ "audio", tr("Audio"), tr("Settings for the audio player and audio markers.")); |
| | 39 | super("audio", tr("Audio"), tr("Settings for the audio player and audio markers")); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | | private final JCheckBox audioMenuVisible = new JCheckBox(tr("Display the Audio menu.")); |
| 43 | | private final JCheckBox markerButtonLabels = new JCheckBox(tr("Label audio (and image and web) markers.")); |
| 44 | | private final JCheckBox markerAudioTraceVisible = new JCheckBox(tr("Display live audio trace.")); |
| | 42 | private final JCheckBox audioMenuVisible = new JCheckBox(tr("Display the Audio menu")); |
| | 43 | private final JCheckBox markerButtonLabels = new JCheckBox(tr("Label audio (and image and web) markers")); |
| | 44 | private final JCheckBox markerAudioTraceVisible = new JCheckBox(tr("Display live audio trace")); |
| 45 | 45 | |
| 46 | 46 | // various methods of making markers on import audio |
| 47 | | private final JCheckBox audioMarkersFromExplicitWaypoints = new JCheckBox(tr("Explicit waypoints with valid timestamps.")); |
| 48 | | private final JCheckBox audioMarkersFromUntimedWaypoints = new JCheckBox(tr("Explicit waypoints with time estimated from track position.")); |
| 49 | | private final JCheckBox audioMarkersFromNamedTrackpoints = new JCheckBox(tr("Named trackpoints.")); |
| 50 | | private final JCheckBox audioMarkersFromWavTimestamps = new JCheckBox(tr("Modified times (time stamps) of audio files.")); |
| 51 | | private final JCheckBox audioMarkersFromStart = new JCheckBox(tr("Start of track (will always do this if no other markers available).")); |
| | 47 | private final JCheckBox audioMarkersFromExplicitWaypoints = new JCheckBox(tr("Explicit waypoints with valid timestamps")); |
| | 48 | private final JCheckBox audioMarkersFromUntimedWaypoints = new JCheckBox(tr("Explicit waypoints with time estimated from track position")); |
| | 49 | private final JCheckBox audioMarkersFromNamedTrackpoints = new JCheckBox(tr("Named trackpoints")); |
| | 50 | private final JCheckBox audioMarkersFromWavTimestamps = new JCheckBox(tr("Modified times (time stamps) of audio files")); |
| | 51 | private final JCheckBox audioMarkersFromStart = new JCheckBox(tr("Start of track (will always do this if no other markers available)")); |
| 52 | 52 | |
| 53 | 53 | private final JosmTextField audioLeadIn = new JosmTextField(8); |
| 54 | 54 | private final JosmTextField audioForwardBackAmount = new JosmTextField(8); |
| … |
… |
|
| 61 | 61 | |
| 62 | 62 | // audioMenuVisible |
| 63 | 63 | audioMenuVisible.setSelected(!Config.getPref().getBoolean("audio.menuinvisible")); |
| 64 | | audioMenuVisible.setToolTipText(tr("Show or hide the audio menu entry on the main menu bar.")); |
| | 64 | audioMenuVisible.setToolTipText(tr("Show or hide the audio menu entry on the main menu bar")); |
| 65 | 65 | audio.add(audioMenuVisible, GBC.eol().insets(0, 0, 0, 0)); |
| 66 | 66 | |
| 67 | 67 | // audioTraceVisible |
| 68 | 68 | markerAudioTraceVisible.setSelected(Config.getPref().getBoolean("marker.traceaudio", true)); |
| 69 | 69 | markerAudioTraceVisible.setToolTipText( |
| 70 | | tr("Display a moving icon representing the point on the synchronized track where the audio currently playing was recorded.")); |
| | 70 | tr("Display a moving icon representing the point on the synchronized track where the audio currently playing was recorded")); |
| 71 | 71 | audio.add(markerAudioTraceVisible, GBC.eol().insets(0, 0, 0, 0)); |
| 72 | 72 | |
| 73 | 73 | // buttonLabels |
| 74 | 74 | markerButtonLabels.setSelected(Config.getPref().getBoolean("marker.buttonlabels", true)); |
| 75 | | markerButtonLabels.setToolTipText(tr("Put text labels against audio (and image and web) markers as well as their button icons.")); |
| | 75 | markerButtonLabels.setToolTipText(tr("Put text labels against audio (and image and web) markers as well as their button icons")); |
| 76 | 76 | audio.add(markerButtonLabels, GBC.eol().insets(0, 0, 0, 0)); |
| 77 | 77 | |
| 78 | 78 | audio.add(new JLabel(tr("When importing audio, make markers from...")), GBC.eol()); |
| 79 | 79 | |
| 80 | 80 | // audioMarkersFromExplicitWaypoints |
| 81 | 81 | audioMarkersFromExplicitWaypoints.setSelected(Config.getPref().getBoolean("marker.audiofromexplicitwaypoints", true)); |
| 82 | | audioMarkersFromExplicitWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer.")); |
| | 82 | audioMarkersFromExplicitWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer")); |
| 83 | 83 | audio.add(audioMarkersFromExplicitWaypoints, GBC.eol().insets(10, 0, 0, 0)); |
| 84 | 84 | |
| 85 | 85 | // audioMarkersFromUntimedWaypoints |
| 86 | 86 | audioMarkersFromUntimedWaypoints.setSelected(Config.getPref().getBoolean("marker.audiofromuntimedwaypoints", true)); |
| 87 | | audioMarkersFromUntimedWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer.")); |
| | 87 | audioMarkersFromUntimedWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer")); |
| 88 | 88 | audio.add(audioMarkersFromUntimedWaypoints, GBC.eol().insets(10, 0, 0, 0)); |
| 89 | 89 | |
| 90 | 90 | // audioMarkersFromNamedTrackpoints |
| 91 | 91 | audioMarkersFromNamedTrackpoints.setSelected(Config.getPref().getBoolean("marker.audiofromnamedtrackpoints", false)); |
| 92 | 92 | audioMarkersFromNamedTrackpoints.setToolTipText( |
| 93 | | tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions.")); |
| | 93 | tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions")); |
| 94 | 94 | audio.add(audioMarkersFromNamedTrackpoints, GBC.eol().insets(10, 0, 0, 0)); |
| 95 | 95 | |
| 96 | 96 | // audioMarkersFromWavTimestamps |
| 97 | 97 | audioMarkersFromWavTimestamps.setSelected(Config.getPref().getBoolean("marker.audiofromwavtimestamps", false)); |
| 98 | 98 | audioMarkersFromWavTimestamps.setToolTipText( |
| 99 | | tr("Create audio markers at the position on the track corresponding to the modified time of each audio WAV file imported.")); |
| | 99 | tr("Create audio markers at the position on the track corresponding to the modified time of each audio WAV file imported")); |
| 100 | 100 | audio.add(audioMarkersFromWavTimestamps, GBC.eol().insets(10, 0, 0, 0)); |
| 101 | 101 | |
| 102 | 102 | // audioMarkersFromStart |
| 103 | 103 | audioMarkersFromStart.setSelected(Config.getPref().getBoolean("marker.audiofromstart")); |
| 104 | 104 | audioMarkersFromStart.setToolTipText( |
| 105 | | tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions.")); |
| | 105 | tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions")); |
| 106 | 106 | audio.add(audioMarkersFromStart, GBC.eol().insets(10, 0, 0, 0)); |
| 107 | 107 | |
| 108 | 108 | audioForwardBackAmount.setText(Config.getPref().get("audio.forwardbackamount", "10.0")); |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/display/ColorPreference.java b/src/org/openstreetmap/josm/gui/preferences/display/ColorPreference.java
|
a
|
b
|
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | ColorPreference() { |
| 86 | | super(/* ICON(preferences/) */ "color", |
| 87 | | tr("Colors"), tr("Change colors used in program dialogs and in map paint styles.")); |
| | 86 | super("color", tr("Colors"), tr("Change colors used in program dialogs and in map paint styles")); |
| 88 | 87 | } |
| 89 | 88 | |
| 90 | 89 | private ColorTableModel tableModel; |
| … |
… |
|
| 364 | 363 | } |
| 365 | 364 | }); |
| 366 | 365 | colors.getColumnModel().getColumn(1).setWidth(100); |
| 367 | | colors.setToolTipText(tr("Colors used by different objects in JOSM.")); |
| | 366 | colors.setToolTipText(tr("Colors used by different objects in JOSM")); |
| 368 | 367 | colors.setPreferredScrollableViewportSize(new Dimension(100, 112)); |
| 369 | 368 | |
| 370 | 369 | colors.getSelectionModel().addListSelectionListener(this); |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/display/DisplayPreference.java b/src/org/openstreetmap/josm/gui/preferences/display/DisplayPreference.java
|
a
|
b
|
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | private DisplayPreference() { |
| 29 | | super(/* ICON(preferences/) */ "display", trc("gui", "Display"), |
| 30 | | tr("Various settings that influence the visual representation of the whole program."), false); |
| | 29 | super("display", trc("gui", "Display"), |
| | 30 | tr("Various settings that influence the visual representation of the whole program"), false); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/display/DrawingPreference.java b/src/org/openstreetmap/josm/gui/preferences/display/DrawingPreference.java
|
a
|
b
|
|
| 47 | 47 | public static final BooleanProperty SOURCE_BOUNDS_PROP = new BooleanProperty("draw.data.downloaded_area", true); |
| 48 | 48 | |
| 49 | 49 | private final JCheckBox directionHint = new JCheckBox(tr("Draw Direction Arrows")); |
| 50 | | private final JCheckBox headArrow = new JCheckBox(tr("Only on the head of a way.")); |
| 51 | | private final JCheckBox onewayArrow = new JCheckBox(tr("Draw oneway arrows.")); |
| | 50 | private final JCheckBox headArrow = new JCheckBox(tr("Only on the head of a way")); |
| | 51 | private final JCheckBox onewayArrow = new JCheckBox(tr("Draw oneway arrows")); |
| 52 | 52 | private final JCheckBox segmentOrderNumber = new JCheckBox(tr("Draw segment order numbers")); |
| 53 | 53 | private final JCheckBox segmentOrderNumberOnSelectedWay = new JCheckBox(tr("Draw segment order numbers on selected way")); |
| 54 | 54 | private final JCheckBox sourceBounds = new JCheckBox(tr("Draw boundaries of downloaded data")); |
| … |
… |
|
| 69 | 69 | private final JCheckBox hideLabelsWhileDragging = new JCheckBox(tr("Hide labels while dragging the map")); |
| 70 | 70 | |
| 71 | 71 | DrawingPreference() { |
| 72 | | super("layer/osmdata_small", tr("OSM Data"), tr("Settings that control the drawing of OSM data.")); |
| | 72 | super("layer/osmdata_small", tr("OSM Data"), tr("Settings that control the drawing of OSM data")); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | @Override |
| … |
… |
|
| 86 | 86 | } |
| 87 | 87 | headArrow.setEnabled(directionHint.isSelected()); |
| 88 | 88 | }); |
| 89 | | directionHint.setToolTipText(tr("Draw direction hints for way segments.")); |
| | 89 | directionHint.setToolTipText(tr("Draw direction hints for way segments")); |
| 90 | 90 | directionHint.setSelected(Config.getPref().getBoolean("draw.segment.direction", false)); |
| 91 | 91 | |
| 92 | 92 | // only on the head of a way |
| 93 | | headArrow.setToolTipText(tr("Only on the head of a way.")); |
| | 93 | headArrow.setToolTipText(tr("Only on the head of a way")); |
| 94 | 94 | headArrow.setSelected(Config.getPref().getBoolean("draw.segment.head_only", false)); |
| 95 | 95 | headArrow.setEnabled(directionHint.isSelected()); |
| 96 | 96 | |
| 97 | 97 | // draw oneway arrows |
| 98 | | onewayArrow.setToolTipText(tr("Draw arrows in the direction of oneways and other directed features.")); |
| | 98 | onewayArrow.setToolTipText(tr("Draw arrows in the direction of oneways and other directed features")); |
| 99 | 99 | onewayArrow.setSelected(Config.getPref().getBoolean("draw.oneway", true)); |
| 100 | 100 | |
| 101 | 101 | // segment order number |
| 102 | | segmentOrderNumber.setToolTipText(tr("Draw the order numbers of all segments within their way.")); |
| | 102 | segmentOrderNumber.setToolTipText(tr("Draw the order numbers of all segments within their way")); |
| 103 | 103 | segmentOrderNumber.setSelected(Config.getPref().getBoolean("draw.segment.order_number", false)); |
| 104 | | segmentOrderNumberOnSelectedWay.setToolTipText(tr("Draw the order numbers of all segments within their way.")); |
| | 104 | segmentOrderNumberOnSelectedWay.setToolTipText(tr("Draw the order numbers of all segments within their way")); |
| 105 | 105 | segmentOrderNumberOnSelectedWay.setSelected(Config.getPref().getBoolean("draw.segment.order_number.on_selected", false)); |
| 106 | 106 | |
| 107 | 107 | // downloaded area |
| 108 | | sourceBounds.setToolTipText(tr("Draw the boundaries of data loaded from the server.")); |
| | 108 | sourceBounds.setToolTipText(tr("Draw the boundaries of data loaded from the server")); |
| 109 | 109 | sourceBounds.setSelected(SOURCE_BOUNDS_PROP.get()); |
| 110 | 110 | |
| 111 | 111 | // virtual nodes |
| 112 | | virtualNodes.setToolTipText(tr("Draw virtual nodes in select mode for easy way modification.")); |
| | 112 | virtualNodes.setToolTipText(tr("Draw virtual nodes in select mode for easy way modification")); |
| 113 | 113 | virtualNodes.setSelected(Config.getPref().getInt("mappaint.node.virtual-size", 8) != 0); |
| 114 | 114 | |
| 115 | 115 | // background layers in inactive color |
| 116 | | inactive.setToolTipText(tr("Draw the inactive data layers in a different color.")); |
| | 116 | inactive.setToolTipText(tr("Draw the inactive data layers in a different color")); |
| 117 | 117 | inactive.setSelected(Config.getPref().getBoolean("draw.data.inactive_color", true)); |
| 118 | 118 | |
| 119 | 119 | // antialiasing |
| 120 | | useAntialiasing.setToolTipText(tr("Apply antialiasing to the map view resulting in a smoother appearance.")); |
| | 120 | useAntialiasing.setToolTipText(tr("Apply antialiasing to the map view resulting in a smoother appearance")); |
| 121 | 121 | useAntialiasing.setSelected(Config.getPref().getBoolean("mappaint.use-antialiasing", true)); |
| 122 | 122 | |
| 123 | 123 | // wireframe mode antialiasing |
| 124 | | useWireframeAntialiasing.setToolTipText(tr("Apply antialiasing to the map view in wireframe mode resulting in a smoother appearance.")); |
| | 124 | useWireframeAntialiasing.setToolTipText(tr("Apply antialiasing to the map view in wireframe mode resulting in a smoother appearance")); |
| 125 | 125 | useWireframeAntialiasing.setSelected(Config.getPref().getBoolean("mappaint.wireframe.use-antialiasing", false)); |
| 126 | 126 | |
| 127 | 127 | // highlighting |
| 128 | | useHighlighting.setToolTipText(tr("Hightlight target nodes and ways while drawing or selecting")); |
| | 128 | useHighlighting.setToolTipText(tr("Highlight target nodes and ways while drawing or selecting")); |
| 129 | 129 | useHighlighting.setSelected(Config.getPref().getBoolean("draw.target-highlight", true)); |
| 130 | 130 | |
| 131 | 131 | drawHelperLine.setToolTipText(tr("Draw rubber-band helper line")); |
| 132 | 132 | drawHelperLine.setSelected(Config.getPref().getBoolean("draw.helper-line", true)); |
| 133 | 133 | |
| 134 | 134 | // outlineOnly |
| 135 | | outlineOnly.setToolTipText(tr("This option suppresses the filling of areas, overriding anything specified in the selected style.")); |
| | 135 | outlineOnly.setToolTipText(tr("This option suppresses the filling of areas, overriding anything specified in the selected style")); |
| 136 | 136 | outlineOnly.setSelected(Config.getPref().getBoolean("draw.data.area_outline_only", false)); |
| 137 | 137 | |
| 138 | 138 | // hideLabelsWhileDragging |
| 139 | | hideLabelsWhileDragging.setToolTipText(tr("This option hides the textual labels of OSM objects while dragging the map.")); |
| | 139 | hideLabelsWhileDragging.setToolTipText(tr("This option hides the textual labels of OSM objects while dragging the map")); |
| 140 | 140 | hideLabelsWhileDragging.setSelected(OsmDataLayer.PROPERTY_HIDE_LABELS_WHILE_DRAGGING.get()); |
| 141 | 141 | |
| 142 | 142 | // discardable keys |
| 143 | | discardableKeys.setToolTipText(tr("Display keys which have been deemed uninteresting to the point that they can be silently removed.")); |
| | 143 | discardableKeys.setToolTipText(tr("Display keys which have been deemed uninteresting to the point that they can be silently removed")); |
| 144 | 144 | discardableKeys.setSelected(Config.getPref().getBoolean("display.discardable-keys", false)); |
| 145 | 145 | |
| 146 | 146 | // auto filters |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/display/GPXPreference.java b/src/org/openstreetmap/josm/gui/preferences/display/GPXPreference.java
|
a
|
b
|
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | GPXPreference() { |
| 28 | | super("layer/gpx_small", tr("GPS Points"), tr("Settings that control the drawing of GPS tracks.")); |
| | 28 | super("layer/gpx_small", tr("GPS Points"), tr("Settings that control the drawing of GPS tracks")); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | private GPXSettingsPanel gpxPanel; |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/display/LanguagePreference.java b/src/org/openstreetmap/josm/gui/preferences/display/LanguagePreference.java
|
a
|
b
|
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | LanguagePreference() { |
| 51 | | super(/* ICON(preferences/) */ "language", tr("Language"), tr("Change the language of JOSM.")); |
| | 51 | super("language", tr("Language"), tr("Change the language of JOSM")); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** the combo box with the available locales */ |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java b/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java
|
a
|
b
|
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | private ImageryPreference() { |
| 74 | | super(/* ICON(preferences/) */ "imagery", tr("Imagery"), |
| 75 | | tr("Modify list of imagery layers displayed in the Imagery menu"), false); |
| | 74 | super("imagery", tr("Imagery"), tr("Modify list of imagery layers displayed in the Imagery menu"), false); |
| 76 | 75 | } |
| 77 | 76 | |
| 78 | 77 | private static void addSettingsSection(final JPanel p, String name, JPanel section) { |
| … |
… |
|
| 220 | 219 | buttonPanel.add(delete, GBC.std().insets(0, 5, 0, 0)); |
| 221 | 220 | delete.addActionListener(e -> { |
| 222 | 221 | if (list.getSelectedRow() == -1) { |
| 223 | | JOptionPane.showMessageDialog(gui, tr("Please select the row to delete.")); |
| | 222 | JOptionPane.showMessageDialog(gui, tr("Please select the row to delete")); |
| 224 | 223 | } else { |
| 225 | | Integer i; |
| | 224 | int i; |
| 226 | 225 | while ((i = list.getSelectedRow()) != -1) { |
| 227 | 226 | model.removeRow(i); |
| 228 | 227 | } |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/map/BackupPreference.java b/src/org/openstreetmap/josm/gui/preferences/map/BackupPreference.java
|
a
|
b
|
|
| 47 | 47 | private final JosmTextField backupPerLayer = new JosmTextField(8); |
| 48 | 48 | |
| 49 | 49 | BackupPreference() { |
| 50 | | super(/* ICON(preferences/) */ "backup", tr("File backup"), tr("Configure whether to create backup files")); |
| | 50 | super("backup", tr("File Backup"), tr("Configure whether to create backup files")); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/map/MapPaintPreference.java b/src/org/openstreetmap/josm/gui/preferences/map/MapPaintPreference.java
|
a
|
b
|
|
| 41 | 41 | private JCheckBox enableIconDefault; |
| 42 | 42 | |
| 43 | 43 | MapPaintPreference() { |
| 44 | | super("dialogs/mapstyle", tr("Map Paint Styles"), tr("Map Paint Styles")); |
| | 44 | super("dialogs/mapstyle", tr("Map Paint Styles"), tr("Adjustments the rendering style of OSM objects")); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | private static final List<SourceProvider> styleSourceProviders = new ArrayList<>(); |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java b/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java
|
a
|
b
|
|
| 91 | 91 | private boolean pluginPreferencesActivated; |
| 92 | 92 | |
| 93 | 93 | private PluginPreference() { |
| 94 | | super(/* ICON(preferences/) */ "plugin", tr("Plugins"), tr("Configure available plugins."), false); |
| | 94 | super("plugin", tr("Plugins"), tr("Configure available plugins"), false); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| … |
… |
|
| 540 | 540 | |
| 541 | 541 | PluginConfigurationSitesPanel() { |
| 542 | 542 | super(new GridBagLayout()); |
| 543 | | add(new JLabel(tr("Add JOSM Plugin description URL.")), GBC.eol()); |
| | 543 | add(new JLabel(tr("Add JOSM Plugin description URL")), GBC.eol()); |
| 544 | 544 | for (String s : Preferences.main().getPluginSites()) { |
| 545 | 545 | model.addElement(s); |
| 546 | 546 | } |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java b/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
|
a
|
b
|
|
| 105 | 105 | public static final ProjectionChoice lambert = new LambertProjectionChoice(); |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | | * French departements in the Caribbean Sea and Indian Ocean. |
| | 108 | * French departments in the Caribbean Sea and Indian Ocean. |
| 109 | 109 | * |
| 110 | 110 | * Using the UTM transvers Mercator projection and specific geodesic settings. |
| 111 | 111 | */ |
| … |
… |
|
| 353 | 353 | * Constructs a new {@code ProjectionPreference}. |
| 354 | 354 | */ |
| 355 | 355 | public ProjectionPreference() { |
| 356 | | super(/* ICON(preferences/) */ "map", tr("Map Projection"), tr("Map Projection")); |
| | 356 | super("map", tr("Map Projection"), tr("Map projection settings")); |
| 357 | 357 | this.projectionCombo = new JosmComboBox<>( |
| 358 | 358 | projectionChoices.toArray(new ProjectionChoice[0])); |
| 359 | 359 | this.coordinatesCombo = new JosmComboBox<>( |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java b/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java
|
a
|
b
|
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | private RemoteControlPreference() { |
| 53 | | super(/* ICON(preferences/) */ "remotecontrol", tr("Remote Control"), tr("Settings for the remote control feature.")); |
| | 53 | super("remotecontrol", tr("Remote Control"), tr("Settings for the remote control feature")); |
| 54 | 54 | for (PermissionPrefWithDefault p : PermissionPrefWithDefault.getPermissionPrefs()) { |
| 55 | 55 | JCheckBox cb = new JCheckBox(p.preferenceText); |
| 56 | 56 | cb.setSelected(p.isAllowed()); |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreference.java b/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreference.java
|
a
|
b
|
|
| 36 | 36 | private ProxyPreferencesPanel pnlProxyPreferences; |
| 37 | 37 | |
| 38 | 38 | private ProxyPreference() { |
| 39 | | super(/* ICON(preferences/) */ "proxy", tr("Proxy"), tr("Configure whether to use a proxy server")); |
| | 39 | super("proxy", tr("Proxy"), tr("Configure whether to use a proxy server")); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/server/ServerAccessPreference.java b/src/org/openstreetmap/josm/gui/preferences/server/ServerAccessPreference.java
|
a
|
b
|
|
| 41 | 41 | private final OverpassServerPanel pnlOverpassPreferences = new OverpassServerPanel(); |
| 42 | 42 | |
| 43 | 43 | private ServerAccessPreference() { |
| 44 | | super(/* ICON(preferences/) */ "connection", tr("OSM Server"), tr("Connection Settings for the OSM server.")); |
| | 44 | super("connection", tr("OSM Server"), tr("Connection settings for the OSM server")); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/shortcut/ShortcutPreference.java b/src/org/openstreetmap/josm/gui/preferences/shortcut/ShortcutPreference.java
|
a
|
b
|
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | private ShortcutPreference() { |
| 34 | | super(/* ICON(preferences/) */ "shortcuts", tr("Keyboard Shortcuts"), tr("Changing keyboard shortcuts manually.")); |
| | 34 | super("shortcuts", tr("Keyboard Shortcuts"), tr("Changing keyboard shortcuts manually")); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorPreference.java b/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorPreference.java
|
a
|
b
|
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | private ValidatorPreference() { |
| 29 | | super(/* ICON(preferences/) */ "validator", tr("Data validator"), |
| 30 | | tr("An OSM data validator that checks for common errors made by users and editor programs."), false); |
| | 29 | super("validator", tr("Data Validator"), |
| | 30 | tr("An OSM data validator that checks for common errors made by users and editor programs"), false); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | @Override |
-
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java b/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java
|
a
|
b
|
|
| 59 | 59 | JPanel testPanel = new VerticallyScrollablePanel(new GridBagLayout()); |
| 60 | 60 | testPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); |
| 61 | 61 | |
| 62 | | prefUseIgnore = new JCheckBox(tr("Use ignore list."), ValidatorPrefHelper.PREF_USE_IGNORE.get()); |
| 63 | | prefUseIgnore.setToolTipText(tr("Use the ignore list to suppress warnings.")); |
| | 62 | prefUseIgnore = new JCheckBox(tr("Use ignore list"), ValidatorPrefHelper.PREF_USE_IGNORE.get()); |
| | 63 | prefUseIgnore.setToolTipText(tr("Use the ignore list to suppress warnings")); |
| 64 | 64 | testPanel.add(prefUseIgnore, GBC.eol()); |
| 65 | 65 | |
| 66 | | prefUseLayer = new JCheckBox(tr("Use error layer."), ValidatorPrefHelper.PREF_LAYER.get()); |
| 67 | | prefUseLayer.setToolTipText(tr("Use the error layer to display problematic elements.")); |
| | 66 | prefUseLayer = new JCheckBox(tr("Use error layer"), ValidatorPrefHelper.PREF_LAYER.get()); |
| | 67 | prefUseLayer.setToolTipText(tr("Use the error layer to display problematic elements")); |
| 68 | 68 | testPanel.add(prefUseLayer, GBC.eol()); |
| 69 | 69 | |
| 70 | | prefOther = new JCheckBox(tr("Show informational level."), ValidatorPrefHelper.PREF_OTHER.get()); |
| 71 | | prefOther.setToolTipText(tr("Show the informational tests.")); |
| | 70 | prefOther = new JCheckBox(tr("Show informational level"), ValidatorPrefHelper.PREF_OTHER.get()); |
| | 71 | prefOther.setToolTipText(tr("Show the informational tests")); |
| 72 | 72 | testPanel.add(prefOther, GBC.eol()); |
| 73 | 73 | |
| 74 | | prefOtherUpload = new JCheckBox(tr("Show informational level on upload."), |
| | 74 | prefOtherUpload = new JCheckBox(tr("Show informational level on upload"), |
| 75 | 75 | ValidatorPrefHelper.PREF_OTHER_UPLOAD.get()); |
| 76 | | prefOtherUpload.setToolTipText(tr("Show the informational tests in the upload check windows.")); |
| | 76 | prefOtherUpload.setToolTipText(tr("Show the informational tests in the upload check windows")); |
| 77 | 77 | testPanel.add(prefOtherUpload, GBC.eol()); |
| 78 | 78 | |
| 79 | 79 | ActionListener otherUploadEnabled = e -> prefOtherUpload.setEnabled(prefOther.isSelected()); |