Ignore:
Timestamp:
2011-08-11T00:45:56+02:00 (13 years ago)
Author:
stoecker
Message:

i18n fixes

Location:
applications/editors/josm/plugins/piclayer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/piclayer/build.xml

    r26174 r26509  
    2323<project name="PicLayer" default="dist" basedir=".">
    2424    <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"/>
    2626    <!--
    2727      ************************************************
  • applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerAbstract.java

    r26498 r26509  
    359359        if ( m_image == null )
    360360            return;
    361         String projcode = Main.proj.toCode();
     361        String projcode = Main.getProjection().toCode();
    362362
    363363        // 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  
    232232        boolean loadcal = false;
    233233
    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);
    235235        if ( policy.equals("yes") ) {
    236236            loadcal = true;
     
    240240        }
    241241        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);
    244244            msg += "\n" + tr("Do you want to apply it ?");
    245245            int answer = JOptionPane.showConfirmDialog(Main.parent, msg, tr("Load calibration file ?"), JOptionPane.YES_NO_OPTION);
     
    250250        else {
    251251            msg += "\n" + tr("It will be applied automatically.");
    252             msg += "\n" + tr("Also, frow now on, cal files 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"+
    254254                            "to control the autoloading of calibration files.", prefkey);
    255255            // 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.