Server IP : 85.193.89.191 / Your IP : 18.190.253.68 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python2.7/site-packages/babel/ |
Upload File : |
� ��Mc @ s d Z d d l Z d d l Z y d d l Z Wn e k rM d d l Z n Xd d l m Z d d d g Z d Z i Z e j � Z e j j e j j e � d � Z d � Z d � Z e d � Z d � Z d e f d � � YZ d e e f d � � YZ d S( s� Low-level locale data access. :note: The `Locale` class, which uses this module under the hood, provides a more convenient interface for accessing the locale data. i����N( t DictMixint existst listt loads restructuredtext ent localedatac C s3 | t k r t St j j t j j t d | � � S( s� Check whether locale data is available for the given locale. :param name: the locale identifier string :return: `True` if the locale data exists, `False` otherwise :rtype: `bool` s %s.dat( t _cachet Truet ost pathR t joint _dirname( t name( ( s4 /usr/lib/python2.7/site-packages/babel/localedata.pyR $ s c C s] g g t j t � D] } t j j | � ^ q D]* \ } } | d k r/ | d k r/ | ^ q/ S( s� Return a list of all locale identifiers for which locale data is available. :return: a list of locale identifiers (strings) :rtype: `list` :since: version 0.8.1 s .datt root( R t listdirR R t splitext( t filenamet stemt extension( ( s4 /usr/lib/python2.7/site-packages/babel/localedata.pyR 0 s 8c C s% t j � z t j | � } | s| d k s5 | r>