Merge pull request #12130 from JosJuice/translation-fixes
Fixes to translatable strings
This commit is contained in:
commit
4223cd0264
|
@ -52,8 +52,8 @@ void AchievementSettingsWidget::CreateLayout()
|
|||
m_common_password_label = new QLabel(tr("Password"));
|
||||
m_common_password_input = new QLineEdit(QStringLiteral(""));
|
||||
m_common_password_input->setEchoMode(QLineEdit::Password);
|
||||
m_common_login_button = new QPushButton(tr("Login"));
|
||||
m_common_logout_button = new QPushButton(tr("Logout"));
|
||||
m_common_login_button = new QPushButton(tr("Log In"));
|
||||
m_common_logout_button = new QPushButton(tr("Log Out"));
|
||||
m_common_login_failed = new QLabel(tr("Login Failed"));
|
||||
m_common_login_failed->setStyleSheet(QStringLiteral("QLabel { color : red; }"));
|
||||
m_common_login_failed->setVisible(false);
|
||||
|
|
|
@ -192,7 +192,7 @@ void GraphicsModListWidget::OnModChanged(std::optional<std::string> absolute_pat
|
|||
|
||||
if (!absolute_path)
|
||||
{
|
||||
m_selected_mod_name->setText(QStringLiteral("No graphics mod selected"));
|
||||
m_selected_mod_name->setText(tr("No graphics mod selected"));
|
||||
m_selected_mod_name->setAlignment(Qt::AlignCenter);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -128,14 +128,16 @@ void USBDeviceAddToWhitelistDialog::AddUSBDeviceToWhitelist()
|
|||
const std::string pid_string(StripWhitespace(device_pid_textbox->text().toStdString()));
|
||||
if (!IsValidUSBIDString(vid_string))
|
||||
{
|
||||
ModalMessageBox::critical(this, tr("USB Whitelist Error"),
|
||||
// i18n: Here, VID means Vendor ID (for a USB device).
|
||||
ModalMessageBox::critical(this, tr("USB Whitelist Error"), tr("The entered VID is invalid."));
|
||||
tr("The entered VID is invalid."));
|
||||
return;
|
||||
}
|
||||
if (!IsValidUSBIDString(pid_string))
|
||||
{
|
||||
ModalMessageBox::critical(this, tr("USB Whitelist Error"),
|
||||
// i18n: Here, PID means Product ID (for a USB device).
|
||||
ModalMessageBox::critical(this, tr("USB Whitelist Error"), tr("The entered PID is invalid."));
|
||||
tr("The entered PID is invalid."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue