2020-06-17 19:18:31 +00:00
import QtQuick 2.13
import QtQuick . Controls 2.13
import QtQuick . Layouts 1.13
2020-05-27 21:28:25 +00:00
import "../../../../imports"
2020-06-19 18:06:58 +00:00
import "../../../../shared"
2020-09-18 08:29:31 +00:00
import "../../../../shared/status"
2020-05-27 21:28:25 +00:00
Item {
id: helpContainer
2020-09-15 10:53:00 +00:00
height: parent . height
2020-05-27 21:28:25 +00:00
Layout.fillWidth: true
2020-09-15 10:53:00 +00:00
ScrollView {
height: parent . height
width: parent . width
contentHeight: glossary . height + linksSection . height + Style . current . bigPadding * 4
clip: true
Item {
id: glossary
anchors.top: parent . top
anchors.right: parent . right
anchors.rightMargin: contentMargin
anchors.left: parent . left
anchors.leftMargin: contentMargin
height: this . childrenRect . height
2020-09-18 08:29:31 +00:00
StatusSectionHeadline {
2020-09-15 10:53:00 +00:00
id: glossaryTitle
2020-09-18 06:33:20 +00:00
//% "Glossary"
text: qsTrId ( "glossary" )
2020-09-15 10:53:00 +00:00
anchors.left: parent . left
anchors.top: parent . top
}
GlossaryEntry {
id: entryAccount
anchors.top: glossaryTitle . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "Account"
name: qsTrId ( "account-title" )
//% "A"
2020-10-21 15:46:06 +00:00
//: This letter corresponds to the section title above, so here it is "A" because the title above is "Account"
2020-09-18 06:33:20 +00:00
letter: qsTrId ( "a" )
//% "Your Status account, accessed by the seed phrase that you create or import during onboarding. A Status account can hold more than one Ethereum address, in addition to the one created during onboarding. We refer to these as additional accounts within the wallet"
description: qsTrId ( "your-status-account--accessed-by-the-seed-phrase-that-you-create-or-import-during-onboarding--a-status-account-can-hold-more-than-one-ethereum-address--in-addition-to-the-one-created-during-onboarding--we-refer-to-these-as-additional-accounts-within-the-wallet" )
2020-09-15 10:53:00 +00:00
}
GlossaryEntry {
id: entryChatKey
anchors.top: entryAccount . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "Chat Key"
name: qsTrId ( "chat-key-title" )
//% "C"
2020-10-21 15:46:06 +00:00
//: This letter corresponds to the section title above, so here it is "C" because the title above is "Chat Key"
2020-09-18 06:33:20 +00:00
letter: qsTrId ( "c" )
//% "Messages on the Status chat protocol are sent and received using encryption keys. The public chat key is a string of characters you share with others so they can send you messages in Status."
description: qsTrId ( "chat-key-content" )
2020-09-15 10:53:00 +00:00
}
GlossaryEntry {
id: entryChatName
anchors.top: entryChatKey . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "Chat Name"
name: qsTrId ( "chat-name-title" )
//% "Three random words, derived algorithmically from your chat key and used as your default alias in chat. Chat names are completely unique; no other user can have the same three words."
description: qsTrId ( "chat-name-content" )
2020-09-15 10:53:00 +00:00
}
GlossaryEntry {
id: entryENSName
anchors.top: entryChatName . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "ENS Name"
name: qsTrId ( "ens-name-title" )
//% "E"
2020-10-21 15:46:06 +00:00
//: This letter corresponds to the section title above, so here it is "E" because the title above is "ENS Name"
2020-09-18 06:33:20 +00:00
letter: qsTrId ( "e" )
//% "Custom alias for your chat key that you can register using the Ethereum Name Service. ENS names are decentralized usernames."
description: qsTrId ( "ens-name-content" )
2020-09-15 10:53:00 +00:00
}
GlossaryEntry {
id: entryMailserver
anchors.top: entryENSName . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "Mailserver"
name: qsTrId ( "mailserver-title" )
2020-10-21 15:46:06 +00:00
//% "M"
//: This letter corresponds to the section title above, so here it is "M" because the title above is "Mailserver"
letter: qsTrId ( "m" )
2020-09-18 06:33:20 +00:00
//% "A node in the Status network that routes and stores messages, for up to 30 days."
description: qsTrId ( "mailserver-content" )
2020-09-15 10:53:00 +00:00
}
GlossaryEntry {
id: entryPeer
anchors.top: entryMailserver . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "Peer"
name: qsTrId ( "peer-title" )
//% "P"
2020-10-21 15:46:06 +00:00
//: This letter corresponds to the section title above, so here it is "P" because the title above is "Peer"
2020-09-18 06:33:20 +00:00
letter: qsTrId ( "p" )
//% "A device connected to the Status chat network. Each user can represent one or more peers, depending on their number of devices"
description: qsTrId ( "a-device-connected-to-the-status-chat-network--each-user-can-represent-one-or-more-peers--depending-on-their-number-of-devices" )
2020-09-15 10:53:00 +00:00
}
GlossaryEntry {
id: entrySeedPhrase
anchors.top: entryPeer . bottom
anchors.topMargin: Style . current . padding
2020-09-18 06:33:20 +00:00
//% "Seed Phrase"
name: qsTrId ( "seed-phrase-title" )
//% "S"
2020-10-21 15:46:06 +00:00
//: This letter corresponds to the section title above, so here it is "S" because the title above is "Seed Phrase"
2020-09-18 06:33:20 +00:00
letter: qsTrId ( "s" )
//% "A 64 character hex address based on the Ethereum standard and beginning with 0x. Public-facing, your wallet key is shared with others when you want to receive funds. Also referred to as an “Ethereum address” or “wallet address."
description: qsTrId ( "a-64-character-hex-address-based-on-the-ethereum-standard-and-beginning-with-0x--public-facing--your-wallet-key-is-shared-with-others-when-you-want-to-receive-funds--also-referred-to-as-an--ethereum-address--or--wallet-address-" )
2020-09-15 10:53:00 +00:00
}
}
Item {
id: linksSection
anchors.top: glossary . bottom
anchors.topMargin: Style . current . bigPadding * 2
anchors.left: parent . left
anchors.leftMargin: contentMargin
anchors.right: parent . left
anchors.rightMargin: contentMargin
height: this . childrenRect . height
StyledText {
id: faqLink
2021-01-14 13:35:45 +00:00
text: qsTr ( "Frequently asked questions" )
2020-09-15 10:53:00 +00:00
font.pixelSize: 15
2021-01-14 13:35:45 +00:00
color: Style . current . blue
anchors.topMargin: Style . current . bigPadding
anchors.top: parent . top
2020-09-15 10:53:00 +00:00
MouseArea {
anchors.fill: parent
cursorShape: Qt . PointingHandCursor
2021-01-14 13:35:45 +00:00
hoverEnabled: true
onEntered: {
parent . font . underline = true
}
onExited: {
parent . font . underline = false
}
onClicked: {
appMain . openLink ( "https://status.im/docs/FAQs.html" )
}
2020-09-15 10:53:00 +00:00
}
}
StyledText {
id: issueLink
2021-01-14 13:35:45 +00:00
text: qsTr ( "Submit a bug" )
font.pixelSize: 15
color: Style . current . blue
2020-09-15 10:53:00 +00:00
anchors.topMargin: Style . current . bigPadding
anchors.top: faqLink . bottom
2021-01-14 13:35:45 +00:00
2020-09-15 10:53:00 +00:00
MouseArea {
anchors.fill: parent
cursorShape: Qt . PointingHandCursor
2021-01-14 13:35:45 +00:00
hoverEnabled: true
onEntered: {
parent . font . underline = true
}
onExited: {
parent . font . underline = false
}
onClicked: {
appMain . openLink ( "https://github.com/status-im/nim-status-client/issues/new" )
}
2020-09-15 10:53:00 +00:00
}
}
StyledText {
2021-01-14 13:35:45 +00:00
text: qsTr ( "Request a feature" )
font.pixelSize: 15
color: Style . current . blue
2020-09-15 10:53:00 +00:00
anchors.topMargin: Style . current . bigPadding
anchors.top: issueLink . bottom
2021-01-14 13:35:45 +00:00
2020-09-15 10:53:00 +00:00
MouseArea {
anchors.fill: parent
cursorShape: Qt . PointingHandCursor
2021-01-14 13:35:45 +00:00
hoverEnabled: true
onEntered: {
parent . font . underline = true
}
onExited: {
parent . font . underline = false
}
onClicked: {
appMain . openLink ( "https://discuss.status.im/c/features/51" )
}
2020-09-15 10:53:00 +00:00
}
}
}
}
2020-06-17 19:18:31 +00:00
}
2020-09-15 10:53:00 +00:00