Rename "logout" things to "sign out" + update icon

This commit is contained in:
miruka
2019-12-07 12:45:20 -04:00
parent 0f1a6c7df1
commit 7deb21c182
5 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ HFileDialogOpener {
}
// This is used for the LogoutPopup to know when the export is done
// This is used for the SignOutPopup to know when the export is done
// so it can close
signal done()

View File

@@ -18,7 +18,7 @@ BoxPopup {
box.focusButton: "ok"
box.buttonModel: [
{ name: "ok", text: qsTr("Export keys"), iconName: "export-keys" },
{ name: "signout", text: qsTr("Sign out now"), iconName: "logout",
{ name: "signout", text: qsTr("Sign out now"), iconName: "sign-out",
iconColor: theme.colors.middleBackground },
{ name: "cancel", text: qsTr("Cancel"), iconName: "cancel" },
]

View File

@@ -107,11 +107,11 @@ HTileDelegate {
contextMenu: HMenu {
HMenuItem {
icon.name: "logout"
icon.name: "sign-out"
icon.color: theme.colors.negativeBackground
text: qsTr("Logout")
text: qsTr("Sign out")
onTriggered: Utils.makePopup(
"Popups/LogoutPopup.qml",
"Popups/SignOutPopup.qml",
mainUI,
{ "userId": model.data.user_id },
popup => { popup.ok.connect(() => { disconnecting = true }) },