diff --git a/src/Element/Thread.tsx b/src/Element/Thread.tsx index cc82312..547a451 100644 --- a/src/Element/Thread.tsx +++ b/src/Element/Thread.tsx @@ -271,6 +271,7 @@ export default function Thread(props: ThreadProps) { const navigate = useNavigate(); const isSingleNote = parsedNotes.filter(a => a.Kind === EventKind.TextNote).length === 1; const location = useLocation(); + const { formatMessage } = useIntl(); const urlNoteId = location?.pathname.slice(3); const urlNoteHex = urlNoteId && bech32ToHex(urlNoteId); @@ -366,9 +367,17 @@ export default function Thread(props: ThreadProps) { } } + const parentText = formatMessage({ + defaultMessage: "Parent", + description: "Link to parent note in thread", + }); + const backText = formatMessage({ + defaultMessage: "Back", + description: "Navigate back button on threads view", + }); return (