Browse Source

Translate Transaction Request part one

digibyte
AlphaX-Projects 2 years ago
parent
commit
2f287d514d
  1. 5
      qortal-ui-core/language/cn.json
  2. 5
      qortal-ui-core/language/de.json
  3. 5
      qortal-ui-core/language/fr.json
  4. 5
      qortal-ui-core/language/pl.json
  5. 5
      qortal-ui-core/language/sp.json
  6. 5
      qortal-ui-core/language/us.json
  7. 7
      qortal-ui-core/src/functional-components/confirm-transaction-dialog.js

5
qortal-ui-core/language/cn.json

@ -537,5 +537,10 @@
"nchange28": "Failed to Add Minting Node!",
"nchange29": "Successfully Removed Minting Account!",
"nchange30": "Failed to Remove Minting Account!"
},
"transpage": {
"tchange1": "Transaction request",
"tchange2": "Decline",
"tchange3": "Confirm"
}
}

5
qortal-ui-core/language/de.json

@ -537,5 +537,10 @@
"nchange28": "Prägeknoten konnte nicht hinzugefügt werden!",
"nchange29": "Prägekonto erfolgreich entfernt!",
"nchange30": "Fehler beim Entfernen des Prägekontos!"
},
"transpage": {
"tchange1": "Transaktionsanfrage",
"tchange2": "Ablehnen",
"tchange3": "Bestätigen"
}
}

5
qortal-ui-core/language/fr.json

@ -537,5 +537,10 @@
"nchange28": "Failed to Add Minting Node!",
"nchange29": "Successfully Removed Minting Account!",
"nchange30": "Failed to Remove Minting Account!"
},
"transpage": {
"tchange1": "Transaction request",
"tchange2": "Decline",
"tchange3": "Confirm"
}
}

5
qortal-ui-core/language/pl.json

@ -537,5 +537,10 @@
"nchange28": "Failed to Add Minting Node!",
"nchange29": "Successfully Removed Minting Account!",
"nchange30": "Failed to Remove Minting Account!"
},
"transpage": {
"tchange1": "Transaction request",
"tchange2": "Decline",
"tchange3": "Confirm"
}
}

5
qortal-ui-core/language/sp.json

@ -537,5 +537,10 @@
"nchange28": "Failed to Add Minting Node!",
"nchange29": "Successfully Removed Minting Account!",
"nchange30": "Failed to Remove Minting Account!"
},
"transpage": {
"tchange1": "Transaction request",
"tchange2": "Decline",
"tchange3": "Confirm"
}
}

5
qortal-ui-core/language/us.json

@ -537,5 +537,10 @@
"nchange28": "Failed to Add Minting Node!",
"nchange29": "Successfully Removed Minting Account!",
"nchange30": "Failed to Remove Minting Account!"
},
"transpage": {
"tchange1": "Transaction request",
"tchange2": "Decline",
"tchange3": "Confirm"
}
}

7
qortal-ui-core/src/functional-components/confirm-transaction-dialog.js

@ -1,6 +1,7 @@
import { LitElement, html, css } from 'lit'
import { connect } from 'pwa-helpers'
import { store } from '../store.js'
import { translate, translateUnsafeHTML } from 'lit-translate'
import { listenForRequest } from '../transactionRequest.js'
@ -60,13 +61,13 @@ class ConfirmTransactionDialog extends connect(store)(LitElement) {
render() {
return html`
<paper-dialog style="background: var(--white);" id="confirmDialog" modal>
<h2 style="color: var(--black);">Transaction request</h2>
<h2 style="color: var(--black);">${translate("transpage.tchange1")}</h2>
<div id="txInfo">
${this.txInfo}
</div>
<div class="buttons">
<mwc-button class='decline' @click=${e => this.decline(e)} dialog-dismiss>Decline</mwc-button>
<mwc-button class='confirm' @click=${e => this.confirm(e)} dialog-confirm autofocus>Confirm</mwc-button>
<mwc-button class='decline' @click=${e => this.decline(e)} dialog-dismiss>${translate("transpage.tchange2")}</mwc-button>
<mwc-button class='confirm' @click=${e => this.confirm(e)} dialog-confirm autofocus>${translate("transpage.tchange3")}</mwc-button>
</div>
</paper-dialog>
`

Loading…
Cancel
Save