Changeset 12917 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2017-10-03T14:20:12+02:00 (7 years ago)
Author:
bastiK
Message:

see #14602 - don't use thousands separator when displaying the JOSM version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bugreport/JosmUpdatePanel.java

    r12649 r12917  
    3636        josmVersion = Version.getInstance().getVersion();
    3737
    38         add(new JMultilineLabel(tr("Your current version of JOSM is {0}", josmVersion)), GBC.eol().fill(GBC.HORIZONTAL));
     38        add(new JMultilineLabel(tr("Your current version of JOSM is {0}", Integer.toString(josmVersion))), GBC.eol().fill(GBC.HORIZONTAL));
    3939        testedVersionField = new JMultilineLabel(tr("JOSM is searching for updates..."));
    4040        add(testedVersionField, GBC.eol().fill(GBC.HORIZONTAL));
     
    8383    private void displayOutOfDate(int testedVersion) {
    8484        testedVersionField
    85                 .setText(tr("JOSM is out of date. The current version is {0}. Try updating JOSM.", testedVersion));
     85                .setText(tr("JOSM is out of date. The current version is {0}. Try updating JOSM.", Integer.toString(testedVersion)));
    8686        showUpdateButton();
    8787    }
Note: See TracChangeset for help on using the changeset viewer.