Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.117.101.7
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
babel /
messages /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
576
B
-rw-r--r--
__init__.pyc
265
B
-rw-r--r--
__init__.pyo
265
B
-rw-r--r--
catalog.py
29.5
KB
-rw-r--r--
catalog.pyc
26.58
KB
-rw-r--r--
catalog.pyo
26.41
KB
-rw-r--r--
checkers.py
6.1
KB
-rw-r--r--
checkers.pyc
5.39
KB
-rw-r--r--
checkers.pyo
5.39
KB
-rw-r--r--
extract.py
21.98
KB
-rw-r--r--
extract.pyc
16.46
KB
-rw-r--r--
extract.pyo
16.46
KB
-rw-r--r--
frontend.py
48.89
KB
-rw-r--r--
frontend.pyc
39.08
KB
-rw-r--r--
frontend.pyo
39.04
KB
-rw-r--r--
jslexer.py
5.5
KB
-rw-r--r--
jslexer.pyc
4.91
KB
-rw-r--r--
jslexer.pyo
4.78
KB
-rw-r--r--
mofile.py
4.16
KB
-rw-r--r--
mofile.pyc
3.04
KB
-rw-r--r--
mofile.pyo
3.04
KB
-rw-r--r--
plurals.py
6.79
KB
-rw-r--r--
plurals.pyc
6.34
KB
-rw-r--r--
plurals.pyo
6.34
KB
-rw-r--r--
pofile.py
15.67
KB
-rw-r--r--
pofile.pyc
13.73
KB
-rw-r--r--
pofile.pyo
13.73
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mofile.pyc
� ��Mc @ s= d Z d d l Z d d l Z d g Z d Z e d � Z d S( s� Writing of files in the ``gettext`` MO (machine object) format. :since: version 0.9 :see: `The Format of MO Files <http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files>`_ i����Nt write_mos restructuredtext enc C s� t | � } | s? g | d D] } | j s | ^ q | d )n | j � d } } g } xp| D]h} | j r0d j g | j D] } | j | j � ^ q � } g } xV t | j � D]E \ } } | s� | j | j t t | � d � � q� | j | � q� Wd j g | D] } | j | j � ^ q� } nK | j j | j � } | j sf| j j | j � } n | j j | j � } | j t | � t | � t | � t | � f � | | d 7} | | d 7} q` Wd d t | � } | t | � } g } g } xB | D]: \ } } } } | | | | g 7} | | | | g 7} qW| | } | j t j d d d t | � d d t | � d d d � t j d | � j � | | � d S( s� Write a catalog to the specified file-like object using the GNU MO file format. >>> from babel.messages import Catalog >>> from gettext import GNUTranslations >>> from StringIO import StringIO >>> catalog = Catalog(locale='en_US') >>> catalog.add('foo', 'Voh') >>> catalog.add((u'bar', u'baz'), (u'Bahr', u'Batz')) >>> catalog.add('fuz', 'Futz', flags=['fuzzy']) >>> catalog.add('Fizz', '') >>> catalog.add(('Fuzz', 'Fuzzes'), ('', '')) >>> buf = StringIO() >>> write_mo(buf, catalog) >>> buf.seek(0) >>> translations = GNUTranslations(fp=buf) >>> translations.ugettext('foo') u'Voh' >>> translations.ungettext('bar', 'baz', 1) u'Bahr' >>> translations.ungettext('bar', 'baz', 2) u'Batz' >>> translations.ugettext('fuz') u'fuz' >>> translations.ugettext('Fizz') u'Fizz' >>> translations.ugettext('Fuzz') u'Fuzz' >>> translations.ugettext('Fuzzes') u'Fuzzes' :param fileobj: the file-like object to write to :param catalog: the `Catalog` instance :param use_fuzzy: whether translations marked as "fuzzy" should be included in the output i t t i i i t Iiiiiiil �* i i t iNi i i ( t listt fuzzyt sortt pluralizablet joint idt encodet charsett enumeratet stringt appendt mint intt lent writet structt packt arrayt tostring( t fileobjt catalogt use_fuzzyt messagest mt idst strst offsetst messaget msgidt msgstrst idxR t msgstrt keystartt valuestartt koffsetst voffsetst o1t l1t o2t l2( ( s9 /usr/lib/python2.7/site-packages/babel/messages/mofile.pyR sD '- +&+ 1 ( t __doc__R R t __all__t __docformat__t FalseR ( ( ( s9 /usr/lib/python2.7/site-packages/babel/messages/mofile.pyt <module> s
Close