UI: Make sure all message box buttons are translated

Instead of QMessageBox::question and QMessageBox::information, use the
OBSMessageBox class, which translates all buttons.
This commit is contained in:
jp9000
2017-05-13 14:06:32 -07:00
parent bd34dce8b6
commit 522f5cdf3b
12 changed files with 53 additions and 53 deletions

View File

@@ -3006,7 +3006,7 @@ bool OBSBasicSettings::QueryChanges()
{
QMessageBox::StandardButton button;
button = QMessageBox::question(this,
button = OBSMessageBox::question(this,
QTStr("Basic.Settings.ConfirmTitle"),
QTStr("Basic.Settings.Confirm"),
QMessageBox::Yes | QMessageBox::No |
@@ -3871,10 +3871,9 @@ void OBSBasicSettings::SimpleRecordingQualityLosslessWarning(int idx)
QString("\n\n") +
SIMPLE_OUTPUT_WARNING("Lossless.Msg");
button = QMessageBox::question(this,
button = OBSMessageBox::question(this,
SIMPLE_OUTPUT_WARNING("Lossless.Title"),
warningString,
QMessageBox::Yes | QMessageBox::No);
warningString);
if (button == QMessageBox::No) {
QMetaObject::invokeMethod(ui->simpleOutRecQuality,