mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
frontend: Fix typos
This commit is contained in:
+1
-1
@@ -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('-', '_')));
|
||||
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user