From e38fd1d26a4d63cc9e6c9dd36beff6ee9dc213c1 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 17 Sep 2025 19:42:49 +0200 Subject: [PATCH] i18n: Add comments --- Source/Core/DolphinQt/Debugger/MemoryWidget.cpp | 4 ++++ Source/Core/DolphinQt/Settings/AdvancedPane.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp index c4bf8f26f4..212bc49185 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp @@ -262,6 +262,8 @@ void MemoryWidget::CreateWidgets() auto* labels_layout = new QVBoxLayout; 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_labels_group->setLayout(labels_layout); @@ -296,11 +298,13 @@ void MemoryWidget::CreateWidgets() auto_update_action->setChecked(true); 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, [this](bool checked) { m_memory_view->ToggleHighlights(checked); }); highlight_update_action->setCheckable(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, [this] { m_memory_view->SetHighlightColor(); }); diff --git a/Source/Core/DolphinQt/Settings/AdvancedPane.cpp b/Source/Core/DolphinQt/Settings/AdvancedPane.cpp index f970169982..66184aff1b 100644 --- a/Source/Core/DolphinQt/Settings/AdvancedPane.cpp +++ b/Source/Core/DolphinQt/Settings/AdvancedPane.cpp @@ -95,8 +95,10 @@ void AdvancedPane::CreateLayout() main_layout->addWidget(timing_group); auto* timing_group_layout = new QVBoxLayout{timing_group}; auto* const correct_time_drift = + // i18n: Correct is a verb new ConfigBool{tr("Correct Time Drift"), Config::MAIN_CORRECT_TIME_DRIFT}; 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," "
pursuing accurate overall elapsed time unless paused or speed-adjusted." "

This may be useful for internet play."