Ignore:
Timestamp:
2009-10-31T13:15:29+01:00 (16 years ago)
Author:
Gubaer
Message:

fixed #3305: Version is UNKNOWN
fixed #3429: created_by=* includes the wrong language when uploading from a new layer

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
5 edited

Legend:

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

    r2308 r2358  
    1616
    1717import org.openstreetmap.josm.Main;
    18 import org.openstreetmap.josm.actions.AboutAction;
     18import org.openstreetmap.josm.data.Version;
    1919import org.openstreetmap.josm.io.CacheCustomContent;
    2020import org.openstreetmap.josm.tools.LanguageInfo;
     
    5151        }
    5252
    53         final private int myVersion = AboutAction.getVersionNumber();
     53        final private int myVersion = Version.getInstance().getVersion();
    5454        final private String myLang = LanguageInfo.getWikiLanguagePrefix();
    5555
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r2274 r2358  
    9696            I18n.set(Main.pref.get("language", null));
    9797        }
     98        Main.pref.updateSystemProperties();
    9899
    99100        if (argList.contains("--help") || argList.contains("-?") || argList.contains("-h")) {
  • trunk/src/org/openstreetmap/josm/gui/SplashScreen.java

    r1212 r2358  
    2626
    2727import org.openstreetmap.josm.actions.AboutAction;
     28import org.openstreetmap.josm.data.Version;
    2829import org.openstreetmap.josm.tools.ImageProvider;
    2930
     
    7374
    7475        // Add the version number
    75         JLabel version = new JLabel(tr("Version {0}", AboutAction.getVersionString()));
     76        JLabel version = new JLabel(tr("Version {0}", Version.getInstance().getVersionString()));
    7677        gbc.gridy = 1;
    7778        gbc.insets = new Insets(0, 0, 0, 0);
  • trunk/src/org/openstreetmap/josm/gui/help/HelpApplication.java

    r2308 r2358  
    9292            I18n.set(Main.pref.get("language", null));
    9393        }
    94 
    9594        MainApplication.preConstructorInit(args);
    9695        Thread.setDefaultUncaughtExceptionHandler(
  • trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java

    r2308 r2358  
    119119        pnlLists = new JPanel();
    120120        pnlLists.setLayout(new GridBagLayout());
    121         // we don't add the lists yet, see setUploadPrimivies()
     121        // we don't add the lists yet, see setUploadPrimitives()
    122122        //
    123123        return pnlLists;
     
    278278            y++;
    279279            gcLabel.gridy = y;
    280             lblUpdate.setText(trn("{0} object to modifiy:", "{0} objects to modify:", update.size(),update.size()));
     280            lblUpdate.setText(trn("{0} object to modify:", "{0} objects to modify:", update.size(),update.size()));
    281281            pnlLists.add(lblUpdate, gcLabel);
    282282            y++;
Note: See TracChangeset for help on using the changeset viewer.