From 8dfbc45df79b83b7eda794e33c1690612a6c4340 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 25 Nov 2023 22:25:22 -0500 Subject: [PATCH] SkylanderModifyDialog: Mark label string as translatable This is a user-facing string. Also fixes a nearby typo in an error message string. --- .../Core/DolphinQt/SkylanderPortal/SkylanderModifyDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/SkylanderPortal/SkylanderModifyDialog.cpp b/Source/Core/DolphinQt/SkylanderPortal/SkylanderModifyDialog.cpp index f450ec50ce..8e2b4d6aac 100644 --- a/Source/Core/DolphinQt/SkylanderPortal/SkylanderModifyDialog.cpp +++ b/Source/Core/DolphinQt/SkylanderPortal/SkylanderModifyDialog.cpp @@ -57,7 +57,7 @@ SkylanderModifyDialog::SkylanderModifyDialog(QWidget* parent, u8 slot) } } - auto* label_name = new QLabel(QString::fromStdString("Modifying Skylander %1").arg(name)); + auto* label_name = new QLabel(tr("Modifying Skylander: %1").arg(name)); hbox_name->addWidget(label_name); @@ -86,7 +86,7 @@ SkylanderModifyDialog::SkylanderModifyDialog(QWidget* parent, u8 slot) else if (m_figure_data.normalized_type == IOS::HLE::USB::Type::Unknown) { should_show = false; - QMessageBox::warning(this, tr("Unknow Skylander type!"), + QMessageBox::warning(this, tr("Unknown Skylander type!"), tr("The type of this Skylander is unknown!"), QMessageBox::Ok); } else