i18n: Add comments

This commit is contained in:
JosJuice 2025-09-17 19:42:49 +02:00
commit e38fd1d26a
2 changed files with 6 additions and 0 deletions

View file

@ -262,6 +262,8 @@ void MemoryWidget::CreateWidgets()
auto* labels_layout = new QVBoxLayout; auto* labels_layout = new QVBoxLayout;
m_search_labels = new QLineEdit; m_search_labels = new QLineEdit;
// i18n: Filter is a verb. Typing into this text box will filter the label list so that only
// labels containing the typed text are shown.
m_search_labels->setPlaceholderText(tr("Filter Label List")); m_search_labels->setPlaceholderText(tr("Filter Label List"));
m_labels_group->setLayout(labels_layout); m_labels_group->setLayout(labels_layout);
@ -296,11 +298,13 @@ void MemoryWidget::CreateWidgets()
auto_update_action->setChecked(true); auto_update_action->setChecked(true);
auto* highlight_update_action = auto* highlight_update_action =
// i18n: Highlight is a verb (this is the label of a checkbox)
menu_views->addAction(tr("&Highlight recently changed values"), this, menu_views->addAction(tr("&Highlight recently changed values"), this,
[this](bool checked) { m_memory_view->ToggleHighlights(checked); }); [this](bool checked) { m_memory_view->ToggleHighlights(checked); });
highlight_update_action->setCheckable(true); highlight_update_action->setCheckable(true);
highlight_update_action->setChecked(true); highlight_update_action->setChecked(true);
// i18n: Highlight is a noun (clicking this lets you select a color)
menu_views->addAction(tr("Highlight &color"), this, menu_views->addAction(tr("Highlight &color"), this,
[this] { m_memory_view->SetHighlightColor(); }); [this] { m_memory_view->SetHighlightColor(); });

View file

@ -95,8 +95,10 @@ void AdvancedPane::CreateLayout()
main_layout->addWidget(timing_group); main_layout->addWidget(timing_group);
auto* timing_group_layout = new QVBoxLayout{timing_group}; auto* timing_group_layout = new QVBoxLayout{timing_group};
auto* const correct_time_drift = auto* const correct_time_drift =
// i18n: Correct is a verb
new ConfigBool{tr("Correct Time Drift"), Config::MAIN_CORRECT_TIME_DRIFT}; new ConfigBool{tr("Correct Time Drift"), Config::MAIN_CORRECT_TIME_DRIFT};
correct_time_drift->SetDescription( correct_time_drift->SetDescription(
// i18n: Internet play refers to services like Wiimmfi, not the NetPlay feature in Dolphin
tr("Allow the emulated console to run fast after stutters," tr("Allow the emulated console to run fast after stutters,"
"<br>pursuing accurate overall elapsed time unless paused or speed-adjusted." "<br>pursuing accurate overall elapsed time unless paused or speed-adjusted."
"<br><br>This may be useful for internet play." "<br><br>This may be useful for internet play."