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