Skip to content

Commit

Permalink
Document the value of md5 for monolingual document, eg. import
Browse files Browse the repository at this point in the history
this relates to running integrity checker during import localized asset but not pursuing the other update at the moment
  • Loading branch information
aurambaj committed Jul 13, 2023
1 parent 732645c commit ca05beb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ protected Event handleTextUnit(Event event) {
if (comments != null && comments.contains(COMMENT_TO_IGNORE)) {
comments = null;
}
// In the case of an import, for monolingual document, "source" contains the target and this
// md5 won't be the md5 that can identify the tm text unit. Only for multilingual document it
// would be the case.
md5 = textUnitUtils.computeTextUnitMD5(name, source, comments);
}

Expand Down

0 comments on commit ca05beb

Please sign in to comment.