From bc1d8ffcbbefe61a4527dbb797418b8792304d13 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 22 Jun 2025 11:51:57 +0200 Subject: [PATCH] i18n: Add comments --- Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | 1 + Source/Core/DolphinQt/Debugger/EditSymbolDialog.cpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp index 3aeda0efe7..09b045688c 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp @@ -272,6 +272,7 @@ void BreakpointWidget::Update() m_table->clear(); m_table->setHorizontalHeaderLabels({tr("Active"), tr("Type"), tr("Function"), tr("Address"), + // i18n: The address where a breakpoint ends tr("End Addr"), tr("Break"), tr("Log"), tr("Read"), tr("Write"), tr("Condition")}); m_table->horizontalHeader()->setStretchLastSection(true); diff --git a/Source/Core/DolphinQt/Debugger/EditSymbolDialog.cpp b/Source/Core/DolphinQt/Debugger/EditSymbolDialog.cpp index b0ecb32797..1a143b7a4e 100644 --- a/Source/Core/DolphinQt/Debugger/EditSymbolDialog.cpp +++ b/Source/Core/DolphinQt/Debugger/EditSymbolDialog.cpp @@ -37,8 +37,13 @@ void EditSymbolDialog::CreateWidgets() m_name_edit->setPlaceholderText(tr("%1 name").arg(m_type)); auto* size_layout = new QHBoxLayout; + // i18n: The address where a symbol ends QLabel* address_end_label = new QLabel(tr("End Address")); + // i18n: The number of lines of code QLabel* size_lines_label = new QLabel(tr("Lines")); + // i18n: There's a text field immediately to the right of this label where 8 hexadecimal digits + // can be entered. The "0x" in this string acts as a prefix to the digits to indicate that they + // are hexadecimal. QLabel* size_hex_label = new QLabel(tr("Size: 0x")); m_address_end_edit = new QLineEdit(); m_size_lines_spin = new QSpinBox();