Changeset 1540
- Timestamp:
- 12/04/05 12:12:16 (3 years ago)
- Files:
-
- django/trunk/docs/i18n.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/i18n.txt
r1532 r1540 620 620 So the above could have been written as:: 621 621 622 s = interpolate(ngettext('this is %s object', 'this are %s objects', 11), 11);622 s = interpolate(ngettext('this is %s object', 'this are %s objects', 11), [11]); 623 623 624 624 The interpolation syntax is borrowed from Python. You shouldn't go over the top with
