Skip to content

Commit ac0ad45

Browse files
committed
chore: update onboarding auth error handling and sync locales
- Remove legacy authErrorTranslation.ts utility - Update CloudLoginView and CloudSignupView to handle errors directly - Sync locale files with main branch for intlify migration prep - Keep t() function calls intact for future i18n system
1 parent 1d16dff commit ac0ad45

File tree

7 files changed

+576
-172
lines changed

7 files changed

+576
-172
lines changed

src/locales/en/commands.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@
128128
"Comfy_Graph_ConvertToSubgraph": {
129129
"label": "Convert Selection to Subgraph"
130130
},
131+
"Comfy_Graph_EditSubgraphWidgets": {
132+
"label": "Edit Subgraph Widgets"
133+
},
131134
"Comfy_Graph_ExitSubgraph": {
132135
"label": "Exit Subgraph"
133136
},
@@ -137,6 +140,9 @@
137140
"Comfy_Graph_GroupSelectedNodes": {
138141
"label": "Group Selected Nodes"
139142
},
143+
"Comfy_Graph_ToggleWidgetPromotion": {
144+
"label": "Toggle promotion of hovered widget"
145+
},
140146
"Comfy_Graph_UnpackSubgraph": {
141147
"label": "Unpack the selected Subgraph"
142148
},
@@ -299,6 +305,10 @@
299305
"Workspace_ToggleFocusMode": {
300306
"label": "Toggle Focus Mode"
301307
},
308+
"Workspace_ToggleSidebarTab_assets": {
309+
"label": "Toggle Assets Sidebar",
310+
"tooltip": "Assets"
311+
},
302312
"Workspace_ToggleSidebarTab_model-library": {
303313
"label": "Toggle Model Library Sidebar",
304314
"tooltip": "Model Library"

src/locales/en/main.json

Lines changed: 104 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,19 @@
99
"downloadImage": "Download image",
1010
"downloadVideo": "Download video",
1111
"editOrMaskImage": "Edit or mask image",
12+
"editImage": "Edit image",
13+
"deleteImage": "Delete image",
14+
"deleteAudioFile": "Delete audio file",
1215
"removeImage": "Remove image",
1316
"removeVideo": "Remove video",
17+
"chart": "Chart",
18+
"chartLowercase": "chart",
19+
"file": "file",
20+
"selectedFile": "Selected file",
21+
"none": "None",
22+
"markdown": "markdown",
23+
"content": "content",
24+
"audioProgress": "Audio progress",
1425
"viewImageOfTotal": "View image {index} of {total}",
1526
"viewVideoOfTotal": "View video {index} of {total}",
1627
"imagePreview": "Image preview - Use arrow keys to navigate between images",
@@ -25,6 +36,8 @@
2536
"import": "Import",
2637
"loadAllFolders": "Load All Folders",
2738
"logoAlt": "ComfyUI Logo",
39+
"comfyOrgLogoAlt": "ComfyOrg Logo",
40+
"comfy": "Comfy",
2841
"refresh": "Refresh",
2942
"refreshNode": "Refresh Node",
3043
"terminal": "Terminal",
@@ -49,6 +62,10 @@
4962
"icon": "Icon",
5063
"color": "Color",
5164
"error": "Error",
65+
"resizeFromBottomRight": "Resize from bottom-right corner",
66+
"resizeFromTopRight": "Resize from top-right corner",
67+
"resizeFromBottomLeft": "Resize from bottom-left corner",
68+
"resizeFromTopLeft": "Resize from top-left corner",
5269
"info": "Node Info",
5370
"bookmark": "Save to Library",
5471
"moreOptions": "More Options",
@@ -77,6 +94,11 @@
7794
"no": "No",
7895
"cancel": "Cancel",
7996
"close": "Close",
97+
"pressKeysForNewBinding": "Press keys for new binding",
98+
"defaultBanner": "default banner",
99+
"enableOrDisablePack": "Enable or disable pack",
100+
"openManager": "Open Manager",
101+
"graphNavigation": "Graph navigation",
80102
"dropYourFileOr": "Drop your file or",
81103
"back": "Back",
82104
"next": "Next",
@@ -581,6 +603,9 @@
581603
"nodeLibrary": "Node Library",
582604
"workflows": "Workflows",
583605
"templates": "Templates",
606+
"assets": "Assets",
607+
"mediaAssets": "Media Assets",
608+
"backToAssets": "Back to all assets",
584609
"labels": {
585610
"queue": "Queue",
586611
"nodes": "Nodes",
@@ -651,6 +676,7 @@
651676
"whatsNew": "What's New?",
652677
"clickToLearnMore": "Click to learn more →",
653678
"loadingReleases": "Loading releases...",
679+
"recentReleases": "Recent releases",
654680
"noRecentReleases": "No recent releases",
655681
"updateAvailable": "Update",
656682
"desktopUserGuide": "Desktop User Guide",
@@ -723,7 +749,10 @@
723749
"Image API": "Image API",
724750
"Video API": "Video API",
725751
"LLM API": "LLM API",
726-
"All": "All Templates"
752+
"All": "All Templates",
753+
"Extensions": "Extensions",
754+
"Partner Nodes": "Partner Nodes",
755+
"Generation Type": "Generation Type"
727756
},
728757
"templateDescription": {
729758
"Basics": {
@@ -1039,7 +1068,8 @@
10391068
"modelFilter": "Model Filter",
10401069
"modelsSelected": "{count} Models",
10411070
"useCasesSelected": "{count} Use Cases",
1042-
"licensesSelected": "{count} Licenses",
1071+
"runsOnSelected": "{count} Runs On",
1072+
"runsOnFilter": "Runs on",
10431073
"resultsCount": "Showing {count} of {total} templates",
10441074
"sort": {
10451075
"recommended": "Recommended",
@@ -1096,6 +1126,7 @@
10961126
"overwriteBlueprintTitle": "Overwrite existing blueprint?",
10971127
"overwriteBlueprint": "Saving will overwrite the current blueprint with your changes",
10981128
"blueprintName": "Subgraph name",
1129+
"promoteOutsideSubgraph": "Can't promote widget when not in subgraph",
10991130
"publish": "Publish Subgraph",
11001131
"publishSuccess": "Saved to Nodes Library",
11011132
"publishSuccessMessage": "You can find your subgraph blueprint in the nodes library under \"Subgraph Blueprints\"",
@@ -1206,9 +1237,11 @@
12061237
"Export": "Export",
12071238
"Export (API)": "Export (API)",
12081239
"Convert Selection to Subgraph": "Convert Selection to Subgraph",
1240+
"Edit Subgraph Widgets": "Edit Subgraph Widgets",
12091241
"Exit Subgraph": "Exit Subgraph",
12101242
"Fit Group To Contents": "Fit Group To Contents",
12111243
"Group Selected Nodes": "Group Selected Nodes",
1244+
"Toggle promotion of hovered widget": "Toggle promotion of hovered widget",
12121245
"Unpack the selected Subgraph": "Unpack the selected Subgraph",
12131246
"Convert selected nodes to group node": "Convert selected nodes to group node",
12141247
"Manage group nodes": "Manage group nodes",
@@ -1263,6 +1296,7 @@
12631296
"Toggle Essential Bottom Panel": "Toggle Essential Bottom Panel",
12641297
"Toggle View Controls Bottom Panel": "Toggle View Controls Bottom Panel",
12651298
"Focus Mode": "Focus Mode",
1299+
"Assets": "Assets",
12661300
"Model Library": "Model Library",
12671301
"Node Library": "Node Library",
12681302
"Queue Panel": "Queue Panel",
@@ -1317,7 +1351,7 @@
13171351
"UV": "UV",
13181352
"ContextMenu": "Context Menu",
13191353
"Reroute": "Reroute",
1320-
"Load 3D": "Load 3D",
1354+
"Load 3D": "Load 3D & Animation",
13211355
"Camera": "Camera",
13221356
"Scene": "Scene",
13231357
"3D": "3D",
@@ -1329,7 +1363,8 @@
13291363
"3DViewer": "3DViewer",
13301364
"Vue Nodes": "Vue Nodes",
13311365
"Canvas Navigation": "Canvas Navigation",
1332-
"PlanCredits": "Plan & Credits"
1366+
"PlanCredits": "Plan & Credits",
1367+
"VueNodes": "Vue Nodes"
13331368
},
13341369
"serverConfigItems": {
13351370
"listen": {
@@ -1520,6 +1555,7 @@
15201555
"operations": "operations",
15211556
"training": "training",
15221557
"lotus": "lotus",
1558+
"LTXV": "LTXV",
15231559
"Luma": "Luma",
15241560
"MiniMax": "MiniMax",
15251561
"model_specific": "model_specific",
@@ -1702,6 +1738,7 @@
17021738
"export": "Export",
17031739
"exportModel": "Export Model",
17041740
"exportingModel": "Exporting model...",
1741+
"reloadingModel": "Reloading model...",
17051742
"uploadTexture": "Upload Texture",
17061743
"applyingTexture": "Applying Texture...",
17071744
"materialModes": {
@@ -1740,10 +1777,13 @@
17401777
"toastMessages": {
17411778
"nothingToQueue": "Nothing to queue",
17421779
"pleaseSelectOutputNodes": "Please select output nodes",
1780+
"failedToQueue": "Failed to queue",
1781+
"failedExecutionPathResolution": "Could not resolve path to selected nodes",
17431782
"no3dScene": "No 3D scene to apply texture",
17441783
"failedToApplyTexture": "Failed to apply texture",
17451784
"no3dSceneToExport": "No 3D scene to export",
17461785
"failedToExportModel": "Failed to export model as {format}",
1786+
"exportSuccess": "Successfully exported model as {format}",
17471787
"fileLoadError": "Unable to find workflow in {fileName}",
17481788
"dropFileError": "Unable to process dropped item: {error}",
17491789
"interrupted": "Execution has been interrupted",
@@ -1776,7 +1816,10 @@
17761816
"nothingSelected": "Nothing selected",
17771817
"cannotCreateSubgraph": "Cannot create subgraph",
17781818
"failedToConvertToSubgraph": "Failed to convert items to subgraph",
1779-
"failedToInitializeLoad3dViewer": "Failed to initialize 3D Viewer"
1819+
"failedToInitializeLoad3dViewer": "Failed to initialize 3D Viewer",
1820+
"failedToLoadBackgroundImage": "Failed to load background image",
1821+
"failedToLoadModel": "Failed to load 3D model",
1822+
"modelLoadedSuccessfully": "3D model loaded successfully"
17801823
},
17811824
"auth": {
17821825
"apiKey": {
@@ -1798,15 +1841,15 @@
17981841
"whitelistInfo": "About non-whitelisted sites"
17991842
},
18001843
"login": {
1801-
"title": "Sign in",
1844+
"title": "Log in to your account",
18021845
"useApiKey": "Comfy API Key",
18031846
"signInOrSignUp": "Sign In / Sign Up",
18041847
"forgotPasswordError": "Failed to send password reset email",
18051848
"passwordResetSent": "Password reset email sent",
18061849
"passwordResetSentDetail": "Please check your email for a link to reset your password.",
1807-
"newUser": "Don’t have an account yet?",
1850+
"newUser": "New here?",
18081851
"userAvatar": "User Avatar",
1809-
"signUp": "Sign up instead",
1852+
"signUp": "Sign up",
18101853
"emailLabel": "Email",
18111854
"emailPlaceholder": "Enter your email",
18121855
"passwordLabel": "Password",
@@ -1878,6 +1921,16 @@
18781921
"cancel": "Cancel",
18791922
"success": "Account Deleted",
18801923
"successDetail": "Your account has been successfully deleted."
1924+
},
1925+
"reauthRequired": {
1926+
"title": "Re-authentication Required",
1927+
"message": "For security reasons, this action requires you to sign in again. Would you like to proceed?",
1928+
"confirm": "Sign In Again",
1929+
"cancel": "Cancel"
1930+
},
1931+
"loginButton": {
1932+
"tooltipHelp": "Login to be able to use \"API Nodes\"",
1933+
"tooltipLearnMore": "Learn more..."
18811934
}
18821935
},
18831936
"validation": {
@@ -1956,7 +2009,7 @@
19562009
"benefit2": "Up to 30 min runtime per job"
19572010
},
19582011
"required": {
1959-
"title": "Subscribe to",
2012+
"title": "Subscribe to",
19602013
"waitingForSubscription": "Complete your subscription in the new tab. We'll automatically detect when you're done!",
19612014
"subscribe": "Subscribe"
19622015
},
@@ -2020,6 +2073,7 @@
20202073
"enterNewName": "Enter new name"
20212074
},
20222075
"shortcuts": {
2076+
"shortcuts": "Shortcuts",
20232077
"essentials": "Essential",
20242078
"viewControls": "View Controls",
20252079
"manageShortcuts": "Manage Shortcuts",
@@ -2179,7 +2233,39 @@
21792233
"sortAZ": "A-Z",
21802234
"sortZA": "Z-A",
21812235
"sortRecent": "Recent",
2182-
"sortPopular": "Popular"
2236+
"sortPopular": "Popular",
2237+
"ariaLabel": {
2238+
"assetCard": "{name} - {type} asset",
2239+
"loadingAsset": "Loading asset"
2240+
}
2241+
},
2242+
"mediaAsset": {
2243+
"deleteAssetTitle": "Delete this asset?",
2244+
"deleteAssetDescription": "This asset will be permanently removed.",
2245+
"deleteSelectedTitle": "Delete selected assets?",
2246+
"deleteSelectedDescription": "{count} asset(s) will be permanently removed.",
2247+
"assetDeletedSuccessfully": "Asset deleted successfully",
2248+
"deletingImportedFilesCloudOnly": "Deleting imported files is only supported in cloud version",
2249+
"failedToDeleteAsset": "Failed to delete asset",
2250+
"jobIdToast": {
2251+
"jobIdCopied": "Job ID copied to clipboard",
2252+
"jobIdCopyFailed": "Failed to copy Job ID",
2253+
"copied": "Copied",
2254+
"error": "Error"
2255+
},
2256+
"selection": {
2257+
"selectedCount": "Assets Selected: {count}",
2258+
"deselectAll": "Deselect all",
2259+
"downloadSelected": "Download",
2260+
"deleteSelected": "Delete",
2261+
"downloadStarted": "Downloading {count} files...",
2262+
"downloadsStarted": "Started downloading {count} file(s)",
2263+
"assetsDeletedSuccessfully": "{count} asset(s) deleted successfully",
2264+
"failedToDeleteAssets": "Failed to delete selected assets"
2265+
}
2266+
},
2267+
"actionbar": {
2268+
"dockToTop": "Dock to top"
21832269
},
21842270
"desktopDialogs": {
21852271
"": {
@@ -2189,5 +2275,13 @@
21892275
"Close": "Close"
21902276
}
21912277
}
2278+
},
2279+
"vueNodesMigration": {
2280+
"message": "Prefer the classic node design?",
2281+
"button": "Open Settings"
2282+
},
2283+
"vueNodesBanner": {
2284+
"message": "Nodes just got a new look and feel",
2285+
"tryItOut": "Try it out"
21922286
}
21932287
}

0 commit comments

Comments
 (0)