feat: apply custom fonts directly in custom font panel (#1870)
This commit is contained in:
@@ -176,9 +176,12 @@ const TranslatorPopup: React.FC<TranslatorPopupProps> = ({
|
||||
className='bg-gray-600 text-white/75'
|
||||
value={targetLang}
|
||||
onChange={handleTargetLangChange}
|
||||
options={Object.entries(translatorLangs)
|
||||
.sort((a, b) => a[1].localeCompare(b[1]))
|
||||
.map(([code, name]) => ({ value: code, label: name }))}
|
||||
options={[
|
||||
{ value: '', label: _('System Language') },
|
||||
...Object.entries(translatorLangs)
|
||||
.sort((a, b) => a[1].localeCompare(b[1]))
|
||||
.map(([code, name]) => ({ value: code, label: name })),
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
{loading ? (
|
||||
|
||||
Reference in New Issue
Block a user