Merge pull request #6324 from JosJuice/qt-ar-amp

Add missing &s to Qt AR strings
This commit is contained in:
Anthony 2018-01-24 12:20:54 -08:00 committed by GitHub
commit 55d843bef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,9 +41,9 @@ void ARCodeWidget::CreateWidgets()
{
m_warning = new CheatWarningWidget(m_game_id);
m_code_list = new QListWidget;
m_code_add = new QPushButton(tr("Add New Code..."));
m_code_edit = new QPushButton(tr("Edit Code..."));
m_code_remove = new QPushButton(tr("Remove Code"));
m_code_add = new QPushButton(tr("&Add New Code..."));
m_code_edit = new QPushButton(tr("&Edit Code..."));
m_code_remove = new QPushButton(tr("&Remove Code"));
auto* button_layout = new QHBoxLayout;
@ -90,7 +90,7 @@ void ARCodeWidget::OnSelectionChanged()
bool user_defined = m_ar_codes[m_code_list->row(selected)].user_defined;
m_code_remove->setEnabled(user_defined);
m_code_edit->setText(user_defined ? tr("Edit Code...") : tr("Clone and Edit Code..."));
m_code_edit->setText(user_defined ? tr("&Edit Code...") : tr("Clone and &Edit Code..."));
}
void ARCodeWidget::UpdateList()