Changeset 1484 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-03-11T11:37:06+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r1480 r1484 89 89 static public void setUserAgent() { 90 90 Properties sysProp = System.getProperties(); 91 sysProp.put("http.agent", "JOSM/1.5 ("+ version+")");91 sysProp.put("http.agent", "JOSM/1.5 ("+(version.equals(tr("UNKNOWN"))?"UNKNOWN":version)+" "+Main.getLanguageCode()+")"); 92 92 System.setProperties(sysProp); 93 93 } -
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r1417 r1484 26 26 /** 27 27 * @author xeen 28 * 28 * 29 29 * Opens a dialog with useful status information like version numbers for Java, JOSM and plugins 30 30 * Also includes preferences with stripped username and password … … 72 72 if (line.trim().toLowerCase().startsWith("marker.show")) 73 73 continue; 74 74 75 75 text.append(line); 76 76 text.append("\n"); … … 82 82 x.printStackTrace(); 83 83 } 84 84 85 85 JTextArea ta = new JTextArea(text.toString()); 86 86 ta.setWrapStyleWord(true); … … 93 93 new String[] {tr("Copy to clipboard and close"), tr("Close") }, 94 94 new String[] {"copy.png", "cancel.png" }).getValue(); 95 95 96 96 if(result != 1) return; 97 97 try {
Note:
See TracChangeset
for help on using the changeset viewer.