관리-도구
편집 파일: __init__.cpython-311.pyc
� �����)^�_3����������������������T�����d�Z�dZddlmZ�ddlmZ��G�d��d������������Z�e��������������ZdS�)zL This package contains modules for language-dependent features of Docutils. �reStructuredText�����)� import_module)�normalize_language_tagc��������������������:�����e�Zd�ZdZdZdZdZd��Zd d�Zd��Z d d �Z dS�)�LanguageImportera��Import language modules. When called with a BCP 47 language tag, instances return a module with localisations from `docutils.languages` or the PYTHONPATH. If there is no matching module, warn (if a `reporter` is passed) and fall back to English. )zdocutils.languages.��zHLanguage "%s" not supported: Docutils-generated text will be in English.�enc�����������������������i�|�_���������d�S��N)�cache)�selfs��� �{/builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/docutils/languages/__init__.py�__init__zLanguageImporter.__init__"���s �������� � � �����Nc����������������������d}|�j���������D�]}} �t����������||z���������������}|����������������������|�������������nR#�t����������t����������f$�r>�|r|r|���������������������|��d��������������n|r|���������������������d||z�����d��������������Y��yw�xY�w�|S�)z/Try loading module `name` from `self.packages`.Nz) is no complete Docutils language module.zModule "z" not found.)�packagesr���� check_content�ImportError�AttributeError�info)r ����name�reporter�module�packages��� r����import_from_packagesz%LanguageImporter.import_from_packages%���s����������}�� �� �G� �&�w�t�|�4�4���"�"�6�*�*�*�*����0�� �� �� ���I���I��M�M�V��#>��#>��#>��?��?��?��?���I��M�M�"G�W�T�\�"G�"G�"G�H�H�H��� ����� �� s����'5�AB�Bc�����������������������t����������|j��������t����������������������r4t����������|j��������t����������������������rt����������|j��������t ����������������������st�����������dS�)z+Check if we got a Docutils language module.N)� isinstance�labels�dict�bibliographic_fields�author_separators�listr���)r ���r���s��� r���r���zLanguageImporter.check_content6���sR�������6�=�$�/�/�� ��v�:�D�A�A� ��v�7��>�>� ���� �� r���c���������������������� �|�j���������|���������S�#�t����������$�r�Y�nw�xY�wt����������|������������D�]2}|���������������������dd������������}|����������������������||������������}|��nA�3|r|���������������������|�j��������|z���������������|�j��������r|����������������������|�j��������������������}|r"|dk����r|���������������������d|�d|�d��������������||�j���������|<���|S�)N�-�_r ���zUsing z for language "z".) r����KeyErrorr����replacer����warning�warn_msg�fallbackr���)r ���� language_coder����tagr���s��� r����__call__zLanguageImporter.__call__=���s����� ��:�m�,�,���� �� �� ��D� ����)�-�8�8�� B�� B�C��+�+�c�3�'�'�C��.�.�s�H�=�=�F��!����"���� @�� � ����!>�?�?�?��}�� B��2�2�4�=�A�A���� 5��$�.�.��M�M�M�#�V�V�]�]�]�4�� 5�� 5�� 5�$*�� �=�!�� s������ �r���)�__name__� __module__�__qualname__�__doc__r���r)���r*���r���r���r���r-�����r���r���r���r������sw������������������+�H�>�H��H�������������"���������������r���r���N)r1���� __docformat__� importlibr����docutils.utilsr���r����get_languager2���r���r����<module>r7������sw���������#� ��#��#��#��#��#��#��1��1��1��1��1��1�=��=��=��=��=��=��=��=�@� ��!�!���r���