mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 00:35:41 -04:00
FullscreenUI: Add missing translation strings
This commit is contained in:
@ -54,6 +54,7 @@ GeneralSettingsWidget::GeneralSettingsWidget(SettingsWindow* dialog, QWidget* pa
|
||||
Settings::DEFAULT_SAVE_STATE_BACKUPS);
|
||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.compressSaveStates, "Main", "CompressSaveStates",
|
||||
Settings::DEFAULT_SAVE_STATE_COMPRESSION);
|
||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.enableDiscordPresence, "Main", "EnableDiscordPresence", false);
|
||||
connect(m_ui.renderToSeparateWindow, &QCheckBox::stateChanged, this,
|
||||
&GeneralSettingsWidget::onRenderToSeparateWindowChanged);
|
||||
|
||||
@ -98,19 +99,9 @@ GeneralSettingsWidget::GeneralSettingsWidget(SettingsWindow* dialog, QWidget* pa
|
||||
"leave this option enabled except when testing enhancements with incompatible games."));
|
||||
dialog->registerWidgetHelp(m_ui.autoLoadCheats, tr("Automatically Load Cheats"), tr("Unchecked"),
|
||||
tr("Automatically loads and applies cheats on game start."));
|
||||
dialog->registerWidgetHelp(m_ui.enableDiscordPresence, tr("Enable Discord Presence"), tr("Unchecked"),
|
||||
tr("Shows the game you are currently playing as part of your profile in Discord."));
|
||||
|
||||
#ifdef ENABLE_DISCORD_PRESENCE
|
||||
{
|
||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.enableDiscordPresence, "Main", "EnableDiscordPresence",
|
||||
false);
|
||||
dialog->registerWidgetHelp(m_ui.enableDiscordPresence, tr("Enable Discord Presence"), tr("Unchecked"),
|
||||
tr("Shows the game you are currently playing as part of your profile in Discord."));
|
||||
}
|
||||
#else
|
||||
{
|
||||
m_ui.enableDiscordPresence->setEnabled(false);
|
||||
}
|
||||
#endif
|
||||
if (!m_dialog->isPerGameSettings() && AutoUpdaterDialog::isSupported())
|
||||
{
|
||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.autoUpdateEnabled, "AutoUpdater", "CheckAtStartup", true);
|
||||
|
Reference in New Issue
Block a user