Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added get_language_bidi to django.utils.translation.trans_nuill. Refs #…

…2203

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 78adbd9434df03a28acc929f0b00f253dd634833 1 parent f3a586a
Adrian Holovaty authored July 11, 2006

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/utils/translation/trans_null.py
1  django/utils/translation/trans_null.py
@@ -14,5 +14,6 @@ def ngettext(singular, plural, number):
14 14
 activate = lambda x: None
15 15
 deactivate = install = lambda: None
16 16
 get_language = lambda: settings.LANGUAGE_CODE
  17
+get_language_bidi = lambda: settings.LANGUAGE_CODE in settings.LANGUAGES_BIDI
17 18
 get_date_formats = lambda: (settings.DATE_FORMAT, settings.DATETIME_FORMAT, settings.TIME_FORMAT)
18 19
 get_partial_date_formats = lambda: (settings.YEAR_MONTH_FORMAT, settings.MONTH_DAY_FORMAT)

0 notes on commit 78adbd9

Please sign in to comment.
Something went wrong with that request. Please try again.