Skip to content

Commit

Permalink
feat: mark matches from source file translations as MATCH_SOURCE.FILES (
Browse files Browse the repository at this point in the history
#1227)

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr authored Dec 21, 2024
1 parent c961d0e commit 3ea0c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/omegat/core/statistics/FindMatches.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ List<NearString> search(String searchText, boolean fillSimilarityData, IStopped
PrepareTMXEntry entry = new PrepareTMXEntry();
entry.source = ste.getSrcText();
entry.translation = ste.getSourceTranslation();
processEntry(ste.getKey(), entry, ste.getKey().file, NearString.MATCH_SOURCE.MEMORY,
processEntry(ste.getKey(), entry, ste.getKey().file, NearString.MATCH_SOURCE.FILES,
ste.isSourceTranslationFuzzy(), 0);
}
}
Expand Down

0 comments on commit 3ea0c12

Please sign in to comment.