pragmatrix / tnt

Command line tool for organizing translation strings extracted from .NET assemblies. Supports Excel, XLIFF roundtrips and machine translations.
MIT License
30 stars 2 forks source link

.tnt-content files should not be updated if nothing changes. #54

Open pragmatrix opened 6 years ago

pragmatrix commented 6 years ago
$ tnt extract
[I] Translations updated:
[I]   [de][10n,33r] "German" .tnt/translation-de.json
[I]   [fr][10n,33r] "French" .tnt/translation-fr.json
[I] updating: .tnt-content/de.tnt
[I] updating: .tnt-content/fr.tnt

Here, tnt clearly lies, the .tnt-content files were not being changed, because only new strings were added, this happens because the updating process of the .tnt-content files is based on timestamps only.