AppPusher::Lang
Constants
Lang_en = {
transfer_title: "[TRANSFER]",
transfer_value: "{from} sent {amount} to {to}.\n\n{txid}",
asset_issue_title: "[ASSET ISSUE]",
asset_issue_value: "{from} issued {amount} to {to}。\n\n{txid}",
override_transfer_title: "[OVERRIDE TRANSFER]",
override_transfer_value: "{issuer} override transfer {amount} from your account {from}, please check it out. \n\n{txid}",
fill_order_title: "[FILL ORDER]",
fill_order_value: "the order {order_id} of {account} has been filled, please check it out. \n\n{txid}",
proposal_create_title: "[NEW PROPOSAL]",
proposal_create_value: "{required} has a new proposal {proposal_id}, please check it out. proposer: {proposer}. \n\n{txid}",
proposal_update_title: "[UPDATE PROPOSAL]",
proposal_update_value01: "{approval_user} approved {required}'s proposal {proposal_id}, please check it out. fee account: {fee_paying_account}.\n\n{txid}",
proposal_update_value02: "{required}'s proposal {proposal_id} has been updated, please check it out. fee account: {fee_paying_account}. \n\n{txid}",
withdraw_permission_claim_title: "[WITHDRAW PERMISSION]",
withdraw_permission_claim_value: "{to} debit {amount} from your account {from}, please check it out. {withdraw_permission_id} \n\n{txid}",
credit_offer_accept_title: "[BORROW FROM CREDIT OFFER]",
credit_offer_accept_value: "{borrower} borrows {amount} from credit offer {offer_id}, collateral {collateral}. \n\n{txid}",
credit_deal_repay_title: "[REPAY TO CREDIT OFFER]",
credit_deal_repay_value: "{borrower} repay {amount} to credit offer {offer_id}, fee {fee}. \n\n{txid}",
credit_deal_repay_time_title: "[CREDIT DEAL IS ABOUT TO EXPIRE]",
credit_deal_repay_time_value: "{borrower}'s credit deal {debt} is overdue for {hours} hours, please check it out. {deal_id}",
samet_fund_borrow_title: "[BORROW FROM FLASH LOAN]",
samet_fund_borrow_value: "{borrower} borrows {amount} from flash loan {fund_id}. \n\n{txid}",
}
英文
Lang_jp = NamedTuple.new
日文 TODO: 目前为空
Lang_zh_s = {
transfer_title: "【新的收款】",
transfer_value: "{from} 转账 {amount} 给 {to}。\n\n{txid}",
asset_issue_title: "【新的收款】",
asset_issue_value: "{from} 发行 {amount} 给 {to}。\n\n{txid}",
override_transfer_title: "【强制转账】",
override_transfer_value: "{issuer} 从您的账户 {from} 强制回收 {amount},请注意查看。\n\n{txid}",
fill_order_title: "【订单成交】",
fill_order_value: "{account} 的订单 {order_id} 开始成交,请注意查看。\n\n{txid}",
proposal_create_title: "【新的提案】",
proposal_create_value: "{required} 有新的提案 {proposal_id},请注意查看。创建者:{proposer}。\n\n{txid}",
proposal_update_title: "【更新提案】",
proposal_update_value01: "{approval_user} 批准了 {required} 的提案 {proposal_id},请注意查看。手续费账号:{fee_paying_account}。\n\n{txid}",
proposal_update_value02: "{required} 的提案 {proposal_id} 有更新,请注意查看。手续费账号:{fee_paying_account}。\n\n{txid}",
withdraw_permission_claim_title: "【授权提款】",
withdraw_permission_claim_value: "{to} 从您的账户 {from} 自动扣费 {amount},请注意查看。{withdraw_permission_id} \n\n{txid}",
credit_offer_accept_title: "【P2P抵押借款】",
credit_offer_accept_value: "{borrower} 从P2P抵押贷 {offer_id} 借款 {amount},抵押物 {collateral}。\n\n{txid}",
credit_deal_repay_title: "【P2P抵押还款】",
credit_deal_repay_value: "{borrower} 归还 {amount} P2P抵押贷 {offer_id} 的借款,手续费 {fee}。\n\n{txid}",
credit_deal_repay_time_title: "【P2P借款即将逾期】",
credit_deal_repay_time_value: "{borrower} 的P2P借款 {debt} 还有 {hours} 小时逾期,请注意查看。{deal_id}",
samet_fund_borrow_title: "【闪电贷借款】",
samet_fund_borrow_value: "{borrower} 从闪电贷 {fund_id} 借款 {amount}。\n\n{txid}",
}
简体中文
Instance methods
format(lang_key : String, str_key, args : NamedTuple)
Sourceformat(lang_key : String, str_key, **args)
Sourcetext(lang_key : String, str_key) : String
Source