Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -42,6 +42,7 @@ jobs:
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
with:
|
||||
key: linux-${{matrix.config.preset}}
|
||||
job-summary: ""
|
||||
restore-keys: linux-
|
||||
append-timestamp: false
|
||||
|
||||
@@ -117,13 +118,8 @@ jobs:
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes curl wget sudo
|
||||
|
||||
- name: Apt dependencies
|
||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
||||
with:
|
||||
packages: sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules libcap-dev
|
||||
apt-get update
|
||||
apt-get install --yes curl wget sudo jq cmake gcc g++ git pkgconf libboost-all-dev libkirigami-dev gettext libarchive-dev nlohmann-json3-dev qcoro-qt6-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libvulkan-dev libssl-dev librsvg2-dev extra-cmake-modules
|
||||
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
@@ -134,12 +130,6 @@ jobs:
|
||||
${{github.workspace}}/cmake-fetch/*.tar.*
|
||||
restore-keys: cmake-linux-
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
with:
|
||||
key: dashboard-${{matrix.cmake_preset}}
|
||||
append-timestamp: false
|
||||
|
||||
- name: Configure CMake
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
@@ -147,8 +137,6 @@ jobs:
|
||||
cmake -B ${{github.workspace}}/build
|
||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
-DFETCHCONTENT_BASE_DIR=${{github.workspace}}/cmake-fetch
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
--preset dashboard
|
||||
-DWIVRN_USE_SYSTEM_OPENXR=OFF
|
||||
|
||||
@@ -385,7 +373,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm
|
||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev npm
|
||||
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.3.2/KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
sudo dpkg --install KTX-Software-4.3.2-Linux-x86_64.deb
|
||||
@@ -534,7 +522,7 @@ jobs:
|
||||
name: Sync fork downstream
|
||||
runs-on: ubuntu-24.04
|
||||
needs: [build-linux, build-android]
|
||||
if: ${{ vars.APK_ONLY == '' && github.branch == 'master' }}
|
||||
if: ${{ vars.APK_ONLY == '' && github.ref == 'refs/heads/master' }}
|
||||
steps:
|
||||
- name: Check for DOWNSTREAM_GITHUB_TOKEN
|
||||
id: downstream-secret-check
|
||||
|
||||
@@ -57,7 +57,6 @@ option(WIVRN_FEATURE_RENDERDOC "Support renderdoc" OFF)
|
||||
set(WIVRN_FEATURE_SOLARXR OFF) # Will be added back when merged in upstream Monado
|
||||
option(WIVRN_FEATURE_STEAMVR_LIGHTHOUSE "Enable SteamVR Lighthouse driver" OFF)
|
||||
|
||||
option(WIVRN_CHECK_CAPSYSNICE "Check if CAP_SYS_NICE is available at startup" ON)
|
||||
set(WIVRN_CSS "${CMAKE_SOURCE_DIR}/images/wivrn-local.css" CACHE STRING "Stylesheet to use to render SVGs" )
|
||||
|
||||
option(WIVRN_SHOW_IMGUI_DEMO_WINDOW "Show the Dear ImGui demo window in the client" OFF)
|
||||
@@ -173,10 +172,6 @@ if (WIVRN_BUILD_DASHBOARD)
|
||||
find_package(QCoro6 REQUIRED COMPONENTS Core Network Qml)
|
||||
qcoro_enable_coroutines()
|
||||
|
||||
if (WIVRN_CHECK_CAPSYSNICE)
|
||||
pkg_check_modules(libcap REQUIRED IMPORTED_TARGET libcap)
|
||||
endif()
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
@@ -19,21 +19,21 @@
|
||||
|
||||
#include "strings.h"
|
||||
|
||||
std::vector<std::string> utils::split(const std::string & s, const std::string & sep)
|
||||
std::vector<std::string> utils::split(std::string_view s, std::string_view sep)
|
||||
{
|
||||
std::string::size_type i = 0;
|
||||
std::vector<std::string> v;
|
||||
|
||||
while (true)
|
||||
{
|
||||
std::string::size_type j = s.find_first_of(sep, i);
|
||||
if (j == std::string::npos)
|
||||
auto j = s.find_first_of(sep, i);
|
||||
if (j == std::string_view::npos)
|
||||
{
|
||||
v.push_back(s.substr(i));
|
||||
v.emplace_back(s.substr(i));
|
||||
return v;
|
||||
}
|
||||
|
||||
v.push_back(s.substr(i, j - i));
|
||||
v.emplace_back(s.substr(i, j - i));
|
||||
i = j + 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
namespace utils
|
||||
{
|
||||
std::vector<std::string> split(const std::string & s, const std::string & sep = "\n");
|
||||
std::vector<std::string> split(std::string_view s, std::string_view = "\n");
|
||||
|
||||
// https://www.cppstories.com/2021/heterogeneous-access-cpp20/
|
||||
struct string_hash
|
||||
|
||||
@@ -15,6 +15,7 @@ add_executable(wivrn-dashboard
|
||||
dashboard_utils.cpp
|
||||
escape_string.cpp
|
||||
settings.cpp
|
||||
steam.cpp
|
||||
adb.cpp
|
||||
apk_installer.cpp
|
||||
firewall.cpp
|
||||
@@ -78,10 +79,6 @@ target_link_libraries(wivrn-dashboard
|
||||
wivrn-external
|
||||
)
|
||||
|
||||
if (WIVRN_CHECK_CAPSYSNICE)
|
||||
target_link_libraries(wivrn-dashboard PRIVATE PkgConfig::libcap)
|
||||
endif()
|
||||
|
||||
install(TARGETS wivrn-dashboard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
install(FILES io.github.wivrn.wivrn.metainfo.xml
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <QDBusMetaType>
|
||||
#include <QDBusReply>
|
||||
#include <QDebug>
|
||||
#include <QProcess>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QProcess>
|
||||
#include <QtQml/qqmlregistration.h>
|
||||
|
||||
class firewall : public QObject
|
||||
|
||||
+54
-47
@@ -11,10 +11,6 @@ Kirigami.ApplicationWindow {
|
||||
id: root
|
||||
title: i18n("WiVRn dashboard")
|
||||
|
||||
Settings {
|
||||
id: config
|
||||
}
|
||||
|
||||
ConnectUsbDialog {
|
||||
id: select_usb_device
|
||||
}
|
||||
@@ -51,11 +47,6 @@ Kirigami.ApplicationWindow {
|
||||
|
||||
Connections {
|
||||
target: WivrnServer
|
||||
function onCapSysNiceChanged(value) {
|
||||
if (WivrnServer.serverStatus != WivrnServer.Stopped)
|
||||
restart_capsysnice.visible = true;
|
||||
}
|
||||
|
||||
function onServerStatusChanged(value) {
|
||||
var started = value == WivrnServer.Started;
|
||||
|
||||
@@ -79,10 +70,6 @@ Kirigami.ApplicationWindow {
|
||||
switch_pairing.checked = WivrnServer.pairingEnabled;
|
||||
}
|
||||
|
||||
function onJsonConfigurationChanged() {
|
||||
config.load(WivrnServer);
|
||||
}
|
||||
|
||||
function onServerError(info) {
|
||||
console.log(info.where);
|
||||
console.log(info.message);
|
||||
@@ -139,21 +126,6 @@ Kirigami.ApplicationWindow {
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The server does not have CAP_SYS_NICE capabilities")
|
||||
// type: Kirigami.MessageType.Warning
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: DashboardSettings.show_system_checks && !WivrnServer.capSysNice
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Fix it")
|
||||
onTriggered: WivrnServer.grant_cap_sys_nice()
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Firewall may not allow port 9757")
|
||||
@@ -168,24 +140,6 @@ Kirigami.ApplicationWindow {
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
id: restart_capsysnice
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The CAP_SYS_NICE capability will be used when the server is restarted")
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: false
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18nc("restart the server", "Restart now")
|
||||
onTriggered: {
|
||||
WivrnServer.restart_server();
|
||||
restart_capsysnice.visible = false;
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("NVIDIA GPUs require at least driver version 565.77, current version is %1", VulkanInfo.driverVersion)
|
||||
@@ -213,7 +167,60 @@ Kirigami.ApplicationWindow {
|
||||
text: i18n("No OpenVR compatibility detected, Steam games won't be able to load VR.\nInstall xrizer or OpenComposite.")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: WivrnServer.openVRCompat.length == 0 && config.openvr == ""
|
||||
visible: WivrnServer.openVRCompat.length == 0 && Settings.openvr == ""
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Steam is installed as a snap. Snaps are not compatible with WiVRn.")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: DashboardSettings.show_system_checks && Steam.snap
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Steam is installed as a flatpak but does not have sufficient permissions.")
|
||||
type: Kirigami.MessageType.Warning
|
||||
showCloseButton: true
|
||||
visible: DashboardSettings.show_system_checks && Steam.flatpakNeedPerm
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Fix it")
|
||||
onTriggered: Steam.fixFlatpakPerm()
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
id: config_restart
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Restart the server for configuration changes to take effect")
|
||||
type: Kirigami.MessageType.Information
|
||||
showCloseButton: true
|
||||
visible: false
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18nc("restart the server", "Restart now")
|
||||
onTriggered: {
|
||||
WivrnServer.restart_server();
|
||||
config_restart.visible = false;
|
||||
}
|
||||
}
|
||||
]
|
||||
Connections {
|
||||
target: Settings
|
||||
function onSettingsChanged() {
|
||||
if (WivrnServer.sessionRunning)
|
||||
config_restart.visible = true;
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: WivrnServer
|
||||
function onServerStatusChanged(value) {
|
||||
config_restart.visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
|
||||
@@ -38,10 +38,6 @@ ColumnLayout {
|
||||
id: apps
|
||||
}
|
||||
|
||||
Settings {
|
||||
id: config
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: WivrnServer
|
||||
function onJsonConfigurationChanged() {
|
||||
@@ -88,7 +84,7 @@ ColumnLayout {
|
||||
if (select_game.json_loaded || WivrnServer.serverStatus != WivrnServer.Started || WivrnServer.jsonConfiguration == "")
|
||||
return;
|
||||
|
||||
config.load(WivrnServer);
|
||||
Settings.load(WivrnServer);
|
||||
|
||||
var found = false;
|
||||
var custom_idx = -1;
|
||||
@@ -96,7 +92,7 @@ ColumnLayout {
|
||||
var app = apps.get(i);
|
||||
if (app.is_custom)
|
||||
custom_idx = i;
|
||||
else if (app.command == config.application) {
|
||||
else if (app.command == Settings.application) {
|
||||
app_combobox.currentIndex = i;
|
||||
found = true;
|
||||
break;
|
||||
@@ -104,7 +100,7 @@ ColumnLayout {
|
||||
}
|
||||
|
||||
if (!found) {
|
||||
app_text.text = config.application;
|
||||
app_text.text = Settings.application;
|
||||
app_combobox.currentIndex = custom_idx;
|
||||
}
|
||||
|
||||
@@ -119,10 +115,10 @@ ColumnLayout {
|
||||
else
|
||||
new_application = apps.get(app_combobox.currentIndex).command;
|
||||
|
||||
config.load(WivrnServer);
|
||||
if (config.application != new_application) {
|
||||
config.application = new_application;
|
||||
config.save(WivrnServer);
|
||||
Settings.load(WivrnServer);
|
||||
if (Settings.application != new_application) {
|
||||
Settings.application = new_application;
|
||||
Settings.save(WivrnServer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,6 @@ Kirigami.ScrollablePage {
|
||||
|
||||
property bool allowUpdates: false // ignore onXXX events until document is loaded
|
||||
|
||||
Settings {
|
||||
id: config
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: column
|
||||
anchors.fill: parent
|
||||
@@ -29,7 +25,7 @@ Kirigami.ScrollablePage {
|
||||
|
||||
Controls.CheckBox {
|
||||
id: manual_foveation
|
||||
checked: config.scale != -1
|
||||
checked: Settings.scale != -1
|
||||
Layout.row: 0
|
||||
Layout.column: 0
|
||||
text: i18nc("automatic foveation setup", "Manual foveation")
|
||||
@@ -100,25 +96,25 @@ Kirigami.ScrollablePage {
|
||||
return Number.fromLocaleString(text);
|
||||
}
|
||||
|
||||
onValueModified: config.bitrate = value
|
||||
onValueModified: Settings.bitrate = value
|
||||
}
|
||||
|
||||
Kirigami.InlineMessage {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("The current encoder configuration is not supported")
|
||||
type: Kirigami.MessageType.Information
|
||||
visible: !config.simpleConfig
|
||||
visible: !Settings.simpleConfig
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Reset")
|
||||
onTriggered: config.encoder = Settings.EncoderAuto
|
||||
onTriggered: Settings.encoder = Settings.EncoderAuto
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Kirigami.FormData.label: i18n("Encoder:")
|
||||
enabled: config.simpleConfig
|
||||
enabled: Settings.simpleConfig
|
||||
Controls.ComboBox {
|
||||
id: encoder_combo
|
||||
model: [
|
||||
@@ -143,12 +139,12 @@ Kirigami.ScrollablePage {
|
||||
encoder: Settings.X264
|
||||
}
|
||||
]
|
||||
onCurrentIndexChanged: if (settings.allowUpdates) {config.encoder = model[currentIndex].encoder}
|
||||
onCurrentIndexChanged: if (settings.allowUpdates) {Settings.encoder = model[currentIndex].encoder}
|
||||
textRole: "label"
|
||||
Connections {
|
||||
target: config
|
||||
target: Settings
|
||||
function onEncoderChanged() {
|
||||
var encoder = config.encoder;
|
||||
var encoder = Settings.encoder;
|
||||
var i = encoder_combo.model.findIndex( item => item.encoder == encoder)
|
||||
if (i > -1)
|
||||
encoder_combo.currentIndex = i
|
||||
@@ -164,7 +160,7 @@ Kirigami.ScrollablePage {
|
||||
Kirigami.FormData.label: i18n("Codec:")
|
||||
Controls.ComboBox {
|
||||
id: codec_combo
|
||||
enabled: config.simpleConfig && config.encoder != Settings.EncoderAuto
|
||||
enabled: Settings.simpleConfig && Settings.encoder != Settings.EncoderAuto
|
||||
model: [
|
||||
{
|
||||
label: i18nc("automatic codec setup", "Auto"),
|
||||
@@ -183,7 +179,7 @@ Kirigami.ScrollablePage {
|
||||
codec: Settings.Av1
|
||||
}
|
||||
]
|
||||
onCurrentIndexChanged: if (settings.allowUpdates) {config.codec = model[currentIndex].codec}
|
||||
onCurrentIndexChanged: if (settings.allowUpdates) {Settings.codec = model[currentIndex].codec}
|
||||
textRole: "label"
|
||||
|
||||
delegate: Controls.ItemDelegate {
|
||||
@@ -193,12 +189,12 @@ Kirigami.ScrollablePage {
|
||||
width: codec_combo.width
|
||||
text: i18n(label)
|
||||
highlighted: ListView.isCurrentItem
|
||||
enabled: config.allowedCodecs.includes(codec)
|
||||
enabled: Settings.allowedCodecs.includes(codec)
|
||||
}
|
||||
Connections {
|
||||
target: config
|
||||
target: Settings
|
||||
function onCodecChanged() {
|
||||
var codec = config.codec;
|
||||
var codec = Settings.codec;
|
||||
var i = codec_combo.model.findIndex( item => item.codec == codec)
|
||||
if (i > -1)
|
||||
codec_combo.currentIndex = i
|
||||
@@ -206,10 +202,10 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
}
|
||||
Controls.CheckBox {
|
||||
enabled: config.can10bit
|
||||
enabled: Settings.can10bit
|
||||
text: i18n("10 bits")
|
||||
checked: config.tenbit
|
||||
onCheckedChanged: config.tenbit = checked
|
||||
checked: Settings.tenbit
|
||||
onCheckedChanged: Settings.tenbit = checked
|
||||
}
|
||||
Kirigami.ContextualHelpButton {
|
||||
toolTipText: i18n("10-bit encoding improves image quality but is not supported by all codecs and hardware")
|
||||
@@ -231,7 +227,7 @@ Kirigami.ScrollablePage {
|
||||
text: i18n("Check system configuration on start")
|
||||
}
|
||||
RowLayout {
|
||||
visible: config.hid_forwarding_supported
|
||||
visible: Settings.hid_forwarding_supported
|
||||
Controls.CheckBox {
|
||||
id: hid_forwarding
|
||||
text: i18n("Forward keyboard & mouse from headset")
|
||||
@@ -243,10 +239,10 @@ Kirigami.ScrollablePage {
|
||||
Controls.CheckBox {
|
||||
id: debug_gui
|
||||
text: i18n("Enable debug window")
|
||||
visible: config.debug_gui_supported
|
||||
visible: Settings.debug_gui_supported
|
||||
}
|
||||
RowLayout {
|
||||
visible: config.steamvr_lh_supported
|
||||
visible: Settings.steamvr_lh_supported
|
||||
Controls.CheckBox {
|
||||
id: steamvr_lh
|
||||
text: i18n("Enable SteamVR tracked devices support")
|
||||
@@ -327,14 +323,14 @@ Kirigami.ScrollablePage {
|
||||
|
||||
function load() {
|
||||
for(let i=0 ; i < openvr_libs.count; i++) {
|
||||
if (openvr_libs.get(i).value == config.openvr) {
|
||||
if (openvr_libs.get(i).value == Settings.openvr) {
|
||||
openvr_combobox.currentIndex = i;
|
||||
return;
|
||||
}
|
||||
}
|
||||
for(let i=0 ; i < openvr_libs.count; i++) {
|
||||
if (openvr_libs.get(i).is_custom) {
|
||||
openvr_text.text = config.openvr
|
||||
openvr_text.text = Settings.openvr
|
||||
openvr_combobox.currentIndex = i;
|
||||
return;
|
||||
}
|
||||
@@ -343,7 +339,7 @@ Kirigami.ScrollablePage {
|
||||
}
|
||||
Controls.TextField {
|
||||
id: openvr_text
|
||||
placeholderText: i18n("Library path, excluding bin/linux64/vrclient.so")
|
||||
placeholderText: i18n("Library path, excluding bin/linux64/vrclient.so")
|
||||
visible: !!openvr_combobox.model.get(openvr_combobox.currentIndex)?.is_custom
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
@@ -362,12 +358,12 @@ Kirigami.ScrollablePage {
|
||||
|
||||
onAccepted: {
|
||||
settings.save();
|
||||
config.save(WivrnServer);
|
||||
Settings.save(WivrnServer);
|
||||
|
||||
applicationWindow().pageStack.pop();
|
||||
}
|
||||
onReset: {
|
||||
config.restore_defaults();
|
||||
Settings.restore_defaults();
|
||||
settings.load();
|
||||
}
|
||||
onRejected: applicationWindow().pageStack.pop()
|
||||
@@ -375,21 +371,21 @@ Kirigami.ScrollablePage {
|
||||
|
||||
Component.onCompleted: {
|
||||
openvr_libs.init()
|
||||
config.load(WivrnServer);
|
||||
Settings.load(WivrnServer);
|
||||
// If bitrate was manually set higher, keep the limit
|
||||
bitrate.to = Math.max(bitrate.to, config.bitrate)
|
||||
bitrate.value = config.bitrate
|
||||
bitrate.to = Math.max(bitrate.to, Settings.bitrate)
|
||||
bitrate.value = Settings.bitrate
|
||||
settings.allowUpdates = true;
|
||||
settings.load();
|
||||
}
|
||||
|
||||
function save() {
|
||||
config.scale = manual_foveation.checked ? 1 - scale_slider.value / 100.0 : -1;
|
||||
Settings.scale = manual_foveation.checked ? 1 - scale_slider.value / 100.0 : -1;
|
||||
let openvr = openvr_combobox.model.get(openvr_combobox.currentIndex)
|
||||
if (openvr.is_custom) {
|
||||
config.openvr = openvr_text.text;
|
||||
Settings.openvr = openvr_text.text;
|
||||
} else {
|
||||
config.openvr = openvr.value
|
||||
Settings.openvr = openvr.value
|
||||
}
|
||||
DashboardSettings.adb_custom = adb_custom.checked;
|
||||
DashboardSettings.adb_location = adb_location.text;
|
||||
@@ -397,21 +393,21 @@ Kirigami.ScrollablePage {
|
||||
|
||||
DashboardSettings.show_system_checks = show_system_checks.checked;
|
||||
|
||||
config.debugGui = debug_gui.checked;
|
||||
config.steamVrLh = steamvr_lh.checked;
|
||||
config.hidForwarding = hid_forwarding.checked;
|
||||
Settings.debugGui = debug_gui.checked;
|
||||
Settings.steamVrLh = steamvr_lh.checked;
|
||||
Settings.hidForwarding = hid_forwarding.checked;
|
||||
}
|
||||
|
||||
function load() {
|
||||
if (config.scale > 0) {
|
||||
scale_slider.value = Math.round(100 - config.scale * 100);
|
||||
if (Settings.scale > 0) {
|
||||
scale_slider.value = Math.round(100 - Settings.scale * 100);
|
||||
} else {
|
||||
scale_slider.value = 50;
|
||||
}
|
||||
|
||||
debug_gui.checked = config.debugGui;
|
||||
steamvr_lh.checked = config.steamVrLh;
|
||||
hid_forwarding.checked = config.hidForwarding;
|
||||
debug_gui.checked = Settings.debugGui;
|
||||
steamvr_lh.checked = Settings.steamVrLh;
|
||||
hid_forwarding.checked = Settings.hidForwarding;
|
||||
|
||||
openvr_combobox.load()
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@ void Settings::load(const wivrn_server * server)
|
||||
{
|
||||
auto conf = server->jsonConfiguration();
|
||||
m_jsonSettings = nlohmann::json::parse(conf.toUtf8());
|
||||
m_originalSettings = m_jsonSettings;
|
||||
if (not m_jsonSettings.is_object())
|
||||
m_jsonSettings = nlohmann::json::object();
|
||||
emitAllChanged();
|
||||
@@ -513,6 +514,8 @@ bool Settings::can10bit() const
|
||||
void Settings::save(wivrn_server * server)
|
||||
{
|
||||
server->setJsonConfiguration(QString::fromStdString(m_jsonSettings.dump(2)));
|
||||
if (m_jsonSettings != m_originalSettings)
|
||||
settingsChanged();
|
||||
}
|
||||
|
||||
void Settings::restore_defaults()
|
||||
|
||||
@@ -38,7 +38,8 @@ class wivrn_server;
|
||||
class Settings : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QML_ELEMENT
|
||||
QML_NAMED_ELEMENT(Settings)
|
||||
QML_SINGLETON
|
||||
public:
|
||||
enum encoder_name
|
||||
{
|
||||
@@ -95,6 +96,7 @@ public:
|
||||
SETTER_GETTER_NOTIFY(QString, openvr)
|
||||
private:
|
||||
nlohmann::json m_jsonSettings = nlohmann::json::object();
|
||||
nlohmann::json m_originalSettings;
|
||||
void emitAllChanged();
|
||||
|
||||
public:
|
||||
@@ -117,6 +119,9 @@ public:
|
||||
static video_codec codec_id_from_string(std::string_view s);
|
||||
static const std::string & encoder_from_id(encoder_name id);
|
||||
static const std::string & codec_from_id(video_codec id);
|
||||
|
||||
Q_SIGNALS:
|
||||
void settingsChanged();
|
||||
};
|
||||
|
||||
#undef SETTER_GETTER_NOTIFY
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "steam.h"
|
||||
|
||||
#include "escape_sandbox.h"
|
||||
#include "utils/flatpak.h"
|
||||
#include "utils/ini.h"
|
||||
#include "utils/strings.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <algorithm>
|
||||
#include <filesystem>
|
||||
|
||||
bool steam::snap() const
|
||||
{
|
||||
if (wivrn::is_flatpak())
|
||||
{
|
||||
auto test = escape_sandbox("test", "-f", "/snap/bin/steam");
|
||||
test->setProcessChannelMode(QProcess::MergedChannels);
|
||||
test->start();
|
||||
if (test->waitForFinished())
|
||||
return test->exitCode() == 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
return std::filesystem::exists("/snap/bin/steam");
|
||||
}
|
||||
|
||||
static QString get_flatpak_scope()
|
||||
{
|
||||
for (const QString scope: {"--user", "--system"})
|
||||
{
|
||||
auto proc = escape_sandbox("flatpak", scope, "info", "com.valvesoftware.Steam");
|
||||
proc->setProcessChannelMode(QProcess::MergedChannels);
|
||||
proc->start();
|
||||
if (proc->waitForFinished() and proc->exitCode() == 0)
|
||||
return scope;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
static std::filesystem::path find_dir(const std::filesystem::path & d, const std::filesystem::path & needle)
|
||||
{
|
||||
for (auto copy = d; not copy.empty(); copy = copy.parent_path())
|
||||
{
|
||||
if (copy.filename() == needle)
|
||||
return copy;
|
||||
}
|
||||
return d;
|
||||
}
|
||||
|
||||
static std::optional<std::string> wivrn_app_path()
|
||||
{
|
||||
if (auto app_path = wivrn::flatpak_key(wivrn::flatpak::section::instance, "app-path"))
|
||||
{
|
||||
if (app_path->starts_with("/var"))
|
||||
return find_dir(*app_path, "io.github.wivrn.wivrn");
|
||||
// assume it's in home
|
||||
return "xdg-data/flatpak/app/io.github.wivrn.wivrn";
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
bool steam::flatpakNeedPerm() const
|
||||
{
|
||||
auto scope = get_flatpak_scope();
|
||||
if (scope.isEmpty())
|
||||
return false;
|
||||
auto proc = escape_sandbox("flatpak", scope, "override", "--show", "com.valvesoftware.Steam");
|
||||
proc->setProcessChannelMode(QProcess::SeparateChannels);
|
||||
proc->start();
|
||||
if (not proc->waitForFinished())
|
||||
{
|
||||
qWarning() << "timeout trying to get Steam flatpak overrides";
|
||||
return false;
|
||||
}
|
||||
if (proc->exitCode())
|
||||
{
|
||||
qWarning() << "failed to get Steam flatpak overrides";
|
||||
return false;
|
||||
}
|
||||
std::stringstream overrides(proc->readAllStandardOutput().toStdString());
|
||||
wivrn::ini ini(overrides);
|
||||
if (auto filesystems = ini.get_optional("Context", "filesystems"))
|
||||
{
|
||||
auto items = utils::split(*filesystems, ";");
|
||||
for (auto & item: items)
|
||||
item = item.substr(0, item.find_last_of(':'));
|
||||
for (const auto & path: {"xdg-run/wivrn", "xdg-config/openxr", "xdg-config/openvr"})
|
||||
{
|
||||
if (not std::ranges::contains(items, path))
|
||||
return true;
|
||||
}
|
||||
if (auto path = wivrn_app_path())
|
||||
{
|
||||
if (not std::ranges::contains(items, path))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void steam::fixFlatpakPerm()
|
||||
{
|
||||
auto scope = get_flatpak_scope();
|
||||
if (scope.isEmpty())
|
||||
return;
|
||||
std::unique_ptr<QProcess> proc;
|
||||
if (scope == "--system")
|
||||
proc = escape_sandbox(
|
||||
"pkexec",
|
||||
"flatpak",
|
||||
"--system",
|
||||
"override",
|
||||
"--filesystem=xdg-run/wivrn:ro",
|
||||
"--filesystem=xdg-config/openxr:ro",
|
||||
"--filesystem=xdg-config/openvr:ro",
|
||||
"--filesystem=" + wivrn_app_path().value_or("xdg-run/wivrn") + ":ro",
|
||||
"com.valvesoftware.Steam");
|
||||
else
|
||||
proc = escape_sandbox(
|
||||
"flatpak",
|
||||
scope,
|
||||
"override",
|
||||
"--filesystem=xdg-run/wivrn:ro",
|
||||
"--filesystem=xdg-config/openxr:ro",
|
||||
"--filesystem=xdg-config/openvr:ro",
|
||||
"--filesystem=" + wivrn_app_path().value_or("xdg-run/wivrn") + ":ro",
|
||||
"com.valvesoftware.Steam");
|
||||
proc->setProcessChannelMode(QProcess::SeparateChannels);
|
||||
proc->start();
|
||||
if (not proc->waitForFinished())
|
||||
{
|
||||
qWarning() << "timeout trying to set Steam flatpak overrides";
|
||||
return;
|
||||
}
|
||||
if (proc->exitCode())
|
||||
{
|
||||
qWarning() << "failed to set Steam flatpak overrides";
|
||||
return;
|
||||
}
|
||||
flatpakNeedPermChanged();
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QtQml/qqmlregistration.h>
|
||||
|
||||
class steam : public QObject
|
||||
{
|
||||
public:
|
||||
Q_OBJECT
|
||||
QML_NAMED_ELEMENT(Steam)
|
||||
QML_SINGLETON
|
||||
|
||||
Q_PROPERTY(bool snap READ snap CONSTANT)
|
||||
Q_PROPERTY(bool flatpakNeedPerm READ flatpakNeedPerm NOTIFY flatpakNeedPermChanged)
|
||||
|
||||
public:
|
||||
bool snap() const;
|
||||
bool flatpakNeedPerm() const;
|
||||
|
||||
Q_INVOKABLE void fixFlatpakPerm();
|
||||
|
||||
Q_SIGNALS:
|
||||
void flatpakNeedPermChanged();
|
||||
};
|
||||
@@ -31,10 +31,6 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <unistd.h>
|
||||
|
||||
#if WIVRN_CHECK_CAPSYSNICE
|
||||
#include <sys/capability.h>
|
||||
#endif
|
||||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
@@ -45,24 +41,6 @@ static QString server_path()
|
||||
return QCoreApplication::applicationDirPath() + "/wivrn-server";
|
||||
}
|
||||
|
||||
#if WIVRN_CHECK_CAPSYSNICE
|
||||
static bool has_cap_sys_nice()
|
||||
{
|
||||
auto caps = cap_get_file(server_path().toStdString().c_str());
|
||||
|
||||
if (not caps)
|
||||
return false;
|
||||
|
||||
cap_flag_value_t value{};
|
||||
if (cap_get_flag(caps, CAP_SYS_NICE, CAP_EFFECTIVE, &value) < 0)
|
||||
return false;
|
||||
|
||||
cap_free(caps);
|
||||
|
||||
return value == CAP_SET;
|
||||
}
|
||||
#endif
|
||||
|
||||
wivrn_server::wivrn_server(QObject * parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
@@ -75,12 +53,6 @@ wivrn_server::wivrn_server(QObject * parent) :
|
||||
const QStringList services = QDBusConnection::sessionBus().interface()->registeredServiceNames();
|
||||
if (services.contains("io.github.wivrn.Server"))
|
||||
on_server_dbus_registered();
|
||||
|
||||
#if WIVRN_CHECK_CAPSYSNICE
|
||||
m_capSysNice = has_cap_sys_nice();
|
||||
#else
|
||||
m_capSysNice = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
wivrn_server::~wivrn_server()
|
||||
@@ -280,6 +252,9 @@ void wivrn_server::on_server_dbus_unregistered()
|
||||
if (isHeadsetConnected())
|
||||
headsetConnectedChanged(m_headsetConnected = false);
|
||||
|
||||
if (isSessionRunning())
|
||||
sessionRunningChanged(m_sessionRunning = false);
|
||||
|
||||
if (isPairingEnabled())
|
||||
pairingEnabledChanged(m_isPairingEnabled = false);
|
||||
|
||||
@@ -287,47 +262,6 @@ void wivrn_server::on_server_dbus_unregistered()
|
||||
start_server();
|
||||
}
|
||||
|
||||
void wivrn_server::grant_cap_sys_nice()
|
||||
{
|
||||
#if WIVRN_CHECK_CAPSYSNICE
|
||||
if (not setcap_process)
|
||||
{
|
||||
setcap_process = std::make_unique<QProcess>();
|
||||
setcap_process->setProgram("pkexec");
|
||||
setcap_process->setArguments({"setcap", "CAP_SYS_NICE=+ep", server_path()});
|
||||
setcap_process->setProcessChannelMode(QProcess::MergedChannels);
|
||||
setcap_process->start();
|
||||
|
||||
QObject::connect(setcap_process.get(), &QProcess::finished, this, [this](int exit_code, QProcess::ExitStatus exit_status) {
|
||||
// Exit codes:
|
||||
// 0: setcap successful
|
||||
// 1: setcap failed
|
||||
// 126: pkexec: not authorized or authentication error
|
||||
// 127: pkexec: dismissed by user
|
||||
|
||||
if (exit_status == QProcess::NormalExit and exit_code == 0)
|
||||
{
|
||||
if (not has_cap_sys_nice())
|
||||
{
|
||||
qDebug() << "pkexec setcap returned successfully but the server does not have the CAP_SYS_NICE capability";
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug() << "setcap sucessful";
|
||||
capSysNiceChanged(m_capSysNice = true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
qWarning() << "setcap exited with status" << exit_status << "and code" << exit_code;
|
||||
}
|
||||
|
||||
setcap_process.release()->deleteLater();
|
||||
});
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void wivrn_server::open_server_logs()
|
||||
{
|
||||
QString path = get_server_log_dir();
|
||||
@@ -361,6 +295,11 @@ void wivrn_server::on_server_properties_changed(const QString & interface_name,
|
||||
headsetConnectedChanged(m_headsetConnected = changed_properties["HeadsetConnected"].toBool());
|
||||
}
|
||||
|
||||
if (changed_properties.contains("SessionRunning"))
|
||||
{
|
||||
sessionRunningChanged(m_sessionRunning = changed_properties["SessionRunning"].toBool());
|
||||
}
|
||||
|
||||
if (changed_properties.contains("JsonConfiguration"))
|
||||
{
|
||||
jsonConfigurationChanged(m_jsonConfiguration = changed_properties["JsonConfiguration"].toString());
|
||||
|
||||
@@ -151,7 +151,6 @@ class wivrn_server : public QObject
|
||||
std::unique_ptr<QDBusPendingCallWatcher> get_all_properties_call_watcher;
|
||||
|
||||
QProcess * server_process = nullptr;
|
||||
std::unique_ptr<QProcess> setcap_process;
|
||||
|
||||
public:
|
||||
wivrn_server(QObject * parent = nullptr);
|
||||
@@ -173,14 +172,13 @@ public:
|
||||
|
||||
// Server information
|
||||
Q_PROPERTY(Status serverStatus READ serverStatus NOTIFY serverStatusChanged)
|
||||
Q_PROPERTY(bool capSysNice READ capSysNice NOTIFY capSysNiceChanged)
|
||||
Q_PROPERTY(bool headsetConnected READ isHeadsetConnected NOTIFY headsetConnectedChanged)
|
||||
Q_PROPERTY(bool sessionRunning READ isSessionRunning NOTIFY sessionRunningChanged)
|
||||
Q_PROPERTY(QString jsonConfiguration READ jsonConfiguration WRITE setJsonConfiguration NOTIFY jsonConfigurationChanged)
|
||||
Q_PROPERTY(QString serverLogs READ serverLogs NOTIFY serverLogsChanged)
|
||||
Q_INVOKABLE void start_server();
|
||||
Q_INVOKABLE void stop_server();
|
||||
Q_INVOKABLE void restart_server();
|
||||
Q_INVOKABLE void grant_cap_sys_nice();
|
||||
Q_INVOKABLE void open_server_logs();
|
||||
|
||||
// Authentication
|
||||
@@ -222,16 +220,16 @@ public:
|
||||
return m_serverStatus;
|
||||
}
|
||||
|
||||
bool capSysNice() const
|
||||
{
|
||||
return m_capSysNice;
|
||||
}
|
||||
|
||||
bool isHeadsetConnected() const
|
||||
{
|
||||
return m_headsetConnected;
|
||||
}
|
||||
|
||||
bool isSessionRunning() const
|
||||
{
|
||||
return m_sessionRunning;
|
||||
}
|
||||
|
||||
QString jsonConfiguration() const
|
||||
{
|
||||
return m_jsonConfiguration;
|
||||
@@ -349,8 +347,8 @@ private:
|
||||
void refresh_server_properties();
|
||||
|
||||
Status m_serverStatus{Status::Stopped};
|
||||
bool m_capSysNice{};
|
||||
bool m_headsetConnected{};
|
||||
bool m_sessionRunning{};
|
||||
QString m_jsonConfiguration{};
|
||||
|
||||
QString m_pin{};
|
||||
@@ -374,8 +372,8 @@ private:
|
||||
|
||||
Q_SIGNALS:
|
||||
void serverStatusChanged(Status);
|
||||
void capSysNiceChanged(bool);
|
||||
void headsetConnectedChanged(bool);
|
||||
void sessionRunningChanged(bool);
|
||||
void jsonConfigurationChanged(QString);
|
||||
void needMonadoVulkanLayerChanged(bool);
|
||||
void pinChanged(QString);
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
<method name="DisablePairing"/>
|
||||
|
||||
<property name="HeadsetConnected" type="b" access="read"/>
|
||||
<property name="SessionRunning" type="b" access="read"/>
|
||||
<property name="SteamCommand" type="s" access="read"/>
|
||||
<property name="JsonConfiguration" type="s" access="readwrite"/>
|
||||
<property name="Bitrate" type="u" access="readwrite"/>
|
||||
|
||||
+107
-91
@@ -1,23 +1,21 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the WiVRn-dashboard package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
|
||||
# SPDX-FileCopyrightText: 2025 Álvaro De Quinta <blackcherry@danwin1210.de>
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-11 21:12+0100\n"
|
||||
"PO-Revision-Date: 2025-11-12 04:37+0100\n"
|
||||
"POT-Creation-Date: 2025-11-19 14:16+0100\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:20+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 49.0\n"
|
||||
"X-Generator: Lokalize 25.08.3\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#, kde-format
|
||||
@@ -90,8 +88,8 @@ msgstr "Comprobando la última versión..."
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "No hay ningún APK disponible para esta versión"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
|
||||
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
|
||||
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "ADB no está instalado"
|
||||
@@ -140,7 +138,7 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Visores"
|
||||
@@ -237,44 +235,28 @@ msgstr "Emparejar un nuevo visor"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estadísticas del visor"
|
||||
|
||||
#: dashboard/qml/Main.qml:121
|
||||
#: dashboard/qml/Main.qml:108
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "El servicio Avahi no está instalado"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:116
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "El servicio Avahi no está iniciado"
|
||||
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
|
||||
#: dashboard/qml/Main.qml:189
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Arreglarlo"
|
||||
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
msgstr "El servidor no tiene capacidades CAP_SYS_NICE"
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#: dashboard/qml/Main.qml:131
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "El firewall podría no permitir el puerto 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:174
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
msgstr "La capacidad CAP_SYS_NICE se utilizará cuando el servidor se reinicie"
|
||||
|
||||
#: dashboard/qml/Main.qml:180
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar ahora"
|
||||
|
||||
#: dashboard/qml/Main.qml:191
|
||||
#: dashboard/qml/Main.qml:145
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
@@ -282,12 +264,12 @@ msgstr ""
|
||||
"Las GPU NVIDIA requieren al menos la versión 565.77 del controlador, la "
|
||||
"versión actual es %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:197
|
||||
#: dashboard/qml/Main.qml:151
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Más información"
|
||||
|
||||
#: dashboard/qml/Main.qml:205
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -296,7 +278,7 @@ msgstr ""
|
||||
"Usa el controlador Mesa (radv) para las GPU AMD\n"
|
||||
"La codificación por hardware con vaapi no funciona con AMDVLK y AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:213
|
||||
#: dashboard/qml/Main.qml:167
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -306,75 +288,99 @@ msgstr ""
|
||||
"en VR.\n"
|
||||
"Instala xrizer o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:222
|
||||
#: dashboard/qml/Main.qml:175
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr ""
|
||||
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn"
|
||||
|
||||
#: dashboard/qml/Main.qml:183
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr ""
|
||||
"Steam está instalado con flatpak, pero no tiene los suficientes permisos"
|
||||
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "Reinicia el servidor para que los cambios surtan efecto"
|
||||
|
||||
#: dashboard/qml/Main.qml:204
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar ahora"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "El servidor no pudo iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
|
||||
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir registros del servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#: dashboard/qml/Main.qml:264
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "En ejecución"
|
||||
|
||||
#: dashboard/qml/Main.qml:272
|
||||
#: dashboard/qml/Main.qml:279
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Emparejando"
|
||||
|
||||
#: dashboard/qml/Main.qml:285
|
||||
#: dashboard/qml/Main.qml:292
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
|
||||
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar por USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:304
|
||||
#: dashboard/qml/Main.qml:311
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "No hay ningún visor conectado o tu visor no está en modo desarrollador"
|
||||
|
||||
#: dashboard/qml/Main.qml:312
|
||||
#: dashboard/qml/Main.qml:319
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#: dashboard/qml/Main.qml:336
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplicación"
|
||||
|
||||
#: dashboard/qml/Main.qml:350
|
||||
#: dashboard/qml/Main.qml:357
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Información de Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:371
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Asistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#: dashboard/qml/Main.qml:385
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar aplicación"
|
||||
|
||||
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Solucionar problemas"
|
||||
@@ -391,29 +397,29 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:35
|
||||
#: dashboard/qml/SettingsPage.qml:31
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Foveación manual"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#: dashboard/qml/SettingsPage.qml:37
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Fuerza de foveación:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:57
|
||||
#: dashboard/qml/SettingsPage.qml:53
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#: dashboard/qml/SettingsPage.qml:59
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -434,107 +440,107 @@ msgstr ""
|
||||
"Los valores recomendados están entre 20% y 50% para visores sin seguimiento "
|
||||
"ocular y entre 50% y 70% para visores con seguimiento ocular."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#: dashboard/qml/SettingsPage.qml:65
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Más débil"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:80
|
||||
#: dashboard/qml/SettingsPage.qml:76
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Más fuerte"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:90
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Tasa de bits:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:104
|
||||
#, kde-format
|
||||
msgid "The current encoder configuration is not supported"
|
||||
msgstr "La configuración actual del codificador no está soportada"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:113
|
||||
#: dashboard/qml/SettingsPage.qml:109
|
||||
#, kde-format
|
||||
msgid "Reset"
|
||||
msgstr "Restablecer"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:120
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Codificador"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Automático"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD y Intel GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#, kde-format
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (Cualquier GPU moderna)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:142
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (codificación por software)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#: dashboard/qml/SettingsPage.qml:155
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" utilizará aceleración por hardware si está disponible"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Códec"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:166
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Automático"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:210
|
||||
#: dashboard/qml/SettingsPage.qml:206
|
||||
#, kde-format
|
||||
msgid "10 bits"
|
||||
msgstr "10 bits"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:215
|
||||
#: dashboard/qml/SettingsPage.qml:211
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"10-bit encoding improves image quality but is not supported by all codecs "
|
||||
@@ -543,22 +549,22 @@ msgstr ""
|
||||
"La codificación de 10-bit mejora la calidad de imagen pero no está soportada "
|
||||
"por todos los codecs ni hardware"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:225
|
||||
#: dashboard/qml/SettingsPage.qml:221
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opciones avanzadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:231
|
||||
#: dashboard/qml/SettingsPage.qml:227
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Comprobar configuración del sistema al iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:237
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Pasar el teclado y raton del visor"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#: dashboard/qml/SettingsPage.qml:236
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -569,17 +575,17 @@ msgstr ""
|
||||
"conectado al servidor. El SO del cliente podria reservarse ciertas teclas y "
|
||||
"combinaciones, los cuales no podrán ser enviados"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:245
|
||||
#: dashboard/qml/SettingsPage.qml:241
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Habilitar ventana de depuración"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:252
|
||||
#: dashboard/qml/SettingsPage.qml:248
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Habilitar soporte para dispositivos de seguimiento a través de SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:255
|
||||
#: dashboard/qml/SettingsPage.qml:251
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -593,44 +599,44 @@ msgstr ""
|
||||
"Los dispositivos deben de estar encendidos antes de conectarte a WiVRn.\n"
|
||||
"Una herramienta externa como motoc será necesaria para la calibración."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:263
|
||||
#: dashboard/qml/SettingsPage.qml:259
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Ruta de adb personalizada"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#: dashboard/qml/SettingsPage.qml:270
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Ruta de adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:283
|
||||
#: dashboard/qml/SettingsPage.qml:279
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Por defecto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:307
|
||||
#: dashboard/qml/SettingsPage.qml:303
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:312
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:316
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Librería de compatibilidad para OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:346
|
||||
#: dashboard/qml/SettingsPage.qml:342
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
|
||||
@@ -972,16 +978,26 @@ msgstr "Finalizar"
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#: dashboard/wivrn_server.cpp:533
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#: dashboard/wivrn_server.cpp:534
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
#~ msgstr "El servidor no tiene capacidades CAP_SYS_NICE"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
#~ msgstr ""
|
||||
#~ "La capacidad CAP_SYS_NICE se utilizará cuando el servidor se reinicie"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Vulkan (Vulkan Video)"
|
||||
#~ msgstr "Vulkan (Vulkan Video)"
|
||||
|
||||
+29
-24
@@ -1,20 +1,20 @@
|
||||
#
|
||||
# Álvaro De Quinta <blackcherry@danwin1210.de>, 2025.
|
||||
# SPDX-FileCopyrightText: 2025 Álvaro De Quinta <blackcherry@danwin1210.de>
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-11 22:09+0100\n"
|
||||
"PO-Revision-Date: 2025-11-12 04:59+0100\n"
|
||||
"POT-Creation-Date: 2025-11-17 21:03+0100\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Gtranslator 49.0\n"
|
||||
"X-Generator: Lokalize 25.08.3\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
msgid "No supported swapchain format"
|
||||
@@ -68,11 +68,11 @@ msgstr "No se puede conectar a {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Esperando conexión"
|
||||
|
||||
#: client/scenes/lobby.cpp:1304
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Passthrough"
|
||||
msgstr "Exterior"
|
||||
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
#: client/scenes/lobby.cpp:1322
|
||||
msgid "Default environment"
|
||||
msgstr "Entorno por defecto"
|
||||
|
||||
@@ -92,13 +92,13 @@ msgid "Disabled"
|
||||
msgstr "Deshabilitado"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
|
||||
#: client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/stream_gui.cpp:967
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
|
||||
#: client/scenes/lobby_gui_customize.cpp:744
|
||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
|
||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
@@ -136,7 +136,7 @@ msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:933
|
||||
#: client/scenes/stream_gui.cpp:920
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
@@ -446,7 +446,7 @@ msgstr "Agregar servidor"
|
||||
msgid "Server list"
|
||||
msgstr "Lista de servidores"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
|
||||
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
|
||||
msgid "Settings"
|
||||
msgstr "Configuración"
|
||||
|
||||
@@ -482,6 +482,11 @@ msgstr ""
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:233
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "No se ha podido cargar la lista del entorno: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:363
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
@@ -513,7 +518,7 @@ msgstr ""
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:552
|
||||
#, c-format
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "Seguro que quiere borrar {}?"
|
||||
|
||||
@@ -604,7 +609,7 @@ msgstr "Latencia estimada de movimiento a fotones: {}ms"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Pulsa ambos joysticks para mostrar la ventana de WiVRn"
|
||||
|
||||
@@ -658,23 +663,23 @@ msgstr "Superposiciones"
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Pedir salir, puede ser ignorado por la aplicación"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:695
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:947
|
||||
msgid "Stats"
|
||||
msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:953
|
||||
#: client/scenes/stream_gui.cpp:935
|
||||
msgid "Applications"
|
||||
msgstr "Aplicaciones"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:959
|
||||
#: client/scenes/stream_gui.cpp:938
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:951
|
||||
msgid "Stats"
|
||||
msgstr "Estadísticas"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Superponer stats"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:962
|
||||
#: client/scenes/stream_gui.cpp:960
|
||||
msgid "Compact view"
|
||||
msgstr "Vista compacta"
|
||||
|
||||
|
||||
+106
-89
@@ -10,8 +10,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-11 21:12+0100\n"
|
||||
"PO-Revision-Date: 2025-11-13 00:55+0100\n"
|
||||
"POT-Creation-Date: 2025-11-19 14:16+0100\n"
|
||||
"PO-Revision-Date: 2025-11-19 14:49+0100\n"
|
||||
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
"Language: pt_BR\n"
|
||||
@@ -92,8 +92,8 @@ msgstr "Verificando a última versão..."
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "Nenhum APK está disponível para esta versão"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
|
||||
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
|
||||
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "ABD não está instalado"
|
||||
@@ -142,7 +142,7 @@ msgstr "Reinstalar WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Instalar WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Headsets"
|
||||
@@ -238,56 +238,40 @@ msgstr "Parear um novo headset"
|
||||
msgid "Headset statistics"
|
||||
msgstr "Estatísticas do headset"
|
||||
|
||||
#: dashboard/qml/Main.qml:121
|
||||
#: dashboard/qml/Main.qml:108
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "Avahi daemon não está instalado"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:116
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "Avahi daemon não foi iniciado"
|
||||
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
|
||||
#: dashboard/qml/Main.qml:189
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Conserte"
|
||||
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
msgstr "O servidor não tem capabilities CAP_SYS_NICE"
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#: dashboard/qml/Main.qml:131
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "O firewall pode não permitir a porta 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:174
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
msgstr "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado"
|
||||
|
||||
#: dashboard/qml/Main.qml:180
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar agora"
|
||||
|
||||
#: dashboard/qml/Main.qml:191
|
||||
#: dashboard/qml/Main.qml:145
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"GPUs NVIDIA requerem pelo menos o driver versão 565.77, a versão atual é %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:197
|
||||
#: dashboard/qml/Main.qml:151
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Mais informações"
|
||||
|
||||
#: dashboard/qml/Main.qml:205
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -296,7 +280,7 @@ msgstr ""
|
||||
"Use o driver Mesa (radv) para GPUs AMD\n"
|
||||
"Codificação de hardware com a vaapi não funciona com AMDVLK e AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:213
|
||||
#: dashboard/qml/Main.qml:167
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -306,76 +290,99 @@ msgstr ""
|
||||
"conseguirão carregar em VR.\n"
|
||||
"Instale o xrizer ou o OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:222
|
||||
#: dashboard/qml/Main.qml:175
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr "A Steam está instalada como snap. Snaps não são compatíveis com WiVRn."
|
||||
|
||||
#: dashboard/qml/Main.qml:183
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr "A Steam está instalada como flatpak e não tem permissões suficientes."
|
||||
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr ""
|
||||
"Reinicie o servidor para que as alterações de configuração tenham efeito"
|
||||
|
||||
#: dashboard/qml/Main.qml:204
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Reiniciar agora"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Servidor falhou em iniciar"
|
||||
|
||||
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
|
||||
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Abrir logs do servidor"
|
||||
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#: dashboard/qml/Main.qml:264
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Rodando"
|
||||
|
||||
#: dashboard/qml/Main.qml:272
|
||||
#: dashboard/qml/Main.qml:279
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Pareando"
|
||||
|
||||
#: dashboard/qml/Main.qml:285
|
||||
#: dashboard/qml/Main.qml:292
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
|
||||
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Conectar pela USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:304
|
||||
#: dashboard/qml/Main.qml:311
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr ""
|
||||
"Nenhum headset está conectado ou seu headset não está em modo desenvolvedor"
|
||||
|
||||
#: dashboard/qml/Main.qml:312
|
||||
#: dashboard/qml/Main.qml:319
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#: dashboard/qml/Main.qml:336
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:350
|
||||
#: dashboard/qml/Main.qml:357
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informações da Steam"
|
||||
|
||||
#: dashboard/qml/Main.qml:371
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Assistente"
|
||||
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#: dashboard/qml/Main.qml:385
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Instalar o aplicativo"
|
||||
|
||||
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ajustes"
|
||||
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Resolver problemas"
|
||||
@@ -392,29 +399,29 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:35
|
||||
#: dashboard/qml/SettingsPage.qml:31
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Foveação manual"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#: dashboard/qml/SettingsPage.qml:37
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Força da foveação:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:57
|
||||
#: dashboard/qml/SettingsPage.qml:53
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#: dashboard/qml/SettingsPage.qml:59
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -435,107 +442,107 @@ msgstr ""
|
||||
"Os valores recomendados são entre 20% e 50% para headsets sem rastreamento "
|
||||
"ocular e entre 50% e 70% para fones de ouvido com rastreamento ocular."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#: dashboard/qml/SettingsPage.qml:65
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Mais fraco"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:80
|
||||
#: dashboard/qml/SettingsPage.qml:76
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Mais forte"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:90
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Taxa de bits:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:104
|
||||
#, kde-format
|
||||
msgid "The current encoder configuration is not supported"
|
||||
msgstr "A configuração de codificador atual não é suportada"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:113
|
||||
#: dashboard/qml/SettingsPage.qml:109
|
||||
#, kde-format
|
||||
msgid "Reset"
|
||||
msgstr "Resetar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:120
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Codificador:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (GPUs NVIDIA)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (GPUs AMD e Intel)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#, kde-format
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (Qualquer GPU moderna)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:142
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (codificação por software)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#: dashboard/qml/SettingsPage.qml:155
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" usará aceleração de hardware se disponível"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Codec:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:166
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:210
|
||||
#: dashboard/qml/SettingsPage.qml:206
|
||||
#, kde-format
|
||||
msgid "10 bits"
|
||||
msgstr "10 bits"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:215
|
||||
#: dashboard/qml/SettingsPage.qml:211
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"10-bit encoding improves image quality but is not supported by all codecs "
|
||||
@@ -544,43 +551,43 @@ msgstr ""
|
||||
"Codificação de 10-bit melhora a qualidade de imagem mas não é suportada por "
|
||||
"todos os codecs e hardware"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:225
|
||||
#: dashboard/qml/SettingsPage.qml:221
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opções avançadas"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:231
|
||||
#: dashboard/qml/SettingsPage.qml:227
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Verificar configuração do sistema ao iniciar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:237
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Repassar teclado & mouse do headset"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#: dashboard/qml/SettingsPage.qml:236
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
"server. Client OS may reserve specific keys and combinations, which cannot "
|
||||
"be forwarded."
|
||||
msgstr ""
|
||||
"Teclado e mouse conectados ao cliente agirão como se conectados ao "
|
||||
"servidor. O OS cliente pode reservar teclas e combinações específicas, as "
|
||||
"quais podem não ser repassadas."
|
||||
"Teclado e mouse conectados ao cliente agirão como se conectados ao servidor. "
|
||||
"O OS cliente pode reservar teclas e combinações específicas, as quais podem "
|
||||
"não ser repassadas."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:245
|
||||
#: dashboard/qml/SettingsPage.qml:241
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Ativar janela de depuração"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:252
|
||||
#: dashboard/qml/SettingsPage.qml:248
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:255
|
||||
#: dashboard/qml/SettingsPage.qml:251
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -593,44 +600,44 @@ msgstr ""
|
||||
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
|
||||
"Uma ferramenta externa como o motoc é necessária para calibração."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:263
|
||||
#: dashboard/qml/SettingsPage.qml:259
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Caminho personalizado do adb"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#: dashboard/qml/SettingsPage.qml:270
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Caminho do adb:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:283
|
||||
#: dashboard/qml/SettingsPage.qml:279
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Default"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:307
|
||||
#: dashboard/qml/SettingsPage.qml:303
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Personalizado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:312
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Desativado"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:316
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Biblioteca de compatibilidade OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:346
|
||||
#: dashboard/qml/SettingsPage.qml:342
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
|
||||
@@ -974,16 +981,26 @@ msgstr "Terminar"
|
||||
msgid "Finished"
|
||||
msgstr "Terminado"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#: dashboard/wivrn_server.cpp:533
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#: dashboard/wivrn_server.cpp:534
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
#~ msgstr "O servidor não tem capabilities CAP_SYS_NICE"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
#~ msgstr ""
|
||||
#~ "A capability CAP_SYS_NICE será usada quando o servidor for reiniciado"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "Vulkan (Vulkan Video)"
|
||||
#~ msgstr "Vulkan (Vídeo Vulkan)"
|
||||
|
||||
+26
-21
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-12 05:09+0800\n"
|
||||
"PO-Revision-Date: 2025-11-09 23:02+0800\n"
|
||||
"POT-Creation-Date: 2025-11-18 04:03+0800\n"
|
||||
"PO-Revision-Date: 2025-11-19 14:17+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -68,11 +68,11 @@ msgstr "无法连接至 {} ({}): {}"
|
||||
msgid "Waiting for connection"
|
||||
msgstr "等待连接"
|
||||
|
||||
#: client/scenes/lobby.cpp:1304
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Passthrough"
|
||||
msgstr "透视"
|
||||
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
#: client/scenes/lobby.cpp:1322
|
||||
msgid "Default environment"
|
||||
msgstr "默认环境"
|
||||
|
||||
@@ -92,13 +92,13 @@ msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
|
||||
#: client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/stream_gui.cpp:967
|
||||
msgid "Disconnect"
|
||||
msgstr "终止连接"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
|
||||
#: client/scenes/lobby_gui_customize.cpp:744
|
||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
|
||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
|
||||
msgid "Close"
|
||||
msgstr "关闭"
|
||||
|
||||
@@ -136,7 +136,7 @@ msgid "TCP only"
|
||||
msgstr "仅限 TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:933
|
||||
#: client/scenes/stream_gui.cpp:920
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
@@ -435,7 +435,7 @@ msgstr "新增服务器"
|
||||
msgid "Server list"
|
||||
msgstr "服务器列表"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
|
||||
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
@@ -471,6 +471,11 @@ msgstr ""
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "按下抓握键以移动主窗口"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:233
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "无法加载环境列表:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:363
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
@@ -502,7 +507,7 @@ msgstr ""
|
||||
"{}:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:552
|
||||
#, c-format
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "真的要删除 {} 吗?"
|
||||
|
||||
@@ -593,7 +598,7 @@ msgstr "预计运动到光子延迟: {}毫秒"
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "按下抓握键来移动窗口"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "同时按下两侧摇杆以显示 WiVRn 窗口"
|
||||
|
||||
@@ -647,23 +652,23 @@ msgstr "叠加层"
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "退出请求可能会被应用程序忽略"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:695
|
||||
msgid "Start"
|
||||
msgstr "启动"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:947
|
||||
msgid "Stats"
|
||||
msgstr "统计"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:953
|
||||
#: client/scenes/stream_gui.cpp:935
|
||||
msgid "Applications"
|
||||
msgstr "应用程序"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:959
|
||||
#: client/scenes/stream_gui.cpp:938
|
||||
msgid "Start"
|
||||
msgstr "启动"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:951
|
||||
msgid "Stats"
|
||||
msgstr "统计"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
msgid "Statistics overlay"
|
||||
msgstr "统计数据叠加"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:962
|
||||
#: client/scenes/stream_gui.cpp:960
|
||||
msgid "Compact view"
|
||||
msgstr "概览"
|
||||
|
||||
|
||||
@@ -276,7 +276,9 @@ void start_server(configuration config)
|
||||
|
||||
assert(server_watch == 0);
|
||||
assert(server_kill_watch == 0);
|
||||
wivrn_server_set_session_running(dbus_server, true);
|
||||
server_watch = g_child_watch_add(server_pid, [](pid_t, int status, void *) {
|
||||
wivrn_server_set_session_running(dbus_server, false);
|
||||
display_child_status(status, "Server");
|
||||
g_source_remove(server_watch);
|
||||
if (server_kill_watch)
|
||||
|
||||
Reference in New Issue
Block a user