status-desktop/ui/app/AppLayouts/Profile/LeftTab/constants.js

84 lines
2.9 KiB
JavaScript
Raw Normal View History

var PROFILE = 0
var CONTACTS = 1
var ENS = 2
var PRIVACY_AND_SECURITY = 3
var APPEARANCE = 4
var SOUND = 5
var LANGUAGE = 6
var NOTIFICATIONS = 7
var SYNC_SETTINGS = 8
var DEVICES_SETTINGS = 9
var BROWSER_SETTINGS = 10
var ADVANCED = 11
var NEED_HELP = 12
var ABOUT = 13
2021-03-16 14:54:34 +00:00
var SIGNOUT = 14
var mainMenuButtons = [{
"id": PROFILE,
"text": qsTr("My Profile"),
"filename": "myProfile.svg"
}, {
"id": CONTACTS,
"text": qsTr("Contacts"),
2020-08-28 19:09:00 +00:00
"filename": "contacts.svg"
}, {
"id": ENS,
"text": qsTr("ENS usernames"),
2020-08-28 19:09:00 +00:00
"filename": "ensUsernames.svg"
}]
var settingsMenuButtons = [{
"id": PRIVACY_AND_SECURITY,
"text": qsTr("Privacy and security"),
2020-08-28 19:09:00 +00:00
"filename": "security.svg"
}, {
"id": APPEARANCE,
"text": qsTr("Appearance"),
2020-08-28 19:09:00 +00:00
"filename": "appearance.svg"
}, {
"id": SOUND,
"text": qsTr("Sound"),
"filename": "sound.svg"
}, {
"id": LANGUAGE,
"text": qsTr("Language"),
"filename": "globe.svg"
}, {
"id": NOTIFICATIONS,
"text": qsTr("Notifications"),
2020-08-28 19:09:00 +00:00
"filename": "notifications.svg"
}, {
"id": SYNC_SETTINGS,
"text": qsTr("Sync settings"),
2020-08-28 19:09:00 +00:00
"filename": "sync.svg"
}, {
"id": DEVICES_SETTINGS,
"text": qsTr("Devices settings"),
2020-08-28 19:09:00 +00:00
"filename": "sync.svg"
}, {
"id": BROWSER_SETTINGS,
"text": qsTr("Browser settings"),
2021-03-31 19:33:55 +00:00
"filename": "../compassActive.svg",
"ifEnabled": "browser"
}, {
"id": ADVANCED,
"text": qsTr("Advanced"),
2020-08-28 19:09:00 +00:00
"filename": "advanced.svg"
}]
var extraMenuButtons = [{
"id": NEED_HELP,
"text": qsTr("Need help?"),
2020-08-28 19:09:00 +00:00
"filename": "help.svg"
}, {
"id": ABOUT,
"text": qsTr("About"),
2020-08-28 19:09:00 +00:00
"filename": "about.svg"
2021-03-16 14:54:34 +00:00
}, {
"id": SIGNOUT,
"function": "exit",
2021-03-16 14:56:09 +00:00
"text": qsTr("Sign out & Quit"),
2021-03-16 14:54:34 +00:00
"filename": "signout.svg"
}]