Skip to content

Adapted corrections and conflicting deletions should be marked #33

@divec

Description

@divec

Steps to reproduce:

  • Translate nl->en using Google
  • In the Dutch, write two paragraphs "Heb je een appel?" and "Eet je een appel?"
  • Observer the English candidates are "Do you have an apple?" and "Do you eat an apple?"
  • Correct "Do you have an apple?" to "Have you an apple?" and commit.
  • Then change "Heb je een appel?" to "Eet je een appel?"

Observed behaviour: The candidate looks like "Have you eat an apple?"
Expected behaviour: Some sort conflict is signalled. The corrected word "Have" is marked somehow.

This is because the English correction diffs as "{-Do-}{+Have+} you{- have-} an apple?", and the two replacement ranges are treated separately to diff3. The "{- have-}" conflicts with the translation update, but the conflict is unrendered because it's a zero-length strike through. The {-Do-}{+Have+} is nonconflicting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions