locales are working, added de_DE locale

This commit is contained in:
Jannes Höke
2016-05-21 21:41:38 +02:00
parent becc7e28dc
commit 5ece46527a
8 changed files with 540 additions and 170 deletions

View File

@ -18,7 +18,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from flufl.i18n import registry
from flufl.i18n import PackageStrategy
from telegram import Emoji
import locales
strategy = PackageStrategy('unobot', locales)
application = registry.register(strategy)
_ = application._
def list_subtract(list1, list2):