ui: changed wording from "licence" to "license"
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user