%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/system-config-printer/troubleshoot/__pycache__/
Upload File :
Create Path :
Current File : //usr/share/system-config-printer/troubleshoot/__pycache__/Locale.cpython-312.pyc

�

Hf���8�ddlZddlmZddl�Gd�de�Zy)�N)�Gtk�)�*c��eZdZd�Zd�Zd�Zy)�Localec��tj||d�|jtd�td��}t	j
�}|j
d�|jd�|j|ddd�t	j�|_
|jjdd�t	j�|_|jjdd�t	jtd���}|jdd�|j|ddd	d	�|j|jd	dd	d	�t	jtd
���}|jdd�|j|dd	d	d	�|j|jd	d	d	d	�|j||�y)Nz
Locale issueszIncorrect Page Sizez�The page size for the print job was not the printer's default page size.  If this is not intentional it may cause alignment problems.�FrzPrint job page size:)�labelrzPrinter page size:)�Question�__init__�initial_vbox�_r�Grid�set_row_spacing�set_column_spacing�
pack_start�Label�printer_page_size�
set_alignment�
job_page_size�attach�new_page)�self�troubleshooter�page�gridr
s     �7/usr/share/system-config-printer/troubleshoot/Locale.pyrzLocale.__init__sp�����4���A�� � �!�$9�":�"#�%:�#;�<��
�x�x�z�����a� �����#�����u�e�Q�/�!$���������,�,�a��3� �Y�Y�\������(�(�!�Q�/��	�	��"8� 9�:��
���Q��"����U�A�q�!�Q�'����T�'�'��A�q�!�4��	�	��"6� 7�8��
���Q��"����U�A�q�!�Q�'����T�+�+�Q��1�a�8�����t�,�c��i|_tjtj�\}}tjtj�\}}||jd<||jd<	d}d}dD]}	t|�j
�}�|�s|D]Q}|jd�r|ddjd�}�)|��,|jd�s�>|ddjd�}�S|�|jd	�}|d
k7r|d|}||jd<d}		|jjd}
|
j�D]\}}d
|vs�|d
}	n	|jjd}|	|jd<|	�id}|D]b\}}}}}}
|s�
d
|
vs�|
d
}||jd<||	k7s�,|jj|	�|j j|�yy#t$rY���wxYw#d}Y��xYw#t$r2	|jjd}
|
d}	n#t$rYnwxYwY��wxYw#t$rg}Y��wxYw)N�user_locale_messages�user_locale_ctype)z/etc/locale.confz/etc/sysconfig/i18nz	LC_PAPER=�	z
"zLANG=��.����system_locale_lang�cups_printer_ppd_defaults�PageSize�remote_cups_queue_attributesz
media-default�test_page_job_statusrrTF)�answers�locale�	getlocale�LC_MESSAGES�LC_CTYPE�open�	readlines�IOError�
startswith�strip�findr�items�KeyErrorr�set_textr)r�messages�encoding�ctype�system_lang�conf�conffile�line�dotr�ppd_defs�group�options�attrs�
job_statusr�test�jobid�printer�doc�statuss                     r�displayzLocale.display6s������%�/�/��1C�1C�D���8�"�,�,�f�o�o�>����/7����+�,�,1����(�)�	��K��D�G�
�����?�4�4�7�D�
��� �=�D����{�3�&*�1�2�h�n�n�e�&<��$�,����'�1J�&*�1�2�h�n�n�e�&<��	=��*�%�*�*�C�0�C��b�y�&1�$�3�&7��.9����)�*� ��	��*�*�2�2�3N�O�H�"*�.�.�"3�
���w���(�(/�
�(;�%��
�	��,�,�4�4�5K�L�J�->����(�)��(� �M�>H�
(�:��u�g�s�F�E��!�U�*�(-�j�(9�
�8E����_�5�(�,=�=� �2�2�;�;�=N�O� �.�.�7�7��G�#'�
(���i�����	��K���	�
��+�+�3�3�4R�S��$)�/�$:�!���
��
��		���	��J�	�s��3	H�=G0�1H�H�3H�3H	�H	�I�0	G=�9H�<G=�=H�H�		I�H2�1I�2	H>�;I�=H>�>I�I�I�Ic��|jS)N)r+)rs r�collect_answerzLocale.collect_answerys���|�|�rN)�__name__�
__module__�__qualname__rrKrM�rrrrs��-�2A�Frr)r,�
gi.repositoryr�baserrrQrr�<module>rTs��,���^�X�^r

Zerion Mini Shell 1.0