mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from django.utils.translation import ugettext
|
||||
from django.utils.translation import gettext
|
||||
|
||||
# This will generate an xgettext warning
|
||||
my_string = ugettext("This string contain two placeholders: %s and %s" % ('a', 'b'))
|
||||
my_string = gettext("This string contain two placeholders: %s and %s" % ('a', 'b'))
|
||||
|
||||
Reference in New Issue
Block a user