mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-01 19:20:10 +00:00
[3d] add missing i18n (#2700)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
@click="selectCategory(category)"
|
||||
>
|
||||
<i :class="getCategoryIcon(category)"></i>
|
||||
<span class="text-white">{{ label }}</span>
|
||||
<span class="text-white">{{ t(label) }}</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -283,10 +283,10 @@ const props = defineProps<{
|
||||
const isMenuOpen = ref(false)
|
||||
const activeCategory = ref<'scene' | 'model' | 'camera' | 'light'>('scene')
|
||||
const categories = {
|
||||
scene: 'scene',
|
||||
model: 'model',
|
||||
camera: 'camera',
|
||||
light: 'light'
|
||||
scene: 'load3d.scene',
|
||||
model: 'load3d.model',
|
||||
camera: 'load3d.camera',
|
||||
light: 'load3d.light'
|
||||
}
|
||||
|
||||
const toggleMenu = () => {
|
||||
|
||||
Reference in New Issue
Block a user