mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 20:48:50 +00:00
chore: update i18n
This commit is contained in:
parent
7dce940e68
commit
f0939a01fe
@ -230,7 +230,8 @@ ModalPopup {
|
||||
Connections {
|
||||
target: chatsModel
|
||||
onTransactionWasSent: {
|
||||
toastMessage.title = qsTr("Transaction pending...")
|
||||
//% "Transaction pending..."
|
||||
toastMessage.title = qsTrId("ens-transaction-pending")
|
||||
toastMessage.source = "../../../img/loading.svg"
|
||||
toastMessage.iconColor = Style.current.primary
|
||||
toastMessage.iconRotates = true
|
||||
@ -239,9 +240,11 @@ ModalPopup {
|
||||
}
|
||||
onTransactionCompleted: {
|
||||
toastMessage.title = !success ?
|
||||
qsTr("Could not buy Stickerpack")
|
||||
//% "Could not buy Stickerpack"
|
||||
qsTrId("could-not-buy-stickerpack")
|
||||
:
|
||||
qsTr("Stickerpack bought successfully");
|
||||
//% "Stickerpack bought successfully"
|
||||
qsTrId("stickerpack-bought-successfully");
|
||||
if (success) {
|
||||
toastMessage.source = "../../../img/check-circle.svg"
|
||||
toastMessage.iconColor = Style.current.success
|
||||
|
@ -173,7 +173,8 @@ Item {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pixelSize: 12
|
||||
color: Style.current.darkGrey
|
||||
text: qsTr("User not found")
|
||||
//% "User not found"
|
||||
text: qsTrId("user-not-found")
|
||||
visible: !contactsContainer.isPending && !!!profileModel.contactToAddUsername
|
||||
}
|
||||
|
||||
|
@ -11,11 +11,13 @@ ModalPopup {
|
||||
property string ensUsername: ""
|
||||
property string ensPrice: "10"
|
||||
|
||||
title: qsTr("Authorize %1 %2").arg(Utils.stripTrailingZeros(ensPrice)).arg(asset.symbol)
|
||||
//% "Authorize %1 %2"
|
||||
title: qsTrId("authorize--1--2").arg(Utils.stripTrailingZeros(ensPrice)).arg(asset.symbol)
|
||||
|
||||
property MessageDialog sendingError: MessageDialog {
|
||||
id: sendingError
|
||||
title: qsTr("Error sending the transaction")
|
||||
//% "Error sending the transaction"
|
||||
title: qsTrId("error-sending-the-transaction")
|
||||
icon: StandardIcon.Critical
|
||||
standardButtons: StandardButton.Ok
|
||||
}
|
||||
@ -44,7 +46,8 @@ ModalPopup {
|
||||
|
||||
if (!response.success) {
|
||||
if (response.result.includes("could not decrypt key with given password")){
|
||||
transactionSigner.validationError = qsTr("Wrong password")
|
||||
//% "Wrong password"
|
||||
transactionSigner.validationError = qsTrId("wrong-password")
|
||||
return
|
||||
}
|
||||
sendingError.text = response.result
|
||||
@ -52,7 +55,8 @@ ModalPopup {
|
||||
}
|
||||
|
||||
usernameRegistered(username);
|
||||
sendingSuccess.text = qsTr("Transaction sent to the blockchain. You can watch the progress on Etherscan: %2%1").arg(response.result).arg(walletModel.etherscanLink)
|
||||
//% "Transaction sent to the blockchain. You can watch the progress on Etherscan: %2%1"
|
||||
sendingSuccess.text = qsTrId("transaction-sent-to-the-blockchain--you-can-watch-the-progress-on-etherscan---2-1").arg(response.result).arg(walletModel.etherscanLink)
|
||||
sendingSuccess.open()
|
||||
}
|
||||
|
||||
@ -68,8 +72,10 @@ ModalPopup {
|
||||
}
|
||||
TransactionFormGroup {
|
||||
id: group1
|
||||
headerText: qsTr("Authorize %1 %2").arg(Utils.stripTrailingZeros(root.ensPrice)).arg(root.asset.symbol)
|
||||
footerText: qsTr("Continue")
|
||||
//% "Authorize %1 %2"
|
||||
headerText: qsTrId("authorize--1--2").arg(Utils.stripTrailingZeros(root.ensPrice)).arg(root.asset.symbol)
|
||||
//% "Continue"
|
||||
footerText: qsTrId("continue")
|
||||
|
||||
AccountSelector {
|
||||
id: selectFromAccount
|
||||
@ -77,7 +83,8 @@ ModalPopup {
|
||||
selectedAccount: walletModel.currentAccount
|
||||
currency: walletModel.defaultCurrency
|
||||
width: stack.width
|
||||
label: qsTr("Choose account")
|
||||
//% "Choose account"
|
||||
label: qsTrId("choose-account")
|
||||
showBalanceForAssetSymbol: root.asset.symbol
|
||||
minRequiredAssetBalance: root.ensPrice
|
||||
reset: function() {
|
||||
@ -135,8 +142,10 @@ ModalPopup {
|
||||
}
|
||||
TransactionFormGroup {
|
||||
id: group3
|
||||
headerText: qsTr("Authorize %1 %2").arg(Utils.stripTrailingZeros(root.ensPrice)).arg(root.asset.symbol)
|
||||
footerText: qsTr("Sign with password")
|
||||
//% "Authorize %1 %2"
|
||||
headerText: qsTrId("authorize--1--2").arg(Utils.stripTrailingZeros(root.ensPrice)).arg(root.asset.symbol)
|
||||
//% "Sign with password"
|
||||
footerText: qsTrId("sign-with-password")
|
||||
|
||||
TransactionPreview {
|
||||
id: pvwTransaction
|
||||
@ -171,8 +180,10 @@ ModalPopup {
|
||||
}
|
||||
TransactionFormGroup {
|
||||
id: group4
|
||||
headerText: qsTr("Send %1 %2").arg(Utils.stripTrailingZeros(root.ensPrice)).arg(root.asset.symbol)
|
||||
footerText: qsTr("Sign with password")
|
||||
//% "Send %1 %2"
|
||||
headerText: qsTrId("send--1--2").arg(Utils.stripTrailingZeros(root.ensPrice)).arg(root.asset.symbol)
|
||||
//% "Sign with password"
|
||||
footerText: qsTrId("sign-with-password")
|
||||
|
||||
TransactionSigner {
|
||||
id: transactionSigner
|
||||
@ -193,7 +204,8 @@ ModalPopup {
|
||||
StyledButton {
|
||||
id: btnNext
|
||||
anchors.right: parent.right
|
||||
label: qsTr("Next")
|
||||
//% "Next"
|
||||
label: qsTrId("next")
|
||||
disabled: !stack.currentGroup.isValid
|
||||
onClicked: {
|
||||
const validity = stack.currentGroup.validate()
|
||||
|
@ -277,7 +277,8 @@ Item {
|
||||
Connections {
|
||||
target: profileModel.ens
|
||||
onTransactionWasSent: {
|
||||
toastMessage.title = qsTr("Transaction pending...")
|
||||
//% "Transaction pending..."
|
||||
toastMessage.title = qsTrId("ens-transaction-pending")
|
||||
toastMessage.source = "../../../img/loading.svg"
|
||||
toastMessage.iconColor = Style.current.primary
|
||||
toastMessage.iconRotates = true
|
||||
@ -288,15 +289,19 @@ Item {
|
||||
switch(trxType){
|
||||
case "RegisterENS":
|
||||
toastMessage.title = !success ?
|
||||
qsTr("ENS Registration failed")
|
||||
//% "ENS Registration failed"
|
||||
qsTrId("ens-registration-failed")
|
||||
:
|
||||
qsTr("ENS Registration completed");
|
||||
//% "ENS Registration completed"
|
||||
qsTrId("ens-registration-completed");
|
||||
break;
|
||||
case "SetPubKey":
|
||||
toastMessage.title = !success ?
|
||||
qsTr("Updating ENS pubkey failed")
|
||||
//% "Updating ENS pubkey failed"
|
||||
qsTrId("updating-ens-pubkey-failed")
|
||||
:
|
||||
qsTr("Updating ENS pubkey completed");
|
||||
//% "Updating ENS pubkey completed"
|
||||
qsTrId("updating-ens-pubkey-completed");
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,8 @@ Item {
|
||||
|
||||
StyledText {
|
||||
id: glossaryTitle
|
||||
text: qsTr("Glossary")
|
||||
//% "Glossary"
|
||||
text: qsTrId("glossary")
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
font.pixelSize: 15
|
||||
@ -38,35 +39,46 @@ Item {
|
||||
id: entryAccount
|
||||
anchors.top: glossaryTitle.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("Account")
|
||||
letter: qsTr("A")
|
||||
description: qsTr("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")
|
||||
//% "Account"
|
||||
name: qsTrId("account-title")
|
||||
//% "A"
|
||||
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")
|
||||
}
|
||||
|
||||
GlossaryEntry {
|
||||
id: entryChatKey
|
||||
anchors.top: entryAccount.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("Chat Key")
|
||||
letter: qsTr("C")
|
||||
description: qsTr("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.")
|
||||
//% "Chat Key"
|
||||
name: qsTrId("chat-key-title")
|
||||
//% "C"
|
||||
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")
|
||||
}
|
||||
|
||||
GlossaryEntry {
|
||||
id: entryChatName
|
||||
anchors.top: entryChatKey.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("Chat Name")
|
||||
description: qsTr("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.")
|
||||
//% "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")
|
||||
}
|
||||
|
||||
GlossaryEntry {
|
||||
id: entryENSName
|
||||
anchors.top: entryChatName.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("ENS Name")
|
||||
letter: qsTr("E")
|
||||
description: qsTr("Custom alias for your chat key that you can register using the Ethereum Name Service. ENS names are decentralized usernames.")
|
||||
//% "ENS Name"
|
||||
name: qsTrId("ens-name-title")
|
||||
//% "E"
|
||||
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")
|
||||
}
|
||||
|
||||
GlossaryEntry {
|
||||
@ -74,26 +86,34 @@ Item {
|
||||
letter: qsTr("M")
|
||||
anchors.top: entryENSName.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("Mailserver")
|
||||
description: qsTr("A node in the Status network that routes and stores messages, for up to 30 days.")
|
||||
//% "Mailserver"
|
||||
name: qsTrId("mailserver-title")
|
||||
//% "A node in the Status network that routes and stores messages, for up to 30 days."
|
||||
description: qsTrId("mailserver-content")
|
||||
}
|
||||
|
||||
GlossaryEntry {
|
||||
id: entryPeer
|
||||
anchors.top: entryMailserver.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("Peer")
|
||||
letter: qsTr("P")
|
||||
description: qsTr("A device connected to the Status chat network. Each user can represent one or more peers, depending on their number of devices")
|
||||
//% "Peer"
|
||||
name: qsTrId("peer-title")
|
||||
//% "P"
|
||||
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")
|
||||
}
|
||||
|
||||
GlossaryEntry {
|
||||
id: entrySeedPhrase
|
||||
anchors.top: entryPeer.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
name: qsTr("Seed Phrase")
|
||||
letter: qsTr("S")
|
||||
description: qsTr("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.")
|
||||
//% "Seed Phrase"
|
||||
name: qsTrId("seed-phrase-title")
|
||||
//% "S"
|
||||
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-")
|
||||
}
|
||||
}
|
||||
|
||||
@ -110,7 +130,8 @@ Item {
|
||||
|
||||
StyledText {
|
||||
id: faqLink
|
||||
text: qsTr("<a href='https://status.im/docs/FAQs.html'>Frequently asked questions</a>")
|
||||
//% "<a href='https://status.im/docs/FAQs.html'>Frequently asked questions</a>"
|
||||
text: qsTrId("-a-href--https---status-im-docs-faqs-html--frequently-asked-questions--a-")
|
||||
font.pixelSize: 15
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
@ -124,7 +145,8 @@ Item {
|
||||
|
||||
StyledText {
|
||||
id: issueLink
|
||||
text: qsTr("<a href='https://github.com/status-im/nim-status-client/issues/new'>Submit a bug</a>")
|
||||
//% "<a href='https://github.com/status-im/nim-status-client/issues/new'>Submit a bug</a>"
|
||||
text: qsTrId("-a-href--https---github-com-status-im-nim-status-client-issues-new--submit-a-bug--a-")
|
||||
anchors.topMargin: Style.current.bigPadding
|
||||
anchors.top: faqLink.bottom
|
||||
font.pixelSize: 15
|
||||
@ -139,7 +161,8 @@ Item {
|
||||
}
|
||||
|
||||
StyledText {
|
||||
text: qsTr("<a href='https://discuss.status.im/c/features/51'>Request a feature</a>")
|
||||
//% "<a href='https://discuss.status.im/c/features/51'>Request a feature</a>"
|
||||
text: qsTrId("-a-href--https---discuss-status-im-c-features-51--request-a-feature--a-")
|
||||
anchors.topMargin: Style.current.bigPadding
|
||||
anchors.top: issueLink.bottom
|
||||
font.pixelSize: 15
|
||||
|
@ -143,8 +143,10 @@ Item {
|
||||
|
||||
StyledText {
|
||||
text: to !== walletModel.currentAccount.address ?
|
||||
qsTr("To ") :
|
||||
qsTr("From ")
|
||||
//% "To "
|
||||
qsTrId("to-") :
|
||||
//% "From "
|
||||
qsTrId("from-")
|
||||
anchors.right: addressValue.left
|
||||
color: Style.current.darkGrey
|
||||
anchors.top: parent.top
|
||||
|
@ -279,7 +279,8 @@ ModalPopup {
|
||||
return sendingError.open()
|
||||
}
|
||||
|
||||
toastMessage.title = qsTr("Transaction pending...")
|
||||
//% "Transaction pending..."
|
||||
toastMessage.title = qsTrId("ens-transaction-pending")
|
||||
toastMessage.source = "../../img/loading.svg"
|
||||
toastMessage.iconColor = Style.current.primary
|
||||
toastMessage.iconRotates = true
|
||||
@ -292,11 +293,13 @@ ModalPopup {
|
||||
}
|
||||
onTransactionCompleted: {
|
||||
if (success) {
|
||||
toastMessage.title = qsTr("Transaction completed")
|
||||
//% "Transaction completed"
|
||||
toastMessage.title = qsTrId("transaction-completed")
|
||||
toastMessage.source = "../../img/check-circle.svg"
|
||||
toastMessage.iconColor = Style.current.success
|
||||
} else {
|
||||
toastMessage.title = qsTr("Transaction failed")
|
||||
//% "Transaction failed"
|
||||
toastMessage.title = qsTrId("ens-registration-failed-title")
|
||||
toastMessage.source = "../../img/block-icon.svg"
|
||||
toastMessage.iconColor = Style.current.danger
|
||||
}
|
||||
|
BIN
ui/i18n/base.qm
BIN
ui/i18n/base.qm
Binary file not shown.
492
ui/i18n/base.ts
492
ui/i18n/base.ts
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user