[3d] add missing i18n (#2700)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Terry Jia
2025-02-23 23:50:13 -05:00
committed by GitHub
parent eb951c9cf9
commit 822a8e02f8
7 changed files with 30 additions and 6 deletions

View File

@@ -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 = () => {

View File

@@ -852,6 +852,10 @@
"removeBackgroundImage": "Remove Background Image",
"loadingModel": "Loading 3D Model...",
"upDirection": "Up Direction",
"materialMode": "Material Mode"
"materialMode": "Material Mode",
"scene": "Scene",
"model": "Model",
"camera": "Camera",
"light": "Light"
}
}

View File

@@ -321,12 +321,16 @@
},
"load3d": {
"backgroundColor": "Couleur de fond",
"camera": "Caméra",
"fov": "FOV",
"light": "Lumière",
"lightIntensity": "Intensité de la lumière",
"loadingModel": "Chargement du modèle 3D...",
"materialMode": "Mode Matériel",
"model": "Modèle",
"previewOutput": "Aperçu de la sortie",
"removeBackgroundImage": "Supprimer l'image de fond",
"scene": "Scène",
"showGrid": "Afficher la grille",
"switchCamera": "Changer de caméra",
"upDirection": "Direction Haut",

View File

@@ -321,12 +321,16 @@
},
"load3d": {
"backgroundColor": "背景色",
"camera": "カメラ",
"fov": "FOV",
"light": "ライト",
"lightIntensity": "光の強度",
"loadingModel": "3Dモデルを読み込んでいます...",
"materialMode": "マテリアルモード",
"model": "モデル",
"previewOutput": "出力のプレビュー",
"removeBackgroundImage": "背景画像を削除",
"scene": "シーン",
"showGrid": "グリッドを表示",
"switchCamera": "カメラを切り替える",
"upDirection": "上方向",

View File

@@ -321,12 +321,16 @@
},
"load3d": {
"backgroundColor": "배경색",
"camera": "카메라",
"fov": "FOV",
"light": "빛",
"lightIntensity": "조명 강도",
"loadingModel": "3D 모델 로딩 중...",
"materialMode": "재질 모드",
"model": "모델",
"previewOutput": "출력 미리보기",
"removeBackgroundImage": "배경 이미지 제거",
"scene": "장면",
"showGrid": "그리드 표시",
"switchCamera": "카메라 전환",
"upDirection": "위 방향",

View File

@@ -321,12 +321,16 @@
},
"load3d": {
"backgroundColor": "Цвет фона",
"camera": "Камера",
"fov": "Угол обзора",
"light": "Свет",
"lightIntensity": "Интенсивность света",
"loadingModel": "Загрузка 3D модели...",
"materialMode": "Режим Материала",
"model": "Модель",
"previewOutput": "Предварительный просмотр",
"removeBackgroundImage": "Удалить фоновое изображение",
"scene": "Сцена",
"showGrid": "Показать сетку",
"switchCamera": "Переключить камеру",
"upDirection": "Направление Вверх",

View File

@@ -321,12 +321,16 @@
},
"load3d": {
"backgroundColor": "背景颜色",
"camera": "相机",
"fov": "视场",
"light": "灯光",
"lightIntensity": "光照强度",
"loadingModel": "正在加载3D模型...",
"materialMode": "材料模式",
"model": "模型",
"previewOutput": "预览输出",
"removeBackgroundImage": "移除背景图片",
"scene": "场景",
"showGrid": "显示网格",
"switchCamera": "切换摄像头",
"upDirection": "向上方向",