mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-05 08:12:29 -08:00
Start adding strings of stuff
This commit is contained in:
7 files changed
+82
-83
No files matched your search
@@ -792,27 +792,37 @@ onboarding-assignment_tutorial-done = I put stickers and straps!
|
||||
onboarding-usage-choose = What are you gonna use SlimeVR for?
|
||||
onboarding-usage-choose-description = What are you gonna use SlimeVR for?
|
||||
onboarding-usage-choose-option-title = { $mode ->
|
||||
*[VR] VR
|
||||
*[VR] Virtual Reality
|
||||
[VTUBING] VTuber
|
||||
[MOCAP] Mocap
|
||||
[MOCAP] Motion Capture
|
||||
}
|
||||
onboarding-usage-choose-option-label = { $mode ->
|
||||
*[VR] For using with games
|
||||
[VTUBING] For using with VMC apps
|
||||
[MOCAP] For recording a whole body with precise tracking
|
||||
*[VR] For use with games and applications that use a headset
|
||||
[VTUBING] For use with VTubing programs that use the VMC protocol
|
||||
[MOCAP] For recording a whole body with precise tracking.
|
||||
}
|
||||
onboarding-usage-choose-option-description = { $mode ->
|
||||
*[VR] Users of SteamVR or VR programs that use OSC can select this option to get right to it.
|
||||
[VTUBING] VTubing programs work with SlimeVR using VMC (Virtual Motion Capture), this is what to pick for that!
|
||||
[MOCAP] Many 3D programs can record live mocap for use in animation, and BVH recording is also supported directly in the app.
|
||||
}
|
||||
|
||||
## VR usage choose
|
||||
onboarding-usage-vr-choose = choose vr
|
||||
onboarding-usage-vr-choose-description = come on choose vr
|
||||
onboarding-usage-vr-choose-steamvr = i use steamvr
|
||||
onboarding-usage-vr-choose-steamvr-label = for pc vr
|
||||
onboarding-usage-vr-choose-steamvr-description = this happens if steamvr
|
||||
onboarding-usage-vr-choose-steamvr-warning = The SteamVR driver is currently not connected, <b>please turn on SteamVR</b> or check <docs>the docs for more info</docs>.
|
||||
onboarding-usage-vr-choose-standalone = i use standalone
|
||||
onboarding-usage-vr-choose-standalone-label = for portable vr
|
||||
onboarding-usage-vr-choose-standalone-description = this happens if standalone
|
||||
onboarding-usage-vr-choose = Choose your VR setup
|
||||
onboarding-usage-vr-choose-description = There are different ways to connect SlimeVR to your virtual reality setup! You can decide which you will use here.
|
||||
onboarding-usage-vr-choose-steamvr = I use SteamVR
|
||||
onboarding-usage-vr-choose-steamvr-label = For PCVR
|
||||
# uses multiline
|
||||
onboarding-usage-vr-choose-steamvr-description =
|
||||
SlimeVR emulates SteamVR trackers using the rotational data of the trackers and a human skeleton model, so SteamVR games and programs can use it for full body tracking.
|
||||
|
||||
SteamVR must be installed and a headset or positional head tracker connected to the SlimeVR server to use this method.
|
||||
onboarding-usage-vr-choose-steamvr-warning = The SteamVR driver is currently not connected, <b>please turn on SteamVR</b> or check <docs>the docs for more info</docs>.
|
||||
onboarding-usage-vr-choose-standalone = I use standalone
|
||||
onboarding-usage-vr-choose-standalone-label = For VRChat Quest/Pico users
|
||||
onboarding-usage-vr-choose-standalone-description =
|
||||
Standalone use connects through OSC instead of SteamVR to provide full body tracking with SlimeVR.
|
||||
Any PC that can run SlimeVR server can function like this, as well as phones, which are the recommended ways for best ergonomics.
|
||||
onboarding-usage-vr-standalone-title = Setting up VRChat
|
||||
onboarding-usage-vr-standalone-next = Done!
|
||||
|
||||
|
||||
@@ -169,21 +169,24 @@ export function HeadTrackingChoose() {
|
||||
'onboarding-usage-mocap-head_choose-steamvr-description'
|
||||
)}
|
||||
</Typography>
|
||||
{missingSteamVr && (
|
||||
<Localized
|
||||
id="onboarding-usage-vr-choose-steamvr-warning"
|
||||
elems={{
|
||||
docs: (
|
||||
<A
|
||||
href={`${DOCS_SITE}/common-issues.html#the-trackers-are-connected-to-the-slimevr-server-but-arent-turning-up-on-steam`}
|
||||
></A>
|
||||
),
|
||||
b: <b></b>,
|
||||
}}
|
||||
>
|
||||
<WarningBox>SteamVR driver not connected</WarningBox>
|
||||
</Localized>
|
||||
)}
|
||||
{
|
||||
// TODO: Add a button to open SteamVR via tauri's open()
|
||||
missingSteamVr && (
|
||||
<Localized
|
||||
id="onboarding-usage-vr-choose-steamvr-warning"
|
||||
elems={{
|
||||
docs: (
|
||||
<A
|
||||
href={`${DOCS_SITE}/common-issues.html#the-trackers-are-connected-to-the-slimevr-server-but-arent-turning-up-on-steam`}
|
||||
></A>
|
||||
),
|
||||
b: <b></b>,
|
||||
}}
|
||||
>
|
||||
<WarningBox>SteamVR driver not connected</WarningBox>
|
||||
</Localized>
|
||||
)
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export function MocapBVHSetup() {
|
||||
return <div className="bg-background-70 w-[512px] rounded-md"></div>;
|
||||
}
|
||||
@@ -3,9 +3,10 @@ import { useLocalization } from '@fluent/react';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { useForm } from 'react-hook-form';
|
||||
import { Radio } from '@/components/commons/Radio';
|
||||
import { Button } from '@/components/commons/Button';
|
||||
import classNames from 'classnames';
|
||||
import { useMemo } from 'react';
|
||||
import { MocapVMCSetup } from './MocapVMCSetup';
|
||||
import { Button } from '@/components/commons/Button';
|
||||
|
||||
export enum MocapDataType {
|
||||
BVH,
|
||||
@@ -13,30 +14,10 @@ export enum MocapDataType {
|
||||
VMC,
|
||||
}
|
||||
|
||||
interface UsageInfo {
|
||||
path: string;
|
||||
image: string;
|
||||
}
|
||||
|
||||
const REASON_TO_PATH: Record<MocapDataType, UsageInfo> = {
|
||||
[MocapDataType.BVH]: {
|
||||
path: '/onboarding/usage/mocap/head-choose',
|
||||
image: '/images/usage-mocap.webp',
|
||||
},
|
||||
[MocapDataType.STEAMVR]: {
|
||||
path: '/onboarding/usage/vr/choose',
|
||||
image: '/images/usage-vr.webp',
|
||||
},
|
||||
[MocapDataType.VMC]: {
|
||||
path: '/onboarding/usage/vtubing/choose',
|
||||
image: '/images/usage-vtuber.webp',
|
||||
},
|
||||
};
|
||||
|
||||
export function MocapDataChoose() {
|
||||
const { l10n } = useLocalization();
|
||||
const { applyProgress } = useOnboarding();
|
||||
const { control, watch } = useForm<{
|
||||
const { control } = useForm<{
|
||||
usageReason: MocapDataType;
|
||||
}>({
|
||||
defaultValues: {
|
||||
@@ -44,7 +25,7 @@ export function MocapDataChoose() {
|
||||
},
|
||||
});
|
||||
|
||||
const usageReason = watch('usageReason');
|
||||
// const usageReason = watch('usageReason');
|
||||
|
||||
const ItemContent = ({ mode }: { mode: MocapDataType }) => (
|
||||
<>
|
||||
@@ -119,22 +100,9 @@ export function MocapDataChoose() {
|
||||
>
|
||||
{l10n.getString('onboarding-previous_step')}
|
||||
</Button>
|
||||
<Button
|
||||
variant="primary"
|
||||
to={REASON_TO_PATH[usageReason].path}
|
||||
className="ml-auto"
|
||||
>
|
||||
{l10n.getString('onboarding-enter_vr-ready')}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col justify-center">
|
||||
<img
|
||||
className="mobile:hidden rounded-3xl"
|
||||
src={REASON_TO_PATH[usageReason].image}
|
||||
width="496"
|
||||
></img>
|
||||
</div>
|
||||
<MocapVMCSetup />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export function MocapSteamSetup() {
|
||||
return <div className="bg-background-70 w-[512px] rounded-md"></div>;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export function MocapVMCSetup() {
|
||||
return <div className="bg-background-70 w-[512px] rounded-md"></div>;
|
||||
}
|
||||
@@ -69,7 +69,10 @@ export function VRUsageChoose() {
|
||||
</Typography>
|
||||
</div>
|
||||
<div>
|
||||
<Typography color="secondary">
|
||||
<Typography
|
||||
color="secondary"
|
||||
whitespace="whitespace-pre-line"
|
||||
>
|
||||
{l10n.getString(
|
||||
'onboarding-usage-vr-choose-standalone-description'
|
||||
)}
|
||||
@@ -113,26 +116,32 @@ export function VRUsageChoose() {
|
||||
</Typography>
|
||||
</div>
|
||||
<div className="flex flex-col gap-3">
|
||||
<Typography color="secondary">
|
||||
<Typography
|
||||
color="secondary"
|
||||
whitespace="whitespace-pre-line"
|
||||
>
|
||||
{l10n.getString(
|
||||
'onboarding-usage-vr-choose-steamvr-description'
|
||||
)}
|
||||
</Typography>
|
||||
{missingSteamVr && (
|
||||
<Localized
|
||||
id="onboarding-usage-vr-choose-steamvr-warning"
|
||||
elems={{
|
||||
docs: (
|
||||
<A
|
||||
href={`${DOCS_SITE}/common-issues.html#the-trackers-are-connected-to-the-slimevr-server-but-arent-turning-up-on-steam`}
|
||||
></A>
|
||||
),
|
||||
b: <b></b>,
|
||||
}}
|
||||
>
|
||||
<WarningBox>SteamVR driver not connected</WarningBox>
|
||||
</Localized>
|
||||
)}
|
||||
{
|
||||
// TODO: Add a button to open SteamVR via tauri's open()
|
||||
missingSteamVr && (
|
||||
<Localized
|
||||
id="onboarding-usage-vr-choose-steamvr-warning"
|
||||
elems={{
|
||||
docs: (
|
||||
<A
|
||||
href={`${DOCS_SITE}/common-issues.html#the-trackers-are-connected-to-the-slimevr-server-but-arent-turning-up-on-steam`}
|
||||
></A>
|
||||
),
|
||||
b: <b></b>,
|
||||
}}
|
||||
>
|
||||
<WarningBox>SteamVR driver not connected</WarningBox>
|
||||
</Localized>
|
||||
)
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user