Mercurial > p > roundup > code
comparison doc/developers.txt @ 7054:d3346c3d92f2
replace beacon with bacon in list of meal items.
Bacon is much tastier than a becon.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 20 Nov 2022 11:44:19 -0500 |
| parents | a8c757a33ab1 |
| children | e4e651b1bcfa |
comparison
equal
deleted
inserted
replaced
| 7052:4b6a6b794dfa | 7054:d3346c3d92f2 |
|---|---|
| 198 | 198 |
| 199 Sometimes translatable strings appear in the source code in untranslated | 199 Sometimes translatable strings appear in the source code in untranslated |
| 200 form [#note_admin.py]_ and must be translated elsewhere. | 200 form [#note_admin.py]_ and must be translated elsewhere. |
| 201 Example:: | 201 Example:: |
| 202 | 202 |
| 203 for meal in ("spam", "egg", "beacon"): | 203 for meal in ("spam", "egg", "bacon"): |
| 204 print(_(meal)) | 204 print(_(meal)) |
| 205 | 205 |
| 206 In such cases, strings must be marked for translation without actual | 206 In such cases, strings must be marked for translation without actual |
| 207 call to the translating function. To mark these strings, we use Python | 207 call to the translating function. To mark these strings, we use Python |
| 208 feature of automatic concatenation of adjacent strings and different | 208 feature of automatic concatenation of adjacent strings and different |
