UPD: Externalize strings
This commit is contained in:
132
src/App.vue
132
src/App.vue
@@ -106,10 +106,10 @@ const state = reactive({ count: 12 })
|
|||||||
<div>
|
<div>
|
||||||
<div class="space-y-1 p-6 pb-0">
|
<div class="space-y-1 p-6 pb-0">
|
||||||
<h2 class="text-md leading-none">
|
<h2 class="text-md leading-none">
|
||||||
Profiles
|
{{ $t('profiles.title') }}
|
||||||
</h2>
|
</h2>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
An open-source UI component library.
|
{{ $t('profiles.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Separator class="my-4" />
|
<Separator class="my-4" />
|
||||||
@@ -129,7 +129,7 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div class="space-y-1 p-6">
|
<div class="space-y-1 p-6">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Quick Preview
|
{{ $t('preview.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<!-- <p class="text-xs text-muted-foreground">
|
<!-- <p class="text-xs text-muted-foreground">
|
||||||
Pre-rendered preview with live feedback from current position.
|
Pre-rendered preview with live feedback from current position.
|
||||||
@@ -143,7 +143,7 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<Bolt class="h-4 w-4" />
|
<Bolt class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div clas="flex-initial"><h2 class="text-sm px-2 py-4">Configuration Options</h2></div>
|
<div class="flex-initial"><h2 class="text-sm px-2 py-4">{{ $t('config_options.title') }}</h2></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -152,10 +152,10 @@ const state = reactive({ count: 12 })
|
|||||||
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Program Settings
|
{{ $t('config_options.program_settings.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Operation mode and Profile Naming
|
{{ $t('config_options.program_settings.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -166,10 +166,10 @@ const state = reactive({ count: 12 })
|
|||||||
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<h1 class="leading-none text-lg pb-1">
|
<h1 class="leading-none text-lg pb-1">
|
||||||
Feedback Designer
|
{{ $t('config_options.feedback_designer.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Feedback mode selector and parameter adjustment
|
{{ $t('config_options.feedback_designer.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -179,10 +179,10 @@ const state = reactive({ count: 12 })
|
|||||||
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Mapping Configuration
|
{{ $t('config_options.mapping_configuration.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Assign function to Knob and Keys
|
{{ $t('config_options.mapping_configuration.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -194,10 +194,10 @@ const state = reactive({ count: 12 })
|
|||||||
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none">
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Light Designer
|
{{ $t('config_options.light_designer.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Adjust behavior of LED Ring. Turn On/Off.
|
{{ $t('config_options.light_designer.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -207,12 +207,12 @@ const state = reactive({ count: 12 })
|
|||||||
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none"
|
class="text-left rounded-none border-solid border-t data-[state=active]:bg-zinc-100 data-[state=active]:text-zinc-900 data-[state=active]:ring-none"
|
||||||
disabled="true">
|
disabled="true">
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<Badge class="font-mono h-4 mb-1 rounded-full">COMING SOON</badge>
|
<Badge class="font-mono h-4 mb-1 rounded-full">{{ $t('common.coming_soon') }}</badge>
|
||||||
<h1 class="leading-none text-muted-foreground text-lg">
|
<h1 class="leading-none text-muted-foreground text-lg">
|
||||||
GUI Designer
|
{{ $t('config_options.gui_designer.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Adjust graphic interface parameters
|
{{ $t('config_options.gui_designer.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -227,10 +227,10 @@ const state = reactive({ count: 12 })
|
|||||||
|
|
||||||
<div class="space-y-1 p-6">
|
<div class="space-y-1 p-6">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Feedback Designer
|
{{ $t('config_options.feedback_designer.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Create or tune device haptic response
|
{{ $t('config_options.feedback_designer.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -242,7 +242,8 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<GaugeCircle class="h-4 w-4" />
|
<GaugeCircle class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div clas="flex-initial"><h2 class="text-sm px-2 py-4">Feedback Type</h2></div>
|
<div class="flex-initial"><h2 class="text-sm px-2 py-4">
|
||||||
|
{{ $t('config_options.feedback_designer.feedback_type.title') }}</h2></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
@@ -254,9 +255,9 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="size-16 mb-2">
|
<div class="size-16 mb-2">
|
||||||
<img src="@/assets/gui-ico/ico-fd.svg" />
|
<img src="@/assets/gui-ico/ico-fd.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span
|
||||||
Fine Detents
|
class="text-xs leading-3 text-wrap">{{ $t('config_options.feedback_designer.feedback_type.fine_detents')
|
||||||
</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="cd">
|
<TabsTrigger value="cd">
|
||||||
@@ -264,9 +265,9 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="size-16 mb-2">
|
<div class="size-16 mb-2">
|
||||||
<img src="@/assets/gui-ico/ico-cd.svg" />
|
<img src="@/assets/gui-ico/ico-cd.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span
|
||||||
Coarse Detents
|
class="text-xs leading-3 text-wrap">{{ $t('config_options.feedback_designer.feedback_type.coarse_detents')
|
||||||
</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="vr">
|
<TabsTrigger value="vr">
|
||||||
@@ -274,9 +275,9 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="size-16 mb-2">
|
<div class="size-16 mb-2">
|
||||||
<img src="@/assets/gui-ico/ico-vf.svg" />
|
<img src="@/assets/gui-ico/ico-vf.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span
|
||||||
Viscous Rotation
|
class="text-xs leading-3 text-wrap">{{ $t('config_options.feedback_designer.feedback_type.viscous_rotation')
|
||||||
</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="rt">
|
<TabsTrigger value="rt">
|
||||||
@@ -285,8 +286,8 @@ const state = reactive({ count: 12 })
|
|||||||
<img src="@/assets/gui-ico/ico-rc.svg" />
|
<img src="@/assets/gui-ico/ico-rc.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span class="text-xs leading-3 text-wrap">
|
||||||
Return to Center
|
{{ $t('config_options.feedback_designer.feedback_type.return_to_center') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
@@ -295,7 +296,9 @@ const state = reactive({ count: 12 })
|
|||||||
|
|
||||||
<Separator />
|
<Separator />
|
||||||
<div class="flex flex-col p-8 pt-4">
|
<div class="flex flex-col p-8 pt-4">
|
||||||
<span class="text-sm text-muted-foreground font-mono h-8 text-center">Total Positions</span>
|
<span
|
||||||
|
class="text-sm text-muted-foreground font-mono h-8 text-center">{{ $t('config_options.feedback_designer.total_positions')
|
||||||
|
}}</span>
|
||||||
|
|
||||||
<div class="flex w-full max-w-sm items-center gap-0">
|
<div class="flex w-full max-w-sm items-center gap-0">
|
||||||
<Button
|
<Button
|
||||||
@@ -324,7 +327,8 @@ const state = reactive({ count: 12 })
|
|||||||
<AudioWaveform class="h-4 w-4" />
|
<AudioWaveform class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<h2 class="text-sm px-2 py-4">Haptic Response</h2>
|
<h2 class="text-sm px-2 py-4">{{ $t('config_options.feedback_designer.haptic_response.title')
|
||||||
|
}}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<Toggle
|
<Toggle
|
||||||
@@ -338,7 +342,9 @@ const state = reactive({ count: 12 })
|
|||||||
<Separator />
|
<Separator />
|
||||||
|
|
||||||
<div class="flex flex-col p-8 pt-4">
|
<div class="flex flex-col p-8 pt-4">
|
||||||
<span class="text-sm text-muted-foreground font-mono">Feedback Strength</span>
|
<span
|
||||||
|
class="text-sm text-muted-foreground font-mono">{{ $t('config_options.feedback_designer.haptic_response.feedback_strength')
|
||||||
|
}}</span>
|
||||||
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
||||||
<div class="flex flex-row px-1 py-1.5">
|
<div class="flex flex-row px-1 py-1.5">
|
||||||
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
||||||
@@ -351,7 +357,9 @@ const state = reactive({ count: 12 })
|
|||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
<div class="flex flex-col p-8 pt-4">
|
<div class="flex flex-col p-8 pt-4">
|
||||||
<span class="text-sm text-muted-foreground font-mono">Bounce Back Strength</span>
|
<span
|
||||||
|
class="text-sm text-muted-foreground font-mono">{{ $t('config_options.feedback_designer.haptic_response.bounce_back_strength')
|
||||||
|
}}</span>
|
||||||
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
||||||
<div class="flex flex-row px-1 py-1.5">
|
<div class="flex flex-row px-1 py-1.5">
|
||||||
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
||||||
@@ -363,7 +371,9 @@ const state = reactive({ count: 12 })
|
|||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
<div class="flex flex-col p-8 pt-4">
|
<div class="flex flex-col p-8 pt-4">
|
||||||
<span class="text-sm text-muted-foreground font-mono">Output Ramp Dampening</span>
|
<span
|
||||||
|
class="text-sm text-muted-foreground font-mono">{{ $t('config_options.feedback_designer.haptic_response.output_ramp_dampening')
|
||||||
|
}}</span>
|
||||||
<Slider :default-value="[4]" :max="4" :step="1" class="pt-4" />
|
<Slider :default-value="[4]" :max="4" :step="1" class="pt-4" />
|
||||||
<div class="flex flex-row px-1 py-1.5">
|
<div class="flex flex-row px-1 py-1.5">
|
||||||
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
||||||
@@ -380,7 +390,8 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<AudioLines class="h-4 w-4" />
|
<AudioLines class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div class="grow"><h2 class="text-sm px-2 py-4"> Auditory Response</h2></div>
|
<div class="grow"><h2 class="text-sm px-2 py-4">
|
||||||
|
{{ $t('config_options.feedback_designer.auditory_response.title') }}</h2></div>
|
||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<Toggle
|
<Toggle
|
||||||
class="data-[state=on]:ring-emerald-600 data-[state=on]:ring-1" variant="outline"
|
class="data-[state=on]:ring-emerald-600 data-[state=on]:ring-1" variant="outline"
|
||||||
@@ -391,7 +402,9 @@ const state = reactive({ count: 12 })
|
|||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
<div class="flex flex-col p-8 pt-4">
|
<div class="flex flex-col p-8 pt-4">
|
||||||
<span class="text-sm text-muted-foreground font-mono">Auditory Haptic Level</span>
|
<span
|
||||||
|
class="text-sm text-muted-foreground font-mono">{{ $t('config_options.feedback_designer.auditory_response.haptic_level')
|
||||||
|
}}</span>
|
||||||
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
||||||
<div class="flex flex-row px-1 py-1.5">
|
<div class="flex flex-row px-1 py-1.5">
|
||||||
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Min</div>
|
||||||
@@ -404,7 +417,9 @@ const state = reactive({ count: 12 })
|
|||||||
<Separator />
|
<Separator />
|
||||||
<div class="flex flex-col p-8 pt-4">
|
<div class="flex flex-col p-8 pt-4">
|
||||||
|
|
||||||
<span class="text-sm text-muted-foreground font-mono">Auditory Magnitude</span>
|
<span
|
||||||
|
class="text-sm text-muted-foreground font-mono">{{ $t('config_options.feedback_designer.auditory_response.magnitude')
|
||||||
|
}}</span>
|
||||||
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
<Slider :default-value="[2]" :max="4" :step="1" class="pt-4" />
|
||||||
<div class="flex flex-row px-1 py-1.5">
|
<div class="flex flex-row px-1 py-1.5">
|
||||||
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Faint</div>
|
<div class="flex-1 text-xs text-muted-foreground font-mono text-left">Faint</div>
|
||||||
@@ -427,10 +442,10 @@ const state = reactive({ count: 12 })
|
|||||||
|
|
||||||
<div class="space-y-1 p-6">
|
<div class="space-y-1 p-6">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Mapping Configuration
|
{{ $t('config_options.mapping_configuration.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Create or tune device haptic response
|
{{ $t('config_options.mapping_configuration.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -442,7 +457,8 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<Keyboard class="h-4 w-4" />
|
<Keyboard class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div clas="flex-initial"><h2 class="text-sm px-2 py-4">Key Mapping</h2></div>
|
<div class="flex-initial"><h2 class="text-sm px-2 py-4">
|
||||||
|
{{ $t('config_options.mapping_configuration.key_mapping.title') }}</h2></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
@@ -455,9 +471,9 @@ const state = reactive({ count: 12 })
|
|||||||
<img src="@/assets/gui-ico/ico-key-o.svg" />
|
<img src="@/assets/gui-ico/ico-key-o.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span class="text-xs leading-3 text-wrap">
|
||||||
Switch A
|
{{ $t('config_options.mapping_configuration.key_mapping.switch.a') }}
|
||||||
<Badge class="bg-orange-400 mt-2">Shift</Badge>
|
<Badge class="bg-orange-400 mt-2">Shift</Badge>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="cd">
|
<TabsTrigger value="cd">
|
||||||
@@ -466,9 +482,9 @@ const state = reactive({ count: 12 })
|
|||||||
<img src="@/assets/gui-ico/ico-key.svg" />
|
<img src="@/assets/gui-ico/ico-key.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span class="text-xs leading-3 text-wrap">
|
||||||
Switch B
|
{{ $t('config_options.mapping_configuration.key_mapping.switch.b') }}
|
||||||
<Badge class="bg-zinc-400 mt-2">Fn1</Badge>
|
<Badge class="bg-zinc-400 mt-2">Fn1</Badge>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="vr">
|
<TabsTrigger value="vr">
|
||||||
@@ -477,9 +493,9 @@ const state = reactive({ count: 12 })
|
|||||||
<img src="@/assets/gui-ico/ico-key-g.svg" />
|
<img src="@/assets/gui-ico/ico-key-g.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span class="text-xs leading-3 text-wrap">
|
||||||
Switch C
|
{{ $t('config_options.mapping_configuration.key_mapping.switch.c') }}
|
||||||
<Badge class="bg-zinc-400 mt-2">Fn2</Badge>
|
<Badge class="bg-zinc-400 mt-2">Fn2</Badge>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="rt">
|
<TabsTrigger value="rt">
|
||||||
@@ -488,9 +504,9 @@ const state = reactive({ count: 12 })
|
|||||||
<img src="@/assets/gui-ico/ico-key-d.svg" />
|
<img src="@/assets/gui-ico/ico-key-d.svg" />
|
||||||
</div>
|
</div>
|
||||||
<span class="text-xs leading-3 text-wrap">
|
<span class="text-xs leading-3 text-wrap">
|
||||||
Switch D
|
{{ $t('config_options.mapping_configuration.key_mapping.switch.d') }}
|
||||||
<Badge class="bg-zinc-400 mt-2">M0</Badge>
|
<Badge class="bg-zinc-400 mt-2">M0</Badge>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
@@ -501,10 +517,10 @@ const state = reactive({ count: 12 })
|
|||||||
<Command>
|
<Command>
|
||||||
|
|
||||||
<CommandList>
|
<CommandList>
|
||||||
<CommandEmpty>Key or function not found :(
|
<CommandEmpty>{{ $t('config_options.mapping_configuration.key_mapping.not_found') }}
|
||||||
|
|
||||||
</CommandEmpty>
|
</CommandEmpty>
|
||||||
<CommandInput placeholder="Find Key, Function or Macro..." />
|
<CommandInput :placeholder="$t('config_options.mapping_configuration.key_mapping.search_placeholder')" />
|
||||||
<CommandGroup heading="Common">
|
<CommandGroup heading="Common">
|
||||||
<CommandItem value="backspace">
|
<CommandItem value="backspace">
|
||||||
<Squircle color="grey" class="w-4 h-4 mr-2" />
|
<Squircle color="grey" class="w-4 h-4 mr-2" />
|
||||||
@@ -580,7 +596,7 @@ const state = reactive({ count: 12 })
|
|||||||
<GaugeCircle class="h-4 w-4" />
|
<GaugeCircle class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<h2 class="text-sm px-2 py-4">Knob Mapping</h2>
|
<h2 class="text-sm px-2 py-4">{{ $t('config_options.mapping_configuration.knob_mapping.title') }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<Toggle
|
<Toggle
|
||||||
@@ -807,10 +823,10 @@ const state = reactive({ count: 12 })
|
|||||||
|
|
||||||
<div class="space-y-1 p-6">
|
<div class="space-y-1 p-6">
|
||||||
<h1 class="leading-none text-lg">
|
<h1 class="leading-none text-lg">
|
||||||
Light Designer
|
{{ $t('config_options.light_designer.title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-xs text-muted-foreground">
|
<p class="text-xs text-muted-foreground">
|
||||||
Create or tune device haptic response
|
{{ $t('config_options.light_designer.subtitle') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -822,7 +838,7 @@ const state = reactive({ count: 12 })
|
|||||||
<div class="flex-none">
|
<div class="flex-none">
|
||||||
<GaugeCircle class="h-4 w-4" />
|
<GaugeCircle class="h-4 w-4" />
|
||||||
</div>
|
</div>
|
||||||
<div clas="flex-initial"><h2 class="text-sm px-2 py-4">Feedback Type</h2></div>
|
<div class="flex-initial"><h2 class="text-sm px-2 py-4">Feedback Type</h2></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
|
|||||||
@@ -1,14 +1,80 @@
|
|||||||
{
|
{
|
||||||
|
"common": {
|
||||||
|
"coming_soon": "COMING SOON"
|
||||||
|
},
|
||||||
|
"config_options": {
|
||||||
|
"feedback_designer": {
|
||||||
|
"feedback_type": {
|
||||||
|
"coarse_detents": "Coarse Detents",
|
||||||
|
"fine_detents": "Fine Detents",
|
||||||
|
"return_to_center": "Return to Center",
|
||||||
|
"title": "Feedback Type",
|
||||||
|
"viscous_rotation": "Viscous Rotation"
|
||||||
|
},
|
||||||
|
"haptic_response": {
|
||||||
|
"title": "Haptic Response",
|
||||||
|
"feedback_strength": "Feedback Strength",
|
||||||
|
"bounce_back_strength": "Bounce Back Strength",
|
||||||
|
"output_ramp_dampening": "Output Ramp Dampening"
|
||||||
|
},
|
||||||
|
"subtitle": "Feedback mode selector and parameter adjustment",
|
||||||
|
"title": "Feedback Designer",
|
||||||
|
"total_positions": "Total Positions",
|
||||||
|
"auditory_response": {
|
||||||
|
"title": "Auditory Response",
|
||||||
|
"haptic_level": "Auditory Haptic Level",
|
||||||
|
"magnitude": "Auditory Magnitude"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gui_designer": {
|
||||||
|
"subtitle": "Adjust graphic interface parameters",
|
||||||
|
"title": "GUI Designer"
|
||||||
|
},
|
||||||
|
"light_designer": {
|
||||||
|
"subtitle": "Adjust behavior of LED Ring. Turn On/Off.",
|
||||||
|
"title": "Light Designer"
|
||||||
|
},
|
||||||
|
"mapping_configuration": {
|
||||||
|
"subtitle": "Assign function to Knob and Keys",
|
||||||
|
"title": "Mapping Configuration",
|
||||||
|
"key_mapping": {
|
||||||
|
"title": "Key Mapping",
|
||||||
|
"switch": {
|
||||||
|
"a": "Switch A",
|
||||||
|
"b": "Switch B",
|
||||||
|
"c": "Switch C",
|
||||||
|
"d": "Switch D"
|
||||||
|
},
|
||||||
|
"not_found": "Key or function not found :(",
|
||||||
|
"search_placeholder": "Find Key, Function or Macro..."
|
||||||
|
},
|
||||||
|
"knob_mapping": {
|
||||||
|
"title": "Knob Mapping"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"program_settings": {
|
||||||
|
"subtitle": "Operation mode and Profile Naming",
|
||||||
|
"title": "Program Settings"
|
||||||
|
},
|
||||||
|
"title": "Configuration Options"
|
||||||
|
},
|
||||||
"navbar": {
|
"navbar": {
|
||||||
"device": {
|
"device": {
|
||||||
"title": "Device",
|
"about": "About Device",
|
||||||
"connect": "Connect",
|
"connect": "Connect",
|
||||||
"disconnect": "Disconnect",
|
"disconnect": "Disconnect",
|
||||||
"about": "About Device",
|
|
||||||
"preferences": "Preferences",
|
|
||||||
"export": "Export JSON",
|
"export": "Export JSON",
|
||||||
"import": "Import JSON",
|
"import": "Import JSON",
|
||||||
"quit": "Quit"
|
"preferences": "Preferences",
|
||||||
|
"quit": "Quit",
|
||||||
|
"title": "Device"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"preview": {
|
||||||
|
"title": "Quick Preview"
|
||||||
|
},
|
||||||
|
"profiles": {
|
||||||
|
"subtitle": "Customize to your heart's content",
|
||||||
|
"title": "Profiles"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user