Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Add proposals risks
Browse files Browse the repository at this point in the history
  • Loading branch information
grctest committed Oct 15, 2024
1 parent d6db4cb commit f776aa2
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 21 deletions.
15 changes: 15 additions & 0 deletions src/components/Proposals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,21 @@ export default function Proposals(properties) {
</CardContent>
</Card>

<Card>
<CardHeader className="pb-3">
<CardTitle>{t("Proposals:risksTitle")}</CardTitle>
<CardDescription>{t("Proposals:risksDescription")}</CardDescription>
</CardHeader>
<CardContent>
<span className="text-sm">
<ul className="ml-2 list-disc [&>li]:mt-1 pl-2">
<li>{t("Proposals:risk1")}</li>
<li>{t("Proposals:risk2")}</li>
</ul>
</span>
</CardContent>
</Card>

{viewJSON && json ? (
<Dialog
open={viewJSON}
Expand Down
8 changes: 6 additions & 2 deletions src/data/locales/da/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Gennemgå detaljerne i forslaget og beslut, om det skal godkendes eller afvises.",
"operationType": "Operationstype",
"operationDescription": "Driftsbeskrivelse",
"approvedProposalHeader": "Godkender følgende forslag"
}
"approvedProposalHeader": "Godkender følgende forslag",
"risksTitle": "Forslagsrisici",
"risksDescription": "Vær opmærksom på følgende risici, når du overvejer forslag:",
"risk1": "Forslag kan være farlige. ",
"risk2": "Godkendte forslag er irreversible. "
}
8 changes: 6 additions & 2 deletions src/data/locales/de/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Überprüfen Sie die Details des Vorschlags und entscheiden Sie, ob Sie ihn genehmigen oder ablehnen.",
"operationType": "Operationstyp",
"operationDescription": "Vorgangsbeschreibung",
"approvedProposalHeader": "Zustimmung zum folgenden Vorschlag"
}
"approvedProposalHeader": "Zustimmung zum folgenden Vorschlag",
"risksTitle": "Angebotsrisiken",
"risksDescription": "Seien Sie sich bei der Prüfung von Vorschlägen der folgenden Risiken bewusst:",
"risk1": "Vorschläge können gefährlich sein. ",
"risk2": "Genehmigte Vorschläge sind unwiderruflich. "
}
6 changes: 5 additions & 1 deletion src/data/locales/en/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Review the details of the proposal and decide whether to approve or reject it.",
"operationType": "Operation Type",
"operationDescription": "Operation Description",
"approvedProposalHeader": "Approving the following proposal"
"approvedProposalHeader": "Approving the following proposal",
"risksTitle": "Proposal Risks",
"risksDescription": "Be aware of the following risks when considering proposals:",
"risk1": "Proposals can be dangerous. They can be created by anyone and suggest any kind of operation on the blockchain. Be smart and do your due diligence when considering approving proposals. Make sure not to be caught out by a scammer.",
"risk2": "Approved proposals are irreversible. The Astro-UI and Beeteos apps/projects offer no user warranty as part of their respective licenses. You are responsible for any choice made in the above user interface. Do not fall for tricks. If you weren't expecting a proposal, you should either ignore it or reject it."
}
8 changes: 6 additions & 2 deletions src/data/locales/es/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Revisa los detalles de la propuesta y decide si la apruebas o la rechazas.",
"operationType": "Tipo de operación",
"operationDescription": "Descripción de la operación",
"approvedProposalHeader": "Aprobando la siguiente propuesta"
}
"approvedProposalHeader": "Aprobando la siguiente propuesta",
"risksTitle": "Riesgos de la propuesta",
"risksDescription": "Tenga en cuenta los siguientes riesgos al considerar propuestas:",
"risk1": "Las propuestas pueden ser peligrosas. ",
"risk2": "Las propuestas aprobadas son irreversibles. "
}
8 changes: 6 additions & 2 deletions src/data/locales/et/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Vaadake ettepaneku üksikasjad üle ja otsustage, kas see kinnitada või tagasi lükata.",
"operationType": "Operatsiooni tüüp",
"operationDescription": "Toimingu kirjeldus",
"approvedProposalHeader": "Järgmise ettepaneku heakskiitmine"
}
"approvedProposalHeader": "Järgmise ettepaneku heakskiitmine",
"risksTitle": "Ettepanekuga seotud riskid",
"risksDescription": "Ettepanekute kaalumisel pidage meeles järgmisi riske:",
"risk1": "Ettepanekud võivad olla ohtlikud. ",
"risk2": "Heakskiidetud ettepanekud on pöördumatud. "
}
8 changes: 6 additions & 2 deletions src/data/locales/fr/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Examinez les détails de la proposition et décidez de l’approuver ou de la rejeter.",
"operationType": "Type d'opération",
"operationDescription": "Description de l'opération",
"approvedProposalHeader": "Approuvant la proposition suivante"
}
"approvedProposalHeader": "Approuvant la proposition suivante",
"risksTitle": "Risques liés à la proposition",
"risksDescription": "Soyez conscient des risques suivants lors de l’examen des propositions :",
"risk1": "Les propositions peuvent être dangereuses. ",
"risk2": "Les propositions approuvées sont irréversibles. "
}
8 changes: 6 additions & 2 deletions src/data/locales/it/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Esamina i dettagli della proposta e decidi se approvarla o rifiutarla.",
"operationType": "Tipo di operazione",
"operationDescription": "Descrizione dell'operazione",
"approvedProposalHeader": "Approvazione della seguente proposta"
}
"approvedProposalHeader": "Approvazione della seguente proposta",
"risksTitle": "Rischi della proposta",
"risksDescription": "Essere consapevoli dei seguenti rischi quando si valutano le proposte:",
"risk1": "Le proposte possono essere pericolose. ",
"risk2": "Le proposte approvate sono irreversibili. "
}
8 changes: 6 additions & 2 deletions src/data/locales/ja/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "提案の詳細を確認し、承認するか拒否するかを決定します。",
"operationType": "操作の種類",
"operationDescription": "動作説明",
"approvedProposalHeader": "以下の提案を承認します"
}
"approvedProposalHeader": "以下の提案を承認します",
"risksTitle": "提案のリスク",
"risksDescription": "提案を検討する際には、次のリスクに注意してください。",
"risk1": "提案は危険を伴う可能性があります。",
"risk2": "承認された提案は元に戻すことができません。 "
}
8 changes: 6 additions & 2 deletions src/data/locales/ko/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "제안 내용을 검토하고 승인 또는 거부 여부를 결정합니다.",
"operationType": "작업 유형",
"operationDescription": "작업 설명",
"approvedProposalHeader": "다음 제안 승인"
}
"approvedProposalHeader": "다음 제안 승인",
"risksTitle": "제안 위험",
"risksDescription": "제안을 고려할 때 다음과 같은 위험에 유의하십시오.",
"risk1": "제안은 위험할 수 있습니다. ",
"risk2": "승인된 제안은 되돌릴 수 없습니다. "
}
8 changes: 6 additions & 2 deletions src/data/locales/pt/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "Revise os detalhes da proposta e decida se aprova ou rejeita.",
"operationType": "Tipo de operação",
"operationDescription": "Descrição da Operação",
"approvedProposalHeader": "Aprovando a seguinte proposta"
}
"approvedProposalHeader": "Aprovando a seguinte proposta",
"risksTitle": "Riscos da proposta",
"risksDescription": "Esteja ciente dos seguintes riscos ao considerar propostas:",
"risk1": "As propostas podem ser perigosas. ",
"risk2": "As propostas aprovadas são irreversíveis. "
}
8 changes: 6 additions & 2 deletions src/data/locales/th/Proposals.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"approveProposalDescription": "ตรวจสอบรายละเอียดของข้อเสนอและตัดสินใจว่าจะอนุมัติหรือปฏิเสธ",
"operationType": "ประเภทการดำเนินงาน",
"operationDescription": "คำอธิบายการดำเนินงาน",
"approvedProposalHeader": "อนุมัติข้อเสนอดังต่อไปนี้"
}
"approvedProposalHeader": "อนุมัติข้อเสนอดังต่อไปนี้",
"risksTitle": "ความเสี่ยงของข้อเสนอ",
"risksDescription": "ตระหนักถึงความเสี่ยงต่อไปนี้เมื่อพิจารณาข้อเสนอ:",
"risk1": "ข้อเสนออาจเป็นอันตรายได้ ",
"risk2": "ข้อเสนอที่ได้รับการอนุมัติแล้วไม่สามารถย้อนกลับได้ "
}

0 comments on commit f776aa2

Please sign in to comment.