ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/gettext.cpython-311.pyc |
� �fHS � � � d Z ddlZddlZddlZddlZg d�Zej � ej dd� � Z ej dej ej z � � Z d� Zd� Zd Zd � eed� � D � � Zdd dd�Zd)d�Zd� Zd� Zd� Z G d� d� � Z G d� de� � Zd*d�Zi Z d+d�Zd,dd�d�Zi adad,d�Zd,d �Z d!� Z!d"� Z"d#� Z#d$� Z$d%� Z%d&� Z&d'� Z'd(� Z(eZ)dS )-a� 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�bindtextdomain�find�translation�install� textdomain�dgettext� dngettext�gettext�ngettext�pgettext� dpgettext� npgettext� dnpgettext�share�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 # �� K � t j t | � � D ]A}|j }|dk r�|� |� � }|dk rt d|z � � �|V � �BdV � d S )N�WHITESPACES�INVALIDz invalid token in plural form: %s� )�re�finditer�_token_pattern� lastgroup�group� ValueError)�plural�mo�kind�values �./opt/alt/python311/lib64/python3.11/gettext.py� _tokenizer$ W s| � � � ��k�.�&�1�1� � ���|���=� � ����������9����?�%�G�H�H�H������ �H�H�H�H�H� c �H � | rt d| z � � S t d� � S )Nz#unexpected token in plural form: %szunexpected end of plural form)r )r"