Changes between Version 7 and Version 8 of DevelopersGuide/StyleGuide


Ignore:
Timestamp:
2009-05-29T23:29:48+02:00 (17 years ago)
Author:
Gubaer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/StyleGuide

    v7 v8  
    2323   import import static org.openstreetmap.josm.tools.I18n.tr;
    2424
    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()"));
    2628
     29   // use tr(...) for labels, title, tooltip texts and the like
     30   //
    2731   new JLabel(tr("Label always in tr()"));
    2832