summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-08-22 16:44:36 +0200
committerGitHub <noreply@github.com>2023-08-22 16:44:36 +0200
commit4223cd0264bb32b8df89b90f1393774abd7376ca (patch)
tree8ea198e4f4fcfeafe5f9bbfd58ae69504f5c2e3d /Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp
parent131dceff4ae817bb8068113e9426d53a095d3ab3 (diff)
parente7c213316066f8bc53e661ab6f09e267df49280c (diff)
Merge pull request #12130 from JosJuice/translation-fixes
Fixes to translatable strings
Diffstat (limited to 'Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp b/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp
index bb0888195e..447175ed46 100644
--- a/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp
+++ b/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp
@@ -128,14 +128,16 @@ void USBDeviceAddToWhitelistDialog::AddUSBDeviceToWhitelist()
const std::string pid_string(StripWhitespace(device_pid_textbox->text().toStdString()));
if (!IsValidUSBIDString(vid_string))
{
- // i18n: Here, VID means Vendor ID (for a USB device).
- ModalMessageBox::critical(this, tr("USB Whitelist Error"), tr("The entered VID is invalid."));
+ ModalMessageBox::critical(this, tr("USB Whitelist Error"),
+ // i18n: Here, VID means Vendor ID (for a USB device).
+ tr("The entered VID is invalid."));
return;
}
if (!IsValidUSBIDString(pid_string))
{
- // i18n: Here, PID means Product ID (for a USB device).
- ModalMessageBox::critical(this, tr("USB Whitelist Error"), tr("The entered PID is invalid."));
+ ModalMessageBox::critical(this, tr("USB Whitelist Error"),
+ // i18n: Here, PID means Product ID (for a USB device).
+ tr("The entered PID is invalid."));
return;
}