diff --git a/src/lib_gui/qt/window/QtLicenseWindow.cpp b/src/lib_gui/qt/window/QtLicenseWindow.cpp index 7d0e6ceb..fbfa2c50 100644 --- a/src/lib_gui/qt/window/QtLicenseWindow.cpp +++ b/src/lib_gui/qt/window/QtLicenseWindow.cpp @@ -138,7 +138,7 @@ void QtLicenseWindow::windowReady() addLogo(); - updateTitle("Select Licence Option"); + updateTitle("Select License Option"); updateNextButton("Activate"); setNextEnabled(false); @@ -161,7 +161,7 @@ void QtLicenseWindow::handleNext() switch (state) { case LicenseChecker::LICENSE_EMPTY: - errorString = "No licence key was entered."; + errorString = "No license key was entered."; break; case LicenseChecker::LICENSE_MOVED: case LicenseChecker::LICENSE_MALFORMED: diff --git a/src/lib_gui/qt/window/QtMainWindow.cpp b/src/lib_gui/qt/window/QtMainWindow.cpp index 66fca4c5..7cacfad5 100644 --- a/src/lib_gui/qt/window/QtMainWindow.cpp +++ b/src/lib_gui/qt/window/QtMainWindow.cpp @@ -940,7 +940,7 @@ void QtMainWindow::setupHelpMenu() menu->addAction(tr("Select License..."), this, &QtMainWindow::enterLicense); menu->addAction(tr("End User License Agreement"), this, &QtMainWindow::showEula); - menu->addAction(tr("3rd Party Licences"), this, &QtMainWindow::showLicenses); + menu->addAction(tr("3rd Party Licenses"), this, &QtMainWindow::showLicenses); menu->addAction(tr("&About Sourcetrail"), this, &QtMainWindow::about); menu->addSeparator(); diff --git a/src/lib_license/License.cpp b/src/lib_license/License.cpp index 4db86828..eacbfb42 100644 --- a/src/lib_license/License.cpp +++ b/src/lib_license/License.cpp @@ -531,7 +531,7 @@ std::string License::getLicenseEncodedString(const std::string& applicationLocat if(fileContents.size() <= 0) { - std::cout << "Failed to read licence string" << std::endl; + std::cout << "Failed to read license string" << std::endl; return ""; } @@ -557,7 +557,7 @@ bool License::loadFromEncodedString(const std::string& encodedLicense, const std { if (encodedLicense.size() <= 0) { - std::cout << "No licence string given" << std::endl; + std::cout << "No license string given" << std::endl; return false; } diff --git a/src/license_generator/Generator.cpp b/src/license_generator/Generator.cpp index 04a6fe2e..612c7eb0 100644 --- a/src/license_generator/Generator.cpp +++ b/src/license_generator/Generator.cpp @@ -84,7 +84,7 @@ std::string Generator::encodeLicense( if (licenseType.size() <= 0) { - std::cout << "No licence type given" << std::endl; + std::cout << "No license type given" << std::endl; return ""; }