Changeset 22960 in osm for applications/editors/josm
- Timestamp:
- 2010-09-02T23:44:36+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java
r22794 r22960 177 177 if(msg != null) 178 178 { 179 String versionMessage = tr("{0} will work but remote control is disabled.\n" 180 + "Current version of \"{1}\": {2}, internal version {3}. " 179 String additionalMessage = tr("{0} will work but remote control for this plugin is disabled.\n" 180 + "You should update the plugins.", 181 this.getClass().getSimpleName()); 182 String versionMessage = tr("Current version of \"{1}\": {2}, internal version {3}. " 181 183 + "Need version {4}, internal version {5}.\n" 182 + " You should updatethe plugins. If this does not help report a bug for \"{0}\".",184 + "If updating the plugins does not help report a bug for \"{0}\".", 183 185 this.getClass().getSimpleName(), 184 186 REMOTECONTROL_NAME, … … 186 188 (remoteControlApiMajor != 0) ? 187 189 ""+remoteControlApiMajor+"."+remoteControlApiMinor : 188 "unknown", 190 tr("unknown"), 189 191 ""+REMOTECONTROL_MIN_REVISION, 190 192 ""+REMOTECONTROL_NEED_API_MAJOR+"."+REMOTECONTROL_MIN_API_MINOR ); … … 193 195 this.getClass().getSimpleName()); 194 196 197 System.out.println(this.getClass().getSimpleName() + ": " + 198 msg + "\n" + versionMessage); 199 195 200 JOptionPane.showMessageDialog( 196 201 Main.parent, 197 msg + "\n" + versionMessage,202 msg + "\n" + additionalMessage, 198 203 title, 199 204 JOptionPane.WARNING_MESSAGE … … 203 208 204 209 if(!remoteControlAvailable) { 205 System.out.println( "wmsplugin: remote control not available");210 System.out.println(this.getClass().getSimpleName() + ": remote control not available"); 206 211 } 207 212 }
Note:
See TracChangeset
for help on using the changeset viewer.