Merge pull request #11478 from JosJuice/i18n-comments

DolphinQt: Add i18n comments for strings containing the word "watches"
This commit is contained in:
Admiral H. Curtiss 2023-01-24 03:44:46 +01:00 committed by GitHub
commit cf2f8a70f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -310,8 +310,14 @@ void WatchWidget::ShowContextMenu()
const std::size_t count = m_table->selectionModel()->selectedRows().count(); const std::size_t count = m_table->selectionModel()->selectedRows().count();
if (count > 1) if (count > 1)
{ {
// i18n: This kind of "watch" is used for watching emulated memory.
// It's not related to timekeeping devices.
menu->addAction(tr("&Delete Watches"), this, [this] { DeleteSelectedWatches(); }); menu->addAction(tr("&Delete Watches"), this, [this] { DeleteSelectedWatches(); });
// i18n: This kind of "watch" is used for watching emulated memory.
// It's not related to timekeeping devices.
menu->addAction(tr("&Lock Watches"), this, [this] { LockSelectedWatches(); }); menu->addAction(tr("&Lock Watches"), this, [this] { LockSelectedWatches(); });
// i18n: This kind of "watch" is used for watching emulated memory.
// It's not related to timekeeping devices.
menu->addAction(tr("&Unlock Watches"), this, [this] { UnlockSelectedWatches(); }); menu->addAction(tr("&Unlock Watches"), this, [this] { UnlockSelectedWatches(); });
} }
else if (count == 1) else if (count == 1)