Changeset 3132 in josm
- Timestamp:
- 2010-03-14T11:23:58+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/BasicChangesetQueryPanel.java
r3083 r3132 124 124 protected JPanel buildInfoPanel() { 125 125 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>." 127 127 + "Select <strong>Download my changesets only</strong>" 128 128 + " 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>") 130 130 ); 131 131 return pnlInfos; … … 145 145 public void init() { 146 146 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>")); 148 148 149 149 // query for open changesets only possible if we have a current user which is at least … … 152 152 if (JosmUserIdentityManager.getInstance().isAnonymous()) { 153 153 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>")); 155 155 } else { 156 156 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>")); 158 158 } 159 159 … … 163 163 if (Main.map == null || Main.map.mapView == null) { 164 164 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>")); 166 166 } else { 167 167 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>")); 169 169 } 170 170
Note:
See TracChangeset
for help on using the changeset viewer.