ui: changed wording from "licence" to "license"
This commit is contained in:
@@ -138,7 +138,7 @@ void QtLicenseWindow::windowReady()
|
|||||||
|
|
||||||
addLogo();
|
addLogo();
|
||||||
|
|
||||||
updateTitle("Select Licence Option");
|
updateTitle("Select License Option");
|
||||||
|
|
||||||
updateNextButton("Activate");
|
updateNextButton("Activate");
|
||||||
setNextEnabled(false);
|
setNextEnabled(false);
|
||||||
@@ -161,7 +161,7 @@ void QtLicenseWindow::handleNext()
|
|||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
case LicenseChecker::LICENSE_EMPTY:
|
case LicenseChecker::LICENSE_EMPTY:
|
||||||
errorString = "No licence key was entered.";
|
errorString = "No license key was entered.";
|
||||||
break;
|
break;
|
||||||
case LicenseChecker::LICENSE_MOVED:
|
case LicenseChecker::LICENSE_MOVED:
|
||||||
case LicenseChecker::LICENSE_MALFORMED:
|
case LicenseChecker::LICENSE_MALFORMED:
|
||||||
|
|||||||
@@ -940,7 +940,7 @@ void QtMainWindow::setupHelpMenu()
|
|||||||
|
|
||||||
menu->addAction(tr("Select License..."), this, &QtMainWindow::enterLicense);
|
menu->addAction(tr("Select License..."), this, &QtMainWindow::enterLicense);
|
||||||
menu->addAction(tr("End User License Agreement"), this, &QtMainWindow::showEula);
|
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->addAction(tr("&About Sourcetrail"), this, &QtMainWindow::about);
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
|
|||||||
@@ -531,7 +531,7 @@ std::string License::getLicenseEncodedString(const std::string& applicationLocat
|
|||||||
|
|
||||||
if(fileContents.size() <= 0)
|
if(fileContents.size() <= 0)
|
||||||
{
|
{
|
||||||
std::cout << "Failed to read licence string" << std::endl;
|
std::cout << "Failed to read license string" << std::endl;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -557,7 +557,7 @@ bool License::loadFromEncodedString(const std::string& encodedLicense, const std
|
|||||||
{
|
{
|
||||||
if (encodedLicense.size() <= 0)
|
if (encodedLicense.size() <= 0)
|
||||||
{
|
{
|
||||||
std::cout << "No licence string given" << std::endl;
|
std::cout << "No license string given" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ std::string Generator::encodeLicense(
|
|||||||
|
|
||||||
if (licenseType.size() <= 0)
|
if (licenseType.size() <= 0)
|
||||||
{
|
{
|
||||||
std::cout << "No licence type given" << std::endl;
|
std::cout << "No license type given" << std::endl;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user