HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //usr/lib64/python2.7/site-packages/mercurial/i18n.pyo
�
1�3\c@@slddlmZddlZddlZddlZddlZddlmZm	Z	e
edd�dk	rze	jZ
ne	je�Z
dZe	jr&dejkr&dejkr&dejkr&d	ejkr&y2ddlZejjj�ZejegZWq&eeefk
r"q&Xndad
�ZiZd�Zd�Ze�rbd
�Z neZ dS(i(tabsolute_importNi(tencodingtpycompattfrozentLANGUAGEtLC_ALLtLC_MESSAGEStLANGcC@smtj|�}tjj|d�}tjd|tdt�}y
|j	a
Wntk
rh|ja
nXdS(Ntlocalethgtfallback(
Rtfsdecodetostpathtjoint
gettextmodttranslationt
_languagestTruetugettextt	_ugettexttAttributeErrortgettext(tdatapatht	localedirtt((s4/usr/lib64/python2.7/site-packages/mercurial/i18n.pytsetdatapath.s

cC@s|dkstr|Stjtji�}||krt|�tjkr_|jd�}n+g|jd�D]}|j	d�^qo}dj
g|D]}|r�t|�p�d^q��}y,tjtj�}|j|d�||<Wqt
k
r|||<qXn||S(s'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'.
    u

s

sutf-8utreplaceN(tNoneRt	_msgcachet
setdefaultRttypeRtunicodetsplittdecodeRtsysstrtencodetLookupError(tmessagetcachet
paragraphstptutencodingstr((s4/usr/lib64/python2.7/site-packages/mercurial/i18n.pyR:s+4
cC@sPdtjkr"dtjkr"tStjjdd�j�jd�}d|kS(NtHGPLAINt
HGPLAINEXCEPTtt,ti18n(RtenvirontFalsetgettstripR!(t
exceptions((s4/usr/lib64/python2.7/site-packages/mercurial/i18n.pyt_plainas
$cC@s|S(N((R&((s4/usr/lib64/python2.7/site-packages/mercurial/i18n.pyt<lambda>iR.(!t
__future__RRRRRtsysR.RRtgetattrRt
sysexecutabletmoduletfsencodet__file__Rt	iswindowsR1tctypestwindlltkernel32tGetUserDefaultUILanguagetlangidtwindows_localetImportErrorRtKeyErrorRRRR6t_(((s4/usr/lib64/python2.7/site-packages/mercurial/i18n.pyt<module>s8		
	'