Changeset 3132 in josm for trunk/src


Ignore:
Timestamp:
2010-03-14T11:23:58+01:00 (10 years ago)
Author:
Gubaer
Message:

missing I18n added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/BasicChangesetQueryPanel.java

    r3083 r3132  
    124124    protected JPanel buildInfoPanel() {
    125125        pnlInfos = new HtmlPanel();
    126         pnlInfos.setText("<html>Please select one the following <strong>standard queries</strong>."
     126        pnlInfos.setText(tr("<html>Please select one the following <strong>standard queries</strong>."
    127127                + "Select <strong>Download my changesets only</strong>"
    128128                + " if you only want to download changesets created by yourself.<br>"
    129                 + "Note that JOSM will download max. 100 changesets.</html>"
     129                + "Note that JOSM will download max. 100 changesets.</html>")
    130130        );
    131131        return pnlInfos;
     
    145145    public void init() {
    146146        JMultilineLabel lbl = lblQueries.get(BasicQuery.MOST_RECENT_CHANGESETS);
    147         lbl.setText("<html>Download the latest changesets</html>");
     147        lbl.setText(tr("<html>Download the latest changesets</html>"));
    148148
    149149        // query for open changesets only possible if we have a current user which is at least
     
    152152        if (JosmUserIdentityManager.getInstance().isAnonymous()) {
    153153            rbQueries.get(BasicQuery.MY_OPEN_CHANGESETS).setEnabled(false);
    154             lbl.setText("<html>Download my open changesets<br><em>Disabled. Please enter your OSM user name in the preferences first.</em></html>");
     154            lbl.setText(tr("<html>Download my open changesets<br><em>Disabled. Please enter your OSM user name in the preferences first.</em></html>"));
    155155        } else {
    156156            rbQueries.get(BasicQuery.MY_OPEN_CHANGESETS).setEnabled(true);
    157             lbl.setText("<html>Download my open changesets</html>");
     157            lbl.setText(tr("<html>Download my open changesets</html>"));
    158158        }
    159159
     
    163163        if (Main.map == null || Main.map.mapView == null) {
    164164            rbQueries.get(BasicQuery.CHANGESETS_IN_MAP_VIEW).setEnabled(false);
    165             lbl.setText("<html>Download changesets in the current map view.<br><em>Disabled. There is currently no map view active.</em></html>");
     165            lbl.setText(tr("<html>Download changesets in the current map view.<br><em>Disabled. There is currently no map view active.</em></html>"));
    166166        } else {
    167167            rbQueries.get(BasicQuery.CHANGESETS_IN_MAP_VIEW).setEnabled(true);
    168             lbl.setText("<html>Download changesets in the current map view</html>");
     168            lbl.setText(tr("<html>Download changesets in the current map view</html>"));
    169169        }
    170170
Note: See TracChangeset for help on using the changeset viewer.