Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(28)  |  Call(14)  |  Derive(0)  |  Import(14)

        def install_translation():
    languages = None
    try:
        lang = read_language_file()
        if lang is not None:
            languages = [lang, ]
    except:
        #pass
        from traceback import print_exc
        print_exc()
    _gettext_install('bittorrent', locale_root, languages=languages)
        


src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/__init__.py   kamaelia(Download)
if os.name == 'posix':
    if os.uname()[0] == "Darwin":
        from BitTorrent.platform import install_translation
        install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/bittorrent.py   kamaelia(Download)
from __future__ import division
 
from BitTorrent.platform import install_translation
install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/setup.py   kamaelia(Download)
os.system('sh ./makei18n.sh')
 
from BitTorrent.platform import install_translation
install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/maketorrent.py   kamaelia(Download)
from __future__ import division
 
from BitTorrent.platform import install_translation
install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/TrayIcon.py   kamaelia(Download)
if __name__ == '__main__':
    import threading
    from BitTorrent.platform import install_translation
    install_translation()
    ti = TrayIcon(True)

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/torrentinfo-console.py   kamaelia(Download)
# Written by Henry 'Pi' James, Loring Holden and Matt Chisholm
 
from BitTorrent.platform import install_translation
install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/maketorrent-console.py   kamaelia(Download)
 
if __name__ == '__main__':
    from BitTorrent.platform import install_translation
    install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/launchmany-curses.py   kamaelia(Download)
from __future__ import division
 
from BitTorrent.platform import install_translation
install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/launchmany-console.py   kamaelia(Download)
 
if __name__ == '__main__':
    from BitTorrent.platform import install_translation
    install_translation()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/changetracker-console.py   kamaelia(Download)
# Written by Henry 'Pi' James and Bram Cohen
 
from BitTorrent.platform import install_translation
install_translation()
 

  1 | 2  Next