Ghost/ghost/i18n/locales/zh
Kevin Ansfield 52e727a28c
Added in-reply-to references to comments-ui (#21656)
ref https://linear.app/ghost/issue/PLG-230

When clicking "Reply" on a reply we now show an "In reply to" reference on the form and when saved show that reference in the rendered view, making it easier to follow discussions within comment replies.

- updated calls to `openCommentForm` action when opening a reply to add the in-reply-to data to the `openForm` instance
- updated Form comment to use the `openForm` instance data when rendering the in-reply-to reference
- updated Comment component to render the in-reply-to reference from the API-provided data
  - includes click handler to scroll to the referenced comment
- added `getCommentInReplyToSnippet` helper function so strip a comment back to plaintext for display in the reply-to reference on the comment form (snippets on other comments are generated server-side)

---------

Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
2024-11-19 17:30:18 +00:00
..
comments.json Added in-reply-to references to comments-ui (#21656) 2024-11-19 17:30:18 +00:00
ghost.json Updated Chinese translations (#16881) 2023-05-30 10:17:12 +02:00
newsletter.json 🌐Added i18n for newsletter strings (#21433) 2024-10-31 08:41:39 -05:00
portal.json 🐛 fixed routing error when no recommendations (#21251) 2024-10-22 11:34:44 +01:00
search.json 🌐 Updated Chinese translations (#21154) 2024-09-30 11:35:05 -05:00
signup-form.json Updated Chinese translations (#16995) 2023-06-13 08:31:23 +02:00