Improve/change "Pair" i18n messages
This commit is contained in:
parent
46cac0bf61
commit
4fa2e93246
3 changed files with 3 additions and 3 deletions
|
@ -125,7 +125,7 @@ Kirigami.ScrollablePage {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
visible: root.currentDevice && root.currentDevice.isReachable && !root.currentDevice.isPaired && !root.currentDevice.isPairRequestedByPeer && !root.currentDevice.isPairRequested
|
visible: root.currentDevice && root.currentDevice.isReachable && !root.currentDevice.isPaired && !root.currentDevice.isPairRequestedByPeer && !root.currentDevice.isPairRequested
|
||||||
helpfulAction: Kirigami.Action {
|
helpfulAction: Kirigami.Action {
|
||||||
text: i18nd("kdeconnect-app", "Pair")
|
text: i18ndc("kdeconnect-app", "Request pairing with a given device", "Pair")
|
||||||
icon.name:"network-connect"
|
icon.name:"network-connect"
|
||||||
onTriggered: root.currentDevice.requestPairing()
|
onTriggered: root.currentDevice.requestPairing()
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ Kirigami.ScrollablePage
|
||||||
}
|
}
|
||||||
|
|
||||||
objectName: "FindDevices"
|
objectName: "FindDevices"
|
||||||
title: i18nd("kdeconnect-app", "Pair")
|
title: i18ndc("kdeconnect-app", "Title of the page listing the devices", "Devices")
|
||||||
supportsRefreshing: true
|
supportsRefreshing: true
|
||||||
|
|
||||||
onRefreshingChanged: {
|
onRefreshingChanged: {
|
||||||
|
|
|
@ -116,7 +116,7 @@ int main(int argc, char **argv)
|
||||||
for (const auto &req : requests) {
|
for (const auto &req : requests) {
|
||||||
DeviceDbusInterface *dev = new DeviceDbusInterface(req, menu);
|
DeviceDbusInterface *dev = new DeviceDbusInterface(req, menu);
|
||||||
auto pairMenu = menu->addMenu(dev->name());
|
auto pairMenu = menu->addMenu(dev->name());
|
||||||
pairMenu->addAction(i18n("Pair"), dev, &DeviceDbusInterface::acceptPairing);
|
pairMenu->addAction(i18nc("Accept a pairing request", "Pair"), dev, &DeviceDbusInterface::acceptPairing);
|
||||||
pairMenu->addAction(i18n("Reject"), dev, &DeviceDbusInterface::cancelPairing);
|
pairMenu->addAction(i18n("Reject"), dev, &DeviceDbusInterface::cancelPairing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue