@@ -50,7 +50,7 @@
<a class="nav-link" :class="{'active': tab.id === currentTab}" href="#"
@click="currentTab = tab.id">
<component :is="getTabIcon(tab.id)" :size="18" class="icon"></component>
{{tab.name}}
{{ $t(tab.nameKey) }}
</a>
</li>
</ul>
@@ -61,7 +61,7 @@
<a class="nav-link" :class="{'active': tab.id === currentTab}" href="#"
@click="currentTab = tab.id">
<component :is="getTabIcon(tab.id)" :size="18" class="icon"></component>
{{tab.name}}
{{ $t(tab.nameKey) }}
</a>
</li>
</ul>
@@ -208,7 +208,7 @@
tabs: [ // TODO: Move the options to each Component instead, encapsulate.
{
id: "general",
name: "General",
nameKey: "config.category_general",
options: {
"locale": "en",
"sunshine_name": "",
@@ -220,7 +220,7 @@
},
{
id: "input",
name: "Input",
nameKey: "config.category_input",
options: {
"controller": "enabled",
"gamepad_driver": "",
@@ -243,7 +243,7 @@
},
{
id: "av",
name: "Audio/Video",
nameKey: "config.category_audio_video",
options: {
"audio_sink": "",
"virtual_sink": "",
@@ -267,7 +267,7 @@
},
{
id: "network",
name: "Network",
nameKey: "config.category_network",
options: {
"upnp": "disabled",
"address_family": "ipv4",
@@ -284,7 +284,7 @@
},
{
id: "files",
name: "Config Files",
nameKey: "config.category_config_files",
options: {
"file_apps": "",
"credentials_file": "",
@@ -296,7 +296,7 @@
},
{
id: "advanced",
name: "Advanced",
nameKey: "config.category_advanced",
options: {
"fec_percentage": 20,
"qp": 28,
@@ -309,7 +309,7 @@
},
{
id: "nv",
name: "NVIDIA NVENC Encoder",
nameKey: "config.category_nvidia_nvenc_encoder",
options: {
"nvenc_preset": 1,
"nvenc_twopass": "quarter_res",
@@ -324,7 +324,7 @@
},
{
id: "qsv",
name: "Intel QuickSync Encoder",
nameKey: "config.category_intel_quicksync_encoder",
options: {
"qsv_preset": "medium",
"qsv_coder": "auto",
@@ -333,7 +333,7 @@
},
{
id: "amd",
name: "AMD AMF Encoder",
nameKey: "config.category_amd_amf_encoder",
options: {
"amd_usage": "ultralowlatency",
"amd_rc": "vbr_latency",
@@ -347,7 +347,7 @@
},
{
id: "vt",
name: "VideoToolbox Encoder",
nameKey: "config.category_videotoolbox_encoder",
options: {
"vt_coder": "auto",
"vt_software": "auto",
@@ -356,7 +356,7 @@
},
{
id: "vaapi",
name: "VA-API Encoder",
nameKey: "config.category_vaapi_encoder",
options: {
"vaapi_blbrc": "disabled",
"vaapi_quality": "auto",
@@ -366,7 +366,7 @@
},
{
id: "vulkan",
name: "Vulkan Encoder",
nameKey: "config.category_vulkan_encoder",
options: {
"vk_tune": 2,
"vk_rc_mode": 2,
@@ -374,7 +374,7 @@
},
{
id: "sw",
name: "Software Encoder",
nameKey: "config.category_software_encoder",
options: {
"sw_preset": "superfast",
"sw_tune": "zerolatency",
@@ -403,7 +403,7 @@
options.push({
key: key,
label: key.replaceAll('_', ' ').replaceAll(/\b\w/g, l => l.toUpperCase()),
tab: tab.name,
tab: this.$t(tab.nameKey),
tabId: tab.id
});
});