From 22016f309c5ad250c6a5b8ad4545ad7fe2a034e4 Mon Sep 17 00:00:00 2001 From: Anton Kesy Date: Sat, 10 Jan 2026 12:52:49 +0100 Subject: [PATCH] frontend: Fix typos --- frontend/OBSApp.cpp | 2 +- frontend/data/themes/System.obt | 2 +- frontend/data/themes/Yami.obt | 2 +- frontend/obs-main.cpp | 2 +- frontend/utility/crypto-helpers-mbedtls.cpp | 2 +- frontend/widgets/OBSBasic.cpp | 2 +- frontend/widgets/OBSBasicControls.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/OBSApp.cpp b/frontend/OBSApp.cpp index 3917458d2..668b44300 100644 --- a/frontend/OBSApp.cpp +++ b/frontend/OBSApp.cpp @@ -746,7 +746,7 @@ bool OBSApp::InitLocale() blog(LOG_INFO, "Using preferred locale '%s'", locale_.c_str()); locale = locale_; - // set application default locale to the new choosen one + // set application default locale to the new chosen one if (!locale.empty()) QLocale::setDefault(QLocale(QString::fromStdString(locale).replace('-', '_'))); diff --git a/frontend/data/themes/System.obt b/frontend/data/themes/System.obt index ed574a02b..6f6bf86cb 100644 --- a/frontend/data/themes/System.obt +++ b/frontend/data/themes/System.obt @@ -1,4 +1,4 @@ -/* Intentionnally left blank */ +/* Intentionally left blank */ /* Themes are created using Qt CSS, you can visit */ /* http://doc.qt.io/qt-5/stylesheet-reference.html and */ /* http://doc.qt.io/qt-5/stylesheet-examples.html for examples. */ diff --git a/frontend/data/themes/Yami.obt b/frontend/data/themes/Yami.obt index 356ebab4f..e3bc0bc82 100644 --- a/frontend/data/themes/Yami.obt +++ b/frontend/data/themes/Yami.obt @@ -108,7 +108,7 @@ --highlight_color: var(--primary_lighter); /* TODO: Better Accessibility focus state */ - /* TODO: Move Accessibilty Colors to Theme config system */ + /* TODO: Move Accessibility Colors to Theme config system */ --border_highlight: "transparent"; /* OS Fixes */ diff --git a/frontend/obs-main.cpp b/frontend/obs-main.cpp index a5123fdf4..0b06d06ae 100644 --- a/frontend/obs-main.cpp +++ b/frontend/obs-main.cpp @@ -520,7 +520,7 @@ static int run_program(fstream &logFile, int argc, char *argv[]) #endif #if !defined(_WIN32) && !defined(__APPLE__) - /* NOTE: Users blindly set this, but this theme is incompatble with Qt6 and + /* NOTE: Users blindly set this, but this theme is incompatible with Qt6 and * crashes loading saved geometry. Just turn off this theme and let users complain OBS * looks ugly instead of crashing. */ const char *platform_theme = getenv("QT_QPA_PLATFORMTHEME"); diff --git a/frontend/utility/crypto-helpers-mbedtls.cpp b/frontend/utility/crypto-helpers-mbedtls.cpp index caaef80dc..fbdad0fb9 100644 --- a/frontend/utility/crypto-helpers-mbedtls.cpp +++ b/frontend/utility/crypto-helpers-mbedtls.cpp @@ -21,7 +21,7 @@ bool VerifySignature(const uint8_t *pubKey, const size_t pubKeyLen, const uint8_ if ((ret = mbedtls_md(mbedtls_md_info_from_type(MBEDTLS_MD_SHA512), buf, len, hash)) != 0) { goto exit; } - // Verify signautre + // Verify signature if ((ret = mbedtls_pk_verify(&pk, MBEDTLS_MD_SHA512, hash, 64, sig, sigLen)) != 0) { goto exit; } diff --git a/frontend/widgets/OBSBasic.cpp b/frontend/widgets/OBSBasic.cpp index f28388c79..f08527cbc 100644 --- a/frontend/widgets/OBSBasic.cpp +++ b/frontend/widgets/OBSBasic.cpp @@ -1029,7 +1029,7 @@ void OBSBasic::OBSInit() /* Modules can access frontend information (i.e. profile and scene collection data) during their initialization, and some modules (e.g. obs-websockets) are known to use the filesystem location of the current profile in their own code. - Thus the profile and scene collection discovery needs to happen before any access to that information (but after intializing global settings) to ensure legacy code gets valid path information. + Thus the profile and scene collection discovery needs to happen before any access to that information (but after initializing global settings) to ensure legacy code gets valid path information. */ RefreshSceneCollections(true); diff --git a/frontend/widgets/OBSBasicControls.cpp b/frontend/widgets/OBSBasicControls.cpp index c3638c0a8..5473fcdae 100644 --- a/frontend/widgets/OBSBasicControls.cpp +++ b/frontend/widgets/OBSBasicControls.cpp @@ -57,7 +57,7 @@ OBSBasicControls::OBSBasicControls(OBSBasic *main) : QFrame(nullptr), ui(new Ui: forceStopStreamAction, &QAction::triggered, this, [this]() { emit this->ForceStopStreamMenuActionClicked(); }, Qt::DirectConnection); - /* Set up default visibilty */ + /* Set up default visibility */ ui->broadcastButton->setVisible(false); ui->pauseRecordButton->setVisible(false); ui->replayBufferButton->setVisible(false);