Make getCaptchaImage return (bytes, str).
[tor-bridgedb.git] / bridgedb / _langs.py
blob149265cf92bc9f9ed3248205d608faf6611b538b
1 # -*- coding: utf-8 -*-
3 # This file is part of BridgeDB, a Tor bridge distribution system.
5 # :authors: Isis Lovecruft 0xA3ADB67A2CDB8B35 <isis@torproject.org>
6 # please also see AUTHORS file
7 # :copyright: (c) 2007-2013, The Tor Project, Inc.
8 # (c) 2007-2013, all entities within the AUTHORS file
9 # :license: 3-clause BSD, see included LICENSE for information
11 """_langs.py - Storage for information on installed language support."""
14 def get_langs():
15 """Return a list of two-letter country codes of translations which were
16 installed (if we've already been installed).
17 """
18 return supported
21 #: This list will be rewritten by :func:`get_supported_langs` in setup.py at
22 #: install time, so that the :attr:`bridgedb.__langs__` will hold a list of
23 #: two-letter country codes for languages which were installed.
24 supported = []