Changeset 34390 in osm for applications/editors


Ignore:
Timestamp:
2018-07-01T22:45:30+02:00 (6 years ago)
Author:
donvip
Message:

don't translate internal debug messages, this causes useless workload for all JOSM translators

Location:
applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside/cubemap/CubemapUtils.java

    r34385 r34390  
    22package org.openstreetmap.josm.plugins.streetside.cubemap;
    33
     4import java.text.MessageFormat;
    45import java.util.HashMap;
    56import java.util.Map;
     
    101102
    102103                if (StreetsideProperties.DEBUGING_ENABLED.get()) {
    103       logger.debug(I18n.tr("convertDecimal2Quaternary input: {0}", Long.toString(inputNum)));
     104      logger.debug(MessageFormat.format("convertDecimal2Quaternary input: {0}", Long.toString(inputNum)));
    104105                }
    105106
     
    114115
    115116                if (StreetsideProperties.DEBUGING_ENABLED.get()) {
    116       logger.debug(I18n.tr("convertDecimal2Quaternary output: {0}", res));
     117      logger.debug(MessageFormat.format("convertDecimal2Quaternary output: {0}", res));
    117118                }
    118119
     
    125126
    126127          if (StreetsideProperties.DEBUGING_ENABLED.get()) {
    127       logger.debug(I18n.tr("convertQuaternary2Decimal input: {0}", inputNum));
     128      logger.debug(MessageFormat.format("convertQuaternary2Decimal input: {0}", inputNum));
    128129    }
    129130
     
    148149
    149150                if (StreetsideProperties.DEBUGING_ENABLED.get()) {
    150       logger.debug(I18n.tr("convertQuaternary2Decimal output: {0}", res));
     151      logger.debug(MessageFormat.format("convertQuaternary2Decimal output: {0}", res));
    151152    }
    152153
  • applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside/gui/imageinfo/ImageInfoPanel.java

    r34385 r34390  
    105105    gbc.gridwidth = 1;
    106106    gbc.gridheight = 2;
    107     root.add(new JLabel(I18n.tr("Placeholder2 label")), gbc);
     107    root.add(new JLabel(("Placeholder2 label")), gbc);
    108108    gbc.gridy += 2;
    109109    gbc.gridheight = 1;
    110     root.add(new JLabel(I18n.tr("Blah")), gbc);
    111     gbc.gridy++;
    112     root.add(new JLabel(I18n.tr("Blee")), gbc);
     110    root.add(new JLabel(("Blah")), gbc);
     111    gbc.gridy++;
     112    root.add(new JLabel(("Blee")), gbc);
    113113    gbc.gridy++;
    114114    root.add(new JLabel(I18n.tr("Image key")), gbc);
Note: See TracChangeset for help on using the changeset viewer.