Uploaded image for project: 'Zanata'
  1. ZNTA-726

leading/trailing newline validation should not check the line numbers

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Medium
    • Resolution: Ready for Release
    • Affects Version/s: None
    • Fix Version/s: server-3.8.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      15.22
    • Story Points:
      0.5

      Description

      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

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                aeng Alex Eng
                Reporter:
                daisy.ycguo Daisy Guo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: