Changes between Version 7 and Version 8 of DevelopersGuide/StyleGuide
- Timestamp:
- 2009-05-29T23:29:48+02:00 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/StyleGuide
v7 v8 23 23 import import static org.openstreetmap.josm.tools.I18n.tr; 24 24 25 threw new Exception(tr("error message always in tr()")); 25 // use tr(...) for exception messages 26 // 27 throw new Exception(tr("error message always in tr()")); 26 28 29 // use tr(...) for labels, title, tooltip texts and the like 30 // 27 31 new JLabel(tr("Label always in tr()")); 28 32
