name : frontend.cpython-39.pyc
a

�`I��@sdZddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZddlmZddl
mZddlmZddlmZmZdd	lmZmZmZmZdd
lmZddlmZddlmZmZm Z m!Z!dd
l"m#Z#ddl$m%Z%m&Z&ddl'm(Z(ddl)m*Z+ddl,m-Z.ddl/m0Z0m1Z1zddl2m3Z3Wn e4�yPddl5m3Z3Yn0e�r\dndZ6d-dd�Z7Gdd�de.�Z-Gdd�de-�Z8Gdd�de-�Z9dd�Z:Gd d!�d!e-�Z;Gd"d#�d#e-�Z<Gd$d%�d%e=�Z>d&d'�Z?d.d(d)�Z@gfd*d+�ZAeBd,k�re?�dS)/z�
    babel.messages.frontend
    ~~~~~~~~~~~~~~~~~~~~~~~

    Frontends for the message extraction functionality.

    :copyright: (c) 2013-2021 by the Babel Team.
    :license: BSD, see LICENSE for more details.
�)�print_functionN)�OrderedDict)�datetime)�getpreferredencoding)�__version__)�Locale�
localedata)�StringIO�string_types�	text_type�PY2)�UnknownLocaleError)�Catalog)�DEFAULT_KEYWORDS�DEFAULT_MAPPING�check_and_call_extract_file�extract_from_dir)�write_mo)�read_po�write_po)�LOCALTZ)�log)�Command)�DistutilsOptionError�DistutilsSetupError)�RawConfigParserZrU�rcCs�g}t|ttf�s|g}|D]N}|dur*qt|ttf�rL|�t||d��q|�dd�t|��|�D��qtdd�|D��s�J�|S)a
    Make a list out of an argument.

    Values from `distutils` argument parsing are always single strings;
    values from `optparse` parsing may be lists of strings that may need
    to be further split.

    No matter the input, this function returns a flat list of whitespace-trimmed
    strings, with `None` values filtered out.

    >>> listify_value("foo bar")
    ['foo', 'bar']
    >>> listify_value(["foo bar"])
    ['foo', 'bar']
    >>> listify_value([["foo"], "bar"])
    ['foo', 'bar']
    >>> listify_value([["foo"], ["bar", None, "foo"]])
    ['foo', 'bar', 'foo']
    >>> listify_value("foo, bar, quux", ",")
    ['foo', 'bar', 'quux']

    :param arg: A string or a list of strings
    :param split: The argument to pass to `str.split()`.
    :return:
    N��splitcss|]}|��VqdS�N��strip)�.0�s�r$�;/usr/lib/python3.9/site-packages/babel/messages/frontend.py�	<genexpr>S�z listify_value.<locals>.<genexpr>css|]}t|t�VqdSr)�
isinstancer
)r"�valr$r$r%r&Tr')r(�list�tuple�extend�
listify_valuerr�all)�argr�outr)r$r$r%r-.s r-c@s.eZdZdZdZdZiZiZeZ	ddd�Z
dS)rNr$cCs0||_|��d|_d|_d|_d|_d|_dS)NFr)�distribution�initialize_optionsZ_dry_run�verbose�force�helpZ	finalized)�self�distr$r$r%�__init__vszCommand.__init__)N)�__name__�
__module__�__qualname__�as_args�multiple_value_options�boolean_options�option_aliases�option_choices�
distutils_logrr8r$r$r$r%rXsrc@sDeZdZdZdZgd�ZddgZdd�Zdd	�Zd
d�Z	dd
�Z
dS)�compile_cataloga�Catalog compilation command for use in ``setup.py`` scripts.

    If correctly installed, this command is available to Setuptools-using
    setup scripts automatically. For projects using plain old ``distutils``,
    the command needs to be registered explicitly in ``setup.py``::

        from babel.messages.frontend import compile_catalog

        setup(
            ...
            cmdclass = {'compile_catalog': compile_catalog}
        )

    .. versionadded:: 0.9
    z+compile message catalogs to binary MO files))�domain=�Dz>domains of PO files (space separated list, default 'messages'))z
directory=�d�.path to base directory containing the catalogs�zinput-file=�izname of the input file)�output-file=�ozQname of the output file (default '<output_dir>/<locale>/LC_MESSAGES/<domain>.mo')��locale=�lz locale of the catalog to compile)�	use-fuzzy�fzalso include fuzzy translations)�
statisticsNz#print statistics about translationsrNrPcCs.d|_d|_d|_d|_d|_d|_d|_dS�N�messagesF)�domain�	directory�
input_file�output_file�locale�	use_fuzzyrP�r6r$r$r%r2�sz"compile_catalog.initialize_optionscCs8t|j�|_|js |js td��|js4|js4td��dS)Nz<you must specify either the input file or the base directoryz=you must specify either the output file or the base directory)r-rSrUrTrrVrYr$r$r%�finalize_options�s
z compile_catalog.finalize_optionscCsTd}|jD](}|�|���D]\}}|t|�7}qq
|rH|j�d|�|rPdSdS)Nrz%d errors encountered.�)rS�_run_domain�items�lenr�error)r6Zn_errorsrS�catalog�errorsr$r$r%�run�s
zcompile_catalog.runc
Cs�g}g}|js�|jr\|�|jtj�|j|jd|d�f�|�tj�|j|jd|d��nbt�|j�D]T}tj�|j|d|d�}tj�|�rh|�||f�|�tj�|j|d|d��qhnF|�|j|jf�|j	r�|�|j	�n |�tj�|j|jd|d��|�st
d��i}t|�D�]h\}\}}||}t|d��}	t
|	|�}
Wd�n1�sb0Y|j�r�d}t|
�dd�D]}|j�r�|d7}�q�d}
t|
��r�|dt|
�}
|j�d	|t|
�|
|�|
j�r�|j�s�|j�d
|��q t|
���||
<}|D]*\}}|D]}|j�d||j|��q�q|j�d||�t|d
�� }t||
|jd�Wd�n1�s~0Y�q |S)N�LC_MESSAGES�.poz.mo�no message catalogs found�rbrr[�dz)%d of %d messages (%d%%) translated in %sz'catalog %s is marked as fuzzy, skippingzerror: %s:%d: %szcompiling catalog %s to %s�wb)rX)rUrW�append�os�path�joinrT�listdir�existsrVr�	enumerate�openrrPr*�stringr^r�info�fuzzyrX�checkr_�linenor)r6rS�po_filesZmo_filesrW�po_fileZcatalogs_and_errors�idxZmo_file�infiler`Z
translated�messageZ
percentageZcatalog_errorsrar_�outfiler$r$r%r\�s~�����
�*
�
�4zcompile_catalog._run_domainN)r9r:r;�__doc__�description�user_optionsr>r2rZrbr\r$r$r$r%rB�s			rBc@sbeZdZdZdZgd�Zgd�ZdZdZddd	d
d�Z	dd
iZ
dd�Zdd�Zdd�Z
dd�ZdS)�extract_messagesa�Message extraction command for use in ``setup.py`` scripts.

    If correctly installed, this command is available to Setuptools-using
    setup scripts automatically. For projects using plain old ``distutils``,
    the command needs to be registered explicitly in ``setup.py``::

        from babel.messages.frontend import extract_messages

        setup(
            ...
            cmdclass = {'extract_messages': extract_messages}
        )
    z1extract localizable strings from the project code))zcharset=Nz3charset to use in the output file (default "utf-8"))z	keywords=�kzispace-separated list of keywords to look for in addition to the defaults (may be repeated multiple times))�no-default-keywordsNz#do not include the default keywords)z
mapping-file=�Fz&path to the mapping configuration file)�no-locationNz>do not include location comments with filename and line number)z
add-location=Nz�location lines format. If it is not given or "full", it generates the lines with both file name and line number. If it is "file", the line number part is omitted. If it is "never", it completely suppresses the lines (same as --no-location).)�omit-headerNz'do not include msgid "" entry in header)rIrJzname of the output file�zwidth=�wz"set output line width (default 76)��no-wrapNzVdo not break long message lines, longer than the output line width, into several lines)�sort-outputNz&generate sorted output (default False))�sort-by-fileNz,sort output by file location (default False))zmsgid-bugs-address=Nzset report address for msgid)zcopyright-holder=Nzset copyright holder in output)zproject=Nzset project name in output)zversion=Nzset project version in output)z
add-comments=�czuplace comment block with TAG (or those preceding keyword lines) in output file. Separate multiple TAGs with commas(,))�strip-commentsr#z)strip the comment TAGs from the comments.)zinput-paths=Nzofiles or directories that should be scanned for messages. Separate multiple files or directories with commas(,))zinput-dirs=Nz@alias for input-paths (does allow files as well as directories).)r�r�r�r�r�r�r�zinput-paths)zadd-comments�keywords)z	--keyword)z	--mapping)z--output)z--strip-comment-tags)r�zmapping-filezoutput-filer�zadd-location)Zfull�file�nevercCs�d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_dS)Nzutf-8FT)�charsetr��no_default_keywords�mapping_file�no_location�add_location�omit_headerrV�
input_dirs�input_paths�width�no_wrap�sort_output�sort_by_file�msgid_bugs_address�copyright_holder�project�version�add_comments�strip_comments�include_linenorYr$r$r%r2[s*z#extract_messages.initialize_optionscCs�|jr|js|j|_ntd��|jr*i}nt��}|�tt|j	���||_	|j	sZtd��|j
shtd��|jr||jr|td��|js�|js�d|_n|jdur�t
|j�|_|jr�|jr�td��|jr�t|jt�r�t�d|j�|_n6|jdu�rt�dd	�|jjp�d
D����|_ng|_|j�s$td��|jD] }tj�|��s*td|���q*t|j�pXd
d
�|_|j�r�|j�s||j��|_|j�s�|j� �|_|j!dk�r�d|_"n|j!dk�r�d|_#dS)Nz1input-dirs and input-paths are mutually exclusivez=you must specify new keywords if you disable the default oneszno output file specified�0'--no-wrap' and '--width' are mutually exclusive�Lz;'--sort-output' and '--sort-by-file' are mutually exclusivez,\s*cSsg|]}|�dd�d�qS)�.r[rr)r"r�r$r$r%�
<listcomp>�s�z5extract_messages.finalize_options.<locals>.<listcomp>r$z'no input files or directories specifiedzInput path: %s does not exist�,r�Tr�F)$r�r�rr�r�copy�update�parse_keywordsr-r�rVr�r��intr�r�r(r
�rerr1�dict�fromkeysZpackages�keysrjrkrnr�r�Zget_namer�Zget_versionr�r�r�)r6r�rkr$r$r%rZrs\
�


�
z!extract_messages.finalize_optionscsN���}t�jd���"}t�j�j�j�j�jd�}|D]�\�}}��fdd�}t	j
���r�t	��}t
�|||�j�j�j|�}nt�||�j�j|�jd�}|D]P\}	}
}}}
t	j
���r�|	}nt	j
�t	j
��|	��}|j|d||
fg||
d�q�q8�j�d�j�t||�j�j�j�j�j�jd�Wd�n1�s@0YdS)	Nrh)r�r�r�r�r�csl|dkrdStj���r�}ntj�tj��|��}d}|rXdd�dd�|��D��}�j�d||�dS)N�ignore�z (%s)z, cSsg|]\}}d||f�qS)z%s="%s"r$)r"r��vr$r$r%r��s�z:extract_messages.run.<locals>.callback.<locals>.<listcomp>zextracting messages from %s%s)rjrk�isfile�normpathrlr]rrr)�filename�method�options�filepathZoptstr�rkr6r$r%�callback�s�
z&extract_messages.run.<locals>.callback)r�Zcomment_tagsr�Zstrip_comment_tags)Z
auto_comments�contextzwriting PO template file to %s)r�r�r�r�r�r�)�
_get_mappingsrprVrr�r�r�r�r�rjrkr��getcwdrr�r�r�rr�rl�addrrrrr�r�r�r�r�r�)r6�mappingsr{r`�
method_map�options_mapr�Zcurrent_dirZ	extractedr�rurzZcommentsr�r�r$r�r%rb�sN�
���

�zextract_messages.runcCs
g}|jr`t|jt��}t|�\}}Wd�n1s80Y|jD]}|�|||f�qHn�t|jdd�r�|jj}|�	�D]h\}}t
|t�r�tt|��\}}n4gi}}|D]$\}}	}
|�||	f�|
p�i||<q�|�|||f�q~n|jD]}|�|t
if�q�|S)N�message_extractors)r�rp�po_file_read_mode�
parse_mappingr�ri�getattrr1r�r]r(r
r	r)r6r��fileobjr�r�rkr��mapping�patternr�r�r$r$r%r��s&*



zextract_messages._get_mappingsN)r9r:r;r|r}r~r>r<r=r?r@r2rZrbr�r$r$r$r%r
s"1��C=rcCs"|dksJ�t|t�std��dS)agValidate the ``message_extractors`` keyword argument to ``setup()``.

    :param dist: the distutils/setuptools ``Distribution`` object
    :param name: the name of the keyword argument (should always be
                 "message_extractors")
    :param value: the value of the keyword argument
    :raise `DistutilsSetupError`: if the value is not valid
    r�zDthe value of the "message_extractors" parameter must be a dictionaryN)r(r�r)r7�name�valuer$r$r%�check_message_extractorss	
r�c@s:eZdZdZdZgd�ZdgZdd�Zdd�Zd	d
�Z	dS)�init_cataloga�New catalog initialization command for use in ``setup.py`` scripts.

    If correctly installed, this command is available to Setuptools-using
    setup scripts automatically. For projects using plain old ``distutils``,
    the command needs to be registered explicitly in ``setup.py``::

        from babel.messages.frontend import init_catalog

        setup(
            ...
            cmdclass = {'init_catalog': init_catalog}
        )
    z(create a new catalog based on a POT file)�rCrDz&domain of PO file (default 'messages')rG)�output-dir=rEzpath to output directory�rIrJzQname of the output file (default '<output_dir>/<locale>/LC_MESSAGES/<domain>.po'))rLrMz$locale for the new localized catalogr�r�r�cCs.d|_d|_d|_d|_d|_d|_d|_dSrQ)�
output_dirrVrUrWrSr�r�rYr$r$r%r2Aszinit_catalog.initialize_optionsc
Cs|jstd��|jstd��zt�|j�|_Wn,tyZ}zt|��WYd}~n
d}~00|jsp|jsptd��|js�t	j
�|j|jd|jd�|_t	j
�
t	j
�|j��s�t	�t	j
�|j��|jr�|jr�td��|js�|js�d|_n|jdur�t|j�|_dS)N�you must specify the input filez-you must provide a locale for the new catalogz%you must specify the output directoryrcrdr�r�)rUrrWr�parse�_localer
rVr�rjrkrlrSrn�dirname�makedirsr�r�r�)r6�er$r$r%rZJs,
�
zinit_catalog.finalize_optionscCs�|j�d|j|j�t|jd��}t||jd�}Wd�n1sD0Y|j|_t�	t
�|_d|_t|jd�� }t
|||jd�Wd�n1s�0YdS)Nzcreating catalog %s based on %srf)rWFrh)r�)rrrrVrUrprrWr�rZnowrZ
revision_datersrr�)r6ryr`r{r$r$r%rbfs
�,zinit_catalog.runN�
r9r:r;r|r}r~r>r2rZrbr$r$r$r%r�s	r�c@s<eZdZdZdZgd�Zgd�Zdd�Zdd�Zd	d
�Z	dS)�update_cataloga�Catalog merging command for use in ``setup.py`` scripts.

    If correctly installed, this command is available to Setuptools-using
    setup scripts automatically. For projects using plain old ``distutils``,
    the command needs to be registered explicitly in ``setup.py``::

        from babel.messages.frontend import update_catalog

        setup(
            ...
            cmdclass = {'update_catalog': update_catalog}
        )

    .. versionadded:: 0.9
    z'update message catalogs from a POT file)r�rG)r�rErFr�)r�Nz%do not include msgid  entry in headerrKr�r�)zignore-obsolete=Nz1whether to omit obsolete messages from the output)�no-fuzzy-matching�Nzdo not use fuzzy matching)�update-header-commentNzupdate target header comment)�previousNz+keep previous msgids of translated messages)r�r�zignore-obsoleter�r�r�cCsLd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_dSrQ)rSrUr�rVr�rWr�r��ignore_obsolete�no_fuzzy_matching�update_header_commentr�rYr$r$r%r2�sz!update_catalog.initialize_optionscCs�|jstd��|js"|js"td��|jr6|js6td��|jrJ|jrJtd��|js^|js^d|_n|jdurtt|j�|_|jr�|j	r�d|_	dS)Nr�z-you must specify the output file or directoryzyou must specify the localer�r�F)
rUrrVr�rWr�r�r�r�r�rYr$r$r%rZ�s
zupdate_catalog.finalize_optionsc
Cs>g}|js�|jr:|�|jtj�|j|jd|jd�f�q�t�|j�D]8}tj�|j|d|jd�}tj�	|�rF|�||f�qFn|�|j|jf�|s�t
d��|j}|s�tj�tj�|j
��d}t|j
d��}t|�}Wd�n1s�0Y|D�]:\}}|j�d||j
�t|d��}t|||d�}Wd�n1�sH0Y|j||j|jd�tj�tj�|�t��tj�|��}	zLt|	d	��,}
t|
||j|j|j|jd
�Wd�n1�s�0YWnt�|	��Yn0zt�|	|�Wq�t�y6t�|�t �!|	|�t�|	�Yq�0q�dS)Nrcrdrerrfzupdating catalog %s based on %s)rWrS)r�rh)r�r�Zinclude_previousr�)"rVrWrirjrkrlr�rSrmrnr�splitext�basenamerUrprrrrr�r�r�r��tempfileZ
gettempprefixrr�r�r�r��remove�rename�OSError�shutilr�)r6rvrWrwrSry�templater�r`ZtmpnameZtmpfiler$r$r%rb�sj���&.�
���*

zupdate_catalog.runNr�r$r$r$r%r�xsr�c@s^eZdZdZdZdeZddddd�Zee	e
ed�Zd	Z
dd
d�Zdd
�Zdd�Zdd�Zd	S)�CommandLineInterfacez�Command-line interface.

    This class provides a simple command-line interface to the message
    extraction and PO file generation functionality.
    z%%prog %s [options] %sz	%%prog %sz$compile message catalogs to MO filesz:extract messages from source files and generate a POT filez+create new message catalogs from a POT filez0update existing message catalogs from a POT file)�compile�extract�initr�NcCs�|durtj}tj|jd|jd�|_|j��|j|j_	|jj
ddddd�|jj
d	d
ddtjd
d�|jj
ddddtj
dd�|jjdtjd�|j�|dd��\}}|�|j�|j�r6t��}tdd�|D��}|��d|d}|D]>}t�|�}|||jf}	t|	�tjj�p(t��p(dd��q�dS|�sH|j� d�|d}
|
|j!v�rl|j� d|
�|�"|
|dd��}|�#�S)z{Main entry point of the command-line interface.

        :param argv: list of arguments passed on the command-line
        N)�commandz[args])�usager�z--list-locales�list_locales�
store_truez print all known locales and exit)�dest�actionr5z-vz	--verbose�store_const�loglevelzprint as much as possible)r�r��constr5z-qz--quietzprint as little as possibleF)r�r�r[cSsg|]}t|��qSr$�r^)r"�
identifierr$r$r%r�Ar'z,CommandLineInterface.run.<locals>.<listcomp>z
%%-%ds %%s�ascii�replacerzQno valid command or option passed. Try the -h/--help option for more information.zunknown command "%s")$�sys�argv�optparse�OptionParserr�r��parserZdisable_interspersed_args�_help�
print_help�
add_option�logging�DEBUGZERROR�set_defaults�INFO�
parse_args�_configure_loggingr�r�rZlocale_identifiers�max�sortrr�Zenglish_name�print�encode�stdout�encodingrr_�commands�_configure_commandrb)r6r�r��argsZidentifiers�longest�formatr�rW�output�cmdname�cmdinstr$r$r%rb$sV�


���
��zCommandLineInterface.runcCsdt�d�|_|j�|�|jjr.|jjd}nt��}|j�|�|�|�t�d�}|�|�dS)N�babelrz%(message)s)	rZ	getLoggerrZsetLevel�handlersZ
StreamHandlerZ
addHandlerZ	FormatterZsetFormatter)r6r�Zhandler�	formatterr$r$r%rWs

z'CommandLineInterface._configure_loggingcCslt|j���td�tdd�|jD��}dtd|d�}t|j���}|D]\}}t|||f�qNdS)Nz	commands:cSsg|]}t|��qSr$r�)r"r�r$r$r%r�ir'z.CommandLineInterface._help.<locals>.<listcomp>z  %%-%ds %%s�r[)r	r��format_helprr
�sortedr])r6rrr
r�r}r$r$r%r�fszCommandLineInterface._helpc
Cs�|j|}|�}|jr|j|_t|t�s,J�|��tj|j|df|j|d�}t	|dd�}|j
D]�\}}}	|�d�}
t	||
�dd��}d|
g}|r�|�
d	|�|�|j�|
d��|j�|
d
�}
|
|kr�|jd|
7_qd|
|jv�r|j|d|	d
��qd|
|jv�r&|j|d|	|
d��qd|j||	||
d��qd|�|�\}}|�rdt||�dd�|�t|���D]\}}t|||��qpz|��Wn4t�y�}z|�t|��WYd
}~n
d
}~00|S)zB
        :type cmdname: str
        :type argv: list[str]
        r�)r�r}r<r$�=�-�_z--%sz-%sNz<%s>r�)r�r5ri)r�r5�choices)r5�defaultr)�command_classesrr(rr2r�r�r�r
r�r~r!r�rir,r?�getr@r>rr=r�setattr�varsr]Zensure_finalizedrr_�str)r6rr�Zcmdclassrr�r<ZlongZshortr5r�rZstrsrr�r�keyr��errr$r$r%rosH
�

$z'CommandLineInterface._configure_command)N)r9r:r;r|r��VERSIONr�r
rBrr�r�r rrbrr�rr$r$r$r%r�s$��
3	r�cCst��tj�Sr)r�rbr�r�r$r$r$r%�main�sr(c
Cs�i}g}i}t�}t|j�|_tr0|�||�n|�||�|��D]V}|dkr`t|�|��}qDdd�|�	dd�D�\}}|�
||f�t|�|��||<qD|r�t|�D](\}	\}}||vr�||}||f||	<q�||fS)aParse an extraction method mapping from a file-like object.

    >>> buf = StringIO('''
    ... [extractors]
    ... custom = mypackage.module:myfunc
    ...
    ... # Python source files
    ... [python: **.py]
    ...
    ... # Genshi templates
    ... [genshi: **/templates/**.html]
    ... include_attrs =
    ... [genshi: **/templates/**.txt]
    ... template_class = genshi.template:TextTemplate
    ... encoding = latin-1
    ...
    ... # Some custom extractor
    ... [custom: **/custom/*.*]
    ... ''')

    >>> method_map, options_map = parse_mapping(buf)
    >>> len(method_map)
    4

    >>> method_map[0]
    ('**.py', 'python')
    >>> options_map['**.py']
    {}
    >>> method_map[1]
    ('**/templates/**.html', 'genshi')
    >>> options_map['**/templates/**.html']['include_attrs']
    ''
    >>> method_map[2]
    ('**/templates/**.txt', 'genshi')
    >>> options_map['**/templates/**.txt']['template_class']
    'genshi.template:TextTemplate'
    >>> options_map['**/templates/**.txt']['encoding']
    'latin-1'

    >>> method_map[3]
    ('**/custom/*.*', 'mypackage.module:myfunc')
    >>> options_map['**/custom/*.*']
    {}

    :param fileobj: a readable file-like object containing the configuration
                    text to parse
    :see: `extract_from_directory`
    �
extractorscSsg|]}|���qSr$r )r"�partr$r$r%r��r'z!parse_mapping.<locals>.<listcomp>�:r[)rrZ	_sectionsrZreadfpZ	read_fileZsectionsr�r]rriro)
r�r�r)r�r�r��sectionr�r�rxr$r$r%r��s(1r�cCs�i}|D]�}d|vr$|�d�\}}n
|d}}||vr|r�g}|�d�D]:}|ddkrt|�t|dd��df�qH|�t|��qHt|�}|||<q|S)aQParse keywords specifications from the given list of strings.

    >>> kw = sorted(parse_keywords(['_', 'dgettext:2', 'dngettext:2,3', 'pgettext:1c,2']).items())
    >>> for keyword, indices in kw:
    ...     print((keyword, indices))
    ('_', None)
    ('dgettext', (2,))
    ('dngettext', (2, 3))
    ('pgettext', ((1, 'c'), 2))
    r+Nr����r�)rrir�r+)�stringsr�rq�funcname�indicesZinds�xr$r$r%r��s

r��__main__)N)N)Cr|Z
__future__rrr�rjr�r�r�r��collectionsrrrWrrrr'rrZ
babel._compatr	r
rrZ
babel.corer
Zbabel.messages.catalogrZbabel.messages.extractrrrrZbabel.messages.mofilerZbabel.messages.pofilerrZ
babel.utilrZ	distutilsrrAZ
distutils.cmdrZ_CommandZdistutils.errorsrrZConfigParserr�ImportErrorZconfigparserr�r-rBrr�r�r��objectr�r(r�r�r9r$r$r$r%�<module>s\	
*)
[
N


© 2025 Cubjrnet7