Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to make a proposal to register achievement #6792

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
245 changes: 222 additions & 23 deletions frontend/app/src/components/home/MakeProposalModal.svelte

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions frontend/app/src/i18n/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "集团指数行动",
"makeProposal": "提案",
"maker": {
"achievementChatCost": "需要支付 {cost} {token} 代币才能提供所请求的 CHIT。成就到期后,所有未使用的 CHAT 都将退还。",
"achievementExpiry": "到期",
"achievementLogo": "成就标志",
"achievementName": "成就名称",
"achievementUrl": "成就网址",
"amount": "数量",
"amountRules": "至少 1 个 {token} 令牌",
"approvalError": "无法批准 CHAT 转移",
"awardingAchievementCanisterId": "罐体 ID",
"awardingAchievementCanisterIdRules": "只有此罐子可以授予成就",
"chitReward": "CHIT 奖励",
"chitRewardRules": "至少 {value} CHIT",
"enterAchievementName": "输入成就的名称",
"enterAmount": "输入 {token} 代币的数量",
"enterChitReward": "输入 CHIT 奖励",
"enterMaxAwards": "输入要授予的最大用户数",
"enterRecipientOwner": "输入收件人的账户主体",
"enterRecipientSubaccount": "输入可选的收件人子帐户",
"enterSummary": "输入摘要",
Expand All @@ -1124,6 +1137,8 @@
"header": "提出建议",
"howToBuyUrl": "如何购买网址",
"ledgerCanisterId": "分类帐容器 ID",
"maxAwards": "最大用户奖励",
"maxAwardsRules": "至少 {value}",
"message": "提交提案需要缴纳 {cost} {token} 代币押金(包括两套转账费用),如果提案被采纳,押金将退还。",
"recipientOwner": "收款人账户本金",
"recipientSubaccount": "收款人子账户",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "Gruppenindexaktionen",
"makeProposal": "Machen Sie einen Vorschlag",
"maker": {
"achievementChatCost": "Zur Bereitstellung des angeforderten CHIT ist eine Zahlung von {cost} {token}-Tokens erforderlich. Nicht ausgegebene CHATs werden nach Ablauf der Errungenschaft zurückerstattet.",
"achievementExpiry": "Ablauf",
"achievementLogo": "Leistungslogo",
"achievementName": "Name der Leistung",
"achievementUrl": "Erfolgs-URL",
"amount": "Menge",
"amountRules": "mindestens 1 {token}-Token",
"approvalError": "Die Genehmigung der CHAT-Übertragung ist fehlgeschlagen",
"awardingAchievementCanisterId": "Kanister-ID",
"awardingAchievementCanisterIdRules": "Nur dieser Kanister kann den Erfolg verleihen",
"chitReward": "CHIT-Belohnung",
"chitRewardRules": "zumindest {value} CHIT",
"enterAchievementName": "Geben Sie einen Namen für die Leistung ein",
"enterAmount": "Geben Sie eine Menge von {token} Token ein",
"enterChitReward": "Geben Sie die CHIT-Belohnung ein",
"enterMaxAwards": "Geben Sie die maximale Anzahl an Benutzern ein, die eine Auszeichnung erhalten sollen",
"enterRecipientOwner": "Geben Sie den Kontoinhaber des Empfängers ein",
"enterRecipientSubaccount": "Geben Sie optional ein Empfänger-Unterkonto ein",
"enterSummary": "Geben Sie eine Zusammenfassung ein",
Expand All @@ -1124,6 +1137,8 @@
"header": "Mache einen Antrag",
"howToBuyUrl": "So kaufen Sie eine URL",
"ledgerCanisterId": "Hauptbuchkanister-ID",
"maxAwards": "Maximale Anzahl an vergebenen Benutzern",
"maxAwardsRules": "zumindest {value}",
"message": "Um einen Vorschlag einzureichen, ist eine Anzahlung von {cost} {token} Token (einschließlich zweier Transfergebühren) erforderlich, die zurückerstattet wird, wenn der Vorschlag angenommen wird.",
"recipientOwner": "Hauptkonto des Empfängers",
"recipientSubaccount": "Unterkonto des Empfängers",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "Group Index Actions",
"makeProposal": "Make proposal",
"maker": {
"achievementChatCost": "A payment of {cost} {token} tokens is required to provision the requested CHIT. Any unspent CHAT will be refunded when the achievement expires.",
"achievementExpiry": "Expiry",
"achievementLogo": "Achievement Logo",
"achievementName": "Achievement name",
"achievementUrl": "Achievement URL",
"amount": "Amount",
"amountRules": "at least 1 {token} token",
"approvalError": "Failed to approve the CHAT transfer",
"awardingAchievementCanisterId": "Canister Id",
"awardingAchievementCanisterIdRules": "Only this canister can award the achievement",
"chitReward": "CHIT reward",
"chitRewardRules": "at least {value} CHIT",
"enterAchievementName": "Enter a name for the achievement",
"enterAmount": "Enter a quantity of {token} tokens",
"enterChitReward": "Enter the CHIT reward",
"enterMaxAwards": "Enter max users to award",
"enterRecipientOwner": "Enter the recipient's account principal",
"enterRecipientSubaccount": "Enter an optional recipient sub-account",
"enterSummary": "Enter a summary",
Expand All @@ -1124,6 +1137,8 @@
"header": "Make a proposal",
"howToBuyUrl": "How to buy url",
"ledgerCanisterId": "Ledger canister Id",
"maxAwards": "Max users awarded",
"maxAwardsRules": "at least {value}",
"message": "A deposit of {cost} {token} tokens (includes two sets of transfer fees) is required to submit a proposal which is refunded if the proposal is adopted.",
"recipientOwner": "Recipient's account principal",
"recipientSubaccount": "Recipient's sub-account",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "Acciones de índice de grupo",
"makeProposal": "hacer propuesta",
"maker": {
"achievementChatCost": "Se requiere un pago de tokens {cost} {token} para obtener el CHIT solicitado. Cualquier CHAT no utilizado se reembolsará cuando caduque el logro.",
"achievementExpiry": "Expiración",
"achievementLogo": "Logotipo de logros",
"achievementName": "Nombre del logro",
"achievementUrl": "URL del logro",
"amount": "Cantidad",
"amountRules": "al menos 1 token {token}",
"approvalError": "No se pudo aprobar la transferencia de CHAT",
"awardingAchievementCanisterId": "Identificación del recipiente",
"awardingAchievementCanisterIdRules": "Sólo este bote puede otorgar el logro.",
"chitReward": "Recompensa CHIT",
"chitRewardRules": "al menos {value} CHIT",
"enterAchievementName": "Introduzca un nombre para el logro",
"enterAmount": "Ingrese una cantidad de tokens {token}",
"enterChitReward": "Ingresa la recompensa CHIT",
"enterMaxAwards": "Introduzca el número máximo de usuarios a premiar",
"enterRecipientOwner": "Ingrese el principal de la cuenta del destinatario",
"enterRecipientSubaccount": "Ingrese una subcuenta de destinatario opcional",
"enterSummary": "Introduzca un resumen",
Expand All @@ -1124,6 +1137,8 @@
"header": "Hacer una proposición",
"howToBuyUrl": "como comprar URL",
"ledgerCanisterId": "ID del contenedor del libro mayor",
"maxAwards": "Máximo de usuarios premiados",
"maxAwardsRules": "al menos {value}",
"message": "Se requiere un depósito de tokens {cost} {token} (incluye dos conjuntos de tarifas de transferencia) para enviar una propuesta, que se reembolsa si se adopta.",
"recipientOwner": "Principal de la cuenta del destinatario",
"recipientSubaccount": "Subcuenta del destinatario",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "اقدامات فهرست گروهی",
"makeProposal": "پیشنهاد بدهید",
"maker": {
"achievementChatCost": "برای ارائه CHIT درخواستی، پرداخت {cost} {token} توکن مورد نیاز است. هر چت خرج نشده پس از انقضای جایزه بازپرداخت خواهد شد.",
"achievementExpiry": "انقضا",
"achievementLogo": "لوگوی دستاورد",
"achievementName": "نام دستاورد",
"achievementUrl": "URL دستاورد",
"amount": "میزان",
"amountRules": "حداقل 1 نشانه {token}",
"approvalError": "تایید انتقال CHAT انجام نشد",
"awardingAchievementCanisterId": "شناسه قوطی",
"awardingAchievementCanisterIdRules": "فقط این قوطی می تواند جایزه را اهدا کند",
"chitReward": "پاداش CHIT",
"chitRewardRules": "حداقل {value} CHIT",
"enterAchievementName": "نامی برای دستاورد وارد کنید",
"enterAmount": "مقداری از نشانه‌های {token} را وارد کنید",
"enterChitReward": "پاداش CHIT را وارد کنید",
"enterMaxAwards": "حداکثر کاربران را برای جایزه وارد کنید",
"enterRecipientOwner": "اصل حساب گیرنده را وارد کنید",
"enterRecipientSubaccount": "یک حساب فرعی گیرنده اختیاری وارد کنید",
"enterSummary": "خلاصه ای را وارد کنید",
Expand All @@ -1124,6 +1137,8 @@
"header": "پیشنهاد بدهید",
"howToBuyUrl": "نحوه خرید url",
"ledgerCanisterId": "شناسه قوطی لجر",
"maxAwards": "حداکثر کاربران جایزه دریافت کردند",
"maxAwardsRules": "حداقل {value}",
"message": "برای ارسال یک پیشنهاد، سپرده {cost} {token} توکن (شامل دو مجموعه هزینه انتقال) لازم است که در صورت پذیرش پیشنهاد، بازپرداخت می شود.",
"recipientOwner": "اصل حساب گیرنده",
"recipientSubaccount": "حساب فرعی گیرنده",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "Actions d'index de groupe",
"makeProposal": "Faire une proposition",
"maker": {
"achievementChatCost": "Un paiement de {cost} {token} jetons est requis pour provisionner le CHIT demandé. Tout CHAT non dépensé sera remboursé à l'expiration de la réussite.",
"achievementExpiry": "Expiration",
"achievementLogo": "Logo de réussite",
"achievementName": "Nom de la réalisation",
"achievementUrl": "URL de réussite",
"amount": "Montant",
"amountRules": "au moins 1 jeton {token}",
"approvalError": "Impossible d'approuver le transfert CHAT",
"awardingAchievementCanisterId": "ID de la cartouche",
"awardingAchievementCanisterIdRules": "Seule cette cartouche peut décerner le succès",
"chitReward": "Récompense CHIT",
"chitRewardRules": "au moins {value} CHIT",
"enterAchievementName": "Entrez un nom pour la réussite",
"enterAmount": "Entrez une quantité de jetons {token}",
"enterChitReward": "Entrez la récompense CHIT",
"enterMaxAwards": "Entrez le nombre maximum d'utilisateurs à récompenser",
"enterRecipientOwner": "Saisissez le principal du compte du destinataire",
"enterRecipientSubaccount": "Saisissez un sous-compte de destinataire facultatif",
"enterSummary": "Entrez un résumé",
Expand All @@ -1124,6 +1137,8 @@
"header": "Faire une proposition",
"howToBuyUrl": "Comment acheter une URL",
"ledgerCanisterId": "Identifiant de la cartouche du grand livre",
"maxAwards": "Nombre maximal d'utilisateurs récompensés",
"maxAwardsRules": "au moins {value}",
"message": "Un dépôt de jetons {cost} {token} (comprend deux séries de frais de transfert) est requis pour soumettre une proposition qui est remboursée si la proposition est adoptée.",
"recipientOwner": "Principal du compte du destinataire",
"recipientSubaccount": "Sous-compte du destinataire",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "समूह सूचकांक क्रियाएँ",
"makeProposal": "प्रस्ताव बनाएं",
"maker": {
"achievementChatCost": "अनुरोधित CHIT का प्रावधान करने के लिए {cost} {token} टोकन का भुगतान आवश्यक है। उपलब्धि समाप्त होने पर कोई भी अप्रयुक्त CHAT वापस कर दी जाएगी।",
"achievementExpiry": "समाप्ति",
"achievementLogo": "उपलब्धि लोगो",
"achievementName": "उपलब्धि का नाम",
"achievementUrl": "उपलब्धि यूआरएल",
"amount": "मात्रा",
"amountRules": "कम से कम 1 {token} टोकन",
"approvalError": "CHAT स्थानांतरण स्वीकृत करने में विफल",
"awardingAchievementCanisterId": "कनस्तर आईडी",
"awardingAchievementCanisterIdRules": "केवल यह कनस्तर ही उपलब्धि प्रदान कर सकता है",
"chitReward": "चिट इनाम",
"chitRewardRules": "कम से कम {value} चिट",
"enterAchievementName": "उपलब्धि के लिए नाम दर्ज करें",
"enterAmount": "{token} टोकन की मात्रा दर्ज करें",
"enterChitReward": "CHIT पुरस्कार दर्ज करें",
"enterMaxAwards": "पुरस्कार देने के लिए अधिकतम उपयोगकर्ता दर्ज करें",
"enterRecipientOwner": "प्राप्तकर्ता के खाते का मूलधन दर्ज करें",
"enterRecipientSubaccount": "एक वैकल्पिक प्राप्तकर्ता उप-खाता दर्ज करें",
"enterSummary": "एक सारांश दर्ज करें",
Expand All @@ -1124,6 +1137,8 @@
"header": "एक प्रस्ताव तैयार करें",
"howToBuyUrl": "यूआरएल कैसे खरीदें",
"ledgerCanisterId": "लेजर कनस्तर आईडी",
"maxAwards": "अधिकतम उपयोगकर्ताओं को पुरस्कृत किया गया",
"maxAwardsRules": "कम से कम {value}",
"message": "प्रस्ताव प्रस्तुत करने के लिए {cost} {token} टोकन (हस्तांतरण शुल्क के दो सेट शामिल) जमा करना आवश्यक है जो प्रस्ताव स्वीकृत होने पर वापस कर दिया जाता है।",
"recipientOwner": "प्राप्तकर्ता का खाता मूलधन",
"recipientSubaccount": "प्राप्तकर्ता का उप-खाता",
Expand Down
15 changes: 15 additions & 0 deletions frontend/app/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,9 +1113,22 @@
"groupIndexAction": "Azioni indice di gruppo",
"makeProposal": "Fai una proposta",
"maker": {
"achievementChatCost": "È richiesto un pagamento di {cost} {token} token per fornire il CHIT richiesto. Qualsiasi CHAT non speso verrà rimborsato alla scadenza dell'obiettivo.",
"achievementExpiry": "Scadenza",
"achievementLogo": "Logo del risultato",
"achievementName": "Nome del risultato",
"achievementUrl": "URL del risultato",
"amount": "Quantità",
"amountRules": "almeno 1 token {token}",
"approvalError": "Impossibile approvare il trasferimento CHAT",
"awardingAchievementCanisterId": "ID contenitore",
"awardingAchievementCanisterIdRules": "Solo questo contenitore può conferire il risultato",
"chitReward": "Ricompensa CHIT",
"chitRewardRules": "almeno {value} CHIT",
"enterAchievementName": "Inserisci un nome per il risultato",
"enterAmount": "Inserisci una quantità di token {token}",
"enterChitReward": "Inserisci la ricompensa CHIT",
"enterMaxAwards": "Inserisci il numero massimo di utenti da premiare",
"enterRecipientOwner": "Inserisci l'entità del conto del destinatario",
"enterRecipientSubaccount": "Inserisci un account secondario del destinatario facoltativo",
"enterSummary": "Inserisci un riepilogo",
Expand All @@ -1124,6 +1137,8 @@
"header": "Fai una proposta",
"howToBuyUrl": "Come acquistare l'URL",
"ledgerCanisterId": "ID contenitore registro",
"maxAwards": "Numero massimo di utenti assegnati",
"maxAwardsRules": "almeno {value}",
"message": "Per presentare una proposta è richiesto un deposito di token {cost} {token} (include due serie di commissioni di trasferimento) che verrà rimborsato se la proposta viene adottata.",
"recipientOwner": "Entità del conto del destinatario",
"recipientSubaccount": "Sottoconto del destinatario",
Expand Down
Loading
Loading