Fix translation API (#189)

* Fix translation API

* Add missing translations
This commit is contained in:
Huang Xin
2025-01-17 19:10:27 +01:00
committed by GitHub
parent 58c907c7cc
commit c009edca61
22 changed files with 138 additions and 48 deletions
@@ -29,7 +29,12 @@ const DialogMenu: React.FC<DialogMenuProps> = ({ toggleDropdown }) => {
<span style={{ minWidth: '20px' }}>
{isFontLayoutSettingsGlobal && <MdCheck size={20} className='text-base-content' />}
</span>
<div className='lg:tooltip' data-tip={_('Uncheck for current book settings')}>
<div
className='lg:tooltip'
data-tip={
isFontLayoutSettingsGlobal ? _('Apply to all books') : _('Apply to this book')
}
>
<span className='ml-2'>{_('Global Settings')}</span>
</div>
</div>