Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
sphinx
/
transforms
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: i18n.cpython-310.pyc
o �$�aZ � @ s� d Z ddlmZ ddlmZ ddlmZmZmZm Z m Z mZmZm Z ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZmZ ddlmZ dd lmZ ddl!m"Z" ddl#m$Z$m%Z%m&Z& ddl'm(Z( ddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/ er�ddl0m1Z1 e%�2e3�Z4dZ5e dej6d�Z7ddde8de8de9dededefdd�Z:G d d!� d!e"�Z;G d"d#� d#e"�Z<G d$d%� d%e"�Z=dddee8ef fd&d'�Z>d(S ))z� sphinx.transforms.i18n ~~~~~~~~~~~~~~~~~~~~~~ Docutils transforms used by Sphinx when reading documents. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. � )�path)�indent)� TYPE_CHECKING�Any�Dict�List�Optional�Tuple�Type�TypeVar)�nodes)�StringInput)�Element)� relative_path)�addnodes)�Config)�make_glossary_term�split_term_classifiers)�__)�init)�SphinxTransform)�get_filetype�logging�split_index_msg)�docname_to_domain)�IMAGE_TYPE_NODES�LITERAL_TYPE_NODES�NodeMatcher�extract_messages�is_pending_meta�traverse_translatable_index)�Sphinx)�refexplicit�N)�bound�appr! �source�source_path�source_line�config�settings�returnc C s� zG|j }d|_ ddlm} |� }|�| � t|j|�} | j�| | �} |jt |d||f d�| |d�}z|d }W n t yA Y nw |W ||_ S ||_ w )a� Publish msgstr (single line) into docutils document :param sphinx.application.Sphinx app: sphinx application :param str source: source text :param str source_path: source path for warning indication :param source_line: source line for warning indication :param sphinx.config.Config config: sphinx config :param docutils.frontend.Values settings: docutils settings :return: document :rtype: docutils.nodes.document Nr )�SphinxI18nReaderz%s:%s:<translated>)r&