Exemple #1
0
def _process_translation_stats(runtime_storage_inst, record_processor_inst):
    translation_iterator = zanata.log(runtime_storage_inst,
                                      cfg.CONF.translation_team_uri)
    translation_iterator_typed = _record_typer(translation_iterator, 'i18n')
    processed_translation_iterator = record_processor_inst.process(
        translation_iterator_typed)
    runtime_storage_inst.set_records(processed_translation_iterator)
Exemple #2
0
def _process_translation_stats(runtime_storage_inst, record_processor_inst):
    translation_iterator = zanata.log(runtime_storage_inst,
                                      CONF.translation_team_uri)
    translation_iterator_typed = _record_typer(translation_iterator, 'i18n')
    processed_translation_iterator = record_processor_inst.process(
        translation_iterator_typed)
    runtime_storage_inst.set_records(processed_translation_iterator)