mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 03:11:47 +08:00
🎨 i18n: add locale about "font family config"
Note: The language is translated by GPT
This commit is contained in:
@@ -1316,11 +1316,14 @@ export function Settings() {
|
||||
></InputRange>
|
||||
</ListItem>
|
||||
|
||||
<ListItem title="字体" subTitle="设置全局字体">
|
||||
<ListItem
|
||||
title={Locale.Settings.FontFamily.Title}
|
||||
subTitle={Locale.Settings.FontFamily.SubTitle}
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
value={config.fontFamily}
|
||||
placeholder="CSS Font Family"
|
||||
placeholder={Locale.Settings.FontFamily.Placeholder}
|
||||
onChange={(e) =>
|
||||
updateConfig(
|
||||
(config) => (config.fontFamily = e.currentTarget.value),
|
||||
|
Reference in New Issue
Block a user