Sync metadata would be useful to help users identify which projects have translations that need to be addressed.
This PR depends on #12
This feature would support a future frontend feature to show this metadata on the project card, and project page.
Requirements
Sync metadata should be associated with a project model. It should include:
time of sync
number of added, changed, and deleted strings for each language
When fetching projects, the latest sync metadata should be served in the project object.
Include a list of all changed translations so they can be highlighted in the translator interface when they are out of date.
Possible implementation
Use a new model, SyncMetadata and have a foreign key on it to the project it's associated with.
Count these changes by comparing new translations against what would exist in the results from filter_latest_translations, when adding each translation, increment
Description
Sync metadata would be useful to help users identify which projects have translations that need to be addressed.
This PR depends on #12
This feature would support a future frontend feature to show this metadata on the project card, and project page.
Requirements
Possible implementation
SyncMetadata
and have a foreign key on it to the project it's associated with.filter_latest_translations
, when adding each translation, increment