Fixed #17873 -- Removed stale code from translation utilities that should have been removed a while ago. Thanks, Aymeric Augustin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b2dcec228a
commit
2f520139be
|
@ -14,7 +14,6 @@ __all__ = [
|
||||||
'get_language', 'get_language_from_request',
|
'get_language', 'get_language_from_request',
|
||||||
'get_language_info', 'get_language_bidi',
|
'get_language_info', 'get_language_bidi',
|
||||||
'check_for_language', 'to_locale', 'templatize', 'string_concat',
|
'check_for_language', 'to_locale', 'templatize', 'string_concat',
|
||||||
'get_date_formats', 'get_partial_date_formats',
|
|
||||||
'gettext', 'gettext_lazy', 'gettext_noop',
|
'gettext', 'gettext_lazy', 'gettext_noop',
|
||||||
'ugettext', 'ugettext_lazy', 'ugettext_noop',
|
'ugettext', 'ugettext_lazy', 'ugettext_noop',
|
||||||
'ngettext', 'ngettext_lazy',
|
'ngettext', 'ngettext_lazy',
|
||||||
|
@ -132,12 +131,6 @@ def get_language():
|
||||||
def get_language_bidi():
|
def get_language_bidi():
|
||||||
return _trans.get_language_bidi()
|
return _trans.get_language_bidi()
|
||||||
|
|
||||||
def get_date_formats():
|
|
||||||
return _trans.get_date_formats()
|
|
||||||
|
|
||||||
def get_partial_date_formats():
|
|
||||||
return _trans.get_partial_date_formats()
|
|
||||||
|
|
||||||
def check_for_language(lang_code):
|
def check_for_language(lang_code):
|
||||||
return _trans.check_for_language(lang_code)
|
return _trans.check_for_language(lang_code)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue