mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Qt: Change some labels
This commit is contained in:
parent
1e69de1205
commit
b341113ad8
3 changed files with 7 additions and 5 deletions
|
@ -897,8 +897,9 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
||||||
boot->setFont(f);
|
boot->setFont(f);
|
||||||
}
|
}
|
||||||
myMenu.addAction(boot);
|
myMenu.addAction(boot);
|
||||||
QAction* configure = myMenu.addAction(tr("&Configure"));
|
myMenu.addSeparator();
|
||||||
QAction* pad_configure = myMenu.addAction(tr("&Configure pads"));
|
QAction* configure = myMenu.addAction(gameinfo->hasCustomConfig ? tr("&Change Custom Configuration") : tr("&Create Custom Configuration"));
|
||||||
|
QAction* pad_configure = myMenu.addAction(gameinfo->hasCustomPadConfig ? tr("&Change Custom Gamepad Configuration") : tr("&Create Custom Gamepad Configuration"));
|
||||||
QAction* createPPUCache = myMenu.addAction(tr("&Create PPU Cache"));
|
QAction* createPPUCache = myMenu.addAction(tr("&Create PPU Cache"));
|
||||||
myMenu.addSeparator();
|
myMenu.addSeparator();
|
||||||
QAction* renameTitle = myMenu.addAction(tr("&Rename In Game List"));
|
QAction* renameTitle = myMenu.addAction(tr("&Rename In Game List"));
|
||||||
|
@ -921,7 +922,7 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
||||||
}
|
}
|
||||||
if (gameinfo->hasCustomPadConfig)
|
if (gameinfo->hasCustomPadConfig)
|
||||||
{
|
{
|
||||||
QAction* remove_custom_pad_config = remove_menu->addAction(tr("&Remove Custom Pad Configuration"));
|
QAction* remove_custom_pad_config = remove_menu->addAction(tr("&Remove Custom Gamepad Configuration"));
|
||||||
connect(remove_custom_pad_config, &QAction::triggered, [=]()
|
connect(remove_custom_pad_config, &QAction::triggered, [=]()
|
||||||
{
|
{
|
||||||
if (RemoveCustomPadConfiguration(currGame.serial, gameinfo, true))
|
if (RemoveCustomPadConfiguration(currGame.serial, gameinfo, true))
|
||||||
|
|
|
@ -60,12 +60,12 @@ pad_settings_dialog::pad_settings_dialog(QWidget *parent, const GameInfo *game)
|
||||||
{
|
{
|
||||||
m_title_id = game->serial;
|
m_title_id = game->serial;
|
||||||
g_cfg_input.load(game->serial);
|
g_cfg_input.load(game->serial);
|
||||||
setWindowTitle(tr("Gamepads Settings: [%0] %1").arg(qstr(game->serial)).arg(qstr(game->name).simplified()));
|
setWindowTitle(tr("Gamepad Settings: [%0] %1").arg(qstr(game->serial)).arg(qstr(game->name).simplified()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_cfg_input.load();
|
g_cfg_input.load();
|
||||||
setWindowTitle(tr("Gamepads Settings"));
|
setWindowTitle(tr("Gamepad Settings"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load tooltips
|
// Load tooltips
|
||||||
|
|
|
@ -52,6 +52,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
||||||
if (game)
|
if (game)
|
||||||
{
|
{
|
||||||
ui->tab_widget_settings->removeTab(8);
|
ui->tab_widget_settings->removeTab(8);
|
||||||
|
ui->buttonBox->button(QDialogButtonBox::StandardButton::Save)->setText(tr("Save custom configuration"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add description labels
|
// Add description labels
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue