mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-27 02:04:09 +00:00
[i18n] Translate node categories (#1842)
* [i18n] Translate node categories * nit * Update locales [skip ci] * Fix some translations * Do translate --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -1833,7 +1833,11 @@ export class ComfyApp {
|
||||
),
|
||||
description: def.description
|
||||
? st(`nodeDefs.${name}.description`, def.description)
|
||||
: undefined
|
||||
: undefined,
|
||||
category: def.category
|
||||
.split('/')
|
||||
.map((category) => st(`nodeCategories.${category}`, category))
|
||||
.join('/')
|
||||
}
|
||||
])
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user