mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
4
tests/i18n/commands/code.sample
Normal file
4
tests/i18n/commands/code.sample
Normal file
@@ -0,0 +1,4 @@
|
||||
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'))
|
||||
Reference in New Issue
Block a user