mirror of
https://github.com/django/django.git
synced 2024-11-19 07:54:07 +00:00
c54905b359
Thanks Niels Busch for the initial patch.
5 lines
173 B
Plaintext
5 lines
173 B
Plaintext
from django.utils.translation import ugettext
|
|
|
|
# This will generate an xgettext warning
|
|
my_string = ugettext("This string contain two placeholders: %s and %s" % ('a', 'b'))
|