[Update] Config Page: Move and add plugin section from AdvancedSettings.
This commit is contained in:
@@ -80,6 +80,7 @@ config_page:
|
|||||||
transcription: "Transcription"
|
transcription: "Transcription"
|
||||||
others: "Other"
|
others: "Other"
|
||||||
hotkeys: "Hotkeys"
|
hotkeys: "Hotkeys"
|
||||||
|
plugins: "Plugins"
|
||||||
advanced_settings: "Advanced Settings"
|
advanced_settings: "Advanced Settings"
|
||||||
|
|
||||||
device:
|
device:
|
||||||
@@ -235,17 +236,6 @@ config_page:
|
|||||||
toggle_transcription_receive:
|
toggle_transcription_receive:
|
||||||
label: "Toggle {{transcription_receive}}"
|
label: "Toggle {{transcription_receive}}"
|
||||||
|
|
||||||
advanced_settings:
|
|
||||||
osc_ip_address:
|
|
||||||
label: "OSC IP Address"
|
|
||||||
osc_port:
|
|
||||||
label: "OSC Port"
|
|
||||||
open_config_filepath:
|
|
||||||
label: "Open Config File"
|
|
||||||
switch_compute_device:
|
|
||||||
label: "Switch VRCT To CPU/GPU Version"
|
|
||||||
section_label_plugins: Plugins # Exception, It'll be moved later.
|
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
downloaded_version: "Downloaded version: {{downloaded_version}}"
|
downloaded_version: "Downloaded version: {{downloaded_version}}"
|
||||||
latest_version: "Latest version: {{latest_version}}"
|
latest_version: "Latest version: {{latest_version}}"
|
||||||
@@ -258,6 +248,16 @@ config_page:
|
|||||||
available_in_latest_vrct_version: "Available in the latest VRCT version"
|
available_in_latest_vrct_version: "Available in the latest VRCT version"
|
||||||
unavailable_not_downloaded: "Currently unavailable"
|
unavailable_not_downloaded: "Currently unavailable"
|
||||||
|
|
||||||
|
advanced_settings:
|
||||||
|
osc_ip_address:
|
||||||
|
label: "OSC IP Address"
|
||||||
|
osc_port:
|
||||||
|
label: "OSC Port"
|
||||||
|
open_config_filepath:
|
||||||
|
label: "Open Config File"
|
||||||
|
switch_compute_device:
|
||||||
|
label: "Switch VRCT To CPU/GPU Version"
|
||||||
|
|
||||||
plugin_notifications:
|
plugin_notifications:
|
||||||
downloading: Downloading the plugin.
|
downloading: Downloading the plugin.
|
||||||
downloaded_success: Downloaded successfully.
|
downloaded_success: Downloaded successfully.
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ config_page:
|
|||||||
transcription: "音声認識"
|
transcription: "音声認識"
|
||||||
others: "その他"
|
others: "その他"
|
||||||
hotkeys: "ホットキー"
|
hotkeys: "ホットキー"
|
||||||
|
plugins: "プラグイン"
|
||||||
advanced_settings: "高度な設定"
|
advanced_settings: "高度な設定"
|
||||||
|
|
||||||
device:
|
device:
|
||||||
@@ -235,17 +236,6 @@ config_page:
|
|||||||
toggle_transcription_receive:
|
toggle_transcription_receive:
|
||||||
label: "「{{transcription_receive}}」 オン/オフの切り替え"
|
label: "「{{transcription_receive}}」 オン/オフの切り替え"
|
||||||
|
|
||||||
advanced_settings:
|
|
||||||
osc_ip_address:
|
|
||||||
label: "OSC IP Address"
|
|
||||||
osc_port:
|
|
||||||
label: "OSC Port"
|
|
||||||
open_config_filepath:
|
|
||||||
label: "設定ファイルを開く"
|
|
||||||
switch_compute_device:
|
|
||||||
label: "VRCT CPU/GPUバージョンの切り替え"
|
|
||||||
section_label_plugins: プラグイン # Exception, It'll be moved later.
|
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
downloaded_version: "ダウンロード済バージョン: {{downloaded_version}}"
|
downloaded_version: "ダウンロード済バージョン: {{downloaded_version}}"
|
||||||
latest_version: "最新バージョン: {{latest_version}}"
|
latest_version: "最新バージョン: {{latest_version}}"
|
||||||
@@ -258,6 +248,17 @@ config_page:
|
|||||||
available_in_latest_vrct_version: VRCT最新版で利用可能
|
available_in_latest_vrct_version: VRCT最新版で利用可能
|
||||||
unavailable_not_downloaded: 現在利用不可
|
unavailable_not_downloaded: 現在利用不可
|
||||||
|
|
||||||
|
advanced_settings:
|
||||||
|
osc_ip_address:
|
||||||
|
label: "OSC IP Address"
|
||||||
|
osc_port:
|
||||||
|
label: "OSC Port"
|
||||||
|
open_config_filepath:
|
||||||
|
label: "設定ファイルを開く"
|
||||||
|
switch_compute_device:
|
||||||
|
label: "VRCT CPU/GPUバージョンの切り替え"
|
||||||
|
|
||||||
|
|
||||||
plugin_notifications:
|
plugin_notifications:
|
||||||
downloading: プラグインをダウンロード中。
|
downloading: プラグインをダウンロード中。
|
||||||
downloaded_success: プラグインのダウンロードが完了しました。
|
downloaded_success: プラグインのダウンロードが完了しました。
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
AdvancedSettings,
|
AdvancedSettings,
|
||||||
Vr,
|
Vr,
|
||||||
Hotkeys,
|
Hotkeys,
|
||||||
// Plugins,
|
Plugins,
|
||||||
Supporters,
|
Supporters,
|
||||||
AboutVrct,
|
AboutVrct,
|
||||||
} from "@setting_box";
|
} from "@setting_box";
|
||||||
@@ -33,8 +33,8 @@ export const SettingBox = () => {
|
|||||||
return <Hotkeys />;
|
return <Hotkeys />;
|
||||||
case "advanced_settings":
|
case "advanced_settings":
|
||||||
return <AdvancedSettings />;
|
return <AdvancedSettings />;
|
||||||
// case "plugins":
|
case "plugins":
|
||||||
// return <Plugins />;
|
return <Plugins />;
|
||||||
case "supporters":
|
case "supporters":
|
||||||
return <Supporters />;
|
return <Supporters />;
|
||||||
case "about_vrct":
|
case "about_vrct":
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ import { useEffect, useState } from "react";
|
|||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import styles from "./AdvancedSettings.module.scss";
|
import styles from "./AdvancedSettings.module.scss";
|
||||||
|
|
||||||
import { Plugins } from "./plugins/Plugins";
|
|
||||||
|
|
||||||
import { useOpenFolder } from "@logics_common";
|
import { useOpenFolder } from "@logics_common";
|
||||||
import {
|
import {
|
||||||
useOscIpAddress,
|
useOscIpAddress,
|
||||||
@@ -15,31 +13,18 @@ import {
|
|||||||
EntryWithSaveButtonContainer,
|
EntryWithSaveButtonContainer,
|
||||||
} from "../_templates/Templates";
|
} from "../_templates/Templates";
|
||||||
|
|
||||||
import {
|
|
||||||
SectionLabelComponent,
|
|
||||||
} from "../_components/";
|
|
||||||
|
|
||||||
|
|
||||||
import OpenFolderSvg from "@images/open_folder.svg?react";
|
import OpenFolderSvg from "@images/open_folder.svg?react";
|
||||||
import HelpSvg from "@images/help.svg?react";
|
import HelpSvg from "@images/help.svg?react";
|
||||||
|
|
||||||
export const AdvancedSettings = () => {
|
export const AdvancedSettings = () => {
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<OscIpAddressContainer />
|
<OscIpAddressContainer />
|
||||||
<OscPortContainer />
|
<OscPortContainer />
|
||||||
<OpenConfigFolderContainer />
|
<OpenConfigFolderContainer />
|
||||||
<OpenSwitchComputeDeviceModalContainer />
|
<OpenSwitchComputeDeviceModalContainer />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
|
||||||
<SectionLabelComponent label={t("config_page.advanced_settings.section_label_plugins")} />
|
|
||||||
<Plugins />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ export { Others, VrcMicMuteSyncContainer } from "./others/Others";
|
|||||||
export { AdvancedSettings } from "./advanced_settings/AdvancedSettings";
|
export { AdvancedSettings } from "./advanced_settings/AdvancedSettings";
|
||||||
export { Vr } from "./vr/Vr";
|
export { Vr } from "./vr/Vr";
|
||||||
export { Hotkeys } from "./hotkeys/Hotkeys";
|
export { Hotkeys } from "./hotkeys/Hotkeys";
|
||||||
// export { Plugins } from "./plugins/Plugins";
|
export { Plugins } from "./plugins/Plugins";
|
||||||
export { AboutVrct } from "./about_vrct/AboutVrct";
|
export { AboutVrct } from "./about_vrct/AboutVrct";
|
||||||
export { Supporters } from "./supporters/Supporters";
|
export { Supporters } from "./supporters/Supporters";
|
||||||
@@ -2,7 +2,7 @@ import { useEffect, useRef, useState, useCallback } from "react";
|
|||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { usePlugins } from "@logics_configs";
|
import { usePlugins } from "@logics_configs";
|
||||||
import styles from "./Plugins.module.scss";
|
import styles from "./Plugins.module.scss";
|
||||||
import { PluginsControlComponent } from "../../_components/plugins_control_component/PluginsControlComponent";
|
import { PluginsControlComponent } from "../_components/plugins_control_component/PluginsControlComponent";
|
||||||
import { useNotificationStatus } from "@logics_common";
|
import { useNotificationStatus } from "@logics_common";
|
||||||
import ExternalLink from "@images/external_link.svg?react";
|
import ExternalLink from "@images/external_link.svg?react";
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ export const SidebarSection = () => {
|
|||||||
<Tab tab_id="vr" />
|
<Tab tab_id="vr" />
|
||||||
<Tab tab_id="others" />
|
<Tab tab_id="others" />
|
||||||
<Tab tab_id="hotkeys" />
|
<Tab tab_id="hotkeys" />
|
||||||
{/* <Tab tab_id="plugins" /> */}
|
<Tab tab_id="plugins" />
|
||||||
<Tab tab_id="advanced_settings" />
|
<Tab tab_id="advanced_settings" />
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.separated_tabs_wrapper}>
|
<div className={styles.separated_tabs_wrapper}>
|
||||||
|
|||||||
Reference in New Issue
Block a user