File: //usr/lib64/python3.8/__pycache__/gettext.cpython-38.pyc
U
e5dj @ s d Z ddlZddlZddlZddlZddddddd d
ddd
ddddddddddgZejejddZ e
dejejB Z
dd Zdd ZdZd d! eed"D Zd#d$d%d&ZdGd(d)Zd*d+ Zd,d- Zd.d/ ZG d0d dZG d1d deZdHd3dZi Zd4gZdddd2efd5dZdedfd6dZi ai ad7a dId8d Z!dJd9d
Z"dKd:dZ#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.
NNullTranslationsGNUTranslationsCatalogfindtranslationinstall
textdomainbindtextdomainbind_textdomain_codesetdgettext dngettextgettextlgettext ldgettext
ldngettext lngettextngettextpgettext dpgettext npgettext
dnpgettextZsharelocalea
(?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 )refinditer_token_pattern lastgroupgroup
ValueError)pluralZmoZkindvalue r! /usr/lib64/python3.8/gettext.py _tokenizeW s
r# c C s | rt d| S t dS d S )Nz#unexpected token in plural form: %szunexpected end of plural form)r )r r! r! r"