Changeset 13317 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-01-14T01:04:51+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r13251 r13317 420 420 JOptionPane.showMessageDialog( 421 421 Main.parent, 422 tr("Search expression is not valid: \n\n {0}", e.getMessage()), 422 "<html>" + tr("Search expression is not valid: \n\n {0}", 423 e.getMessage().replace("<html>", "").replace("</html>", "")).replace("\n", "<br>") + 424 "</html>", 423 425 tr("Invalid search expression"), 424 426 JOptionPane.ERROR_MESSAGE); -
trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java
r12666 r13317 201 201 return new TimestampRange(minDate, maxDate); 202 202 } else { 203 throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<i>min</i>/<i>max</i>", "<i>timestamp</i>")); 203 throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<i>min</i>/<i>max</i>", "<i>timestamp</i>") 204 + "</html>"); 204 205 } 205 206 } 206 207 } else { 207 throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<code>:</code>", "<i>" + keyword + "</i>") );208 throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<code>:</code>", "<i>" + keyword + "</i>") + "</html>"); 208 209 } 209 210 }
Note:
See TracChangeset
for help on using the changeset viewer.