mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-26 04:10:44 +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"
|
icon="translate"
|
||||||
alt={`Auto-translated from ${sourceLangText}`}
|
alt={`Auto-translated from ${sourceLangText}`}
|
||||||
/>
|
/>
|
||||||
<output lang={targetLang} dir="auto">
|
<output
|
||||||
|
lang={targetLang}
|
||||||
|
dir="auto"
|
||||||
|
title={pronunciationContent || ''}
|
||||||
|
>
|
||||||
{translatedContent}
|
{translatedContent}
|
||||||
</output>
|
</output>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue