Current File : //usr/lib/python3/dist-packages/janitor/plugincore/__pycache__/i18n.cpython-312.pyc |
�
9q�f� � � � d Z ddlZddlZd� Zy)zSet up the gettext context.� Nc �� � d} t j j dd� }t j | |d�� } |j
S # t $ r |j cY S w xY w)zSet up gettext for a module.zupdate-manager�LOCPATHNT)� localedir�fallback)�os�environ�get�gettext�translation�ugettext�AttributeError)�domainr �ts �9/usr/lib/python3/dist-packages/janitor/plugincore/i18n.py�
setup_gettextr sY � �
�F��
�
���y�$�/�I����F�i�$�G�A��
�z�z���� ��y�y���s �A �A �A )�__doc__r r
r � � r �<module>r s �� "�
� �r