1
0
mirror of https://github.com/django/django.git synced 2024-12-26 02:56:25 +00:00
django/tests/regressiontests/i18n/commands/code.sample

5 lines
173 B
Plaintext
Raw Normal View History

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'))