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