Skip to content

Generate import report for source language #112

@icnocop

Description

@icnocop

Hi.

When I run serge import --dry-run for example, a report for the source language is not generated.
A report for the destination languages are generated without issues.

source_language             en
destination_languages       zh-Hans zh-Hant fr de it ja ko pt ru es tr
Saving reports:
	serge-import-report-de.html... Done
	serge-import-report-es.html... Done
	serge-import-report-fr.html... Done
	serge-import-report-it.html... Done
	serge-import-report-ja.html... Done
	serge-import-report-ko.html... Done
	serge-import-report-pt.html... Done
	serge-import-report-ru.html... Done
	serge-import-report-tr.html... Done
	serge-import-report-zh-Hans.html... Done
	serge-import-report-zh-Hant.html... Done

Statistics:
---------------    -----    -------    --------    ------
Language           Files    Notices    Warnings    Errors
---------------    -----    -------    --------    ------
source language    17                              401   
de                 17       2680       111         290   
es                 17       2680       111         290   
fr                 17       2680       111         290   
it                 17       2680       111         290   
ja                 17       2680       111         290   
ko                 17       2680       111         290   
pt                 17       2680       111         290   
ru                 17       2680       111         290   
tr                 17       2680       111         290   
zh-Hans            17       2680       111         290   
zh-Hant            17       2680       111         290   
---------------    -----    -------    --------    ------

I expected a report to be generated for the source language so I can more easily read through the errors it reported.

Ex. ERROR: Duplicate key 'MY_DUPLICATE_KEY' found in source file

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions