| 1 |
from gettext import gettext as foo |
| 2 |
|
| 3 |
foo('bar') |
| 4 |
|
| 5 |
foo('baz', 'qux') |
| 6 |
|
| 7 |
# The 't' specifier is not supported, so the following |
| 8 |
# call is extracted as pgettext instead of ngettext. |
| 9 |
foo('corge', 'grault', 1) |
| 10 |
|
| 11 |
foo('xyzzy', 'foo', 'foos', 1) |