Changes between Version 11 and Version 12 of DevelopersGuide/StyleGuide
- Timestamp:
- 2010-01-12T18:02:31+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/StyleGuide
v11 v12 48 48 49 49 Only exception: {{{+}}} can be used to break long lines of non-variable texts. 50 51 * When using apostrophe, the following rules apply: 52 53 For simple strings without substitution you need not change anything: 54 55 {{{new JButton(tr("Don't press me!"))}}} 56 57 For {{{tr}}} with more than one parameter, the apostrophe is special. (Like backslash in C)[[BR]] 58 It needs to be escaped by another apostrophe: 59 60 {{{new JButton(tr("Don''t press me more than {0} times!", n))}}}