File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ import { type FilterAndValue } from '@/services/nodeSearchService'
6666import NodePreview from ' @/components/node/NodePreview.vue'
6767import { ComfyNodeDefImpl , useNodeDefStore } from ' @/stores/nodeDefStore'
6868import { useSettingStore } from ' @/stores/settingStore'
69+ import { useI18n } from ' vue-i18n'
6970
7071const settingStore = useSettingStore ()
72+ const { t } = useI18n ()
73+
7174const enableNodePreview = computed (() =>
7275 settingStore .get (' Comfy.NodeSearchBoxImpl.NodePreview' )
7376)
@@ -90,7 +93,7 @@ const suggestions = ref<ComfyNodeDefImpl[]>([])
9093const hoveredSuggestion = ref <ComfyNodeDefImpl | null >(null )
9194const currentQuery = ref (' ' )
9295const placeholder = computed (() => {
93- return props .filters .length === 0 ? ' Search for nodes ' : ' '
96+ return props .filters .length === 0 ? t ( ' searchNodes ' ) + ' ... ' : ' '
9497})
9598
9699const search = (query : string ) => {
You can’t perform that action at this time.
0 commit comments