Skip to content

Commit

Permalink
fix: Cache key collision in render checks for suggestions (#12673)
Browse files Browse the repository at this point in the history
* fix: use suggestion ID in render cache key

* fix: apply suggestions
  • Loading branch information
vinceh121 authored Oct 5, 2024
1 parent 4b5ad91 commit d31f719
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weblate/trans/models/suggestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def get_checks(self):
fake_unit = copy(self.unit)
fake_unit.target = self.target
fake_unit.state = STATE_TRANSLATED
fake_unit.id = -self.pk
source = fake_unit.get_source_plurals()
target = fake_unit.get_target_plurals()

Expand Down

0 comments on commit d31f719

Please sign in to comment.