Add a feature to remove deleted files entries from TM

Authored by sdepiets on Aug 1 2018, 1:26 AM.

Description

Add a feature to remove deleted files entries from TM

Summary:
Entries from deleted files are always shown in the Translation Memory. Through an option in the Configuration of the Translation Memory, this feature allows three things :

  • Automatically removing the file from the TM when a missing file's entry is opened through the TM tab
  • Automatically removing the file from the TM when a missing file's entry is opened through the TM suggestions
  • Automatically remove deleted/moved files when rescanning the TM

Test Plan:

  • Delete or move a file within a project and rescan the project
  • Delete or move a file within a project and double click one of its entries in the TM tab
  • Delete or move a file within a project and double click one of its entries in the TM suggestions

Reviewers: aacid, ltoscano, shaforostoff, Localization, mlaurent

Subscribers: mlaurent

Differential Revision: https://phabricator.kde.org/D14069

Details

Committed
sdepietsAug 16 2018, 11:44 AM
Differential Revision
D14069: Add a feature to remove deleted files entries from TM
Parents
R456:65eb8125eea9: Fix compilation warnings
Branches
Unknown
Tags
Unknown