Browse Source

Translate Group Transactions

new-dgb-rvn
AlphaX-Projects 2 years ago
parent
commit
00032220a5
  1. 8
      qortal-ui-core/language/de.json
  2. 8
      qortal-ui-core/language/es.json
  3. 8
      qortal-ui-core/language/fr.json
  4. 8
      qortal-ui-core/language/hindi.json
  5. 8
      qortal-ui-core/language/hr.json
  6. 8
      qortal-ui-core/language/hu.json
  7. 8
      qortal-ui-core/language/pl.json
  8. 8
      qortal-ui-core/language/pt.json
  9. 8
      qortal-ui-core/language/rs.json
  10. 8
      qortal-ui-core/language/us.json
  11. 8
      qortal-ui-core/language/zhc.json
  12. 8
      qortal-ui-core/language/zht.json
  13. 30
      qortal-ui-crypto/api/transactions/groups/CreateGroupTransaction.js
  14. 12
      qortal-ui-crypto/api/transactions/groups/JoinGroupTransaction.js
  15. 12
      qortal-ui-crypto/api/transactions/groups/LeaveGroupTransaction.js
  16. 18
      qortal-ui-plugins/plugins/core/group-management/group-management.src.js

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

@ -568,6 +568,12 @@
"to": "Zu",
"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!"
"namedialog2": "Wenn Sie auf Bestätigen drücken, wird der Name registriert!",
"groupdialog1": "Sie fordern an, der folgenden Gruppe beizutreten:",
"groupdialog2": "Wenn Sie auf Bestätigen drücken, wird die Gruppenbeitrittsanfrage gesendet!",
"groupdialog3": "Sie beantragen, die folgende Gruppe zu verlassen:",
"groupdialog4": "Wenn Sie auf Bestätigen drücken, wird die Anfrage zum Verlassen der Gruppe gesendet!",
"groupdialog5": "Sie beantragen die Erstellung der folgenden Gruppe:",
"groupdialog6": "Wenn Sie auf Bestätigen drücken, wird die Gruppenerstellungsanfrage gesendet!"
}
}

8
qortal-ui-core/language/es.json

@ -568,6 +568,12 @@
"to": "A",
"declined": "Usuario rechazó transacción!",
"namedialog1": "Estás registrando el nombre a continuación:",
"namedialog2": "Al presionar confirmar, el nombre quedará registrado!"
"namedialog2": "Al presionar confirmar, el nombre quedará registrado!",
"groupdialog1": "Usted está solicitando unirse al grupo a continuación:",
"groupdialog2": "Al presionar confirmar, se enviará la solicitud para unirse al grupo!",
"groupdialog3": "Está solicitando abandonar el grupo a continuación:",
"groupdialog4": "Al presionar confirmar, se enviará la solicitud de salida del grupo!",
"groupdialog5": "Estás solicitando crear el grupo a continuación:",
"groupdialog6": "Al presionar confirmar, se enviará la solicitud de creación de grupo!"
}
}

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

@ -568,6 +568,12 @@
"to": "A",
"declined": "Transaction refusée par l’utilisateur!",
"namedialog1": "Vous enregistrez le nom ci-dessous :",
"namedialog2": "En appuyant sur confirmer, le nom sera enregistré !"
"namedialog2": "En appuyant sur confirmer, le nom sera enregistré !",
"groupdialog1": "Vous demandez à rejoindre le groupe ci-dessous :",
"groupdialog2": "En appuyant sur confirmer, la demande d'adhésion au groupe sera envoyée !",
"groupdialog3": "Vous demandez à quitter le groupe ci-dessous :",
"groupdialog4": "En appuyant sur confirmer, la demande de départ du groupe sera envoyée !",
"groupdialog5": "Vous demandez à créer le groupe ci-dessous :",
"groupdialog6": "En appuyant sur confirmer, la demande de création de groupe sera envoyée !"
}
}

8
qortal-ui-core/language/hindi.json

@ -575,6 +575,12 @@
"to": "क",
"declined": "उपयगकरन-दन असर कर दि!",
"namedialog1": "आप नम दरज कर रह:",
"namedialog2": "कनफरम दबम दरज हएग !"
"namedialog2": "कनफरम दबम दरज हएग !",
"groupdialog1": "आप निए गए समह मिल ह अनध कर रह:",
"groupdialog2": "कनफरम पस करन पर गप जइन रिट भएग!",
"groupdialog3": "आप निए गए समह क अनध कर रह:",
"groupdialog4": "कनफरम पस करन पर लव गप रिट भएग!",
"groupdialog5": "आप न समह बन अनध कर रह:",
"groupdialog6": "कनफरम पस करन पर गप किएटिग रिट भएग!"
}
}

8
qortal-ui-core/language/hr.json

@ -568,6 +568,12 @@
"to": "Prema",
"declined": "Korisnik je odbio transakciju!",
"namedialog1": "Registrirate ime ispod:",
"namedialog2": "Pritiskom na potvrdi ime će biti registrirano!"
"namedialog2": "Pritiskom na potvrdi ime će biti registrirano!",
"groupdialog1": "Zahtijevate da se pridružite grupi u nastavku:",
"groupdialog2": "Pritiskom na potvrdi, bit će poslan zahtjev za pridruživanje grupi!",
"groupdialog3": "Zahtijevate da napustite grupu u nastavku:",
"groupdialog4": "On pressing confirm, the leave group request will be sent!",
"groupdialog5": "Zahtijevate stvaranje grupe u nastavku:",
"groupdialog6": "Pritiskom na potvrdi, bit će poslan zahtjev za stvaranje grupe!"
}
}

8
qortal-ui-core/language/hu.json

@ -568,6 +568,12 @@
"to": "Hoz",
"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!"
"namedialog2": "A megerősítés megnyomására a név regisztrálásra kerül!",
"groupdialog1": "Az alábbi csoporthoz szeretnél csatlakozni:",
"groupdialog2": "A megerősítés megnyomására a rendszer elküldi a csoporthoz való csatlakozási kérelmet!",
"groupdialog3": "Az alábbi csoportból való kilépést kéred:",
"groupdialog4": "A megerősítés megnyomására a rendszer elküldi a távozási csoport kérését!",
"groupdialog5": "Az alábbi csoport létrehozását kéred:",
"groupdialog6": "A megerősítés megnyomására a rendszer elküldi a csoport létrehozási kérelmét!"
}
}

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

@ -568,6 +568,12 @@
"to": "To",
"declined": "User declined transaction!",
"namedialog1": "You are registering the name below:",
"namedialog2": "On pressing confirm, the name will be registered!"
"namedialog2": "On pressing confirm, the name will be registered!",
"groupdialog1": "You are requesting to join the group below:",
"groupdialog2": "On pressing confirm, the group join request will be sent!",
"groupdialog3": "You are requesting to leave the group below:",
"groupdialog4": "On pressing confirm, the leave group request will be sent!",
"groupdialog5": "You are requesting to creating the group below:",
"groupdialog6": "On pressing confirm, the group creating request will be sent!"
}
}

8
qortal-ui-core/language/pt.json

@ -568,6 +568,12 @@
"to": "Para",
"declined": "Usuário recusou transação!",
"namedialog1": "Você está registrando o nome abaixo:",
"namedialog2": "Ao pressionar confirmar, o nome será registrado!"
"namedialog2": "Ao pressionar confirmar, o nome será registrado!",
"groupdialog1": "Você está solicitando para participar do grupo abaixo:",
"groupdialog2": "Ao pressionar confirmar, a solicitação de ingresso no grupo será enviada!",
"groupdialog3": "Você está pedindo para sair do grupo abaixo:",
"groupdialog4": "Ao pressionar confirmar, a solicitação de saída do grupo será enviada!",
"groupdialog5": "Você está solicitando a criação do grupo abaixo:",
"groupdialog6": "Ao pressionar confirmar, a solicitação de criação de grupo será enviada!"
}
}

8
qortal-ui-core/language/rs.json

@ -568,6 +568,12 @@
"to": "Za",
"declined": "Korisnik je odbio transakciju!",
"namedialog1": "Vi registrujete ime ispod:",
"namedialog2": "Pritiskom na potvrdi ime će biti registrovano!"
"namedialog2": "Pritiskom na potvrdi ime će biti registrovano!",
"groupdialog1": "Zahtevate da se pridružite grupi ispod:",
"groupdialog2": "Pritiskom na potvrdi, biće poslat zahtev za pridruživanje grupi!",
"groupdialog3": "Zahtevate da napustite grupu u nastavku:",
"groupdialog4": "Pritiskom na potvrdu, biće poslat zahtev za napuštanje grupe!",
"groupdialog5": "Zahtevate da napravite grupu ispod:",
"groupdialog6": "Pritiskom na potvrdi, biće poslat zahtev za kreiranje grupe!"
}
}

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

@ -568,6 +568,12 @@
"to": "To",
"declined": "User declined transaction!",
"namedialog1": "You are registering the name below:",
"namedialog2": "On pressing confirm, the name will be registered!"
"namedialog2": "On pressing confirm, the name will be registered!",
"groupdialog1": "You are requesting to join the group below:",
"groupdialog2": "On pressing confirm, the group join request will be sent!",
"groupdialog3": "You are requesting to leave the group below:",
"groupdialog4": "On pressing confirm, the leave group request will be sent!",
"groupdialog5": "You are requesting to creating the group below:",
"groupdialog6": "On pressing confirm, the group creating request will be sent!"
}
}

8
qortal-ui-core/language/zhc.json

@ -568,6 +568,12 @@
"to": "收款人",
"declined": "交易已被用戶拒绝!",
"namedialog1": "You are registering the name below:",
"namedialog2": "On pressing confirm, the name will be registered!"
"namedialog2": "On pressing confirm, the name will be registered!",
"groupdialog1": "You are requesting to join the group below:",
"groupdialog2": "On pressing confirm, the group join request will be sent!",
"groupdialog3": "You are requesting to leave the group below:",
"groupdialog4": "On pressing confirm, the leave group request will be sent!",
"groupdialog5": "You are requesting to creating the group below:",
"groupdialog6": "On pressing confirm, the group creating request will be sent!"
}
}

8
qortal-ui-core/language/zht.json

@ -568,6 +568,12 @@
"to": "收款人",
"declined": "交易被用戶拒絕!",
"namedialog1": "You are registering the name below:",
"namedialog2": "On pressing confirm, the name will be registered!"
"namedialog2": "On pressing confirm, the name will be registered!",
"groupdialog1": "You are requesting to join the group below:",
"groupdialog2": "On pressing confirm, the group join request will be sent!",
"groupdialog3": "You are requesting to leave the group below:",
"groupdialog4": "On pressing confirm, the leave group request will be sent!",
"groupdialog5": "You are requesting to creating the group below:",
"groupdialog6": "On pressing confirm, the group creating request will be sent!"
}
}

30
qortal-ui-crypto/api/transactions/groups/CreateGroupTransaction.js

@ -10,18 +10,38 @@ export default class CreateGroupTransaction extends TransactionBase {
render(html) {
return html`
You are requesting to creating the group below:
${this._groupdialog5}
<div style="background: #eee; padding: 8px; margin: 8px 0; border-radius: 5px;">
<div>Group Name: <span style="color: #000;">${this._rGroupName}</span></div>
<div>${this._groupdialog7}: <span style="color: #000;">${this._rGroupName}</span></div>
<br>
<div>Group Description: <span style="color: #000;">${this._rGroupDesc}</span></div>
<div>${this._groupdialog8}: <span style="color: #000;">${this._rGroupDesc}</span></div>
<br>
<div>Group Type: <span style="color: #000;">${this.myGroupType === 1 ? "Public" : "Private"}</span></div>
<div>${this._groupdialog9}: <span style="color: #000;">${this.myGroupType === 1 ? "Public" : "Private"}</span></div>
</div>
On pressing confirm, the group request will be sent!
${this._groupdialog6}
`
}
set groupdialog5(groupdialog5) {
this._groupdialog5 = groupdialog5
}
set groupdialog6(groupdialog6) {
this._groupdialog6 = groupdialog6
}
set groupdialog7(groupdialog7) {
this._groupdialog7 = groupdialog7
}
set groupdialog8(groupdialog8) {
this._groupdialog8 = groupdialog8
}
set groupdialog9(groupdialog9) {
this._groupdialog9 = groupdialog9
}
set fee(fee) {
this._fee = fee * QORT_DECIMALS
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)

12
qortal-ui-crypto/api/transactions/groups/JoinGroupTransaction.js

@ -18,14 +18,22 @@ export default class JoinGroupTransaction extends TransactionBase {
render(html) {
return html`
You are requesting to join the group below:
${this._groupdialog1}
<div style="background: #eee; padding: 8px; margin: 8px 0; border-radius: 5px;">
<span style="color: #000;">${this._rGroupName}</span>
</div>
On pressing confirm, the group request will be sent!
${this._groupdialog2}
`
}
set groupdialog1(groupdialog1) {
this._groupdialog1 = groupdialog1
}
set groupdialog2(groupdialog2) {
this._groupdialog2 = groupdialog2
}
set fee(fee) {
this._fee = fee * QORT_DECIMALS
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)

12
qortal-ui-crypto/api/transactions/groups/LeaveGroupTransaction.js

@ -18,14 +18,22 @@ export default class LeaveGroupTransaction extends TransactionBase {
render(html) {
return html`
You are requesting to leave the group below:
${this._groupdialog3}
<div style="background: #eee; padding: 8px; margin: 8px 0; border-radius: 5px;">
<span style="color: #000;">${this._rGroupName}</span>
</div>
On pressing confirm, the group request will be sent!
${this._groupdialog4}
`
}
set groupdialog3(groupdialog3) {
this._groupdialog3 = groupdialog3
}
set groupdialog4(groupdialog4) {
this._groupdialog4 = groupdialog4
}
set fee(fee) {
this._fee = fee * QORT_DECIMALS
this._feeBytes = this.constructor.utils.int64ToBytes(this._fee)

18
qortal-ui-plugins/plugins/core/group-management/group-management.src.js

@ -762,6 +762,11 @@ class GroupManagement extends LitElement {
// Make Transaction Request
const makeTransactionRequest = async (_groupTypeInput, _groupApprovalInput, _groupMinDelayInput, _groupMaxDelayInput, lastRef) => {
let groupdialog5 = get("transactions.groupdialog5")
let groupdialog6 = get("transactions.groupdialog6")
let groupdialog7 = get("grouppage.gchange4")
let groupdialog8 = get("grouppage.gchange5")
let groupdialog9 = get("grouppage.gchange13")
let myTxnrequest = await parentEpml.request('transaction', {
type: 22,
nonce: this.selectedAddress.nonce,
@ -775,6 +780,11 @@ class GroupManagement extends LitElement {
rGroupMinimumBlockDelay: _groupMinDelayInput,
rGroupMaximumBlockDelay: _groupMaxDelayInput,
lastReference: lastRef,
groupdialog5: groupdialog5,
groupdialog6: groupdialog6,
groupdialog7: groupdialog7,
groupdialog8: groupdialog8,
groupdialog9: groupdialog9,
}
})
return myTxnrequest
@ -852,6 +862,8 @@ class GroupManagement extends LitElement {
// Make Transaction Request
const makeTransactionRequest = async (lastRef) => {
let groupdialog1 = get("transactions.groupdialog1")
let groupdialog2 = get("transactions.groupdialog2")
let myTxnrequest = await parentEpml.request('transaction', {
type: 31,
nonce: this.selectedAddress.nonce,
@ -861,6 +873,8 @@ class GroupManagement extends LitElement {
rGroupName: groupName,
rGroupId: groupId,
lastReference: lastRef,
groupdialog1: groupdialog1,
groupdialog2: groupdialog2,
}
})
return myTxnrequest
@ -910,6 +924,8 @@ class GroupManagement extends LitElement {
// Make Transaction Request
const makeTransactionRequest = async (lastRef) => {
let groupdialog3 = get("transactions.groupdialog3")
let groupdialog4 = get("transactions.groupdialog4")
let myTxnrequest = await parentEpml.request('transaction', {
type: 32,
nonce: this.selectedAddress.nonce,
@ -919,6 +935,8 @@ class GroupManagement extends LitElement {
rGroupName: groupName,
rGroupId: groupId,
lastReference: lastRef,
groupdialog3: groupdialog3,
groupdialog4: groupdialog4,
}
})
return myTxnrequest

Loading…
Cancel
Save