adastreamer / etlgr

IM Notifications Bot, News: https://t.me/etlgr_news, Support: https://t.me/etlgr_support, admin@etlgr.io

Home Page:https://etlgr.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Common

This is a public part of source code of the Telegram Email Bot http://etlgr.com

Requirements

  • python 2.7

Local development setup

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Note that requirements.txt contains all the packages we're using in Etlgr project. You may think that it's pretty much overkilled, but it isn't, we keep it to track our main repo being in up-to-date state according to this public part. We have all other components available in this repo when they're test-covered.

Translations

Feel free to add your translation file into the app/dict/langs folder. There is no need to do anything else. The translation file is the only one thing that is required to add a new language.

Scheme

The file format is pretty simple:

# -*- coding: utf-8 -*-

LANG_KEY = u"EN"
LANG_NATIVE_NAME = u"English"

KWDS = {
    ... #
}

You may copy the EN.py file, rename it using some other unique name and then translate all the phrases.

Testing

We use py.test, so to run tests, execute the following command:

py.test tests

Workflow

  1. Do a fork of this repo
  2. Do all the necessary modifications
  3. Run tests, be sure that everything is alright
  4. Commit your changes
  5. Do a pull request

Credentials

http://etlgr.com, support by http://t.me/adastreamer

About

IM Notifications Bot, News: https://t.me/etlgr_news, Support: https://t.me/etlgr_support, admin@etlgr.io

https://etlgr.io


Languages

Language:Python 100.0%