mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 00:51:32 -08:00
Fix typos (#1109)
This commit is contained in:
1 parent
2a15f372a5
commit
e0f5a84d8d
25 files changed
+26
-26
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ void libcurl::curl_thread_fn()
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
// For Android, read all the certificates at start-up, the file names are not
|
||||
// in the correct format for the current verion of OpenSSL.
|
||||
// in the correct format for the current version of OpenSSL.
|
||||
// See https://stackoverflow.com/questions/25253823/how-to-make-ssl-peer-verify-work-on-android
|
||||
std::string ca_bundle;
|
||||
for (const std::filesystem::directory_entry & entry: std::filesystem::directory_iterator{"/system/etc/security/cacerts"})
|
||||
|
||||
@@ -1002,7 +1002,7 @@ void scene_renderer::render(
|
||||
return false;
|
||||
|
||||
// If blending is disabled (std::get<0> == false), put the closest objects first
|
||||
// If blending is enabled (std::get<0> == true), put the farthest objeccts first
|
||||
// If blending is enabled (std::get<0> == true), put the farthest objects first
|
||||
return std::get<0>(a) ^ (std::get<1>(a) > std::get<1>(b));
|
||||
});
|
||||
|
||||
|
||||
@@ -655,7 +655,7 @@ static void stick_finger_to_gui(std::array<xr::hand_tracker::joint, XR_HAND_JOIN
|
||||
std::vector<std::pair<glm::vec3, float>> intersections; // Target position of the finger tip, distance to the GUI plane
|
||||
for (const imgui_context::window_viewport & layer: layers)
|
||||
{
|
||||
// Ignore layers that are not absolutely positionned
|
||||
// Ignore layers that are not absolutely positioned
|
||||
if (layer.space != xr::spaces::world)
|
||||
continue;
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*
|
||||
* Ported from libgcrypt to openssl, intially from libotr:
|
||||
* Ported from libgcrypt to openssl, initially from libotr:
|
||||
* Off-the-Record Messaging library
|
||||
* Copyright (C) 2004-2014 Ian Goldberg, David Goulet, Rob Smits,
|
||||
* Chris Alexander, Willy Lew, Lisa Du,
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*
|
||||
* Ported from libgcrypt to openssl, intially from libotr:
|
||||
* Ported from libgcrypt to openssl, initially from libotr:
|
||||
* Off-the-Record Messaging library
|
||||
* Copyright (C) 2004-2014 Ian Goldberg, David Goulet, Rob Smits,
|
||||
* Chris Alexander, Willy Lew, Lisa Du,
|
||||
|
||||
@@ -312,7 +312,7 @@ namespace details
|
||||
// Partition a structure into trivial portions (or single element when not trivial)
|
||||
template <
|
||||
typename T, // structure to partition
|
||||
typename Indices = std::tuple<>, // indices already partitionned
|
||||
typename Indices = std::tuple<>, // indices already partitioned
|
||||
typename Current_Indices = std::integer_sequence<size_t>, // indices of current partition
|
||||
size_t i = 0, // index of the first of remaining elements
|
||||
size_t offset = 0, // offset of previous element + its size
|
||||
@@ -381,7 +381,7 @@ struct trivial_bits<
|
||||
offset + padding + sizeof(boost::pfr::tuple_element_t<i, T>)>::types;
|
||||
};
|
||||
|
||||
// Serialize bits of a structure, partitionned by trivial_bits
|
||||
// Serialize bits of a structure, partitioned by trivial_bits
|
||||
template <typename T, typename Bits>
|
||||
struct serialize_bits;
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
<li>Add XR_EXT_user_presence and XR_EXT_hand_interaction OpenXR extensions</li>
|
||||
<li>Fix vulkan video encode and performances issues with multiple nvenc encoders on NVIDIA GPUs</li>
|
||||
<li>Support 10-bit encoding on VAAPI for H.265 and AV1 codecs</li>
|
||||
<li>Xrizer is now the default OpenVR compatibility layer (may be overriden by distribution packages)</li>
|
||||
<li>Xrizer is now the default OpenVR compatibility layer (may be overridden by distribution packages)</li>
|
||||
<li>Added Slovak and Turkish translations</li>
|
||||
</ul>
|
||||
</description>
|
||||
|
||||
@@ -282,7 +282,7 @@ Kirigami.ScrollablePage {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Controls.Button {
|
||||
text: i18nc("browse to choose the OpenVR compatility to use", "Browse")
|
||||
text: i18nc("browse to choose the OpenVR compatibility to use", "Browse")
|
||||
visible: openvr_text.visible
|
||||
onClicked: openvr_browse.open()
|
||||
}
|
||||
|
||||
@@ -650,7 +650,7 @@ msgstr "bin/linux64/vrclient.so daxil edilmədən kitabxana yolu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Gözdən keçir"
|
||||
|
||||
|
||||
@@ -639,7 +639,7 @@ msgstr "Bibliothekspfad, ohne bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Durchsuchen"
|
||||
|
||||
|
||||
@@ -690,7 +690,7 @@ msgstr "Ruta de librería, excluyendo bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Explorar"
|
||||
|
||||
|
||||
@@ -690,7 +690,7 @@ msgstr "Chemin de la bibliothèque, en enlevant bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Parcourir"
|
||||
|
||||
|
||||
@@ -635,7 +635,7 @@ msgstr "Percorso della libreria, escluso bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Sfoglia"
|
||||
|
||||
|
||||
@@ -670,7 +670,7 @@ msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "検索"
|
||||
|
||||
|
||||
@@ -630,7 +630,7 @@ msgstr "ბილიკი ბიბლიოთეკამდე. bin/linux64/
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "პოვნა"
|
||||
|
||||
|
||||
@@ -630,7 +630,7 @@ msgstr "Ścieżka do biblioteki, z wyjątkiem 'bin/linux64/vrclient.so'"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -683,7 +683,7 @@ msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Navegar"
|
||||
|
||||
|
||||
@@ -634,7 +634,7 @@ msgstr "Путь библиотеки, исключая bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -641,7 +641,7 @@ msgstr "Cesta ku knižnici (okrem bin/linux64/vrclient.so)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Prehľadať"
|
||||
|
||||
|
||||
@@ -634,7 +634,7 @@ msgstr "Yol: bin/linux64/vrclient.so hariç, kitaplık yolu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "Göz At"
|
||||
|
||||
|
||||
@@ -667,7 +667,7 @@ msgstr "兼容层路径,不包含 bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:285
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr "浏览"
|
||||
|
||||
|
||||
@@ -621,7 +621,7 @@ msgstr "函式庫路徑,不包含 bin/linux64/vrclient.so"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#, kde-format
|
||||
msgctxt "browse to choose the OpenVR compatility to use"
|
||||
msgctxt "browse to choose the OpenVR compatibility to use"
|
||||
msgid "Browse"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
|
||||
return std::filesystem::path();
|
||||
},
|
||||
[](const std::string & path) {
|
||||
// exlicit value, use it
|
||||
// explicit value, use it
|
||||
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
|
||||
return flatpak_root.value_or("") / path;
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@ wivrn::fd_base open_uinput_or_throw(int flags = O_WRONLY)
|
||||
int fd = ::open(p, flags | O_NONBLOCK);
|
||||
if (fd >= 0)
|
||||
return fd;
|
||||
if (errno != ENOENT) // exists but inaccessbile
|
||||
if (errno != ENOENT) // exists but inaccessible
|
||||
throw std::system_error(errno, std::generic_category(), "error while opening uinput");
|
||||
}
|
||||
throw std::runtime_error("no uinput device found");
|
||||
|
||||
@@ -269,7 +269,7 @@ async def get_git_package_sources(
|
||||
name = package["name"]
|
||||
source = package["source"]
|
||||
commit = urlparse(source).fragment
|
||||
assert commit, "The commit needs to be indicated in the fragement part"
|
||||
assert commit, "The commit needs to be indicated in the fragment part"
|
||||
canonical = canonical_url(source)
|
||||
repo_url = canonical.geturl()
|
||||
|
||||
|
||||
Reference in new issue
Block a user