Added translations.

This commit is contained in:
Mikunj Varsani 2019-06-13 10:36:19 +10:00
parent 8e4b39850e
commit 247444b382
5 changed files with 29 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="check-transaction">
<div class="q-pa-md">
<div class="q-mb-lg">
<div class="q-mb-lg description">
{{ $t('strings.checkTransactionDescription') }}
</div>
<LokiField :label="$t('fieldLabels.transactionId')" :error="$v.transactionId.$error">
@ -131,6 +131,9 @@ export default {
<style lang="scss">
.check-transaction {
.description {
white-space: pre-line;
}
.buttons {
.q-btn:not(:first-child) {
margin-left: 8px;

View File

@ -1,7 +1,7 @@
<template>
<div class="prove-transaction">
<div class="q-pa-md">
<div class="q-mb-lg">
<div class="q-mb-lg description">
{{ $t('strings.proveTransactionDescription') }}
</div>
<LokiField :label="$t('fieldLabels.transactionId')" :error="$v.transactionId.$error">
@ -111,6 +111,9 @@ export default {
<style lang="scss">
.prove-transaction {
.description {
white-space: pre-line;
}
.buttons {
.q-btn:not(:first-child) {
margin-left: 8px;

View File

@ -571,7 +571,7 @@ footer,
}
}
.service-node-registration {
.service-node-registration, .prove-transaction, .check-transaction {
.description{
color: #b7b7b7;
font-style: normal;

View File

@ -1,11 +1,14 @@
export default {
buttons: {
// All button text is uppercased in the gui
advanced: "ADVANCED",
all: "ALL",
back: "BACK",
browse: "BROWSE",
cancel: "CANCEL",
change: "CHANGE",
check: "CHECK",
clear: "CLEAR",
close: "CLOSE",
contacts: "CONTACTS",
copyAddress: "COPY ADDRESS",
@ -13,6 +16,7 @@ export default {
delete: "DELETE",
edit: "EDIT",
export: "EXPORT",
generate: "GENERATE",
import: "IMPORT",
importWallet: "IMPORT WALLET | IMPORT WALLETS",
next: "NEXT",
@ -175,6 +179,7 @@ export default {
localDaemonPort: "LOCAL DAEMON PORT",
maxIncomingPeers: "MAX INCOMING PEERS",
maxOutgoingPeers: "MAX OUTGOING PEERS",
message: "MESSAGE",
mnemonicSeed: "MNEMONIC SEED",
name: "NAME",
newWalletName: "NEW WALLET NAME",
@ -190,6 +195,8 @@ export default {
seedLanguage: "SEED LANGUAGE",
serviceNodeCommand: "SERVICE NODE COMMAND",
serviceNodeKey: "SERVICE NODE KEY",
signature: "SIGNATURE",
transactionId: "TRANSACTION ID",
walletFile: "WALLET FILE",
walletLogLevel: "WALLET LOG LEVEL",
walletName: "WALLET NAME",
@ -267,6 +274,8 @@ export default {
dataPathNotFound: "Data storage path not found",
differentNetType: "Remote node is using a different nettype",
enterSeedWords: "Enter seed words",
enterTransactionId: "Enter transaction ID",
enterTransactionProof: "Enter transaction proof",
enterWalletName: "Enter a wallet name",
errorSavingItem: "Error saving {item}",
failedServiceNodeUnlock: "Failed to unlock service node",
@ -316,6 +325,10 @@ export default {
enterAnId: "Enter an ID",
hexCharacters: "{count} hexadecimal characters",
mnemonicSeed: "25 (or 24) word mnemonic seed",
pasteTransactionId: "Paste transaction ID",
pasteTransactionProof: "Paste transaction proof",
proveOptionalMessage: "Optional message against which the signature is signed",
recipientWalletAddress: "Recipient's wallet address",
selectAFile: "Please select a file",
transactionNotes: "Additional notes to attach to the transaction",
walletName: "A name for your wallet",
@ -340,6 +353,7 @@ export default {
},
blockHeight: "Height",
transactionConfirmed: "confirmed",
checkTransactionDescription: "Verify that funds were paid to an address by supplying the transaction ID, the recipient address, the message used for signing and the signature.\nFor the case with 'Spend Proof', you don't need to specify the recipient address.",
closing: "Closing",
connectingToBackend: "Connecting to backend",
contribution: "Contribution",
@ -375,6 +389,7 @@ export default {
numberOfUnspentOutputs: "Number of unspent outputs",
paymentID: "Payment ID",
peerList: "Peer list",
proveTransactionDescription: "Generate a proof of your incoming/outgoing payment by supplying the transaction ID, the recipient address and an optional message.\nFor the case of outgoing payments, you can get a 'Spend Proof' that proves the authorship of a transaction. In this case, you don't need to specify the recipient address.",
readingWalletList: "Reading wallet list",
recentIncomingTransactionsToAddress: "Recent incoming transactions to this address",
recentTransactionsWithAddress: "Recent transactions with this address",
@ -423,6 +438,10 @@ export default {
titles: {
addressBook: "Address book",
addressDetails: "Address details",
advanced: {
checkTransaction: "CHECK TRANSACTION",
prove: "PROVE"
},
changePassword: "Change password",
configure: "Configure",
privateKeys: "Private keys",

View File

@ -7,7 +7,7 @@
color="secondary"
:options="[
{label: $t('titles.advanced.prove'), value: 'prove'},
{label: $t('titles.serviceNode.checkTransaction'), value: 'check'}
{label: $t('titles.advanced.checkTransaction'), value: 'check'}
]"
/>
</div>