Changeset 4377 in josm for trunk/src/org
- Timestamp:
- 2011-08-28T16:09:23+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/search
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r4375 r4377 211 211 descriptionText.appendItem(tr("<b>foot:</b> - key=foot set to any value.")); 212 212 descriptionText.appendItemHeader(tr("Special targets")); 213 descriptionText.appendItem(tr("<b>type:</b> - objects with corresponding type (<b>node</b>, <b>way</b>, <b>relation</b>)"));214 descriptionText.appendItem(tr("<b>user:</b>... - objects changed by user"));215 descriptionText.appendItem(tr("<b>user:anonymous</b> - objects changed by anonymous users"));216 descriptionText.appendItem(tr("<b>id:</b>... - objects with given ID (0 for new objects)"));217 descriptionText.appendItem(tr("<b>version:</b>... - objects with given version (0 objects without an assigned version)"));218 descriptionText.appendItem(tr("<b>changeset:</b>... - objects with given changeset id (0 objects without assigned changeset)"));219 descriptionText.appendItem(tr("<b>nodes:</b>... - objects with given number of nodes (nodes:count, nodes:min-max, nodes:min- or nodes:-max)"));220 descriptionText.appendItem(tr("<b>tags:</b>... - objects with given number of tags (nodes:count, nodes:min-max, nodes:min- or nodes:-max)"));221 descriptionText.appendItem(tr("<b>role:</b>... - objects with given role in a relation"));222 descriptionText.appendItem(tr("<b>timestamp:</b>... -objects with this timestamp (<b>2009-11-12T14:51:09Z</b>, <b>2009-11-12</b> or <b>T14:51</b> ...)"));223 descriptionText.appendItem(tr("<b>areasize:</b>... - closed ways with given area in m\u00b2 (areasize:min-max or areasize:max)"));224 descriptionText.appendItem(tr("<b>modified</b> - all changed objects"));225 descriptionText.appendItem(tr("<b>selected</b> - all selected objects"));226 descriptionText.appendItem(tr("<b>incomplete</b> - all incomplete objects"));227 descriptionText.appendItem(tr("<b>untagged</b> - all untagged objects"));228 descriptionText.appendItem(tr("<b>closed</b> - all closed ways (a node is not considered closed)"));229 descriptionText.appendItem(tr("<b>child <i>expr</i></b> - all children of objects matching the expression"));230 descriptionText.appendItem(tr("<b>parent <i>expr</i></b> - all parents of objects matching the expression"));231 descriptionText.appendItem(tr("<b>(all)inDownloadedArea</b> - objects (and all its way nodes / relation members) in downloaded area"));232 descriptionText.appendItem(tr("<b>(all)inView</b> - objects (and all its way nodes / relation members) in current view"));233 descriptionText.appendItem(tr("Use <b>|</b> or <b>OR</b> to combine with logical or"));213 /* 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>)")); 214 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>user:</b>... - objects changed by user")); 215 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>user:anonymous</b> - objects changed by anonymous users")); 216 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>id:</b>... - objects with given ID (0 for new objects)")); 217 /* 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)")); 219 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>nodes:</b>... - objects with given number of nodes (nodes:count, nodes:min-max, nodes:min- or nodes:-max)")); 220 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>tags:</b>... - objects with given number of tags (nodes:count, nodes:min-max, nodes:min- or nodes:-max)")); 221 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>role:</b>... - objects with given role in a relation")); 222 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>timestamp:</b>... - objects with this timestamp (<b>2009-11-12T14:51:09Z</b>, <b>2009-11-12</b> or <b>T14:51</b> ...)")); 223 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>areasize:</b>... - closed ways with given area in m\u00b2 (areasize:min-max or areasize:max)")); 224 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>modified</b> - all changed objects")); 225 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>selected</b> - all selected objects")); 226 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>incomplete</b> - all incomplete objects")); 227 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>untagged</b> - all untagged objects")); 228 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>closed</b> - all closed ways (a node is not considered closed)")); 229 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>child <i>expr</i></b> - all children of objects matching the expression")); 230 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>parent <i>expr</i></b> - all parents of objects matching the expression")); 231 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>(all)indownloadedarea</b> - objects (and all its way nodes / relation members) in downloaded area")); 232 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("<b>(all)inview</b> - objects (and all its way nodes / relation members) in current view")); 233 /* I18n: don't translate the bold text keyword */ descriptionText.appendItem(tr("Use <b>|</b> or <b>OR</b> to combine with logical or")); 234 234 descriptionText.appendItem(tr("Use <b>\"</b> to quote operators (e.g. if key contains <b>:</b>)") 235 235 + "<br/>" -
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r4375 r4377 886 886 else if ("parent".equals(key)) 887 887 return new Parent(parseFactor()); 888 else if ("in DownloadedArea".equals(key))888 else if ("indownloadedarea".equals(key)) 889 889 return new InDataSourceArea(false); 890 else if ("allin DownloadedArea".equals(key))890 else if ("allindownloadedarea".equals(key)) 891 891 return new InDataSourceArea(true); 892 else if ("in View".equals(key))892 else if ("inview".equals(key)) 893 893 return new InView(false); 894 else if ("allin View".equals(key))894 else if ("allinview".equals(key)) 895 895 return new InView(true); 896 896 else
Note:
See TracChangeset
for help on using the changeset viewer.