def pull_translations(args): conf = fetch_config(args) with libgiza.app.BuildApp.new(pool_type=conf.runstate.runner, pool_size=conf.runstate.pool_size, force=conf.runstate.force).context() as app: app.extend_queue(pull_tasks(conf))
def pull_translations(args): conf = fetch_config(args) with libgiza.app.BuildApp.new(pool_type=conf.runstate.runner, pool_size=conf.runstate.pool_size, force=conf.runstate.force).context() as app: app.extend_queue(pull_tasks(conf))
def push_translations(args): """Sync translations with the transifex service.""" conf = fetch_config(args) with libgiza.app.BuildApp.new(pool_type=conf.runstate.runner, pool_size=conf.runstate.pool_size, force=conf.runstate.force).context() as app: app.extend_queue(push_tasks(conf)) update_transifex(conf)
def push_translations(args): """Sync translations with the transifex service.""" conf = fetch_config(args) with libgiza.app.BuildApp.new(pool_type=conf.runstate.runner, pool_size=conf.runstate.pool_size, force=conf.runstate.force).context() as app: app.extend_queue(push_tasks(conf)) update_transifex(conf)