Server IP : 192.158.238.246 / Your IP : 3.143.7.75 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/babel/messages/__pycache__/ |
Upload File : |
3 X\0X! � D @ s� d Z ddlmZmZ ddlmZ ed�Zd!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcd�CZddZG dd� de �Z efdd�Zd S )ez� babel.messages.plurals ~~~~~~~~~~~~~~~~~~~~~~ Plural form definitions. :copyright: (c) 2013 by the Babel Team. :license: BSD, see LICENSE for more details. � )�default_locale�Locale)� itemgetter�LC_CTYPE� �(n != 1)� �[(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=0 && n%100<=2 ? 4 : 5)� �R(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)� �0�& (n==1 ? 0 : n%10==1 && n%100!=11 && n%100!=71 && n%100!=91 ? 1 : n%10==2 && n%100!=12 && n%100!=72 && n%100!=92 ? 2 : (n%10==3 || n%10==4 || n%10==9) && n%100!=13 && n%100!=14 && n%100!=19 && n%100!=73 && n%100!=74 && n%100!=79 && n%100!=93 && n%100!=94 && n%100!=99 ? 3 : n%1000000==0 ? 4 : 5)�%((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2)� �/(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0)�(n > 1)�@(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4)�(n%10==1 && n%100!=11 ? 0 : 1)�G(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)�+(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)� �S(n==1 ? 0 : n==0 || ( n%100=>1 && n%100<=10) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)�B(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)�8(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)�<(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3))CZaf�arZbeZbgZbnZbo�brZbsZcaZcsZcvZcyZdaZdeZdzZelZenZeoZesZetZeuZfaZfi�frZfurZgaZglZhaZhe�hiZhrZhuZhy�is�itZjaZkaZkgZkmZkoZku�lo�ltZlvZmtZnb�nlZnn�noZpaZplZptZpt_BRZroZruZskZsl�sr�stZsvZthZtrZukZveZviZxhZzhc @ sL e Zd ZdZf Zeed�dd�Zeed�dd�Zedd� d d�Z d d� Z dS ) �_PluralTuplez A tuple with plural information.r z. The number of plurals used by the locale.)�docr z. The plural expression used by the locale.c C s d| S )Nznplurals=%s; plural=%s;� )�xr* r* �/usr/lib/python3.6/plurals.py�<lambda>� s z_PluralTuple.<lambda>z9 The plural expression used by the catalog or locale.c C s | j S )N)�plural_forms)�selfr* r* r, �__str__� s z_PluralTuple.__str__N)�__name__� __module__�__qualname__�__doc__� __slots__�propertyr Znum_pluralsZplural_exprr. r0 r* r* r* r, r( � s r( c C s` t j| �} ytt| � }W n< tk rV yt| j }W n tk rP t}Y nX Y nX t|�S )a� 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') (5, '(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4)') 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 'nplurals=1; plural=0;' Converting the tuple into a string prints the plural forms for a gettext catalog: >>> str(tup) 'nplurals=1; plural=0;' )r �parse�PLURALS�str�KeyErrorZlanguage�DEFAULT_PLURALr( )Zlocale�tupr* r* r, � get_plural� s r= N)r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r4 Z babel.corer r �operatorr r r8 r; �tupler( r= r* r* r* r, �<module> s�