Changes between Version 11 and Version 12 of DevelopersGuide/StyleGuide


Ignore:
Timestamp:
Jan 12, 2010 6:02:31 PM (3 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/StyleGuide

    v11 v12  
    4848    
    4949   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))}}}