1
0
Fork 0

Add another human name for a state

Found this in the Citation Bravo, missing ‘taxi’
This commit is contained in:
James Turner 2018-07-02 23:11:12 +01:00
parent 12dac05d38
commit 68a2e80cb1

View file

@ -145,6 +145,8 @@ QString humanNameFromStateTag(const std::string& tag)
return QObject::tr("Automatic"); return QObject::tr("Automatic");
if (tag == "cruise") if (tag == "cruise")
return QObject::tr("Cruise"); return QObject::tr("Cruise");
if (tag == "taxi")
return QObject::tr("Ready to taxi");
qWarning() << Q_FUNC_INFO << "add for" << QString::fromStdString(tag); qWarning() << Q_FUNC_INFO << "add for" << QString::fromStdString(tag);
// no mapping, let's use the tag directly // no mapping, let's use the tag directly