From fca86269e23747340d6a6b8021ad04eeff7171d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=27=C3=A9lectron=20rare?= <108685187+electron-rare@users.noreply.github.com> Date: Wed, 13 May 2026 13:28:47 +0200 Subject: [PATCH] feat(av-live-body): SettingsPanel en francais Le projet est dirige en francais (CLAUDE.md root), donc l'UI utilisateur suit. Traduction des libelles visibles : - Reglages AV-Live-Body / Couches / Webcam / Maillage / Lumieres / Vue - Maillage SMPL-X / Fil de fer / Squelette (articulations) - Opacite / Metallique / Rugosite - Principale / Remplissage / Contre-jour - Champ de vision / Luminosite du fond Les commentaires et identifiants Swift restent en anglais conformement aux conventions du repo. --- .../Sources/AVLiveBody/SettingsPanel.swift | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/launcher/AV-Live-Body/Sources/AVLiveBody/SettingsPanel.swift b/launcher/AV-Live-Body/Sources/AVLiveBody/SettingsPanel.swift index 57a82ef..87a7e95 100644 --- a/launcher/AV-Live-Body/Sources/AVLiveBody/SettingsPanel.swift +++ b/launcher/AV-Live-Body/Sources/AVLiveBody/SettingsPanel.swift @@ -37,7 +37,7 @@ struct SettingsPanel: View { private var header: some View { HStack { - Text("AV-Live-Body settings") + Text("Réglages AV-Live-Body") .font(.headline) .foregroundColor(.white) Spacer() @@ -53,18 +53,18 @@ struct SettingsPanel: View { private var layersSection: some View { VStack(alignment: .leading, spacing: 8) { - sectionTitle("Layers") + sectionTitle("Couches") layerRow(icon: "video.fill", label: "Webcam", isOn: $settings.showCamera) layerRow(icon: "person.fill", - label: "Mesh SMPL-X", + label: "Maillage SMPL-X", isOn: $settings.showMesh) layerRow(icon: "circle.dotted", - label: "Wireframe", + label: "Fil de fer", isOn: $settings.showWireframe) layerRow(icon: "figure.stand", - label: "Skeleton (joints)", + label: "Squelette (articulations)", isOn: $settings.showSkeleton) } } @@ -72,7 +72,7 @@ struct SettingsPanel: View { private var cameraSection: some View { VStack(alignment: .leading, spacing: 8) { sectionTitle("Webcam") - slider("Opacity", + slider("Opacité", value: $settings.camOpacity, in: 0...1, format: "%.2f") } @@ -80,10 +80,10 @@ struct SettingsPanel: View { private var meshSection: some View { VStack(alignment: .leading, spacing: 8) { - sectionTitle("Mesh") - Toggle("Metallic", isOn: $settings.meshMetallic) + sectionTitle("Maillage") + Toggle("Métallique", isOn: $settings.meshMetallic) .foregroundColor(.white) - slider("Roughness", + slider("Rugosité", value: $settings.meshRoughness, in: 0...1, format: "%.2f") } @@ -91,14 +91,14 @@ struct SettingsPanel: View { private var lightsSection: some View { VStack(alignment: .leading, spacing: 8) { - sectionTitle("Lights") - slider("Key (warm, front-right)", + sectionTitle("Lumières") + slider("Principale (chaude, avant-droite)", value: $settings.keyIntensity, in: 0...10000, format: "%.0f") - slider("Fill (cool, front-left)", + slider("Remplissage (froide, avant-gauche)", value: $settings.fillIntensity, in: 0...10000, format: "%.0f") - slider("Rim (back)", + slider("Contre-jour (arrière)", value: $settings.rimIntensity, in: 0...10000, format: "%.0f") } @@ -106,11 +106,11 @@ struct SettingsPanel: View { private var viewSection: some View { VStack(alignment: .leading, spacing: 8) { - sectionTitle("View") - slider("Field of view", + sectionTitle("Vue") + slider("Champ de vision", value: $settings.fieldOfView, in: 20...120, format: "%.0f°") - slider("Background brightness", + slider("Luminosité du fond", value: $settings.bgBrightness, in: 0...0.5, format: "%.2f") }