ó
rąE^c           @   sŋ   d  d l  m Z d  d l m Z d   Z e Z d   Z d   Z d   Z d   Z	 d   Z
 e
 Z d	   Z d
   Z d   Z d   Z d   Z e Z Z Z d   Z e d  Z d   Z d S(   iĸĸĸĸ(   t   settings(   t
   force_textc         C   s   | d k r |  S| S(   Ni   (    (   t   singulart   pluralt   number(    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   ngettext	   s    c         C   s   t  t |  | |   S(   N(   R   R   (   R   R   R   (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt	   ungettext   s    c         C   s
   t  |  S(   N(   t   ugettext(   t   contextt   message(    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   pgettext   s    c         C   s   t  | | |  S(   N(   R   (   R   R   R   R   (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt	   npgettext   s    c         C   s   d  S(   N(   t   None(   t   x(    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   activate   s    c           C   s   d  S(   N(   R   (    (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt
   deactivate"   s    c           C   s   t  j S(   N(   R    t   LANGUAGE_CODE(    (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   get_language)   s    c           C   s   t  j t  j k S(   N(   R    R   t   LANGUAGES_BIDI(    (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   get_language_bidi-   s    c         C   s   t  S(   N(   t   True(   R   (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   check_for_language1   s    c         C   s   |  S(   N(    (   R	   (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   gettext5   s    c         C   s   t  t |    S(   N(   R   R   (   R	   (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyR   9   s    c         C   sM   |  j  d  } | d k r? |  |  j   d |  | d j   S|  j   Sd  S(   Nt   -i    t   _i   (   t   findt   lowert   upper(   t   languaget   p(    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt	   to_locale@   s    $c         C   s   t  j S(   N(   R    R   (   t   requestt
   check_path(    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   get_language_from_requestH   s    c         C   s   d  S(   N(   R   (   R   (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   get_language_from_pathL   s    N(   t   django.confR    t   django.utils.encodingR   R   t   ngettext_lazyR   R
   R   R   R   t   deactivate_allR   R   R   R   R   t   gettext_noopt   gettext_lazyR   R   t   FalseR!   R"   (    (    (    sE   /tmp/pip-unpacked-wheel-4tV8Ix/django/utils/translation/trans_null.pyt   <module>   s$   												