Skip to content

Commit 1ef5432

Browse files
SettingsWindow: Make 'Recommended Value' an optional parameter
1 parent 3107c41 commit 1ef5432

18 files changed

+504
-462
lines changed

pcsx2-qt/Settings/AchievementSettingsWidget.cpp

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,32 @@ AchievementSettingsWidget::AchievementSettingsWidget(SettingsWindow* settings_di
4848
SettingWidgetBinder::BindWidgetToFileSetting(sif, m_ui.unlockSoundPath, m_ui.unlockSoundBrowse, m_ui.unlockSoundOpen, m_ui.unlockSoundReset, "Achievements", "UnlockSoundName", Path::Combine(EmuFolders::Resources, EmuConfig.Achievements.DEFAULT_UNLOCK_SOUND_NAME), AUDIO_FILE_FILTER, true, false);
4949
SettingWidgetBinder::BindWidgetToFileSetting(sif, m_ui.lbSoundPath, m_ui.lbSoundBrowse, m_ui.lbSoundOpen, m_ui.lbSoundReset, "Achievements", "LBSubmitSoundName", Path::Combine(EmuFolders::Resources, EmuConfig.Achievements.DEFAULT_LBSUBMIT_SOUND_NAME), AUDIO_FILE_FILTER, true, false);
5050

51-
dialog()->registerWidgetHelp(m_ui.enable, tr("Enable Achievements"), tr("Unchecked"), tr("When enabled and logged in, PCSX2 will scan for achievements on startup."));
52-
dialog()->registerWidgetHelp(m_ui.hardcoreMode, tr("Enable Hardcore Mode"), tr("Unchecked"), tr("\"Challenge\" mode for achievements, including leaderboard tracking. Disables save state, cheats, and slowdown functions."));
53-
dialog()->registerWidgetHelp(m_ui.achievementNotifications, tr("Show Achievement Notifications"), tr("Checked"), tr("Displays popup messages on events such as achievement unlocks and game completion."));
54-
dialog()->registerWidgetHelp(m_ui.leaderboardNotifications, tr("Show Leaderboard Notifications"), tr("Checked"), tr("Displays popup messages when starting, submitting, or failing a leaderboard challenge."));
55-
dialog()->registerWidgetHelp(m_ui.soundEffects, tr("Enable Sound Effects"), tr("Checked"), tr("Plays sound effects for events such as achievement unlocks and leaderboard submissions."));
56-
dialog()->registerWidgetHelp(m_ui.soundEffectsBox, tr("Custom Sound Effect"), tr("Any"), tr("Customize the sound effect that are played whenever you received a notification, earned an achievement or submitted an entry to the leaderboard."));
57-
dialog()->registerWidgetHelp(m_ui.overlays, tr("Enable In-Game Overlays"), tr("Checked"), tr("Shows icons in the screen when a challenge/primed achievement is active."));
58-
dialog()->registerWidgetHelp(m_ui.leaderboardOverlays, tr("Enable In-Game Leaderboard Overlays"), tr("Checked"), tr("Shows icons in the screen when leaderboard tracking is active."));
59-
dialog()->registerWidgetHelp(m_ui.overlayPosition, tr("Overlay Position"), tr("Bottom Right"), tr("Determines where achievement/leaderboard overlays are positioned on the screen."));
60-
dialog()->registerWidgetHelp(m_ui.notificationPosition, tr("Notification Position"), tr("Top Left"), tr("Determines where achievement/leaderboard notification popups are positioned on the screen."));
61-
dialog()->registerWidgetHelp(m_ui.encoreMode, tr("Enable Encore Mode"), tr("Unchecked"), tr("When enabled, each session will behave as if no achievements have been unlocked."));
62-
dialog()->registerWidgetHelp(m_ui.spectatorMode, tr("Enable Spectator Mode"), tr("Unchecked"), tr("When enabled, PCSX2 will assume all achievements are locked and not send any unlock notifications to the server."));
63-
dialog()->registerWidgetHelp(m_ui.unofficialAchievements, tr("Test Unofficial Achievements"), tr("Unchecked"), tr("When enabled, PCSX2 will list achievements from unofficial sets. Please note that these achievements are not tracked by RetroAchievements, so they unlock every time."));
51+
dialog()->registerWidgetHelp(m_ui.enable, tr("Enable Achievements"),
52+
tr("When enabled and logged in, PCSX2 will scan for achievements on startup."), tr("Unchecked"));
53+
dialog()->registerWidgetHelp(m_ui.hardcoreMode, tr("Enable Hardcore Mode"),
54+
tr("\"Challenge\" mode for achievements, including leaderboard tracking. Disables save state, cheats, and slowdown functions."), tr("Unchecked"));
55+
dialog()->registerWidgetHelp(m_ui.achievementNotifications, tr("Show Achievement Notifications"),
56+
tr("Displays popup messages on events such as achievement unlocks and game completion."), tr("Checked"));
57+
dialog()->registerWidgetHelp(m_ui.leaderboardNotifications, tr("Show Leaderboard Notifications"),
58+
tr("Displays popup messages when starting, submitting, or failing a leaderboard challenge."), tr("Checked"));
59+
dialog()->registerWidgetHelp(m_ui.soundEffects, tr("Enable Sound Effects"),
60+
tr("Plays sound effects for events such as achievement unlocks and leaderboard submissions."), tr("Checked"));
61+
dialog()->registerWidgetHelp(m_ui.soundEffectsBox, tr("Custom Sound Effect"),
62+
tr("Customize the sound effect that are played whenever you received a notification, earned an achievement or submitted an entry to the leaderboard."), tr("Any"));
63+
dialog()->registerWidgetHelp(m_ui.overlays, tr("Enable In-Game Overlays"),
64+
tr("Shows icons in the screen when a challenge/primed achievement is active."), tr("Checked"));
65+
dialog()->registerWidgetHelp(m_ui.leaderboardOverlays, tr("Enable In-Game Leaderboard Overlays"),
66+
tr("Shows icons in the screen when leaderboard tracking is active."), tr("Checked"));
67+
dialog()->registerWidgetHelp(m_ui.overlayPosition, tr("Overlay Position"),
68+
tr("Determines where achievement/leaderboard overlays are positioned on the screen."), tr("Bottom Right"));
69+
dialog()->registerWidgetHelp(m_ui.notificationPosition, tr("Notification Position"),
70+
tr("Determines where achievement/leaderboard notification popups are positioned on the screen."), tr("Top Left"));
71+
dialog()->registerWidgetHelp(m_ui.encoreMode, tr("Enable Encore Mode"),
72+
tr("When enabled, each session will behave as if no achievements have been unlocked."), tr("Unchecked"));
73+
dialog()->registerWidgetHelp(m_ui.spectatorMode, tr("Enable Spectator Mode"),
74+
tr("When enabled, PCSX2 will assume all achievements are locked and not send any unlock notifications to the server."), tr("Unchecked"));
75+
dialog()->registerWidgetHelp(m_ui.unofficialAchievements, tr("Test Unofficial Achievements"),
76+
tr("When enabled, PCSX2 will list achievements from unofficial sets. These achievements are not tracked by RetroAchievements, so they unlock every time."), tr("Unchecked"));
6477

6578
connect(m_ui.enable, &QCheckBox::checkStateChanged, this, &AchievementSettingsWidget::updateEnableState);
6679
connect(m_ui.hardcoreMode, &QCheckBox::checkStateChanged, this, &AchievementSettingsWidget::updateEnableState);

0 commit comments

Comments
 (0)