Qt: make cheat_type combobox translateable

This commit is contained in:
Megamouse 2020-04-06 20:22:33 +02:00
parent 96086d57fa
commit 2bd4485082
3 changed files with 26 additions and 4 deletions

View file

@ -45,7 +45,7 @@ vfs_dialog_tab::vfs_dialog_tab(vfs_settings_info settingsInfo, std::shared_ptr<g
QHBoxLayout* selectedConfigLayout = new QHBoxLayout;
m_selectedConfigLabel = new QLabel(current_dir.isEmpty() ? EmptyPath : current_dir);
selectedConfigLayout->addWidget(new QLabel(m_info.name + tr(" directory:")));
selectedConfigLayout->addWidget(new QLabel(tr("%0 directory:").arg(m_info.name)));
selectedConfigLayout->addWidget(m_selectedConfigLabel);
selectedConfigLayout->addStretch();
selectedConfigLayout->addWidget(addDir);