ok

Mini Shell

Direktori : /lib/python2.7/site-packages/babel/messages/
Upload File :
Current File : //lib/python2.7/site-packages/babel/messages/plurals.pyc

�
��Mc@s8dZddlmZmZddlmZed�ZiBd^d6d_d
6d`d6dad6dbd6dcd6ddd6ded6dfd6dgd6dhd6did6djd6dkd6dld6dmd6dnd6dod 6dpd!6dqd"6drd$6dsd%6dtd'6dud(6dvd)6dwd*6dxd+6dyd,6dzd-6d{d.6d|d/6d}d06d~d16dd26d�d36d�d46d�d56d�d66d�d76d�d96d�d;6d�d>6d�d?6d�d@6d�dA6d�dB6d�dC6d�dE6d�dF6d�dG6d�dI6d�dJ6d�dK6d�dM6d�dN6d�dO6d�dP6d�dQ6d�dR6d�dS6d�dT6d�dU6d�dV6d�dW6d�dX6d�dY6Zd�ZdZe	fd[��YZ
ed\�Zd]S(�sPlural form definitions.i����(tdefault_localetLocale(t
itemgettertLC_CTYPEis(n != 1)tafisM(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n>=3 && n<=10 ? 3 : n>=11 && n<=99 ? 4 : 5)tartbgtbnit0tbotcaisR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)tcstcvis/(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0)tcytdatdetdzteltenteotestetteutfatfis(n > 1)tfrtfurs(n==1 ? 0 : n==2 ? 1 : 2)tgatglthathethithrthuthytistittjatkatkgtkmtkotkutlosG(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)tlts+(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)tlvisQ(n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)tmttnbtnltnntnotpasB(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)tpltpttpt_BRs8(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)trotrutsks<(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)tsltsrtsttsvtthttrtuktvetvitxhtzh_CNtzh_HKtzh_TWt_PluralTuplecBsbeZdZd	Zeed�dd�Zeed�dd�Zed�dd�Zd�Z	RS(
s A tuple with plural information.itdocs.
    The number of plurals used by the locale.is.
    The plural expression used by the locale.cCsd|S(Nsnpurals=%s; plural=%s((tx((s:/usr/lib/python2.7/site-packages/babel/messages/plurals.pyt<lambda>�ss9
    The plural expression used by the catalog or locale.cCs|jS(N(tplural_forms(tself((s:/usr/lib/python2.7/site-packages/babel/messages/plurals.pyt__str__�s((
t__name__t
__module__t__doc__t	__slots__tpropertyRtnum_pluralstplural_exprRKRM(((s:/usr/lib/python2.7/site-packages/babel/messages/plurals.pyRG�s			cCsltj|�}ytt|�}Wn<tk
rayt|j}Wqbtk
r]t}qbXnXt|�S(s�A tuple with the information catalogs need to perform proper
    pluralization.  The first item of the tuple is the number of plural
    forms, the second the plural expression.

    >>> get_plural(locale='en')
    (2, '(n != 1)')
    >>> get_plural(locale='ga')
    (3, '(n==1 ? 0 : n==2 ? 1 : 2)')

    The object returned is a special tuple with additional members:

    >>> tup = get_plural("ja")
    >>> tup.num_plurals
    1
    >>> tup.plural_expr
    '0'
    >>> tup.plural_forms
    'npurals=1; plural=0'

    Converting the tuple into a string prints the plural forms for a
    gettext catalog:

    >>> str(tup)
    'npurals=1; plural=0'
    (RtparsetPLURALStstrtKeyErrortlanguagetDEFAULT_PLURALRG(tlocalettup((s:/usr/lib/python2.7/site-packages/babel/messages/plurals.pyt
get_plural�s

N(is(n != 1)(isM(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n>=3 && n<=10 ? 3 : n>=11 && n<=99 ? 4 : 5)(is(n != 1)(is(n != 1)(iR(is(n != 1)(isR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(iR(is/(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0)(is(n != 1)(is(n != 1)(iR(is(n != 1)(is(n != 1)(is(n != 1)(is(n != 1)(is(n != 1)(is(n != 1)(iR(is(n != 1)(is(n > 1)(is(n > 1)(is(n==1 ? 0 : n==2 ? 1 : 2)(is(n != 1)(is(n != 1)(is(n != 1)(is(n != 1)(isR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(iR(iR(is(n != 1)(is(n != 1)(iR(iR(is(n != 1)(iR(iR(is(n != 1)(iR(isG(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)(is+(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)(isQ(n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)(is(n != 1)(is(n != 1)(is(n != 1)(is(n != 1)(is(n != 1)(isB(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(is(n != 1)(is(n > 1)(is8(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)(isR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(isR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(is<(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)(isR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(is(n != 1)(is(n != 1)(iR(iR(isR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)(is(n != 1)(iR(is(n != 1)(iR(iR(iR(is(n != 1)(RPt
babel.coreRRt
babel.utilRRRVRZttupleRGR](((s:/usr/lib/python2.7/site-packages/babel/messages/plurals.pyt<module>s�



Zerion Mini Shell 1.0