2017-01-26 19:58:33 +00:00
|
|
|
from django.utils.translation import gettext
|
2012-07-18 16:34:13 +00:00
|
|
|
|
|
|
|
# This will generate an xgettext warning
|
2017-01-26 19:58:33 +00:00
|
|
|
my_string = gettext("This string contain two placeholders: %s and %s" % ('a', 'b'))
|