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:
Albert Vaca 2016-05-25 11:51:48 -06:00
parent 668c37446c
commit 932d8db6bc
3 changed files with 10 additions and 27 deletions

View file

@ -48,7 +48,8 @@ PlasmaComponents.ListItem
Layout.fillWidth: true Layout.fillWidth: true
} }
PlasmaComponents.Button //Find my phone
PlasmaComponents.Button
{ {
FindMyPhone { FindMyPhone {
id: findmyphone id: 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()

View file

@ -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
} }

View file

@ -12,7 +12,7 @@
"Name[x-test]": "xxDavid Edmundsonxx" "Name[x-test]": "xxDavid Edmundsonxx"
} }
], ],
"Description": "Find your lost phone by making it play an alarm sound ", "Description": "Find your lost phone by making it play an alarm sound",
"Description[ast]": "Alcuentra'l to preséu perdíu faciéndolu sonar ", "Description[ast]": "Alcuentra'l to preséu perdíu faciéndolu sonar ",
"Description[ca@valencia]": "Troba el vostra telèfon perdut fent que reproduïsca un so d'alarma ", "Description[ca@valencia]": "Troba el vostra telèfon perdut fent que reproduïsca un so d'alarma ",
"Description[ca]": "Troba el vostra telèfon perdut fent que reprodueixi un so d'alarma ", "Description[ca]": "Troba el vostra telèfon perdut fent que reprodueixi un so d'alarma ",
@ -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"
], ],