Viewing File: /opt/alt/python38/lib64/python3.8/__pycache__/gettext.cpython-38.opt-1.pyc
U
¡ê,aj ã @ s¶ d Z ddlZddlZddlZddlZddddddd d
ddd
ddddddddddgZej ejdd¡Z e
dejejB ¡Z
dd„ Zdd„ ZdZd d!„ eed"ƒD ƒZd#d$d%d&œZdGd(d)„Zd*d+„ Zd,d-„ Zd.d/„ ZG d0d„ dƒZG d1d„ deƒZdHd3d„Zi Zd4gZdddd2efd5d„Zdedfd6d„Zi ai ad7a dId8d „Z!dJd9d
„Z"dKd:d„Z#d;d„ Z$d<d„ Z%d=d
„ Z&d>d„ Z'd?d„ Z(d@d„ Z)dAd„ Z*dBd„ Z+dCd„ Z,dDd„ Z-dEd„ Z.dFd„ Z/eZ0dS )Laª 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ÚngettextÚpgettextÚ dpgettextÚ npgettextÚ
dnpgettextZshareÚ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 sP t t| ¡D ]8}|j}|dkr q| |¡}|dkr>td| ƒ‚|V qdV d S )NZWHITESPACESZINVALIDz invalid token in plural form: %sÚ )ÚreÚfinditerÚ_token_patternÚ lastgroupÚgroupÚ
ValueError)ÚpluralZmoZkindÚvalue© r! ú,/opt/alt/python38/lib64/python3.8/gettext.pyÚ _tokenizeW 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"