chore: update placeholder of font select input
This commit is contained in:
parent
fd58357a04
commit
74d789ac8e
|
@ -498,6 +498,7 @@ const pasteFromClipboard = async () => {
|
|||
</n-form>
|
||||
</n-tab-pane>
|
||||
|
||||
<!-- Alias pane -->
|
||||
<n-tab-pane :tab="$t('dialogue.connection.alias.title')" display-directive="show:lazy" name="alias">
|
||||
<n-form
|
||||
:model="generalForm.alias"
|
||||
|
|
|
@ -108,6 +108,7 @@ const onClose = () => {
|
|||
<n-select
|
||||
v-model:value="prefStore.general.fontFamily"
|
||||
:options="prefStore.fontOption"
|
||||
:placeholder="$t('preferences.general.font_tip')"
|
||||
:render-label="({ label, value }) => (value === '' ? $t(label) : label)"
|
||||
filterable
|
||||
multiple
|
||||
|
@ -166,6 +167,7 @@ const onClose = () => {
|
|||
<n-select
|
||||
v-model:value="prefStore.editor.fontFamily"
|
||||
:options="prefStore.fontOption"
|
||||
:placeholder="$t('preferences.general.font_tip')"
|
||||
:render-label="({ label, value }) => value || $t(label)"
|
||||
filterable
|
||||
multiple
|
||||
|
@ -206,6 +208,7 @@ const onClose = () => {
|
|||
<n-select
|
||||
v-model:value="prefStore.cli.fontFamily"
|
||||
:options="prefStore.fontOption"
|
||||
:placeholder="$t('preferences.general.font_tip')"
|
||||
:render-label="({ label, value }) => value || $t(label)"
|
||||
filterable
|
||||
multiple
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
"language": "Language",
|
||||
"system_lang": "Use System Language",
|
||||
"font": "Font",
|
||||
"font_tip": "Please Select or Input Font Name",
|
||||
"font_size": "Font Size",
|
||||
"scan_size": "Default Size for SCAN Command",
|
||||
"key_icon_style": "Key Icon Style",
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
"language": "语言",
|
||||
"system_lang": "使用系统语言",
|
||||
"font": "字体",
|
||||
"font_tip": "请选择或手动输入字体名",
|
||||
"font_size": "字体尺寸",
|
||||
"scan_size": "SCAN命令默认数量",
|
||||
"key_icon_style": "键图标样式",
|
||||
|
|
Loading…
Reference in New Issue