Skip to content

Commit

Permalink
formats: Fix parsing notes from TBX
Browse files Browse the repository at this point in the history
Fixes #9476
  • Loading branch information
nijel committed Jun 30, 2023
1 parent fdc3de7 commit a595da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weblate/formats/ttkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@ def set_explanation(self, explanation: str):

@cached_property
def explanation(self) -> str:
return self._get_notes("definition")
return self._get_notes("translator")

def set_source_explanation(self, explanation: str):
if explanation or self.source_explanation:
Expand All @@ -1944,7 +1944,7 @@ def set_source_explanation(self, explanation: str):

@cached_property
def source_explanation(self) -> str:
return self._get_notes("source-explanation")
return self._get_notes("definition")


class TBXFormat(TTKitFormat):
Expand Down

0 comments on commit a595da9

Please sign in to comment.