File: //usr/lib/python3.7/__pycache__/gettext.cpython-37.pyc
B
îÇ{azW ã @ sx d Z ddlZddlZddlZddlZddddddd d
ddd
ddddddgZej ejdd¡Z e
dejejB ¡Z
dd„ Zdd„ ZdZdd„ eedƒD ƒZdd d!d"œZd>d$d%„Zd&d'„ Zd(d)„ Zd*d+„ ZG d,d„ dƒZG d-d„ deƒZd?d/d„Zi Zd@d0d„ZdAd1d„Zi ai ad2adBd3d „Z dCd4d
„Z!dDd5d„Z"d6d„ Z#d7d„ Z$d8d
„ Z%d9d„ Z&d:d„ Z'd;d„ Z(d<d„ Z)d=d„ Z*eZ+dS )Eaª Internationalization and localization support.
This module provides internationalization (I18N) and localization (L10N)
support for your Python programs by providing an interface to the GNU gettext
message catalog library.
I18N refers to the operation by which a program is made aware of multiple
languages. L10N refers to the adaptation of your program, once
internationalized, to the local language and cultural habits.
é NÚNullTranslationsÚGNUTranslationsÚCatalogÚfindÚtranslationÚinstallÚ
textdomainÚbindtextdomainÚbind_textdomain_codesetÚdgettextÚ dngettextÚgettextÚlgettextÚ ldgettextÚ
ldngettextÚ lngettextÚngettextZshareÚlocaleaÊ
(?P<WHITESPACES>[ \t]+) | # spaces and horizontal tabs
(?P<NUMBER>[0-9]+\b) | # decimal integer
(?P<NAME>n\b) | # only n is allowed
(?P<PARENTHESIS>[()]) |
(?P<OPERATOR>[-*/%+?:]|[><!]=?|==|&&|\|\|) | # !, *, /, %, +, -, <, >,
# <=, >=, ==, !=, &&, ||,
# ? :
# unary and bitwise ops
# not allowed
(?P<INVALID>\w+|.) # invalid token
c c sT xHt t| ¡D ]8}|j}|dkr"q| |¡}|dkr@td| ƒ‚|V qW dV d S )NZWHITESPACESZINVALIDz invalid token in plural form: %sÚ )ÚreÚfinditerÚ_token_patternÚ lastgroupÚgroupÚ
ValueError)ÚpluralZmoZkindÚvalue© r ú/usr/lib/python3.7/gettext.pyÚ _tokenizeV s
r c C s | rt d| ƒS t dƒS d S )Nz#unexpected token in plural form: %szunexpected end of plural form)r )r r r r Ú_errora s r ))z||)z&&)z==z!=)ú<ú>z<=z>=)ú+ú-)Ú*ú/ú%c C s i | ]\}}|D ]
}||“qqS r r )Ú.0ÚiZopsÚopr r r ú
<dictcomp>o s r+ é ÚorÚandz//)z||z&&r&