- Timestamp:
- 2020-03-08T20:44:42+01:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
r15802 r16092 76 76 protected JPanel buildUploadCommentPanel() { 77 77 JPanel pnl = new JPanel(new GridBagLayout()); 78 pnl.setBorder(BorderFactory.createTitledBorder(tr("Tags of changeset {0}", ""))); 78 79 79 80 JEditorPane commentLabel = new JMultilineLabel("<html><b>" + tr("Provide a brief comment for the changes you are uploading:")); -
trunk/src/org/openstreetmap/josm/gui/io/UploadParameterSummaryPanel.java
r14729 r16092 163 163 164 164 protected void updateSummary() { 165 final String server = Optional.of(OsmApi.getOsmApi().getServerUrl()) 166 .filter(url -> !Config.getUrls().getDefaultOsmApiUrl().equals(url)) 167 .map(url -> tr("… to server: <strong>{0}</strong>", url)) 168 .orElse(""); 165 169 jepMessage.setText("<html>" 170 + "<br>" 171 + buildChangesetSummary() 172 + "<br><br>" 166 173 + buildStrategySummary() 167 174 + "<br>" 168 + Optional.of(OsmApi.getOsmApi().getServerUrl()) 169 .filter(url -> !Config.getUrls().getDefaultOsmApiUrl().equals(url)) 170 .map(url -> tr("… to server: <strong>{0}</strong>", url)) 171 .orElse("") 172 + "<br><br>" 173 + buildChangesetSummary() 175 + server 174 176 + "</html>"); 175 177 }
Note:
See TracChangeset
for help on using the changeset viewer.