diff --git a/src/ftl_extract/matcher.py b/src/ftl_extract/matcher.py index 58e8528..cd538f5 100644 --- a/src/ftl_extract/matcher.py +++ b/src/ftl_extract/matcher.py @@ -42,9 +42,7 @@ class FluentKey: code_path: Path key: str - translation: ( - ast.Message | ast.Comment | ast.Term | ast.GroupComment | ast.ResourceComment | ast.Junk - ) + translation: ast.EntryType path: Path = field(default=Path("_default.ftl")) locale: str | None = field(default=None) position: int | float = field(default=inf)