diff --git a/README.md b/README.md index a15f4aa..157f651 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ plugins! * Wine Support: Handles launching Wine for you. * Dalamud Support: You can use Dalamud plugins out of the box! -* Multiple Profiles: Customizable per-profile settings for users that need multiple game installs. +* Multiple Profiles: Customizable per-profile settings for users that need multiple game installations. * Encrypted Arguments: Game arguments are encrypted out of the box, and is as secure as other launchers. * Secure Password Storage: Login information is encrypted using your system keychain and is never stored plain-text. * Game Patching Support: Can patch the game without the need to boot into the official launcher. diff --git a/launcher/src/charactersync.cpp b/launcher/src/charactersync.cpp index c9a1e35..847bb2b 100644 --- a/launcher/src/charactersync.cpp +++ b/launcher/src/charactersync.cpp @@ -45,7 +45,7 @@ QCoro::Task CharacterSync::sync(const bool initialSync) Q_EMIT launcher.stageChanged(i18n("Synchronizing character data...")); - // On game boot, check if we need the lock. Otherwise break it when we clean up. + // On game boot, check if we need the lock. Otherwise, break it when we clean up. if (initialSync) { if (const auto hostname = co_await syncManager->checkLock(); hostname.has_value()) { // Don't warn about our own failures diff --git a/launcher/src/launchercore.cpp b/launcher/src/launchercore.cpp index b9fe382..8474fd3 100755 --- a/launcher/src/launchercore.cpp +++ b/launcher/src/launchercore.cpp @@ -94,7 +94,7 @@ void LauncherCore::login(Profile *profile, const QString &username, const QStrin const auto loginInformation = new LoginInformation(this); loginInformation->profile = profile; - // Benchmark never has to login, of course + // Benchmark never has to log in, of course if (!profile->config()->isBenchmark()) { loginInformation->username = username; loginInformation->password = password; diff --git a/launcher/src/patcher.cpp b/launcher/src/patcher.cpp index fa43e48..b3a415e 100644 --- a/launcher/src/patcher.cpp +++ b/launcher/src/patcher.cpp @@ -65,7 +65,7 @@ QCoro::Task Patcher::patch(const physis_PatchList &patchList) co_return false; } - // If we do, we want to make sure we have enough space for all of the repositories we download + // If we do, we want to make sure we have enough space for all the repositories we download QMap repositorySizes; for (int i = 0; i < patchList.num_entries; i++) { // Record the largest byte size for the repository @@ -103,7 +103,7 @@ QCoro::Task Patcher::patch(const physis_PatchList &patchList) const int ourIndex = patchIndex++; const QString filename = QStringLiteral("%1.patch").arg(QLatin1String(patch.version)); - const QString tempFilename = QStringLiteral("%1.patch~").arg(QLatin1String(patch.version)); // tilde afterwards to hide it easily + const QString tempFilename = QStringLiteral("%1.patch~").arg(QLatin1String(patch.version)); // tilde afterward to hide it easily const QString repository = Utility::repositoryFromPatchUrl(QLatin1String(patch.url)); const QDir repositoryDir = m_patchesDir.absoluteFilePath(repository); @@ -153,7 +153,7 @@ QCoro::Task Patcher::patch(const physis_PatchList &patchList) }); connect(patchReply, &QNetworkReply::readyRead, this, [this, tempPatchPath, patchReply] { - // TODO: don't open the file each time we recieve data + // TODO: don't open the file each time we receive data QFile file(tempPatchPath); file.open(QIODevice::WriteOnly | QIODevice::Append); file.write(patchReply->readAll()); diff --git a/launcher/src/squareenixlogin.cpp b/launcher/src/squareenixlogin.cpp index 093a02e..e2d5d12 100644 --- a/launcher/src/squareenixlogin.cpp +++ b/launcher/src/squareenixlogin.cpp @@ -41,7 +41,7 @@ QCoro::Task> SquareEnixLogin::login(LoginInformation *i m_info = info; // First, let's check for boot updates. While not technically required for us, it's needed for later hash checking. - // It's also a really good idea anyway, in case the official launcher is needed. + // It's also a good idea anyway, in case the official launcher is needed. while (m_lastRunHasPatched) { // There seems to be a limitation in their boot patching system. // Their server can only give one patch a time, so the boot process must keep trying to patch until @@ -66,7 +66,7 @@ QCoro::Task> SquareEnixLogin::login(LoginInformation *i co_return std::nullopt; } - // Finally, double check the *world* status to make sure we don't try to log in during maintenance. + // Finally, double-check the *world* status to make sure we don't try to log in during maintenance. // Doing it late here ensures we handle cases where the patch is available during maintenance (like during expansion launches) // but stops before trying to log in when you're not supposed to. if (!co_await checkGateStatus()) { @@ -107,7 +107,7 @@ QCoro::Task SquareEnixLogin::checkGateStatus() const const QJsonDocument document = QJsonDocument::fromJson(reply->readAll()); if (document.isEmpty()) { - Q_EMIT m_launcher.loginError(i18n("An error occured when checking login gate status:\n\n%1", reply->errorString())); + Q_EMIT m_launcher.loginError(i18n("An error occurred when checking login gate status:\n\n%1", reply->errorString())); co_return false; } diff --git a/launcher/ui/Pages/StatusPage.qml b/launcher/ui/Pages/StatusPage.qml index c4c4bb4..c355202 100644 --- a/launcher/ui/Pages/StatusPage.qml +++ b/launcher/ui/Pages/StatusPage.qml @@ -87,7 +87,7 @@ Kirigami.Page { } function onDalamudError(message: string): void { - dalamudErrorDialog.subtitle = i18n("An error occured while updating Dalamud:\n\n%1.\n\nWould you like to disable Dalamud?", message); + dalamudErrorDialog.subtitle = i18n("An error occurred while updating Dalamud:\n\n%1.\n\nWould you like to disable Dalamud?", message); dalamudErrorDialog.open(); } } diff --git a/launcher/ui/Settings/ProfileSettings.qml b/launcher/ui/Settings/ProfileSettings.qml index 2bf8f45..eceb537 100644 --- a/launcher/ui/Settings/ProfileSettings.qml +++ b/launcher/ui/Settings/ProfileSettings.qml @@ -288,7 +288,7 @@ FormCard.FormCardPage { visible: LauncherCore.config.showDevTools text: i18n("Injection Method") - description: "It shouldn't be nessecary to change this setting, unless you're running into issues injecting Dalamud." + description: "It shouldn't be necessary to change this setting, unless you're running into issues injecting Dalamud." model: ["Entrypoint", "DLL Injection"] currentIndex: page.profile.config.dalamudInjectMethod onCurrentIndexChanged: page.profile.config.dalamudInjectMethod = currentIndex diff --git a/launcher/ui/Setup/BenchmarkInstallProgress.qml b/launcher/ui/Setup/BenchmarkInstallProgress.qml index 84ad903..20d0b81 100644 --- a/launcher/ui/Setup/BenchmarkInstallProgress.qml +++ b/launcher/ui/Setup/BenchmarkInstallProgress.qml @@ -39,7 +39,7 @@ Kirigami.Page { target: page.benchmarkInstaller function onInstallFinished(): void { - // Prevents it from failing to push the page if the install happens too quickly. + // Prevents it from failing to push the page if the installation happens too quickly. Qt.callLater(() => applicationWindow().checkSetup()); } diff --git a/launcher/ui/Setup/InstallProgress.qml b/launcher/ui/Setup/InstallProgress.qml index 173cd29..917981f 100644 --- a/launcher/ui/Setup/InstallProgress.qml +++ b/launcher/ui/Setup/InstallProgress.qml @@ -39,7 +39,7 @@ Kirigami.Page { target: page.gameInstaller function onInstallFinished(): void { - // Prevents it from failing to push the page if the install happens too quickly. + // Prevents it from failing to push the page if the installation happens too quickly. Qt.callLater(() => applicationWindow().checkSetup()); }