diff --git a/src/qt_gui/about_dialog.ui b/src/qt_gui/about_dialog.ui index 19840e452..3842513a5 100644 --- a/src/qt_gui/about_dialog.ui +++ b/src/qt_gui/about_dialog.ui @@ -57,7 +57,7 @@ - shadPS4 + shadPS4 diff --git a/src/qt_gui/control_settings.cpp b/src/qt_gui/control_settings.cpp index 0b96eee26..820a490a0 100644 --- a/src/qt_gui/control_settings.cpp +++ b/src/qt_gui/control_settings.cpp @@ -60,21 +60,21 @@ ControlSettings::ControlSettings(std::shared_ptr game_info_get, Q connect(ui->RSlider, &QSlider::valueChanged, this, [this](int value) { QString RedValue = QString("%1").arg(value, 3, 10, QChar('0')); - QString RValue = "R: " + RedValue; + QString RValue = tr("R:") + " " + RedValue; ui->RLabel->setText(RValue); UpdateLightbarColor(); }); connect(ui->GSlider, &QSlider::valueChanged, this, [this](int value) { QString GreenValue = QString("%1").arg(value, 3, 10, QChar('0')); - QString GValue = "G: " + GreenValue; + QString GValue = tr("G:") + " " + GreenValue; ui->GLabel->setText(GValue); UpdateLightbarColor(); }); connect(ui->BSlider, &QSlider::valueChanged, this, [this](int value) { QString BlueValue = QString("%1").arg(value, 3, 10, QChar('0')); - QString BValue = "B: " + BlueValue; + QString BValue = tr("B:") + " " + BlueValue; ui->BLabel->setText(BValue); UpdateLightbarColor(); }); @@ -483,7 +483,7 @@ void ControlSettings::SetUIValuestoMappings() { std::string Rstring = lightbarstring.substr(0, comma_pos2); ui->RSlider->setValue(std::stoi(Rstring)); QString RedValue = QString("%1").arg(std::stoi(Rstring), 3, 10, QChar('0')); - QString RValue = "R: " + RedValue; + QString RValue = tr("R:") + " " + RedValue; ui->RLabel->setText(RValue); } @@ -494,14 +494,14 @@ void ControlSettings::SetUIValuestoMappings() { ui->GSlider->setValue(std::stoi(Gstring)); QString GreenValue = QString("%1").arg(std::stoi(Gstring), 3, 10, QChar('0')); - QString GValue = "G: " + GreenValue; + QString GValue = tr("G:") + " " + GreenValue; ui->GLabel->setText(GValue); std::string Bstring = GBstring.substr(comma_pos3 + 1); ui->BSlider->setValue(std::stoi(Bstring)); QString BlueValue = QString("%1").arg(std::stoi(Bstring), 3, 10, QChar('0')); - QString BValue = "B: " + BlueValue; + QString BValue = tr("B:") + " " + BlueValue; ui->BLabel->setText(BValue); } } diff --git a/src/qt_gui/control_settings.ui b/src/qt_gui/control_settings.ui index e88e239e9..41fb005c6 100644 --- a/src/qt_gui/control_settings.ui +++ b/src/qt_gui/control_settings.ui @@ -912,7 +912,7 @@ - R: 000 + R: 000 @@ -944,7 +944,7 @@ - G: 000 + G: 000 @@ -976,7 +976,7 @@ - B: 255 + B: 255 diff --git a/src/qt_gui/translations/en_US.ts b/src/qt_gui/translations/en_US.ts index f1ed5df27..8d719977a 100644 --- a/src/qt_gui/translations/en_US.ts +++ b/src/qt_gui/translations/en_US.ts @@ -9,10 +9,6 @@ About shadPS4 About shadPS4 - - shadPS4 - shadPS4 - shadPS4 is an experimental open-source emulator for the PlayStation 4. shadPS4 is an experimental open-source emulator for the PlayStation 4. @@ -526,15 +522,15 @@ - R: 000 + R: - G: 000 + G: - B: 255 + B: