UI: Fix "Add [transition]" not being translated
This is a temporary fix as to not to delay the release, and will need to be replaced with AddValue in future versions.
This commit is contained in:
parent
4e92ffe135
commit
1a14304784
@ -73,8 +73,11 @@ void OBSBasic::InitDefaultTransitions()
|
|||||||
|
|
||||||
obs_source_release(tr);
|
obs_source_release(tr);
|
||||||
} else {
|
} else {
|
||||||
|
QString addString = QTStr("Add") +
|
||||||
|
QStringLiteral(": ") +
|
||||||
|
QT_UTF8(name);
|
||||||
ui->transitions->addItem(
|
ui->transitions->addItem(
|
||||||
QTStr("Add ") + QT_UTF8(name),
|
addString,
|
||||||
QVariant::fromValue(QString(QT_UTF8(id))));
|
QVariant::fromValue(QString(QT_UTF8(id))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user