Django

Code

Show
Ignore:
Timestamp:
03/24/08 23:42:21 (4 months ago)
Author:
adrian
Message:

Edited some docs changes from the past few days

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/i18n.txt

    r7357 r7361  
    826826 
    827827    * Positional interpolation: ``obj`` contains a JavaScript Array object 
    828       whose elements values are then sequentially interpolated in their 
     828      whose elements values are then sequentially interpolated in their 
    829829      corresponding ``fmt`` placeholders in the same order they appear. 
    830830      For example:: 
     
    833833                'There are %s objects. Remaining: %s', 11); 
    834834        s = interpolate(fmts, [11, 20]); 
    835        // s is 'There are 11 objects. Remaining: 20' 
     835        // s is 'There are 11 objects. Remaining: 20' 
    836836 
    837837    * Named interpolation: This mode is selected by passing the optional 
     
    845845 
    846846        fmts = ngettext('Total: %(total)s, there is %(count)s object', 
    847            'there are %(count)s of a total of %(total)s objects', d.count); 
     847        'there are %(count)s of a total of %(total)s objects', d.count); 
    848848        s = interpolate(fmts, d, true); 
    849849