Skip to content

Commit 9bd63db

Browse files
authored
Cleanup: Consistent use of Nodes 2.0 in user facing strings. (#6898)
#6888 ## Summary Did a quick pass to find user facing strings. Not sure if this gets them all. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6898-Cleanup-Consistent-use-of-Nodes-2-0-in-user-facing-strings-2b66d73d36508124aee2f5f8373a4b60) by [Unito](https://www.unito.io)
1 parent a21c813 commit 9bd63db

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

src/components/topbar/TryVueNodeBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const handleTryItOut = async (): Promise<void> => {
6363
try {
6464
await settingStore.set('Comfy.VueNodes.Enabled', true)
6565
} catch (error) {
66-
console.error('Failed to enable Vue nodes:', error)
66+
console.error('Failed to enable Nodes 2.0:', error)
6767
} finally {
6868
handleDismiss()
6969
}

src/composables/useCoreCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export function useCoreCommands(): ComfyCommand[] {
330330
label: () =>
331331
`Experimental: ${
332332
useSettingStore().get('Comfy.VueNodes.Enabled') ? 'Disable' : 'Enable'
333-
} Vue Nodes`,
333+
} Nodes 2.0`,
334334
function: async () => {
335335
const settingStore = useSettingStore()
336336
const current = settingStore.get('Comfy.VueNodes.Enabled') ?? false

src/locales/en/commands.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
"label": "Sign Out"
238238
},
239239
"Experimental_ToggleVueNodes": {
240-
"label": "Experimental: Enable Vue Nodes"
240+
"label": "Experimental: Enable Nodes 2.0"
241241
},
242242
"Workspace_CloseWorkflow": {
243243
"label": "Close Current Workflow"

src/locales/en/main.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,9 @@
11071107
"Undo": "Undo",
11081108
"Open Sign In Dialog": "Open Sign In Dialog",
11091109
"Sign Out": "Sign Out",
1110-
"Experimental: Enable Vue Nodes": "Experimental: Enable Vue Nodes",
1110+
"Experimental: Enable Vue Nodes": "Experimental: Enable Nodes 2.0",
1111+
"Experimental: Enable Nodes 2.0": "Experimental: Enable Nodes 2.0",
1112+
"Experimental: Disable Nodes 2.0": "Experimental: Disable Nodes 2.0",
11111113
"Close Current Workflow": "Close Current Workflow",
11121114
"Next Opened Workflow": "Next Opened Workflow",
11131115
"Previous Opened Workflow": "Previous Opened Workflow",
@@ -1183,10 +1185,10 @@
11831185
"API Nodes": "API Nodes",
11841186
"Notification Preferences": "Notification Preferences",
11851187
"3DViewer": "3DViewer",
1186-
"Vue Nodes": "Vue Nodes",
11871188
"Canvas Navigation": "Canvas Navigation",
11881189
"PlanCredits": "Plan & Credits",
1189-
"VueNodes": "Vue Nodes",
1190+
"Vue Nodes": "Nodes 2.0",
1191+
"VueNodes": "Nodes 2.0",
11901192
"Nodes 2_0": "Nodes 2.0"
11911193
},
11921194
"serverConfigItems": {

src/locales/en/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
},
337337
"Comfy_VueNodes_AutoScaleLayout": {
338338
"name": "Auto-scale layout (Nodes 2.0)",
339-
"tooltip": "Automatically scale node positions when switching to Vue rendering to prevent overlap"
339+
"tooltip": "Automatically scale node positions when switching to Nodes 2.0 rendering to prevent overlap"
340340
},
341341
"Comfy_VueNodes_Enabled": {
342342
"name": "Modern Node Design (Nodes 2.0)",

src/platform/settings/constants/coreSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ export const CORE_SETTINGS: SettingParams[] = [
11011101
category: ['Comfy', 'Nodes 2.0', 'AutoScaleLayout'],
11021102
name: 'Auto-scale layout (Nodes 2.0)',
11031103
tooltip:
1104-
'Automatically scale node positions when switching to Vue rendering to prevent overlap',
1104+
'Automatically scale node positions when switching to Nodes 2.0 rendering to prevent overlap',
11051105
type: 'boolean',
11061106
sortOrder: 50,
11071107
experimental: true,

0 commit comments

Comments
 (0)