관리-도구
편집 파일: gettext.cpython-36.opt-2.pyc
3 \T � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ ddddddd d ddd ddddddgZ ej jejdd�Z ejdejejB �Zdd� Zdd� ZdOZd(d)� eed*�D �Zd+d,d-d.�ZdQd/d0�Zd1d2� Zd3d4� Zd5d6� ZG d7d� d�ZG d8d� de�ZdRd:d�Zi ZdSd;d�ZdTd<d�Z i a!i a"d=a#dUd>d �Z$dVd?d �Z%dWd@d�Z&dAd� Z'dBd� Z(dCd � Z)dDd� Z*dEd� Z+dFd� Z,dGd� Z-dHd� Z.eZ/dS )X� N)�ENOENT�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 jt| �D ]8}|j}|dkr"q|j|�}|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/lib64/python3.6/gettext.py� _tokenizeT 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 �_error_ s r! �||�&&�==�!=�<�>�<=�>=�+�-�*�/�%c C s i | ]\}}|D ] }||�qqS r r )�.0�iZops�opr r r � <dictcomp>m s r2 � �or�andz//)z||z&&r- c C s� d}t | �}x|dkr(|d7 }t | �}qW |dkr\t| �\}}d||f }|dkr�td��nP|dkrrd ||f }n:yt|d �}W n tk r� t|�d �Y nX d||f }t | �}d}xh|tk�r t| }||k r�P |dkr�|dkr�d| }tj||�}t| |d �\} }d||| f }|}q�W || k�o6dkn �rFd| }|dk�r�|dk�r�t| d�\} }|dk�rzt|��t| �\}}d| ||f }|dk�r�d| }||fS )Nr �!znot �(z%s(%s)�)z%unbalanced parenthesis in plural form�nz%s%s� z%s%d�d � � z(%s)r3 z%s %s %s�?r �:z%s if %s else %s)r<