Merge pull request #1554 from Max833/master

Qt: Fix incorrect widget help and translation
This commit is contained in:
Connor McLaughlin 2021-02-02 03:54:33 +10:00 committed by GitHub
commit a50052bd92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 360 additions and 260 deletions

View file

@ -199,22 +199,22 @@ AdvancedSettingsWidget::AdvancedSettingsWidget(QtHostInterface* host_interface,
"IncreaseTimerResolution", true); "IncreaseTimerResolution", true);
dialog->registerWidgetHelp( dialog->registerWidgetHelp(
m_ui.logLevel, tr("Log Level"), "Information", m_ui.logLevel, tr("Log Level"), tr("Information"),
tr("Sets the verbosity of messages logged. Higher levels will log more messages.")); tr("Sets the verbosity of messages logged. Higher levels will log more messages."));
dialog->registerWidgetHelp( dialog->registerWidgetHelp(
m_ui.logToConsole, tr("Log To System Console"), "User Preference", m_ui.logToConsole, tr("Log To System Console"), tr("User Preference"),
tr("Logs messages to the console window.")); tr("Logs messages to the console window."));
dialog->registerWidgetHelp( dialog->registerWidgetHelp(
m_ui.logToDebug, tr("Log To Debug Console"), "User Preference", m_ui.logToDebug, tr("Log To Debug Console"), tr("User Preference"),
tr("Logs messages to the debug console where supported.")); tr("Logs messages to the debug console where supported."));
dialog->registerWidgetHelp( dialog->registerWidgetHelp(
m_ui.logToWindow, tr("Log To Window"), "User Preference", m_ui.logToWindow, tr("Log To Window"), tr("User Preference"),
tr("Logs messages to the window.")); tr("Logs messages to the window."));
dialog->registerWidgetHelp( dialog->registerWidgetHelp(
m_ui.logToFile, tr("Log To File"), "User Preference", m_ui.logToFile, tr("Log To File"), tr("User Preference"),
tr("Logs messages to duckstation.log in the user directory.")); tr("Logs messages to duckstation.log in the user directory."));
dialog->registerWidgetHelp( dialog->registerWidgetHelp(
m_ui.showDebugMenu, tr("Show Debug Menu"), "Unchecked", m_ui.showDebugMenu, tr("Show Debug Menu"), tr("Unchecked"),
tr("Shows a debug menu bar with additional statistics and quick settings.")); tr("Shows a debug menu bar with additional statistics and quick settings."));
} }

File diff suppressed because it is too large Load diff