Mercurial > p > roundup > code
comparison doc/customizing.txt @ 5526:df3f553fa414
Update documentation for Python 3 support (issue 2550968, issue 2550980).
A few obsolete references to Python 2.3 or 2.4 also removed or
updated.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Mon, 03 Sep 2018 00:12:46 +0000 |
| parents | b7fa56ced601 |
| children | 0dea3d6944c5 |
comparison
equal
deleted
inserted
replaced
| 5525:bb7865241f8a | 5526:df3f553fa414 |
|---|---|
| 2336 Like ``gettext()``, but consider plural forms. If a translation | 2336 Like ``gettext()``, but consider plural forms. If a translation |
| 2337 is found, apply the plural formula to *number*, and return the | 2337 is found, apply the plural formula to *number*, and return the |
| 2338 resulting message (some languages have more than two plural forms). | 2338 resulting message (some languages have more than two plural forms). |
| 2339 If no translation is found, return singular if *number* is 1; | 2339 If no translation is found, return singular if *number* is 1; |
| 2340 return plural otherwise. | 2340 return plural otherwise. |
| 2341 | |
| 2342 This function requires python2.3; in earlier python versions | |
| 2343 may not work as expected. | |
| 2344 | 2341 |
| 2345 The context variable | 2342 The context variable |
| 2346 ~~~~~~~~~~~~~~~~~~~~ | 2343 ~~~~~~~~~~~~~~~~~~~~ |
| 2347 | 2344 |
| 2348 The *context* variable is one of three things based on the current | 2345 The *context* variable is one of three things based on the current |
