Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /nuitka/eggshell.build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nuitka/eggshell.build/module.tornado.locale.const
��
�Locale�.���get_closest�.���X�Returns the closest match for the given locale codes.

    We iterate over all given locale codes in order. If we have a tight
    or a loose match for the code (e.g., "en" for "en_US"), we return
    the locale. Otherwise we move to the next code in the list.

    By default we return ``en_US`` if no translations are found for any of
    the specified locales. You can change the default locale with
    `set_default_locale()`.
    �.���_default_locale�.���
_translations�.���keys�.���_supported_locales�.��>X7Sets the default locale.

    The default locale is assumed to be the language used for all strings
    in the system. The translations loaded from disk are mappings from
    the default locale to the destination locale. Consequently, you don't
    need to create a translation file for the default locale.
    �.���os�.���listdir�.���endswith�.��
�.csv���.��	�split�.���.���.��*�&too many values to unpack (expected 2)�.���re�.��	�match�.���[a-z]+(_[A-Z]+)?$�.���gen_log�.��	�error�.��%�!Unrecognized locale %r (path: %s)�.���path�.���join�.��
�	directory�.���encoding�.���rb�.��
�	__enter__�.���__exit__�.���read�.��
�codecs�.���BOM_UTF16_LE�.��NNN��.���data�.���BOM_UTF16_BE�.��
�utf-16�.��
�	utf-8-sig�.���csv�.��
�reader�.���row�.��
�escape�.���
to_unicode�.��	�strip�.���builtins��slice���NKN��R�.�K.���unknown�.��!�plural��singular��unknown���.��2�.Unrecognized plural indicator %r in %s line %d�.�K.���
setdefault�.��	�debug�.���Supported locales: %s�.��
�sorted�.��~XwLoads translations from CSV files in a directory.

    Translations are strings with optional Python-style named placeholders
    (e.g., ``My name is %(name)s``) and their associated translations.

    The directory should have translation files of the form ``LOCALE.csv``,
    e.g. ``es_GT.csv``. The CSV files should have two or three columns: string,
    translation, and an optional plural indicator. Plural indicators should
    be one of "plural" or "singular". A given string can have both singular
    and plural forms. For example ``%(name)s liked this`` may have a
    different verb conjugation depending on whether %(name)s is one
    name or a list of names. There should be two rows in the CSV file for
    that string, one with plural indicator "singular", and one "plural".
    For strings with no verbs that would change on translation, simply
    use "unknown" or the empty string (or don't include the column at all).

    The file is read using the `csv` module in the default "excel" dialect.
    In this format there should not be spaces after the commas.

    If no ``encoding`` parameter is given, the encoding will be
    detected automatically (among UTF-8 and UTF-16) if the file
    contains a byte-order marker (BOM), defaulting to UTF-8 if no BOM
    is present.

    Example translation ``es_LA.csv``::

        "I love you","Te amo"
        "%(name)s liked this","A %(name)s les gustó esto","plural"
        "%(name)s liked this","A %(name)s le gustó esto","singular"

    .. versionchanged:: 4.3
       Added ``encoding`` parameter. Added support for BOM-based encoding
       detection, UTF-16, and UTF-8-with-BOM.
    �.���glob�.���*�.���LC_MESSAGES�.���.mo�.���basename�.���dirname�.���gettext�.���translation�.��
�domain�.���	languages���.��(�$Cannot load translation for '%s': %s�.���_use_gettext�.��#XLoads translations from `gettext`'s locale tree

    Locale tree is similar to system's ``/usr/share/locale``, like::

        {directory}/{lang}/LC_MESSAGES/{domain}.mo

    Three steps are required to have your app translated:

    1. Generate POT translation file::

        xgettext --language=Python --keyword=_:1,2 -d mydomain file1.py file2.html etc

    2. Merge against existing POT file::

        msgmerge old.po mydomain.po > new.po

    3. Compile::

        msgfmt mydomain.po -o {directory}/pt_BR/LC_MESSAGES/mydomain.mo
    �.��5�1Returns a list of all the supported locale codes.�.���replace�.���-��_���.��hM��.�K.��	�lower�.�hM.��	�upper�.���code�.���get�.��8�4Returns the closest match for the given locale code.�.��
�_cache�.��
�	CSVLocale�.���
GettextLocale�.��r�nReturns the Locale for the given locale code.

        If it is not supported, we raise an exception.
        �.���LOCALE_NAMES�.���name��Unknown���.���name�.���rtl�.���fa��ar��he���.���self�.���
startswith�.��
�	translate�.��
�January���.���February���.���March���.���April���.��	�May���.��
�June���.��
�July���.���August���.���	September���.��
�October���.���November���.���December���.���_months�.���Monday���.��
�Tuesday���.���	Wednesday���.���Thursday���.���Friday���.���Saturday���.���Sunday���.��
�	_weekdays�.��-X&Returns the translation for the given message for this locale.

        If ``plural_message`` is given, you must also provide
        ``count``. We return ``plural_message`` when ``count != 1``,
        and we return the singular form for the given message when
        ``count == 1``.
        �.��h,�int���h,�float�����.���datetime�.���utcfromtimestamp�.��
�utcnow�.���seconds�.�K<.���now�.���date�.��
�	timedelta�.��
�minutes���.��K��.���hours���.���days�.�K2.���1 second ago�.���%(seconds)d seconds ago�.��M�.��	�round�.��
G@N.���1 minute ago�.���%(minutes)d minutes ago�.���minutes�.��
G@� .���
1 hour ago�.���%(hours)d hours ago�.��	�hours�.���%(time)s���.���day�.���	yesterday���.���yesterday at %(time)s���.�K.���%(weekday)s���.���%(weekday)s at %(time)s���.��MN.���%(month_name)s %(day)s���.��(�"%(month_name)s %(day)s at %(time)s���.��&� %(month_name)s %(day)s, %(year)s���.��2�,%(month_name)s %(day)s, %(year)s at %(time)s���.���en��en_US��zh_CN���.���%d:%02d�.���
local_date�.���hour�.��
�minute�.��	�zh_CN�.��
�	%s%d:%02d�.���上午��下午���.�K.���
%d:%02d %s�.��
�am��pm���.���
month_name�.��	�month�.���weekday�.���year�.���time�.���X�Formats the given date (which should be GMT).

        By default, we return a relative time (e.g., "2 minutes ago"). You
        can return an absolute date string with ``relative=False``.

        You can force a full format date ("July 10, 1980") with
        ``full_format=True``.

        This method is primarily intended for dates in the past.
        For dates in the future, we fall back to full format.
        �.��)�#%(weekday)s, %(month_name)s %(day)s���.�����Formats the given date as a day of week.

        Example: "Monday, January 22". You can remove the day of week with
        ``dow=False``.
        �.����.���fa���.��� و �.���, �.���%(commas)s and %(last)s���.��
�commas�.��h.NJ����N��R�.���last�.�����Returns a comma-separated list for the given list of parts.

        The format is, e.g., "A, B and C", "A and B" or just "A" for lists
        of size 1.
        �.���en��en_US���.���s�.��	�parts�.��
�append�.��h.J����NN��R�.��h.NJ����N��R�.���,�.��;�7Returns a comma-separated number for the given integer.�.���translations�.��
�	__class__�.���__init__�.��
�plural�.���singular�.���warning�.��,�&pgettext is not supported by CSVLocale���.���ngettext�.��
�%s%s%s�.���CONTEXT_SEPARATOR�.��FX?Allows to set context for translation, accepts plural forms.

        Usage example::

            pgettext("law", "right")
            pgettext("good", "right")

        Plural message example::

            pgettext("organization", "club", "clubs", len(clubs))
            pgettext("stick", "club", "clubs", len(clubs))

        To generate POT file with context, add following options to step 1
        of `load_gettext_translations` sequence::

            xgettext [basic options] --keyword=pgettext:1c,2 --keyword=pgettext:1c,2,3

        .. versionadded:: 4.2
        �.���X�Translation methods for generating localized strings.

To load a locale and generate a translated string::

    user_locale = tornado.locale.get("es_LA")
    print(user_locale.translate("Sign out"))

`tornado.locale.get()` returns the closest matching locale, not necessarily the
specific locale you requested. You can support pluralization with
additional arguments to `~Locale.translate()`, e.g.::

    people = [...]
    message = user_locale.translate(
        "%(list)s is online", "%(list)s are online", len(people))
    print(message % {"list": user_locale.list(people)})

The first string is chosen if ``len(people) == 1``, otherwise the second
string is chosen.

Applications should call one of `load_translations` (which uses a simple
CSV format) or `load_gettext_translations` (which uses the ``.mo`` format
supported by `gettext` and related tools).  If neither method is called,
the `Locale.translate` method will simply return the original string.
�.���__doc__�.��<�8/usr/local/lib/python3.8/dist-packages/tornado/locale.py�.���__file__�.���__spec__�.��
�origin�.���has_location�.���
__cached__�.���tornado�.��h)��.���tornado.log�.��h��.���tornado._locale_data�.��hY��.���Iterable�.���Any�.��	�Union�.���Dict�.���Optional�.��	�en_US�.����.��0}�(�locale_codes�h,�str����return��Locale�u.��}�(hRjjNu.���set_default_locale�.��N��.��j.���load_translations�.��}�(hjhDjjNu.���load_gettext_translations�.���get_supported_locales�.��h,�object�����.��
�	metaclass�.���__prepare__�.���__getitem__�.��2�.%s.__prepare__() must return a mapping, not %s�.���__name__�.���<metaclass>�.���tornado.locale�.���
__module__�.�����Object representing a locale.

    After calling one of `load_translations` or `load_gettext_translations`,
    call `get` or `get_closest` to get a Locale object.
    �.���__qualname__�.���classmethod�.��j.���str�.���Locale.get_closest�.���
Locale.get�.���Locale.__init__�.��NN��.���message�.���plural_message�.��	�count�.���int�.���Locale.translate�.���context�.���pgettext�.���Locale.pgettext�.��	(K���t�.��	�float�.���
gmt_offset�.���relative�.���bool�.���shorter�.���full_format�.���format_date�.���Locale.format_date�.��K���.���dow�.���
format_day�.���Locale.format_day�.���list�.���Locale.list�.��	�value�.���friendly_number�.���Locale.friendly_number�.���__orig_bases__�.��A�=Locale implementation using tornado's CSV translation format.�.���CSVLocale.__init__�.���CSVLocale.translate�.���CSVLocale.pgettext�.��5�1Locale implementation using the `gettext` module.�.���NullTranslations�.���GettextLocale.__init__�.���GettextLocale.translate�.���GettextLocale.pgettext�.���
<listcomp>�.���c���.���<module tornado.locale>�.��h�.��(hchR�prefix�hMt�.��(hchRh�h�t�.��x(hch�j:j;j=j>h�hŒ	local_now��local_yesterday��
difference�h�h�hM�format�h�h��tfhour_clock��str_time�t�.��(hch�j:jBh�hMt�.��(hcjGh�h�t�.��(�cls�hRh�locale�t�.��j��.��(jejhRh�t�.��(hch�hM�comma�t�.��(hhD�filename��lang��e�t�.��M(hhhjf�	extension��	full_path��bf�h"�f��i�h(�english�hC�plural�t�.��(hcj5j0j1j2t�.��D(hcj5j0j1j2�msgs_with_ctxt��result��
msg_with_ctxt�t�.��hR��.��(hcj0j1j2t�.��$(hcj0j1j2�message_dict�t�.

Youez - 2016 - github.com/yon3zu
LinuXploit