Changeset 26345 in osm


Ignore:
Timestamp:
2011-07-16T21:10:43+02:00 (13 years ago)
Author:
stoecker
Message:

see #josm6227 - fix wrong quote escaping in strings

Location:
applications/editors/josm/plugins
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePreferenceSetting.java

    r26330 r26345  
    4545    private JCheckBox autoFirstLayer = new JCheckBox(tr("Select first WMS layer in list."));
    4646
    47     private JCheckBox dontUseRelation = new JCheckBox(tr("Don't use relation for addresses (but \"addr:street\" on elements)."));
     47    private JCheckBox dontUseRelation = new JCheckBox(tr("Don''t use relation for addresses (but \"addr:street\" on elements)."));
    4848
    4949    private JRadioButton grabMultiplier1 = new JRadioButton("", true);
     
    292292        // option to add the "Tableau d'assemblage" in list of sheets to grab
    293293        enableTableauAssemblage.setSelected(Main.pref.getBoolean("cadastrewms.useTA", false));
    294         enableTableauAssemblage.setToolTipText(tr("Add the \"Tableau(x) d'assemblage\" in the list of cadastre sheets to grab."));
     294        enableTableauAssemblage.setToolTipText(tr("Add the \"Tableau(x) d''assemblage\" in the list of cadastre sheets to grab."));
    295295        cadastrewms.add(enableTableauAssemblage, GBC.eop().insets(0, 0, 0, 0));
    296296        // the crosspiece display
  • applications/editors/josm/plugins/colorscheme/build.xml

    r26174 r26345  
    5757                <attribute name="Plugin-Class" value="at.dallermassl.josm.plugin.colorscheme.ColorSchemePlugin"/>
    5858                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    59                 <attribute name="Plugin-Description" value="Allows the user to create different color schemes and to switch between them. Just change the colors and create a new scheme. Used to switch to a white background with matching colors for better visibility in bright sunlight. See dialog in JOSM's preferences and 'Map Settings' (strange but true :-)"/>
     59                <attribute name="Plugin-Description" value="Allows the user to create different color schemes and to switch between them. Just change the colors and create a new scheme. Used to switch to a white background with matching colors for better visibility in bright sunlight. See dialog in preferences and ''Map Settings'' (strange but true :-)"/>
    6060                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    6161                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/access/ImplicationXMLReader.java

    r26174 r26345  
    9393                if (name.equals("condition")) {
    9494                    if (!currentConditionReader.isFinished()) {
    95                         throw new SAXException(tr("Condition isn't finished at </condition> tag"));
     95                        throw new SAXException(tr("Condition isn''t finished at </condition> tag"));
    9696                    } else {
    9797                        currentCondition = currentConditionReader.getCondition();
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/GraphViewPlugin.java

    r26174 r26345  
    208208                rulesetInputStream = rulesetURL.openStream();
    209209            } else {
    210                 throw new FileNotFoundException(tr("Couldn't find built-in ruleset {0}", ruleset));
     210                throw new FileNotFoundException(tr("Couldn''t find built-in ruleset {0}", ruleset));
    211211            }
    212212
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/preferences/VehiclePropertyStringParser.java

    r26221 r26345  
    3636    public static final String ERROR_LENGTH =
    3737        tr("Lengths must be given as positive decimal numbers with unit \"m\", \"km\", \"mi\"" +
    38         " or without unit.\nAlternatively, the format FEET' INCHES\" can be used.");
     38        " or without unit.\nAlternatively, the format FEET'' INCHES\" can be used.");
    3939    public static final String ERROR_SPEED =
    4040        tr("Speeds should be given as numbers without unit or "
     
    4545        tr("Tracktype grades must be given as integers between 0 and 5.");
    4646    public static final String ERROR_SURFACE =
    47         tr("Surface values must not contain any of the following characters: '','', ''{'',  ''}'', ''='', ''|''");
     47        tr("Surface values must not contain any of the following characters: '','', '''{''',  '''}''', ''='', ''|''");
    4848
    4949    private static final List<Character> FORBIDDEN_SURFACE_CHARS =
  • applications/editors/josm/plugins/imagewaypoint/build.xml

    r26174 r26345  
    6060                <attribute name="Plugin-Class" value="org.insignificant.josm.plugins.imagewaypoint.ImageWayPointPlugin"/>
    6161                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    62                 <attribute name="Plugin-Description" value="Another plugin to match images to the waypoints in a GPX file. A match is made when the 'name', 'cmt' or 'desc' attribute of a waypoint tag matches the filename of an image."/>
     62                <attribute name="Plugin-Description" value="Another plugin to match images to the waypoints in a GPX file. A match is made when the ''name'', ''cmt'' or ''desc'' attribute of a waypoint tag matches the filename of an image."/>
    6363                <attribute name="Plugin-Early" value="false"/>
    6464                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/Lakewalker.java

    r23190 r26345  
    6767            i =  7;
    6868        } else {
    69             throw new ArrayIndexOutOfBoundsException(tr("Direction index '{0}' not found",direction));
     69            throw new ArrayIndexOutOfBoundsException(tr("Direction index ''{0}'' not found",direction));
    7070        }
    7171        return i;
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/NewAction.java

    r16134 r26345  
    7474            id = m.group(1);
    7575        } else {
    76             throw new RuntimeException(tr("Couldn't create new bug. Result: {0}", result));
     76            throw new RuntimeException(tr("Couldn''t create new bug. Result: {0}", result));
    7777        }
    7878
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterDialog.java

    r26168 r26345  
    452452    {
    453453      JOptionPane.showMessageDialog
    454       (null, tr("Can't parse a time from this string."), tr("Invalid value"),
     454      (null, tr("Can''t parse a time from this string."), tr("Invalid value"),
    455455       JOptionPane.ERROR_MESSAGE);
    456456      return false;
     
    477477    {
    478478      JOptionPane.showMessageDialog
    479       (null, tr("Can't parse a time from this string."), tr("Invalid value"),
     479      (null, tr("Can''t parse a time from this string."), tr("Invalid value"),
    480480       JOptionPane.ERROR_MESSAGE);
    481481      return false;
  • applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterDialog.java

    r26168 r26345  
    614614    {
    615615      JOptionPane.showMessageDialog
    616       (null, tr("Can't parse a time from this string."), tr("Invalid value"),
     616      (null, tr("Can''t parse a time from this string."), tr("Invalid value"),
    617617       JOptionPane.ERROR_MESSAGE);
    618618      return false;
     
    639639    {
    640640      JOptionPane.showMessageDialog
    641       (null, tr("Can't parse a time from this string."), tr("Invalid value"),
     641      (null, tr("Can''t parse a time from this string."), tr("Invalid value"),
    642642       JOptionPane.ERROR_MESSAGE);
    643643      return false;
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackReference.java

    r26168 r26345  
    5656      {
    5757    JOptionPane.showMessageDialog
    58         (null, tr("The GPX file doesn't contain valid trackpoints. "
     58        (null, tr("The GPX file doesn''t contain valid trackpoints. "
    5959        + "Please use a GPX file that has trackpoints."), tr("GPX File Trouble"),
    6060     JOptionPane.ERROR_MESSAGE);
     
    110110        (stoplistTM.timeAt(e.getFirstRow()), e.getFirstRow(), 0);
    111111    JOptionPane.showMessageDialog
    112         (null, tr("Can't parse a time from this string."), tr("Invalid value"),
     112        (null, tr("Can''t parse a time from this string."), tr("Invalid value"),
    113113         JOptionPane.ERROR_MESSAGE);
    114114    return;
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorComponent.java

    r13497 r26345  
    105105    public void addButton(ButtonDescription description) {
    106106        if(description.getHotkey() != "" &&  hotKeys.contains(description.getHotkey())) {
    107             JOptionPane.showMessageDialog(Main.parent, tr("Duplicate hotkey for button '{0}' - button will be ignored!",description.getLabel()));
     107            JOptionPane.showMessageDialog(Main.parent, tr("Duplicate hotkey for button ''{0}'' - button will be ignored!",description.getLabel()));
    108108        } else {
    109109            if(rows == 0 && columns == 0) {
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustGPG.java

    r25269 r26345  
    188188                p.add(keyBox);
    189189
    190                 JCheckBox keepkeyBox = new JCheckBox(tr("Don't ask again for the key"));
     190                JCheckBox keepkeyBox = new JCheckBox(tr("Don''t ask again for the key"));
    191191                keepkeyBox.setAlignmentX(Component.LEFT_ALIGNMENT);
    192192                p.add(keepkeyBox);
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ViaList.java

    r25465 r26345  
    263263        public PasteAction(){
    264264            putValue(NAME, tr("Paste"));
    265             putValue(SHORT_DESCRIPTION, tr("Insert 'via' objects from the clipboard"));
     265            putValue(SHORT_DESCRIPTION, tr("Insert ''via'' objects from the clipboard"));
    266266            putValue(SMALL_ICON, ImageProvider.get("paste"));
    267267            putValue(ACCELERATOR_KEY, Shortcut.getPasteKeyStroke());
Note: See TracChangeset for help on using the changeset viewer.