fix: get rid of wrong tr() usage

This commit is contained in:
Gary Wang 2021-04-06 22:11:09 +08:00
parent 8d80f263b0
commit 8c05969c18

View File

@ -29,11 +29,11 @@ AboutDialog::AboutDialog(QWidget *parent)
QStringLiteral("<ul>"),
QStringLiteral("<li><b>%1</b>:<br/>%2</li>").arg(
QCoreApplication::translate("MainWindow", "Stay on top"),
this->tr("Make window stay on top of all other windows.")
tr("Make window stay on top of all other windows.")
),
QStringLiteral("<li><b>%1</b>:<br/>%2</li>").arg(
QCoreApplication::translate("MainWindow", "Protected mode"),
this->tr("Avoid close window accidentally. (eg. by double clicking the window)")
tr("Avoid close window accidentally. (eg. by double clicking the window)")
),
QStringLiteral("</ul>")
};