This website requires JavaScript.
Explore
Help
Sign In
test0908
/
django
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
ac29fec111
django
/
tests
/
i18n
/
project_dir
/
app_with_locale
/
models.py
4 lines
97 B
Python
Raw
Normal View
History
Unescape
Escape
Converted usage of ugettext* functions to their gettext* aliases Thanks Tim Graham for the review.
2017-01-27 03:58:33 +08:00
from
django
.
utils
.
translation
import
gettext
as
_
Enabled makemessages to support several translation directories Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and Tim Graham for the reviews. Also fixes #16084.
2013-11-30 17:53:08 +08:00
string
=
_
(
"
This app has a locale directory
"
)