mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Translate Name Transaction
This commit is contained in:
parent
a67fdf942e
commit
d494827d71
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Menge",
|
||||
"to": "Zu",
|
||||
"declined": "Der Benutzer hat die Transaktion abgelehnt!"
|
||||
"declined": "Der Benutzer hat die Transaktion abgelehnt!",
|
||||
"namedialog1": "Sie registrieren den folgenden Namen:",
|
||||
"namedialog2": "Wenn Sie auf Bestätigen drücken, wird der Name registriert!"
|
||||
}
|
||||
}
|
||||
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Cantidad",
|
||||
"to": "A",
|
||||
"declined": "Usuario rechazó transacción!"
|
||||
"declined": "Usuario rechazó transacción!",
|
||||
"namedialog1": "Estás registrando el nombre a continuación:",
|
||||
"namedialog2": "Al presionar confirmar, el nombre quedará registrado!"
|
||||
}
|
||||
}
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Montant",
|
||||
"to": "A",
|
||||
"declined": "Transaction refusée par l’utilisateur!"
|
||||
"declined": "Transaction refusée par l’utilisateur!",
|
||||
"namedialog1": "Vous enregistrez le nom ci-dessous :",
|
||||
"namedialog2": "En appuyant sur confirmer, le nom sera enregistré !"
|
||||
}
|
||||
}
|
@ -573,6 +573,8 @@
|
||||
"transactions": {
|
||||
"amount": "राशि",
|
||||
"to": "को",
|
||||
"declined": "उपयोगकर्ता ने लेन-देन अस्वीकार कर दिया!"
|
||||
"declined": "उपयोगकर्ता ने लेन-देन अस्वीकार कर दिया!",
|
||||
"namedialog1": "आप नीचे नाम दर्ज कर रहे हैं:",
|
||||
"namedialog2": "कन्फर्म दबाते ही नाम दर्ज हो जाएगा !"
|
||||
}
|
||||
}
|
||||
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Iznos",
|
||||
"to": "Prema",
|
||||
"declined": "Korisnik je odbio transakciju!"
|
||||
"declined": "Korisnik je odbio transakciju!",
|
||||
"namedialog1": "Registrirate ime ispod:",
|
||||
"namedialog2": "Pritiskom na potvrdi ime će biti registrirano!"
|
||||
}
|
||||
}
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Mennyiség",
|
||||
"to": "Hoz",
|
||||
"declined": "Felhasználó elutasította a tranzakciót!"
|
||||
"declined": "Felhasználó elutasította a tranzakciót!",
|
||||
"namedialog1": "Ön az alábbi nevet regisztrálja:",
|
||||
"namedialog2": "A megerősítés megnyomására a név regisztrálásra kerül!"
|
||||
}
|
||||
}
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Amount",
|
||||
"to": "To",
|
||||
"declined": "User declined transaction!"
|
||||
"declined": "User declined transaction!",
|
||||
"namedialog1": "You are registering the name below:",
|
||||
"namedialog2": "On pressing confirm, the name will be registered!"
|
||||
}
|
||||
}
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Valor",
|
||||
"to": "Para",
|
||||
"declined": "Usuário recusou transação!"
|
||||
"declined": "Usuário recusou transação!",
|
||||
"namedialog1": "Você está registrando o nome abaixo:",
|
||||
"namedialog2": "Ao pressionar confirmar, o nome será registrado!"
|
||||
}
|
||||
}
|
||||
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Iznos",
|
||||
"to": "Za",
|
||||
"declined": "Korisnik je odbio transakciju!"
|
||||
"declined": "Korisnik je odbio transakciju!",
|
||||
"namedialog1": "Vi registrujete ime ispod:",
|
||||
"namedialog2": "Pritiskom na potvrdi ime će biti registrovano!"
|
||||
}
|
||||
}
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "Amount",
|
||||
"to": "To",
|
||||
"declined": "User declined transaction!"
|
||||
"declined": "User declined transaction!",
|
||||
"namedialog1": "You are registering the name below:",
|
||||
"namedialog2": "On pressing confirm, the name will be registered!"
|
||||
}
|
||||
}
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "数量",
|
||||
"to": "收款人",
|
||||
"declined": "交易已被用戶拒绝!"
|
||||
"declined": "交易已被用戶拒绝!",
|
||||
"namedialog1": "You are registering the name below:",
|
||||
"namedialog2": "On pressing confirm, the name will be registered!"
|
||||
}
|
||||
}
|
||||
|
@ -566,6 +566,8 @@
|
||||
"transactions": {
|
||||
"amount": "數量",
|
||||
"to": "收款人",
|
||||
"declined": "交易被用戶拒絕!"
|
||||
"declined": "交易被用戶拒絕!",
|
||||
"namedialog1": "You are registering the name below:",
|
||||
"namedialog2": "On pressing confirm, the name will be registered!"
|
||||
}
|
||||
}
|
||||
|
@ -10,14 +10,22 @@ export default class RegisterNameTransaction extends TransactionBase {
|
||||
|
||||
render(html) {
|
||||
return html`
|
||||
You are registering the name below:
|
||||
${this._dialogyou}
|
||||
<div style="background: #eee; padding: 8px; margin: 8px 0; border-radius: 5px;">
|
||||
<span style="color: #000;">${this.nameText}</span>
|
||||
</div>
|
||||
On pressing confirm, the name will be registered!
|
||||
${this._dialogonpress}
|
||||
`
|
||||
}
|
||||
|
||||
set dialogyou(dialogyou) {
|
||||
this._dialogyou = dialogyou
|
||||
}
|
||||
|
||||
set dialogonpress(dialogonpress) {
|
||||
this._dialogonpress = dialogonpress
|
||||
}
|
||||
|
||||
set fee(fee) {
|
||||
this._fee = fee * QORT_DECIMALS
|
||||
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)
|
||||
|
@ -359,6 +359,8 @@ class NameRegistration extends LitElement {
|
||||
|
||||
// Make Transaction Request
|
||||
const makeTransactionRequest = async (lastRef) => {
|
||||
let dialogyou = get("transactions.namedialog1")
|
||||
let dialogonpress = get("transactions.namedialog2")
|
||||
let myTxnrequest = await parentEpml.request('transaction', {
|
||||
type: 3,
|
||||
nonce: this.selectedAddress.nonce,
|
||||
@ -367,6 +369,8 @@ class NameRegistration extends LitElement {
|
||||
name: nameInput,
|
||||
value: descInput,
|
||||
lastReference: lastRef,
|
||||
dialogyou: dialogyou,
|
||||
dialogonpress: dialogonpress,
|
||||
}
|
||||
})
|
||||
return myTxnrequest
|
||||
|
Loading…
x
Reference in New Issue
Block a user