4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Merge branch 'pirate-chain' of github.com:Qortal/qortal-ui into pirate-chain

This commit is contained in:
CalDescent 2022-08-17 18:42:10 +01:00
commit a3c5c57fd1
18 changed files with 80 additions and 22 deletions

View File

@ -240,7 +240,8 @@
"wchange42":"Bestätigungen",
"wchange43":"Ihre Transaktion wird erst angezeigt, wenn sie bestätigt wurde. Seien Sie geduldig...",
"wchange44":"Bitte versuche es erneut...",
"wchange45":"Sende alle"
"wchange45":"Sende alle",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Handelsportal",

View File

@ -240,7 +240,8 @@
"wchange42":"Confirmaciones",
"wchange43":"Su transacción no se mostrará hasta que se confirme, sea paciente...",
"wchange44":"Inténtalo de nuevo...",
"wchange45":"Envia todo"
"wchange45":"Envia todo",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portal de Comercio",

View File

@ -240,7 +240,8 @@
"wchange42":"Confirmations",
"wchange43":"Votre transaction ne s'affichera pas tant qu'elle n'aura pas été confirmée, soyez patient...",
"wchange44":"Veuillez réessayer...",
"wchange45":"Envoyer tout"
"wchange45":"Envoyer tout",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portail de commerce",

View File

@ -241,7 +241,8 @@
"wchange42":"पुष्टियों",
"wchange43":"कन्फर्म होने तक आपका ट्रांजैक्शन नहीं दिखेगा, धैर्य रखें...",
"wchange44":"कृपया पुन: प्रयास करें...",
"wchange45":"सब भेजें"
"wchange45":"सब भेजें",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"व्यापार पोर्टल",

View File

@ -240,7 +240,8 @@
"wchange42":"Potvrde",
"wchange43":"Vaša transakcija se neće prikazati dok se ne potvrdi, budite strpljivi...",
"wchange44":"Molim te pokušaj ponovno...",
"wchange45":"Pošalji sve"
"wchange45":"Pošalji sve",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portal razmjene",

View File

@ -240,7 +240,8 @@
"wchange42":"Visszaigazolások",
"wchange43":"A tranzakció nem jelenik meg a megerősítésig, legyen türelemmel...",
"wchange44":"Kérlek próbáld újra...",
"wchange45":"Az összes elküldése"
"wchange45":"Az összes elküldése",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Kereskedelmi Portál",

View File

@ -240,7 +240,8 @@
"wchange42":"Conferme",
"wchange43":"La tua transazione non verrà mostrata fino a quando non sarà confermata, sii paziente...",
"wchange44":"Per favore riprova...",
"wchange45":"Invia tutto"
"wchange45":"Invia tutto",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portale commerciale",

View File

@ -240,7 +240,8 @@
"wchange42":"확인",
"wchange43":"확인될 때까지 거래가 표시되지 않습니다. 기다려 주십시오.",
"wchange44":"다시 시도하십시오...",
"wchange45":"모두 보내기"
"wchange45":"모두 보내기",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"무역 포털",

View File

@ -240,7 +240,8 @@
"wchange42":"Bekreftelser",
"wchange43":"Transaksjonen din vises ikke før den er bekreftet, vær tålmodig...",
"wchange44":"Vær så snill, prøv på nytt...",
"wchange45":"Send alle"
"wchange45":"Send alle",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Handelsportal",

View File

@ -240,7 +240,8 @@
"wchange42":"Potwierdzenia",
"wchange43":"Twoja transakcja nie pojawi się, dopóki nie zostanie potwierdzona, bądź cierpliwy...",
"wchange44":"Proszę spróbuj ponownie...",
"wchange45":"Wyślij wszystko"
"wchange45":"Wyślij wszystko",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portal Handlowy",

View File

@ -240,7 +240,8 @@
"wchange42":"Confirmações",
"wchange43":"Sua transação não será exibida até ser confirmada, seja paciente...",
"wchange44":"Por favor, tente novamente...",
"wchange45":"Envie todos"
"wchange45":"Envie todos",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portal do Comércio",

View File

@ -177,9 +177,9 @@
"mchange31":"Apasa pentru Ajutor",
"mchange32":"Devino Producator de Moneda",
"mchange33":"Introducere",
"mchange34":"In Qortal, pentru a deveni un productor de moneda si a incepe sa castigi recompense QORT odata cu cresterea nivelului de productor de moneda, trebuie mai intai sa devii sponsorizat. Un sponsor in Qortal este orice alt productor de moneda de nivel 5 sau mai mare, sau un Fondator Qortal. Veti obtine o cheie de sponsorizare de la sponsor si veti folosi acea cheie pentru a ajunge la nivelul 1. Odata ce ati ajuns la nivelul 1, veti putea sa va creati propria cheie de producere a monedei si sa incepeti sa castigati recompense pentru a ajuta la securizarea Qortal Blockchain.",
"mchange34":"In Qortal, pentru a deveni un productor de moneda si a incepe sa castigi recompense QORT odata cu cresterea nivelului de productor de moneda, trebuie mai intai sa devii <EFBFBD>sponsorizat<EFBFBD>. Un sponsor in Qortal este orice alt productor de moneda de nivel 5 sau mai mare, sau un Fondator Qortal. Veti obtine o cheie de sponsorizare de la sponsor si veti folosi acea cheie pentru a ajunge la nivelul 1. Odata ce ati ajuns la nivelul 1, veti putea sa va creati propria cheie de producere a monedei si sa incepeti sa castigati recompense pentru a ajuta la securizarea Qortal Blockchain.",
"mchange35":"Sponsorizare",
"mchange36":"Sponsorul dvs. va va emite o Cheie de sponsorizare pe care o veti folosi pentru a o adauga la nodul dvs. si pentru a incepe sa produceti moneda (fara recompense pana la atingerea nivelului 1.) Odata ce ati atins nivelul 1, va creati/atribuiti propria Cheie de producere a monedei si incepeti sa castigati recompense. Aveti XXXX blocuri ramase in perioada de sponsorizare..",
"mchange36":"Sponsorul dvs. va va emite o <EFBFBD>Cheie de sponsorizare<72> pe care o veti folosi pentru a o adauga la nodul dvs. si pentru a incepe sa produceti moneda (fara recompense pana la atingerea nivelului 1.) Odata ce ati atins nivelul 1, va creati/atribuiti propria <EFBFBD>Cheie de producere a monedei<65> si incepeti sa castigati recompense. Aveti XXXX blocuri ramase in perioada de sponsorizare..",
"mchange37":"Pur si simplu contactati un productor de moneda din Qortal care are un nivel suficient de ridicat pentru a emite o cheie de sponsorizare, obtineti acea cheie, apoi reveniti aici si introduceti cheia pentru a va incepe calatoria de productor de moneda !",
"mchange38":"in"
},
@ -188,7 +188,7 @@
"bchange8":"Cheia de introducere de la sponsorul dvs. aici",
"bchange10":"Starea actuala a sponsorizarii",
"bchange12":"Minting cu cheia sponsorului",
"bchange13":"Blocuri ramase în perioada de sponsorizare",
"bchange13":"Blocuri ramase <EFBFBD>n perioada de sponsorizare",
"bchange15":"Relatia de sponsorizare",
"bchange16":"Cont de sponsor",
"bchange17":"Copiati cheia de sponsorizare",
@ -240,7 +240,8 @@
"wchange42":"Confirmari",
"wchange43":"Tranzactia nu va aparea pana ce nu este confirmata, ai rabdare...",
"wchange44":"Te rog incearca din nou...",
"wchange45":"Trimite toate"
"wchange45":"Trimite toate",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Portal de Tranzactionare",
@ -592,7 +593,7 @@
"apipage":{
"achange1":"Adauga cheia API",
"achange2":"API key",
"achange3":"Va rugam sa introduceti cheia API pentru acest nod. Aceasta poate fi gasita intr-un fisier numit “apikey.txt“ in directorul in care este instalat nucleul. Alternativ, faceti clic pe Anulare (Anulare) pentru a utiliza nucleul cu functionalitate redusa.",
"achange3":"Va rugam sa introduceti cheia API pentru acest nod. Aceasta poate fi gasita intr-un fisier numit <EFBFBD>apikey.txt<78> in directorul in care este instalat nucleul. Alternativ, faceti clic pe Anulare (Anulare) pentru a utiliza nucleul cu functionalitate redusa.",
"achange4":"Anulare",
"achange5":"Adauga",
"achange6":"S-a adaugat cu succes cheia API",

View File

@ -240,7 +240,8 @@
"wchange42":"Potvrde",
"wchange43":"Vaša transakcija se neće prikazati dok se ne potvrdi, budite strpljivi...",
"wchange44":"Molim vas, pokušajte ponovo...",
"wchange45":"Poslati sve"
"wchange45":"Poslati sve",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Trgovinski prozor",

View File

@ -240,7 +240,8 @@
"wchange42":"Подтверждено",
"wchange43":"Ваша транзакция не будет отображаться, пока не будет подтверждена, наберитесь терпения...",
"wchange44":"Пожалуйста, попробуйте еще раз...",
"wchange45":"Отправь все"
"wchange45":"Отправь все",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Торговый портал",

View File

@ -235,7 +235,9 @@
"wchange42":"Confirmations",
"wchange43":"Your transaction will not show until confirmed, be patient...",
"wchange44":"Please try again...",
"wchange45":"Send all"
"wchange45":"Send all",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"Trade Portal",

View File

@ -240,7 +240,8 @@
"wchange42":"确认数",
"wchange43":"您的交易在确认之前不会显示,请耐心等待...",
"wchange44":"请再试一次...",
"wchange45":"全部发送"
"wchange45":"全部发送",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"交易门户",

View File

@ -240,7 +240,8 @@
"wchange42":"確認數",
"wchange43":"您的交易在確認之前不會顯示,請耐心等待...",
"wchange44":"請再試一次...",
"wchange45":"全部發送"
"wchange45":"全部發送",
"wchange46":"Memo"
},
"tradepage":{
"tchange1":"交易門戶",

View File

@ -52,10 +52,11 @@ class MultiWallet extends LitElement {
dogeAmount: { type: Number },
dgbRecipient: { type: String },
dgbAmount: { type: Number },
rvnRecipient: { type: String },
rvnRecipient: { type: String },
rvnAmount: { type: Number },
arrrRecipient: { type: String },
arrrAmount: { type: Number },
arrrMemo: { type: String },
errorMessage: { type: String },
arrrWalletAddress: { type: String },
successMessage: { type: String },
@ -616,6 +617,7 @@ class MultiWallet extends LitElement {
this.dgbRecipient = ''
this.rvnRecipient = ''
this.arrrRecipient = ''
this.arrrMemo = ''
this.arrrWalletAddress = ''
this.errorMessage = ''
this.successMessage = ''
@ -1598,6 +1600,17 @@ class MultiWallet extends LitElement {
>
</mwc-textfield>
</p>
<p>
<mwc-textfield
style="width: 100%;"
id="arrrMemo"
label="${translate("walletpage.wchange46")}"
type="text"
value="${this.arrrMemo}"
maxLength="256"
>
</mwc-textfield>
</p>
<p style="color: red;">${this.errorMessage}</p>
<p style="color: green;">${this.successMessage}</p>
${this.sendMoneyLoading ? html` <paper-progress indeterminate style="width: 100%; margin: 4px;"></paper-progress> ` : ''}
@ -1989,6 +2002,29 @@ class MultiWallet extends LitElement {
}
checkSelectedTextAndShowMenu()
})
this.shadowRoot.getElementById('arrrMemo').addEventListener('contextmenu', (event) => {
const getSelectedText = () => {
var text = ''
if (typeof window.getSelection != 'undefined') {
text = window.getSelection().toString()
} else if (typeof this.shadowRoot.selection != 'undefined' && this.shadowRoot.selection.type == 'Text') {
text = this.shadowRoot.selection.createRange().text
}
return text
}
const checkSelectedTextAndShowMenu = () => {
let selectedText = getSelectedText()
if (selectedText && typeof selectedText === 'string') {
} else {
this.pasteMenu(event, 'arrrMemo')
this.isPasteMenuOpen = true
event.preventDefault()
event.stopPropagation()
}
}
checkSelectedTextAndShowMenu()
})
}
renderClearSuccess() {
@ -2571,6 +2607,7 @@ class MultiWallet extends LitElement {
async sendArrr() {
const arrrAmount = this.shadowRoot.getElementById('arrrAmountInput').value
let arrrRecipient = this.shadowRoot.getElementById('arrrRecipient').value
let arrrMemo = this.shadowRoot.getElementById('arrrMemo').value
const seed58 = this.wallets.get(this._selectedWallet).wallet.seed58
this.sendMoneyLoading = true
@ -2581,6 +2618,7 @@ class MultiWallet extends LitElement {
entropy58: seed58,
receivingAddress: arrrRecipient,
arrrAmount: arrrAmount,
arrrMemo: arrrMemo
//feePerByte: (this.arrrFeePerByte / 1e8).toFixed(8), // Not supported in ARRR
}
const response = await parentEpml.request('sendArrr', opts)
@ -2591,8 +2629,10 @@ class MultiWallet extends LitElement {
if (response.length === 64) {
this.shadowRoot.getElementById('arrrAmountInput').value = 0
this.shadowRoot.getElementById('arrrRecipient').value = ''
this.shadowRoot.getElementById('arrrMemo').value = ''
this.errorMessage = ''
this.arrrRecipient = ''
this.arrrMemo=''
this.arrrAmount = 0
this.successMessage = this.renderSuccessText()
this.sendMoneyLoading = false