/usr/lib/python2.6/site-packages/babel/messages
NameSizeModeActions
catalog.py310610644editdlrm
catalog.pyc303970644editdlrm
checkers.py60940644editdlrm
checkers.pyc56910644editdlrm
extract.py226950644editdlrm
extract.pyc174330644editdlrm
frontend.py522120644editdlrm
frontend.pyc422090644editdlrm
jslexer.py53170644editdlrm
jslexer.pyc51870644editdlrm
mofile.py69530644editdlrm
mofile.pyc55890644editdlrm
plurals.py66960644editdlrm
plurals.pyc66240644editdlrm
pofile.py163200644editdlrm
pofile.pyc145690644editdlrm
__init__.py2490644editdlrm
__init__.pyc3990644editdlrm
Edit: /usr/lib/python2.6/site-packages/babel/messages/plurals.pyc (6624B)
zDVc@s8dZddklZlZddklZedZhBd^d6d_d 6d`d 6dad 6dbd6dcd6ddd6ded6dfd6dgd6dhd6did6djd6dkd6dld6dmd6dnd6dod 6dpd!6dqd"6drd$6dsd%6dtd'6dud(6dvd)6dwd*6dxd+6dyd,6dzd-6d{d.6d|d/6d}d06d~d16dd26dd36dd46dd56dd66dd76dd96dd;6dd>6dd?6dd@6ddA6ddB6ddC6ddE6ddF6ddG6ddI6ddJ6ddK6ddM6ddN6ddO6ddP6ddQ6ddR6ddS6ddT6ddU6ddV6ddW6ddX6ddY6ZdZdZe fd[YZ ed\Z d]S(s babel.messages.plurals ~~~~~~~~~~~~~~~~~~~~~~ Plural form definitions. :copyright: (c) 2013 by the Babel Team. :license: BSD, see LICENSE for more details. 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 ZeedddZeedddZedddZdZ 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(snpurals=%s; plural=%s((tx((s5/tmp/pip-build-lt8jXN/Babel/babel/messages/plurals.pytss9 The plural expression used by the catalog or locale.cCs|iS(N(t plural_forms(tself((s5/tmp/pip-build-lt8jXN/Babel/babel/messages/plurals.pyt__str__s(( t__name__t __module__t__doc__t __slots__tpropertyRt num_pluralst plural_exprRKRM(((s5/tmp/pip-build-lt8jXN/Babel/babel/messages/plurals.pyRGs    cCspti|}ytt|}Wn@tj o4yt|i}Wqftj o t}qfXnXt|S(sA 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((s5/tmp/pip-build-lt8jXN/Babel/babel/messages/plurals.pyt get_pluralsN(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.coreRRtoperatorRRRVRZttupleRGR](((s5/tmp/pip-build-lt8jXN/Babel/babel/messages/plurals.pyt s