Changeset 4499 in josm


Ignore:
Timestamp:
2011-10-07T22:11:04+02:00 (13 years ago)
Author:
simon04
Message:

clarify description in search dialog, remove confusion concerning "type"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r4379 r4499  
    202202        DescriptionTextBuilder descriptionText = new DescriptionTextBuilder();
    203203        descriptionText.append("<html><style>li.header{font-size:110%; list-style-type:none; margin-top:5px;}</style><ul>");
    204         descriptionText.appendItem(tr("<b>Baker Street</b> - ''Baker'' and ''Street'' in any key or name."));
    205         descriptionText.appendItem(tr("<b>\"Baker Street\"</b> - ''Baker Street'' in any key or name."));
    206         descriptionText.appendItem(tr("<b>name:Bak</b> - ''Bak'' anywhere in the name."));
    207         descriptionText.appendItem(tr("<b>type=route</b> - key ''type'' with value exactly ''route''.") + "</li>");
    208         descriptionText.appendItem(tr("<b>type=*</b> - key ''type'' with any value. Try also <b>*=value</b>, <b>type=</b>, <b>*=*</b>, <b>*=</b>") + "</li>");
    209         descriptionText.appendItem(tr("<b>-name:Bak</b> - not ''Bak'' in the name."));
    210         descriptionText.appendItem(tr("<b>oneway?</b> - oneway=yes, true, 1 or on"));
    211         descriptionText.appendItem(tr("<b>foot:</b> - key=foot set to any value."));
     204        descriptionText.appendItem(tr("<b>Baker Street</b> - ''Baker'' and ''Street'' in any key."));
     205        descriptionText.appendItem(tr("<b>\"Baker Street\"</b> - ''Baker Street'' in any key."));
     206        descriptionText.appendItem(tr("<b>key:Bak</b> - ''Bak'' anywhere in the key ''key''."));
     207        descriptionText.appendItem(tr("<b>-key:Bak</b> - ''Bak'' nowhere in the key ''key''."));
     208        descriptionText.appendItem(tr("<b>key=value</b> - key ''key'' with value exactly ''value''.") + "</li>");
     209        descriptionText.appendItem(tr("<b>key=*</b> - key ''key'' with any value. Try also <b>*=value</b>, <b>key=</b>, <b>*=*</b>, <b>*=</b>.") + "</li>");
     210        descriptionText.appendItem(tr("<b>key:</b> - key ''key'' set to any value."));
     211        descriptionText.appendItem(tr("<b>key?</b> - key ''key'' with the value ''yes'', ''true'', ''1'' or ''on''."));
    212212        descriptionText.appendItemHeader(tr("Special targets"));
    213213        /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>type:</b>... - objects with corresponding type (<b>node</b>, <b>way</b>, <b>relation</b>)"));
     
    216216        /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>id:</b>... - objects with given ID (0 for new objects)"));
    217217        /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>version:</b>... - objects with given version (0 objects without an assigned version)"));
    218         /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>changeset:</b>... - objects with given changeset id (0 objects without assigned changeset)"));
     218        /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>changeset:</b>... - objects with given changeset ID (0 objects without an assigned changeset)"));
    219219        /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>nodes:</b>... - objects with given number of nodes (<b>nodes:</b>count, <b>nodes:</b>min-max, <b>nodes:</b>min- or <b>nodes:</b>-max)"));
    220220        /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>tags:</b>... - objects with given number of tags (<b>tags:</b>count, <b>tags:</b>min-max, <b>tags:</b>min- or <b>tags:</b>-max)"));
Note: See TracChangeset for help on using the changeset viewer.