mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-17 08:35:54 +00:00
Translate Transaction Request part one
This commit is contained in:
parent
7625e7295e
commit
2f287d514d
@ -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"
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
@ -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…
x
Reference in New Issue
Block a user