[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:
Chenlei Hu
2024-12-07 18:25:40 -08:00
committed by GitHub
parent a0ff78dbdb
commit a76159e9a0
7 changed files with 246 additions and 4 deletions

View File

@@ -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('/')
}
])
)