ui: changed wording from "licence" to "license"

This commit is contained in:
mlangkabel
2017-12-11 17:05:07 +01:00
parent 351fa35ec3
commit 22b4d2a2b9
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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:
+1 -1
View File
@@ -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();
+2 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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 "";
}