https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/mercurial/__pycache__/i18n.cpython-310.pyc
o

�]Lb1�
@szddlmZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZmZej
r5ddlmZmZeedd�durAejZne�e�ZdZejr~d	ejvr~d
ejvr~dejvr~dejvr~zddlZejj��ZejegZWneee fy}Ynwe�!e
j"�Z"ej#�$e"d
�Z%ej&de%edd�Z'ze'j(Z)Wney�e'jZ)YnwiZ*dd�Zdd�Z+e+�r�dd�Z,dSeZ,dS)�)�absolute_importN�)�getattr)�resourceutil)�encoding�pycompat)�Callable�List�frozensLANGUAGEsLC_ALLsLC_MESSAGESsLANG�locale�hgT)�fallbackcCs�|dusts|St�tji�}||vrXt|�tjur |�d�}n
dd�|�d�D�}d�dd�|D��}zt�	tj�}|�
|d�||<W||StyW|||<Y||Sw||S)a'Translate message.

    The message is looked up in the catalog to get a Unicode string,
    which is encoded in the local encoding before being returned.

    Important: message is restricted to characters in the encoding
    given by sys.getdefaultencoding() which is most likely 'ascii'.
    Nz

cSsg|]}|�d��qS)zutf-8)�decode��.0�p�r�0/usr/lib/python3/dist-packages/mercurial/i18n.py�
<listcomp>_szgettext.<locals>.<listcomp>s

cSsg|]
}|r
t|�pd�qS)�)�	_ugettextrrrrrbs�replace)r�	_msgcache�
setdefaultr�typer�unicode�split�join�sysstr�encode�LookupError)�message�cache�
paragraphs�u�encodingstrrrr�gettextHs"�
�r&cCs8dtjvrdtjvrdStj�dd����d�}d|vS)NsHGPLAINs
HGPLAINEXCEPTF��,si18n)r�environ�get�stripr)�
exceptionsrrr�_plainqs


r-cCs|S)Nr)r!rrr�<lambda>|sr.)-�
__future__rr&�
gettextmodr�os�sysrr�utilsrrr�
TYPE_CHECKING�typingrr	�
sysexecutable�module�fsencode�__file__�
_languages�	iswindowsr)�ctypes�windll�kernel32�GetUserDefaultUILanguage�langid�windows_locale�ImportError�AttributeError�KeyError�fsdecode�datapath�pathr�	localedir�translation�t�ugettextrrr-�_rrrr�<module>sR
�



�

�)


https://t.me/RX1948 - 2025