Add i18n context for "Ring device"

This commit is contained in:
Fushan Wen 2023-08-08 16:09:23 +08:00
parent 95b92ecf52
commit 47cb369e01

View file

@ -78,7 +78,7 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface *device)
this);
// Find device
auto findDevice = addAction(QIcon::fromTheme(QStringLiteral("irc-voice")), i18n("Ring device"));
auto findDevice = addAction(QIcon::fromTheme(QStringLiteral("irc-voice")), i18nc("@action:inmenu play bell sound", "Ring device"));
connect(findDevice, &QAction::triggered, device, [device]() {
FindMyPhoneDeviceDbusInterface *iface = new FindMyPhoneDeviceDbusInterface(device->id(), device);
iface->ring();