We're updating the issue view to help you get more done.Learn more

leading/trailing newline validation should not check the line numbers

In the web UI of Zanata, the validation of "leading/trailing newline (\n)"
is described as "check for consistent leading and trailing newline (\n)".
But actually, besides checking the leading/trailing newline, the validation will also check whether the line numbers of the source string and translation string are exactly same. If the leading/trailing newline are same, but line numbers are not same, it will report error or warning.

I think, the validation of "leading/trailing newline (\n)" should not check the line numbers. If it's needed to check the line numbers, it's better to separate into two kinds of validations: leading/trailing newline (\n) and same line numbers. Separating into two kinds of validations will help users to config.

Regards
Daisy

Status

Assignee

Alex Eng

Reporter

Daisy Guo

Story point estimate

0.5

Sprint

None

Fix versions

Priority

Medium