From 1a1430478479eaf6c93ccb1826da74d69541c4ec Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 27 Sep 2020 05:30:55 -0700 Subject: [PATCH] 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. --- UI/window-basic-main-transitions.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UI/window-basic-main-transitions.cpp b/UI/window-basic-main-transitions.cpp index dd03a9298..597691661 100644 --- a/UI/window-basic-main-transitions.cpp +++ b/UI/window-basic-main-transitions.cpp @@ -73,8 +73,11 @@ void OBSBasic::InitDefaultTransitions() obs_source_release(tr); } else { + QString addString = QTStr("Add") + + QStringLiteral(": ") + + QT_UTF8(name); ui->transitions->addItem( - QTStr("Add ") + QT_UTF8(name), + addString, QVariant::fromValue(QString(QT_UTF8(id)))); } }