Skip to content

Automatically translated flag not cleared on approval in the repository #18369

@nijel

Description

@nijel

Describe the issue

The automatically translated flag is preserved when the string state is changed in the repository.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  1. Create a project with the review workflow turned on
  2. Create a component with a file format that can store approved state (XLIFF)
  3. Automatically translate string
  4. Commit pending changes
  5. Edit the file in the repository to mark the string as approved
  6. Weblate tracks this as "String updated in the repository", but the automatically translated flag is not cleared

Expected behavior

The automatically translated flag should be cleared on any update from the repo.

Screenshots

No response

Exception traceback

How do you run Weblate?

No response

Weblate versions

Weblate 5.15.1

Weblate deploy checks

Additional context

No response

Metadata

Metadata

Assignees

Labels

Area: ProcessingProcessing translations, parsing translation files.Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions