mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-28 12:18:51 +03:00
Show pronunciation text in tooltip
This commit is contained in:
parent
9869c9dc5b
commit
28ad18bd0b
1 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,11 @@ function TranslationBlock({
|
|||
icon="translate"
|
||||
alt={`Auto-translated from ${sourceLangText}`}
|
||||
/>
|
||||
<output lang={targetLang} dir="auto">
|
||||
<output
|
||||
lang={targetLang}
|
||||
dir="auto"
|
||||
title={pronunciationContent || ''}
|
||||
>
|
||||
{translatedContent}
|
||||
</output>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue