summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Debugger/WatchWidget.cpp
diff options
context:
space:
mode:
authorLéo Lam <leolino.lam@gmail.com>2018-01-24 10:39:11 +0100
committerGitHub <noreply@github.com>2018-01-24 10:39:11 +0100
commit432ebe793ef021b2e47aca9aece0a500dabc19d7 (patch)
treeffdc0fc64d1736fc0b1c37c3049ab70eb38f739d /Source/Core/DolphinQt2/Debugger/WatchWidget.cpp
parenta9728928211f32b973d488a81e2a32299ced93df (diff)
parent04b9310bb6364ccb334e3e577fe3c2bff18c1134 (diff)
Merge pull request #6318 from JosJuice/qt-debugger-strings
Tweak Qt debugger strings to be more translation friendly
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/WatchWidget.cpp')
-rw-r--r--Source/Core/DolphinQt2/Debugger/WatchWidget.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt2/Debugger/WatchWidget.cpp
index efdb94d466..96b0132292 100644
--- a/Source/Core/DolphinQt2/Debugger/WatchWidget.cpp
+++ b/Source/Core/DolphinQt2/Debugger/WatchWidget.cpp
@@ -22,6 +22,8 @@
WatchWidget::WatchWidget(QWidget* parent) : QDockWidget(parent)
{
+ // i18n: This kind of "watch" is used for watching emulated memory.
+ // It's not related to timekeeping devices.
setWindowTitle(tr("Watch"));
setAllowedAreas(Qt::AllDockWidgetAreas);
@@ -105,8 +107,9 @@ void WatchWidget::Update()
m_table->setRowCount(size + 1);
- m_table->setHorizontalHeaderLabels(
- {tr("Label"), tr("Address"), tr("Hexadecimal"), tr("Decimal"), tr("String")});
+ m_table->setHorizontalHeaderLabels({tr("Label"), tr("Address"), tr("Hexadecimal"), tr("Decimal"),
+ // i18n: Data type used in computing
+ tr("String")});
for (int i = 0; i < size; i++)
{
@@ -218,6 +221,8 @@ void WatchWidget::ShowContextMenu()
if (row >= 0)
{
+ // i18n: This kind of "watch" is used for watching emulated memory.
+ // It's not related to timekeeping devices.
AddAction(menu, tr("&Delete Watch"), this, [this, row] { DeleteWatch(row); });
AddAction(menu, tr("&Add Memory Breakpoint"), this,
[this, row] { AddWatchBreakpoint(row); });
@@ -280,7 +285,7 @@ void WatchWidget::OnItemChanged(QTableWidgetItem* item)
}
else
{
- QMessageBox::critical(this, tr("Error"), tr("Bad input provided"));
+ QMessageBox::critical(this, tr("Error"), tr("Invalid input provided"));
}
break;
}