Merge pull request #8214 from opentx/3djc/fix-8213

Make text translatable
This commit is contained in:
Bertrand Songis
2021-01-15 14:27:06 +01:00
committed by GitHub
+1 -1
View File
@@ -77,7 +77,7 @@ int CurveReference::getDefaultValue(const CurveRefType type, const bool isGVar)
// static
QString CurveReference::typeToString(const CurveRefType type)
{
const QStringList strl = { "Diff", "Expo" , "Func", "Curve" };
const QStringList strl = { tr("Diff"), tr("Expo") , tr("Func"), tr("Curve") };
int idx = (int)type;
if (idx < 0 || idx >= strl.count())