Allow Chrome page translator to translate messages in rooms (#11113)
* support message translation in chat * Update src/HtmlUtils.tsx * update snapshots * Convert TextualBody-test to use snapshots --------- Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Richard van der Hoff <richard@matrix.org>
This commit is contained in:
parent
3c370c6cbc
commit
c1420ba126
9 changed files with 136 additions and 46 deletions
|
@ -77,7 +77,7 @@ exports[`<MessageEditHistory /> should match the snapshot 1`] = `
|
|||
class="mx_EventTile_content"
|
||||
>
|
||||
<span
|
||||
class="mx_EventTile_body"
|
||||
class="mx_EventTile_body translate"
|
||||
dir="auto"
|
||||
>
|
||||
My Great Massage
|
||||
|
@ -291,7 +291,7 @@ exports[`<MessageEditHistory /> should support events with 1`] = `
|
|||
class="mx_EventTile_content"
|
||||
>
|
||||
<span
|
||||
class="mx_EventTile_body"
|
||||
class="mx_EventTile_body translate"
|
||||
dir="auto"
|
||||
>
|
||||
My Great Missage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue