diff --git a/common/application.cpp b/common/application.cpp index 065c7a0f..54d863cc 100644 --- a/common/application.cpp +++ b/common/application.cpp @@ -241,7 +241,6 @@ std::unordered_map list_applications() }); } } - do_data_dir(xdg_data_home(), res); for (auto && dir: xdg_data_dirs()) do_data_dir(std::move(dir), res); diff --git a/common/utils/xdg_base_directory.cpp b/common/utils/xdg_base_directory.cpp index 5fe65d12..20d93974 100644 --- a/common/utils/xdg_base_directory.cpp +++ b/common/utils/xdg_base_directory.cpp @@ -45,7 +45,7 @@ std::filesystem::path xdg_cache_home() std::filesystem::path xdg_data_home() { - if (const char * xdg_data_home = std::getenv("XDG_DATA_HOME")) + if (const char * xdg_data_home = std::getenv("XDG_DATA_HOME"); xdg_data_home and *xdg_data_home) return xdg_data_home; if (const char * home = std::getenv("HOME")) @@ -71,9 +71,11 @@ std::vector xdg_config_dirs() return paths; } -std::vector xdg_data_dirs() +std::vector xdg_data_dirs(bool include_data_home) { std::vector paths; + if (include_data_home) + paths.push_back(xdg_data_home()); if (const char * xdg_config_dirs = std::getenv("XDG_DATA_DIRS")) { diff --git a/common/utils/xdg_base_directory.h b/common/utils/xdg_base_directory.h index ef56baae..84a2aae9 100644 --- a/common/utils/xdg_base_directory.h +++ b/common/utils/xdg_base_directory.h @@ -26,4 +26,4 @@ std::filesystem::path xdg_config_home(); std::filesystem::path xdg_cache_home(); std::filesystem::path xdg_data_home(); std::vector xdg_config_dirs(); -std::vector xdg_data_dirs(); +std::vector xdg_data_dirs(bool include_data_home = true); diff --git a/common/utils/xdg_icon_lookup.cpp b/common/utils/xdg_icon_lookup.cpp index 75186c9a..6349ce25 100644 --- a/common/utils/xdg_icon_lookup.cpp +++ b/common/utils/xdg_icon_lookup.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -107,51 +108,75 @@ void find_icon_theme_dirs_helper(const std::vector & base const auto theme_dir = base_dir / "icons" / theme; const auto index_theme = theme_dir / "index.theme"; - if (not std::filesystem::exists(index_theme)) - continue; - - try + if (std::filesystem::exists(index_theme)) { - std::ifstream file{index_theme}; - wivrn::ini index{file}; - - for (const auto & inherited_theme: utils::split(index.get("Icon Theme", "Inherits", ""), ",")) + try { - if (inherited_theme != "" and not std::ranges::contains(themes, inherited_theme)) - themes.push_back(inherited_theme); + std::ifstream file{index_theme}; + wivrn::ini index{file}; + + for (const auto & inherited_theme: utils::split(index.get("Icon Theme", "Inherits", ""), ",")) + { + if (inherited_theme != "" and not std::ranges::contains(themes, inherited_theme)) + themes.push_back(inherited_theme); + } + + for (auto directory: utils::split(index.get("Icon Theme", "Directories", ""), ",")) + { + int size = index.get(directory, "Size"); + int scale = index.get(directory, "Scale", 1); + int min_size = index.get(directory, "MinSize", size); + int max_size = index.get(directory, "MaxSize", size); + int threshold = index.get(directory, "Threshold", 2); + + std::string type_str = index.get(directory, "Type", "Threshold"); + + icon_theme_type type = icon_theme_type::threshold; + if (type_str == "Fixed") + type = icon_theme_type::fixed; + else if (type_str == "Scalable") + type = icon_theme_type::scalable; + else if (type_str == "Threshold") + type = icon_theme_type::threshold; + + dirs.push_back(icon_theme_dir{ + .path = theme_dir / directory, + .size = size, + .scale = scale, + .type = type, + .min_size = min_size, + .max_size = max_size, + .threshold = threshold, + }); + } } - - for (auto directory: utils::split(index.get("Icon Theme", "Directories", ""), ",")) + catch (std::exception & e) { - int size = index.get(directory, "Size"); - int scale = index.get(directory, "Scale", 1); - int min_size = index.get(directory, "MinSize", size); - int max_size = index.get(directory, "MaxSize", size); - int threshold = index.get(directory, "Threshold", 2); - - std::string type_str = index.get(directory, "Type", "Threshold"); - - icon_theme_type type = icon_theme_type::threshold; - if (type_str == "Fixed") - type = icon_theme_type::fixed; - else if (type_str == "Scalable") - type = icon_theme_type::scalable; - else if (type_str == "Threshold") - type = icon_theme_type::threshold; - - dirs.push_back(icon_theme_dir{ - .path = theme_dir / directory, - .size = size, - .scale = scale, - .type = type, - .min_size = min_size, - .max_size = max_size, - .threshold = threshold, - }); } } - catch (std::exception & e) + else if (theme == "hicolor") { + // FIXME: full theme support + for (int size: {256}) + dirs.push_back(icon_theme_dir{ + .path = theme_dir / std::format("{}x{}/apps", size, size), + .size = size, + .scale = 1, + .type = icon_theme_type::threshold, + .min_size = size, + .max_size = size, + .threshold = 2, + }); + + dirs.push_back(icon_theme_dir{ + .path = theme_dir / "scalable/apps", + .size = 128, + .scale = 1, + .type = icon_theme_type::scalable, + .min_size = 1, + .max_size = 256, + .threshold = 2, + }); } } } diff --git a/dashboard/qml/Main.qml b/dashboard/qml/Main.qml index e28ab036..3b1b7612 100644 --- a/dashboard/qml/Main.qml +++ b/dashboard/qml/Main.qml @@ -188,6 +188,14 @@ Kirigami.ApplicationWindow { ] } + Kirigami.InlineMessage { + Layout.fillWidth: true + text: Settings.flatpak ? i18n("Vulkan drivers cannot be found, you may need to run \"flatpak update\"") : i18n("Vulkan drivers cannot be found") + type: Kirigami.MessageType.Warning + showCloseButton: true + visible: DashboardSettings.show_system_checks && (VulkanInfo.type == VulkanInfo.SoftGPU || VulkanInfo.type == VulkanInfo.NoGPU) + } + Kirigami.InlineMessage { Layout.fillWidth: true text: i18n("Use the Mesa (radv) driver for AMD GPUs\nHardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO") diff --git a/dashboard/vulkan_info.cpp b/dashboard/vulkan_info.cpp index 52092eeb..ca2ec45f 100644 --- a/dashboard/vulkan_info.cpp +++ b/dashboard/vulkan_info.cpp @@ -24,14 +24,40 @@ vulkan_info::vulkan_info() { - vk::raii::Context context; + try + { + vk::raii::Context context; - vk::ApplicationInfo app_info{"WiVRn dashboard", 1, "No engine", 1, VK_API_VERSION_1_1}; - vk::InstanceCreateInfo instance_info{vk::InstanceCreateFlags{0}, &app_info}; - vk::raii::Instance vulkan{context, instance_info}; + vk::ApplicationInfo app_info{"WiVRn dashboard", 1, "No engine", 1, VK_API_VERSION_1_1}; + vk::InstanceCreateInfo instance_info{vk::InstanceCreateFlags{0}, &app_info}; + vk::raii::Instance vulkan{context, instance_info}; - auto devices = vulkan.enumeratePhysicalDevices(); - set_info(choose_device(devices)); + auto devices = vulkan.enumeratePhysicalDevices(); + set_info(choose_device(devices)); + } + catch (std::runtime_error & e) + { + qCritical() << "Failed to get vulkan info: " << e.what(); + } +} + +static vulkan_info::gpu_type cast_type(vk::PhysicalDeviceType type) +{ + switch (type) + { + case vk::PhysicalDeviceType::eOther: + return vulkan_info::OtherGPU; + case vk::PhysicalDeviceType::eIntegratedGpu: + return vulkan_info::IGPU; + case vk::PhysicalDeviceType::eDiscreteGpu: + return vulkan_info::DGPU; + case vk::PhysicalDeviceType::eVirtualGpu: + return vulkan_info::VirtGPU; + case vk::PhysicalDeviceType::eCpu: + return vulkan_info::SoftGPU; + } + qCritical() << "invalid GPU type enum " << int(type); + return vulkan_info::OtherGPU; } vk::raii::PhysicalDevice & vulkan_info::choose_device(std::vector & devices) @@ -70,5 +96,7 @@ void vulkan_info::set_info(vk::raii::PhysicalDevice & device) break; } + m_type = cast_type(prop.properties.deviceType); + qDebug() << "Driver" << m_driverId << m_driverVersion; } diff --git a/dashboard/vulkan_info.h b/dashboard/vulkan_info.h index 99c43f37..271c5420 100644 --- a/dashboard/vulkan_info.h +++ b/dashboard/vulkan_info.h @@ -33,14 +33,27 @@ class vulkan_info : public QObject Q_OBJECT QML_NAMED_ELEMENT(VulkanInfo) QML_SINGLETON +public: + enum gpu_type + { + DGPU, + IGPU, + SoftGPU, + VirtGPU, + OtherGPU, + NoGPU, + }; + Q_ENUM(gpu_type) Q_PROPERTY(QString driverId READ driverId CONSTANT) Q_PROPERTY(QString driverVersion READ driverVersion CONSTANT) Q_PROPERTY(uint32_t driverVersionCode READ driverVersionCode CONSTANT) + Q_PROPERTY(gpu_type type READ type CONSTANT) QString m_driverId; QString m_driverVersion; - uint32_t m_driverVersionCode; + uint32_t m_driverVersionCode{}; + gpu_type m_type = NoGPU; vk::raii::PhysicalDevice & choose_device(std::vector & devices); void set_info(vk::raii::PhysicalDevice & device); @@ -62,4 +75,9 @@ public: { return m_driverVersionCode; } + + gpu_type type() const + { + return m_type; + } }; diff --git a/locale/fr/wivrn-dashboard.po b/locale/fr/wivrn-dashboard.po index 3fe3ddc2..11257aaa 100644 --- a/locale/fr/wivrn-dashboard.po +++ b/locale/fr/wivrn-dashboard.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-02-02 10:52+0100\n" -"PO-Revision-Date: 2026-02-02 10:53+0100\n" +"POT-Creation-Date: 2026-02-16 18:43+0100\n" +"PO-Revision-Date: 2026-02-16 21:47+0100\n" "Last-Translator: Guillaume Meunier \n" "Language-Team: French <>\n" "Language: French\n" @@ -117,8 +117,8 @@ msgstr "Vérification de la dernière version..." msgid "No APK is available for this version" msgstr "Aucun APK n'est disponible pour cette version" -#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368 -#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211 +#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376 +#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211 #: dashboard/qml/WizardPage.qml:337 #, kde-format msgid "ADB is not installed" @@ -160,7 +160,7 @@ msgstr "Réinstaller WiVRn" msgid "Install WiVRn" msgstr "Installer WiVRn" -#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431 +#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439 #, kde-format msgid "Headsets" msgstr "Casques" @@ -287,7 +287,7 @@ msgid "Avahi daemon is not started" msgstr "Avahi daemon n'est pas démarré" #: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171 -#: dashboard/qml/Main.qml:223 +#: dashboard/qml/Main.qml:231 #, kde-format msgid "Fix it" msgstr "Corriger" @@ -312,6 +312,18 @@ msgstr "Plus d'infos" #: dashboard/qml/Main.qml:193 #, kde-format +msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\"" +msgstr "" +"Impossible de trouver les drivers Vulkan, il est peut-être nécessaire " +"d'exécuter \"flatpak update\"" + +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found" +msgstr "Impossible de trouver les drivers Vulkan" + +#: dashboard/qml/Main.qml:201 +#, kde-format msgid "" "Use the Mesa (radv) driver for AMD GPUs\n" "Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO" @@ -319,7 +331,7 @@ msgstr "" "Utilisez le driver Mesa (redv) pour les GPUs AMD\n" "L'encodage matériel avec vaapi ne fonctionne pas avec AMDVLK et AMDGPU-PRO" -#: dashboard/qml/Main.qml:201 +#: dashboard/qml/Main.qml:209 #, kde-format msgid "" "No OpenVR compatibility detected, Steam games won't be able to load VR.\n" @@ -329,14 +341,14 @@ msgstr "" "pourront pas charger le mode VR.\n" "Veuillez installer xrizer ou OpenComposite." -#: dashboard/qml/Main.qml:209 +#: dashboard/qml/Main.qml:217 #, kde-format msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn." msgstr "" "Steam est installé en tant que snap. Les snaps ne sont pas compatibles avec " "WiVRn." -#: dashboard/qml/Main.qml:217 +#: dashboard/qml/Main.qml:225 #, kde-format msgid "" "Steam is installed as a flatpak but does not have sufficient permissions." @@ -344,114 +356,114 @@ msgstr "" "Steam est installé en tant que flatpak mais n'a pas les autorisations " "nécessaires." -#: dashboard/qml/Main.qml:232 +#: dashboard/qml/Main.qml:240 #, kde-format msgid "Restart the server for configuration changes to take effect" msgstr "Redémarez le serveur pour appliquer les changements" -#: dashboard/qml/Main.qml:238 +#: dashboard/qml/Main.qml:246 #, kde-format msgctxt "restart the server" msgid "Restart now" msgstr "Redémarrer" -#: dashboard/qml/Main.qml:263 +#: dashboard/qml/Main.qml:271 #, kde-format msgid "Server failed to start" msgstr "Le serveur n'a pas pu démarrer" -#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89 +#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89 #, kde-format msgid "Open server logs" msgstr "Ouvrir les logs du serveur" -#: dashboard/qml/Main.qml:295 +#: dashboard/qml/Main.qml:303 #, kde-format msgid "Server status" msgstr "Serveur" -#: dashboard/qml/Main.qml:301 +#: dashboard/qml/Main.qml:309 #, kde-format msgctxt "whether the server is running, displayed in front of a checkbox" msgid "Running" msgstr "Démarré" -#: dashboard/qml/Main.qml:314 +#: dashboard/qml/Main.qml:322 #, kde-format msgctxt "whether pairing is enabled, displayed in front of a checkbox" msgid "Pairing" msgstr "Appairage" -#: dashboard/qml/Main.qml:334 +#: dashboard/qml/Main.qml:342 #, kde-format msgid "Headset status" msgstr "Casque" -#: dashboard/qml/Main.qml:341 +#: dashboard/qml/Main.qml:349 #, kde-format msgctxt "label for headset name/status under server running switch" msgid "Headset" msgstr "Casque" -#: dashboard/qml/Main.qml:344 +#: dashboard/qml/Main.qml:352 #, kde-format msgid "Not connected" msgstr "Déconnecté" -#: dashboard/qml/Main.qml:348 +#: dashboard/qml/Main.qml:356 #, kde-format msgid "Disconnect" msgstr "Déconnecter" -#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365 -#: dashboard/qml/Main.qml:372 +#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373 +#: dashboard/qml/Main.qml:380 #, kde-format msgctxt "label for USB status or connect button" msgid "USB" msgstr "USB" -#: dashboard/qml/Main.qml:358 +#: dashboard/qml/Main.qml:366 #, kde-format msgctxt "usb connect button" msgid "Connect (wired)" msgstr "Connecter (filaire)" -#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339 +#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339 #, kde-format msgid "No headset is connected or your headset is not in developer mode" msgstr "Le casque n'est pas connecté ou n'est pas en mode développeur" -#: dashboard/qml/Main.qml:396 +#: dashboard/qml/Main.qml:404 #, kde-format msgid "Steam information" msgstr "Informations pour Steam" -#: dashboard/qml/Main.qml:412 +#: dashboard/qml/Main.qml:420 #, kde-format msgid "Wizard" msgstr "Assistant" -#: dashboard/qml/Main.qml:418 +#: dashboard/qml/Main.qml:426 #, kde-format msgid "Install the app" msgstr "Installer l'appli" -#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14 +#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14 #, kde-format msgid "Settings" msgstr "Paramètres" -#: dashboard/qml/Main.qml:443 +#: dashboard/qml/Main.qml:451 #, kde-format msgid "About" msgstr "À propos" -#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10 +#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10 #, kde-format msgid "Troubleshoot" msgstr "Dépannage" -#: dashboard/qml/Main.qml:455 +#: dashboard/qml/Main.qml:463 #, kde-format msgid "Version %1" msgstr "Version %1" diff --git a/locale/pt_BR/wivrn-dashboard.po b/locale/pt_BR/wivrn-dashboard.po index 90a3e75e..f4512556 100644 --- a/locale/pt_BR/wivrn-dashboard.po +++ b/locale/pt_BR/wivrn-dashboard.po @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-02-02 14:05+0100\n" -"PO-Revision-Date: 2026-02-02 15:54+0100\n" +"POT-Creation-Date: 2026-02-16 21:54+0100\n" +"PO-Revision-Date: 2026-02-16 23:23+0100\n" "Last-Translator: Claudio Sampaio (Patola) \n" "Language-Team: Portuguese <>\n" "Language: pt_BR\n" @@ -19,7 +19,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 25.12.1\n" +"X-Generator: Lokalize 25.12.2\n" #: dashboard/apk_installer.cpp:137 #, kde-format @@ -121,8 +121,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:368 -#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211 +#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:376 +#: dashboard/qml/Main.qml:434 dashboard/qml/WizardPage.qml:211 #: dashboard/qml/WizardPage.qml:337 #, kde-format msgid "ADB is not installed" @@ -165,7 +165,7 @@ msgstr "Reinstalar WiVRn" msgid "Install WiVRn" msgstr "Instalar WiVRn" -#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431 +#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:439 #, kde-format msgid "Headsets" msgstr "Headsets" @@ -291,7 +291,7 @@ msgid "Avahi daemon is not started" msgstr "Avahi daemon não foi iniciado" #: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171 -#: dashboard/qml/Main.qml:223 +#: dashboard/qml/Main.qml:231 #, kde-format msgid "Fix it" msgstr "Conserte" @@ -315,6 +315,18 @@ msgstr "Mais informações" #: dashboard/qml/Main.qml:193 #, kde-format +msgid "Vulkan drivers cannot be found, you may need to run \"flatpak update\"" +msgstr "" +"Drivers vulkan não foram encontrados, você pode ter que rodar \"flatpak update" +"\"" + +#: dashboard/qml/Main.qml:193 +#, kde-format +msgid "Vulkan drivers cannot be found" +msgstr "Drivers vulkan não foram encontrados" + +#: dashboard/qml/Main.qml:201 +#, kde-format msgid "" "Use the Mesa (radv) driver for AMD GPUs\n" "Hardware encoding with vaapi does not work with AMDVLK and AMDGPU-PRO" @@ -322,7 +334,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:201 +#: dashboard/qml/Main.qml:209 #, kde-format msgid "" "No OpenVR compatibility detected, Steam games won't be able to load VR.\n" @@ -332,127 +344,127 @@ msgstr "" "conseguirão carregar em VR.\n" "Instale o xrizer ou o OpenComposite." -#: dashboard/qml/Main.qml:209 +#: dashboard/qml/Main.qml:217 #, 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:217 +#: dashboard/qml/Main.qml:225 #, 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:232 +#: dashboard/qml/Main.qml:240 #, 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:238 +#: dashboard/qml/Main.qml:246 #, kde-format msgctxt "restart the server" msgid "Restart now" msgstr "Reiniciar agora" -#: dashboard/qml/Main.qml:263 +#: dashboard/qml/Main.qml:271 #, kde-format msgid "Server failed to start" msgstr "Servidor falhou em iniciar" -#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89 +#: dashboard/qml/Main.qml:277 dashboard/qml/TroubleshootPage.qml:89 #, kde-format msgid "Open server logs" msgstr "Abrir logs do servidor" -#: dashboard/qml/Main.qml:295 +#: dashboard/qml/Main.qml:303 #, kde-format msgid "Server status" msgstr "Status do servidor" -#: dashboard/qml/Main.qml:301 +#: dashboard/qml/Main.qml:309 #, kde-format msgctxt "whether the server is running, displayed in front of a checkbox" msgid "Running" msgstr "Rodando" -#: dashboard/qml/Main.qml:314 +#: dashboard/qml/Main.qml:322 #, kde-format msgctxt "whether pairing is enabled, displayed in front of a checkbox" msgid "Pairing" msgstr "Pareando" -#: dashboard/qml/Main.qml:334 +#: dashboard/qml/Main.qml:342 #, kde-format msgid "Headset status" msgstr "Status do headset" -#: dashboard/qml/Main.qml:341 +#: dashboard/qml/Main.qml:349 #, kde-format msgctxt "label for headset name/status under server running switch" msgid "Headset" msgstr "Headset" -#: dashboard/qml/Main.qml:344 +#: dashboard/qml/Main.qml:352 #, kde-format msgid "Not connected" msgstr "Não conectado" -#: dashboard/qml/Main.qml:348 +#: dashboard/qml/Main.qml:356 #, kde-format msgid "Disconnect" msgstr "Desconectar" -#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365 -#: dashboard/qml/Main.qml:372 +#: dashboard/qml/Main.qml:365 dashboard/qml/Main.qml:373 +#: dashboard/qml/Main.qml:380 #, kde-format msgctxt "label for USB status or connect button" msgid "USB" msgstr "USB" -#: dashboard/qml/Main.qml:358 +#: dashboard/qml/Main.qml:366 #, kde-format msgctxt "usb connect button" msgid "Connect (wired)" msgstr "Conectar (por cabo)" -#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339 +#: dashboard/qml/Main.qml:383 dashboard/qml/WizardPage.qml:339 #, 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:396 +#: dashboard/qml/Main.qml:404 #, kde-format msgid "Steam information" msgstr "Informações da Steam" -#: dashboard/qml/Main.qml:412 +#: dashboard/qml/Main.qml:420 #, kde-format msgid "Wizard" msgstr "Assistente" -#: dashboard/qml/Main.qml:418 +#: dashboard/qml/Main.qml:426 #, kde-format msgid "Install the app" msgstr "Instalar o aplicativo" -#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14 +#: dashboard/qml/Main.qml:445 dashboard/qml/SettingsPage.qml:14 #, kde-format msgid "Settings" msgstr "Ajustes" -#: dashboard/qml/Main.qml:443 +#: dashboard/qml/Main.qml:451 #, kde-format msgid "About" msgstr "Sobre" -#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10 +#: dashboard/qml/Main.qml:456 dashboard/qml/TroubleshootPage.qml:10 #, kde-format msgid "Troubleshoot" msgstr "Resolver problemas" -#: dashboard/qml/Main.qml:455 +#: dashboard/qml/Main.qml:463 #, kde-format msgid "Version %1" msgstr "Versão %1"