==============================================================
old
|
new
|
|
273 | 273 | .addKeyword(tr("Baker Street"), null, tr("''Baker'' and ''Street'' in any key")) |
274 | 274 | .addKeyword(tr("\"Baker Street\""), "\"\"", tr("''Baker Street'' in any key")) |
275 | 275 | .addKeyword("<i>key</i>:<i>valuefragment</i>", null, |
276 | | tr("''valuefragment'' anywhere in ''key''"), "name:str matches name=Bakerstreet") |
| 276 | tr("''valuefragment'' anywhere in ''key''"), tr("name:str matches name=Bakerstreet")) |
277 | 277 | .addKeyword("-<i>key</i>:<i>valuefragment</i>", null, tr("''valuefragment'' nowhere in ''key''")), |
278 | 278 | GBC.eol()); |
279 | 279 | hintPanel.add(new SearchKeywordRow(hcbSearchString) |
… |
… |
|
286 | 286 | .addKeyword("\"key\"=\"value\"", "\"\"=\"\"", |
287 | 287 | tr("to quote operators.<br>Within quoted strings the <b>\"</b> and <b>\\</b> characters need to be escaped " + |
288 | 288 | "by a preceding <b>\\</b> (e.g. <b>\\\"</b> and <b>\\\\</b>)."), |
| 289 | tr("name=\"Baker Street\""), |
289 | 290 | "\"addr:street\""), |
290 | 291 | GBC.eol().anchor(GBC.CENTER)); |
291 | 292 | hintPanel.add(new SearchKeywordRow(hcbSearchString) |
292 | 293 | .addTitle(tr("combinators")) |
293 | | .addKeyword("<i>expr</i> <i>expr</i>", null, tr("logical and (both expressions have to be satisfied)")) |
| 294 | .addKeyword("<i>expr</i> <i>expr</i>", null, |
| 295 | tr("logical and (both expressions have to be satisfied)"), |
| 296 | tr("Baker Street")) |
294 | 297 | .addKeyword("<i>expr</i> | <i>expr</i>", "| ", tr("logical or (at least one expression has to be satisfied)")) |
295 | 298 | .addKeyword("<i>expr</i> OR <i>expr</i>", "OR ", tr("logical or (at least one expression has to be satisfied)")) |
296 | 299 | .addKeyword("-<i>expr</i>", null, tr("logical not")) |
… |
… |
|
314 | 317 | GBC.eol().anchor(GBC.CENTER)); |
315 | 318 | hintPanel.add(new SearchKeywordRow(hcbSearchString) |
316 | 319 | .addTitle(tr("metadata")) |
317 | | .addKeyword("user:", "user:", tr("objects changed by user", "user:anonymous")) |
318 | | .addKeyword("id:", "id:", tr("objects with given ID"), "id:0 (new objects)") |
319 | | .addKeyword("version:", "version:", tr("objects with given version"), "version:0 (objects without an assigned version)") |
| 320 | .addKeyword("user:", "user:", tr("objects changed by user"), tr("user:anonymous")) |
| 321 | .addKeyword("id:", "id:", tr("objects with given ID"), tr("id:0 (new objects)")) |
| 322 | .addKeyword("version:", "version:", tr("objects with given version"), tr("version:0 (objects without an assigned version)")) |
320 | 323 | .addKeyword("changeset:", "changeset:", tr("objects with given changeset ID"), |
321 | | "changeset:0 (objects without an assigned changeset)") |
| 324 | tr("changeset:0 (objects without an assigned changeset)")) |
322 | 325 | .addKeyword("timestamp:", "timestamp:", tr("objects with last modification timestamp within range"), "timestamp:2012/", |
323 | 326 | "timestamp:2008/2011-02-04T12"), |
324 | 327 | GBC.eol()); |