Changeset 26509 in osm for applications/editors/josm/plugins/piclayer
- Timestamp:
- 2011-08-11T00:45:56+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/piclayer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/piclayer/build.xml
r26174 r26509 23 23 <project name="PicLayer" default="dist" basedir="."> 24 24 <property name="commit.message" value="applied #J5852 (patch by Petschge) - new shear option"/> 25 <property name="plugin.main.version" value=" 3835"/>25 <property name="plugin.main.version" value="4126"/> 26 26 <!-- 27 27 ************************************************ -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerAbstract.java
r26498 r26509 359 359 if ( m_image == null ) 360 360 return; 361 String projcode = Main. proj.toCode();361 String projcode = Main.getProjection().toCode(); 362 362 363 363 // TODO: bounding box only supported when coordinates are in meters -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerFromFile.java
r26498 r26509 232 232 boolean loadcal = false; 233 233 234 String msg = tr("A calibration file associated to the picture file was found: ")+"\n"+fileName;234 String msg = tr("A calibration file associated to the picture file was found: {0}\n", fileName); 235 235 if ( policy.equals("yes") ) { 236 236 loadcal = true; … … 240 240 } 241 241 else if ( policy.equals("ask") ) { 242 msg += "\n" + tr(" (set \"{0}\"to yes/no/ask in the preferences\n"+243 "to control the autoloading of calibration files )", prefkey);242 msg += "\n" + tr("Set \"{0}\" to yes/no/ask in the preferences\n"+ 243 "to control the autoloading of calibration files.", prefkey); 244 244 msg += "\n" + tr("Do you want to apply it ?"); 245 245 int answer = JOptionPane.showConfirmDialog(Main.parent, msg, tr("Load calibration file ?"), JOptionPane.YES_NO_OPTION); … … 250 250 else { 251 251 msg += "\n" + tr("It will be applied automatically."); 252 msg += "\n" + tr("Also, fro w now on, calfiles will always be loaded automatically.");253 msg += "\n" + tr("Set \"{0}\"to yes/no/ask in the preferences\n"+252 msg += "\n" + tr("Also, from now on, calibration files will always be loaded automatically."); 253 msg += "\n" + tr("Set \"{0}\" to yes/no/ask in the preferences\n"+ 254 254 "to control the autoloading of calibration files.", prefkey); 255 255 // TODO: there should be here a yes/no dialog with a checkbox "do not ask again"
Note:
See TracChangeset
for help on using the changeset viewer.