mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 01:09:46 +00:00
[3d] Add translations for material modes controls (#3325)
Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Terry Jia <terryjia88@gmail.com>
This commit is contained in:
@@ -234,7 +234,7 @@ const selectMaterialMode = (mode: MaterialMode) => {
|
||||
}
|
||||
|
||||
const formatMaterialMode = (mode: MaterialMode) => {
|
||||
return mode.charAt(0).toUpperCase() + mode.slice(1)
|
||||
return t(`load3d.materialModes.${mode}`)
|
||||
}
|
||||
|
||||
const toggleEdgeThreshold = () => {
|
||||
|
||||
Reference in New Issue
Block a user