Changed name and action icon for find my phone plugin, plus added tooltip.
Trying to make it more discoverable and less misleading (could look like a gps-based tool).
This commit is contained in:
parent
668c37446c
commit
932d8db6bc
3 changed files with 10 additions and 27 deletions
|
@ -48,6 +48,7 @@ PlasmaComponents.ListItem
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Find my phone
|
||||||
PlasmaComponents.Button
|
PlasmaComponents.Button
|
||||||
{
|
{
|
||||||
FindMyPhone {
|
FindMyPhone {
|
||||||
|
@ -56,14 +57,16 @@ PlasmaComponents.ListItem
|
||||||
}
|
}
|
||||||
|
|
||||||
id: ring
|
id: ring
|
||||||
iconSource: "preferences-desktop-notification"
|
iconSource: "question"
|
||||||
visible: findmyphone.available
|
visible: findmyphone.available
|
||||||
|
tooltip: i18n("Ring my phone")
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
findmyphone.ring()
|
findmyphone.ring()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//SFTP
|
||||||
PlasmaComponents.Button
|
PlasmaComponents.Button
|
||||||
{
|
{
|
||||||
Sftp {
|
Sftp {
|
||||||
|
@ -74,6 +77,7 @@ PlasmaComponents.ListItem
|
||||||
id: browse
|
id: browse
|
||||||
iconSource: "document-open-folder"
|
iconSource: "document-open-folder"
|
||||||
visible: sftp.available
|
visible: sftp.available
|
||||||
|
tooltip: i18n("Browse this device")
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
sftp.browse()
|
sftp.browse()
|
||||||
|
|
|
@ -29,10 +29,10 @@ Item {
|
||||||
property alias devicesModel: devicesView.model
|
property alias devicesModel: devicesView.model
|
||||||
|
|
||||||
PlasmaExtras.Heading {
|
PlasmaExtras.Heading {
|
||||||
width: parent.width
|
anchors.centerIn: parent
|
||||||
level: 3
|
level: 3
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
text: i18n("No Paired Devices Available")
|
text: i18n("No paired devices available")
|
||||||
visible: devicesView.count==0
|
visible: devicesView.count==0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,28 +39,7 @@
|
||||||
"Icon": "edit-find",
|
"Icon": "edit-find",
|
||||||
"Id": "kdeconnect_findmyphone",
|
"Id": "kdeconnect_findmyphone",
|
||||||
"License": "GPL",
|
"License": "GPL",
|
||||||
"Name": "Find My Phone",
|
"Name": "Ring my phone",
|
||||||
"Name[ast]": "Alcontrar el mio teléfonu",
|
|
||||||
"Name[ca@valencia]": "Troba el meu telèfon",
|
|
||||||
"Name[ca]": "Troba el meu telèfon",
|
|
||||||
"Name[cs]": "Najít můj telefon",
|
|
||||||
"Name[de]": "Telefon suchen",
|
|
||||||
"Name[es]": "Encontrar mi teléfono",
|
|
||||||
"Name[fi]": "Löydä puhelimeni",
|
|
||||||
"Name[gl]": "Atopar o móbil",
|
|
||||||
"Name[it]": "Trova il mio telefono",
|
|
||||||
"Name[ko]": "내 휴대폰 찾기",
|
|
||||||
"Name[nl]": "Zoek mijn telefoon",
|
|
||||||
"Name[pl]": "Znajdź mój telefon",
|
|
||||||
"Name[pt]": "Descobrir o Meu Telefone",
|
|
||||||
"Name[pt_BR]": "Encontrar meu telefone",
|
|
||||||
"Name[ru]": "Поиск телефона",
|
|
||||||
"Name[sk]": "Nájsť môj telefón",
|
|
||||||
"Name[sv]": "Hitta min telefon",
|
|
||||||
"Name[tr]": "Telefonumu Bul",
|
|
||||||
"Name[uk]": "Знайти телефон",
|
|
||||||
"Name[x-test]": "xxFind My Phonexx",
|
|
||||||
"Name[zh_CN]": "找到我的手机",
|
|
||||||
"ServiceTypes": [
|
"ServiceTypes": [
|
||||||
"KdeConnect/Plugin"
|
"KdeConnect/Plugin"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue