mirror of
https://github.com/Hopiu/django.git
synced 2026-03-21 08:20:30 +00:00
4 lines
171 B
Text
4 lines
171 B
Text
from django.utils.translation import gettext
|
|
|
|
# This will generate an xgettext warning
|
|
my_string = gettext("This string contain two placeholders: %s and %s" % ('a', 'b'))
|