��@s�ddlZddlZddlZddlZeedd�dk rTejZneZej j
e�Zx<dD]4Zej j
eed�Zej je�rsPqsqsWejdede�Zd�Zd �Ze�r�
�ZneZdS(i�Ntfrozent.s..tlocalethgtfallbackcCs�|dkr|S|jd�}djg|D]!}|rGtj|�pJd^q,�}y|jtjd�SWntk
r�|SXdS(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'.
s
u
ttreplaceN(tNonetsplittjointttugettexttencodetencodingtLookupError(tmessaget
paragraphstptu((s2/sys/lib/python2.7/site-packages/mercurial/i18n.pytgettexts7
cCsPdtjkr"dtjkr"tStjjdd�j�jd�}d|kS(NtHGPLAINt
HGPLAINEXCEPTRt,ti18n(tostenvirontFalsetgettstripR(t
exceptions((s2/sys/lib/python2.7/site-packages/mercurial/i18n.pyt_plain6s$cCs|S(N((R((s2/sys/lib/python2.7/site-packages/mercurial/i18n.pyt<lambda>=s(Rs..(R
RtsysRtgetattrRt
executabletmodulet__file__tpathtdirnametbasetdirR t localedirtisdirttranslationtTrueR
Rt_(((s2/sys/lib/python2.7/site-packages/mercurial/i18n.pyt<module>s$
|