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

Translation into Chinese #2086

Merged
merged 10 commits into from
Jan 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions packages/app-settings/src/General.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const availableLanguages: SetOption[] = [
text: 'English',
value: 'en'
},
{
text: '汉语',
value: 'zh'
},
{
text: '日本語',
value: 'ja'
Expand Down
1 change: 1 addition & 0 deletions packages/apps/public/locales/en/app-tech-comm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions packages/apps/public/locales/zh/app-123code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
99 changes: 99 additions & 0 deletions packages/apps/public/locales/zh/app-accounts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"account forgotten": "账号忘记了",
"Forget this account": "删除这个账号",
"Create a backup file for this account": "给这个账号创建一个备份文件",
"Change this account's password": "更改账户密码",
"send": "发送",
"Send funds from this account": "从这个账号里面发送资金",
"It is recommended that you create/store your accounts securely and externally from the app. On {{yourBrowser}} the following browser extensions are available for use -": "强烈建议你安全的创建/存储你的账户并且放在应用外部. 在 {{yourBrowser}} 下面的的浏览器扩展可用 -",
"Accounts injected from any of these extensions will appear in this application and be available for use. The above list is updated as more extensions with external signing capability become available.": "从这些扩展程序中的任何一个注入的帐户都将出现在此应用程序中并可供使用。 随着更多具有外部签名功能的扩展可用,上面列表将会自动更新.",
"Learn more...": "了解更多...",
"My accounts": "我的账户",
"Vanity address": "地址美化",
"account backed up": "账号已备份",
"Backup account": "备份账户",
"Cancel": "取消",
"Download": "下载",
"An encrypted backup file will be created once you have pressed the \"Download\" button. This can be used to re-import your account on any other machine.": "一个加密的备份文件将会被创建 一旦你按下 \"下载\" 按钮. 这将会在你用另外一台设备重新导入账户时使用",
"Save this backup file in a secure location. Additionally, the password associated with this account is needed together with this backup file in order to restore your account.": "把这个安全文件保存到一个安全的位置. 另外, 与此帐户关联的密码以及此备份文件需要一起才能还原您的帐户.",
"The account password as specified when creating the account. This is used to encrypt the backup file and subsequently decrypt it when restoring the account.": "创建账户的时候密码需要被指定 用来加密备份文件并且恢复账户的时候用来解密.",
"password": "密码",
"password changed": "密码已更新",
"Change account password": "更改账户密码",
"Change": "更改",
"This will apply to any future use of this account as stored on this browser. Ensure that you securely store this new password and that it is strong and unique to the account.": "此帐户在浏览器中存储以供将来使用。 确保您安全地存储了新密码,该密码是该帐户的唯一密码.",
"The existing account password as specified when this account was created or when it was last changed.": "当账户被创建或者最后一个被修改的时候需要给已存在的账号指定密码.",
"your current password": "你当前的密码",
"The new account password. Once set, all future account unlocks will be performed with this new password.": "新账户的密码. 一旦设置, 后面所有账号解锁都将使用新的密码.",
"your new password": "你的新密码",
"created account": "账号已创建",
"Add an account via seed": "使用种子创建账号",
"Name given to this account. You can edit it. To use the account to validate or nominate, it is a good practice to append the function of the account in the name, e.g \"name_you_want - stash\".": "给该账户命名,你可以随时编辑,使用帐户进行验证或提名, 最好的做法是在该账户名后面附加上账户的功能, 例如 \"账户名 - 暂存\".",
"name": "名称",
"The private key for your account is derived from this seed. This seed must be kept secret as anyone in its possession has access to the funds of this account. If you validate, use the seed of the session account as the \"--key\" parameter of your node.": "你的账户的私钥是从这个种子派生出来的. 该种子必须保密,因为其拥有的任何人都可以使用此帐户的资金. 如果你验证过了, 你的节点使用会话账户的种子作为 \"--key\" 参数.",
"mnemonic seed": "助记词",
"development seed": "开发种子",
"seed (hex or string)": "发送 (16进制 或 字符串)",
"Development": "开发",
"Mnemonic": "助记词",
"Raw seed": "原始种子",
"This password is used to encrypt your private key. It must be strong and unique! You will need it to sign transactions with this account. You can recover this account using this password together with the backup file (generated in the next step).": "这个秘密用来加密你的私钥. 必须健壮唯一! 你将会和你的账号一起用来签名交易. 你可以用你的密码和你的备份账号一起来恢复你账户 (下一步生成的).",
"Advanced creation options": "高级创建选项",
"Determines what cryptography will be used to create this account. Note that to validate on Polkadot, the session account must use \"ed25519\".": "确定将使用哪种加密方法创建此帐户. 注意,要在Polkadot上进行验证, 会话账户必须使用 \"ed25519\".",
"keypair crypto type": "密钥对加密类型",
"You can set a custom derivation path for this account using the following syntax \"/<soft-key>//<hard-key>\". The \"/<soft-key>\" and \"//<hard-key>\" may be repeated and mixed`.": "你可以对这个账户使用下面的语法设置一个自定义的派生路径 \"/<soft-key>//<hard-key>\". \"/<soft-key>\" 和 \"//<hard-key>\" 可以重复和混合`.",
"secret derivation path": "加密派生路径",
"Save": "保存",
"Important notice": "重要提示",
"We will provide you with a generated backup file after your account is created. As long as you have access to your account you can always download this file later by clicking on \"Backup\" button from the Accounts section.": "创建帐户后,我们将为您提供一个生成的备份文件。 只要您有权访问帐户,以后就可以通过单击\"帐户\"中的\"备份\"按钮来下载此文件.",
"Please make sure to save this file in a secure location as it is required, together with your password, to restore your account.": "请确保将此文件和你的秘密保存在安全的位置,因为它是必需的, 恢复账户使用.",
"Create and backup account": "创建并且备份账户",
"account restored": "账户已恢复",
"Add via backup file": "通过备份文件添加",
"Restore": "恢复",
"Select the JSON key file that was downloaded when you created the account. This JSON file contains your private key encrypted with your password.": "选择创建帐户时下载的JSON密钥文件。 此JSON文件包含使用密码加密的私钥.",
"backup file": "备份文件",
"Type the password chosen at the account creation. It was used to encrypt your account's private key in the backup file.": "输入在创建帐户时选择的密码。 它用于加密备份文件中帐户的私钥。",
"Add account via Qr": "通过二维码添加账户",
"Name given to this account. You can change it at any point in the future.": "给该账户命名. 将来你可以随时更改.",
"Create": "创建",
"available ": "可用 ",
"Send funds": "发送资金",
"The account you will send funds from.": "从哪个账户发送资金.",
"send from account": "发送地址",
"Select a contact or paste the address you want to send funds to.": "选择一个联系人或者粘贴一个你想要发送资金的地址.",
"send to address": "发送到的地址",
"Type the amount you want to transfer. Note that you can select the unit on the right e.g sending 1 milli is equivalent to sending 0.001.": "输入你要发送的总量. 注意 你可以从右边选择单位 例如 发送 1 milli 相当于发送 0.001.",
"amount": "总量",
"Make Transfer": "添加交易",
"Add account": "添加账号",
"Restore JSON": "使用JSON恢复",
"Add via Qr": "二维码添加",
"Query Ledger": "查询账本",
"No account yet?": "是不是还没有账户?",
"Stop generation": "停止生成",
"Start generation": "开始生成",
"Type here what you would like your address to contain. This tool will generate the keys and show the associated addresses that best match your search. You can use \"?\" as a wildcard for a character.": "在此处输入您希望包含的地址。 该工具将生成密钥并显示与您的搜索最匹配的关联地址. 你可以使用 \"?\" 最为通配符.",
"Search for": "搜索",
"Should the search be case sensitive, e.g if you select \"no\" your search for \"Some\" may return addresses containing \"somE\" or \"sOme\"...": "搜索是否大小写敏感, 例如: 如果你选择 \"否\" 你搜索 \"Dsy\" 返回的地址可能包括 \"dsY\" 或者 \"DSy\"...",
"case sensitive": "大小写敏感",
"Evaluated {{count}} keys in {{elapsed}}s ({{avg}} keys/s)": "在 {{elapsed}}秒, 生成 {{count}} 个 key (平均{{avg}} keys/秒)",
"You can set a custom derivation path for this account using the following syntax \"/<soft-key>//<hard-key>///<password>\". The \"/<soft-key>\" and \"//<hard-key>\" may be repeated and mixed`. The \"///password\" is optional and should only occur once.": "你可以对该账户自定义派生路径根据下面的语法 \"/<soft-key>//<hard-key>///<密码>\". \"/<soft-key>\" 和 \"//<hard-key>\" 可以重复和混合`. \"///密码\" 是可选的只能出现一次.",
"//hard/soft///password": "//硬/软///密码",
"new account": "新建账户",
"transferrable ": "是否可交易 ",
"Derive account from source": "从源获取账户",
"Change on-chain nickname": "改变链上昵称",
"The selected account to perform the derivation on.": "选择的账号正在执行派生.",
"derive root account": "获取跟账户",
"Derive account from pair": "从秘钥对获取账户",
"The password to unlock the selected account.": "密码用来解锁当前选择的账户.",
"derivation path": "派生路径",
"//hard/soft": "//硬/软",
"Unlock": "解锁",
"transferrable": "可交易",
"no tags": "没有标签",
"filter by tags": "根据标签过滤",
"no accounts yet, create or import and existing": "还没有账户, 创建或者导入存在的",
"no accounts yet, create or import an existing": "还没有账户, 创建或者导入一个已经存在的账户"
}
23 changes: 23 additions & 0 deletions packages/apps/public/locales/zh/app-address-book.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"address forgotten": "地址忘记了",
"Forget this address": "忘记这个地址",
"deposit": "存入",
"Send funds to this address": "发送资金到这个地址",
"My contacts": "我的账户",
"address edited": "地址被编辑了",
"address created": "地址被创建了",
"Add an address": "添加一个地址",
"Paste here the address of the contact you want to add to your address book.": "把你想要添加到地址簿的联系人地址粘贴到这里.",
"address": "地址",
"Type the name of your contact. This name will be used across all the apps. It can be edited later on.": "输入联系人的名字. 这个名字在整个app内可用. 稍后课编辑.",
"name": "名称",
"Cancel": "取消",
"Save": "保存",
"Add contact": "添加联系人",
"No contacts found.": "没有联系人被找到.",
"new address": "新建地址",
"no tags": "没有标签",
"filter by tags": "使用标签过滤",
"no addresses yet add and existring contact": "没有地址被添加并且存在联系人",
"no contracts yet, add an existing contact": "没有地址,添加一个存在的联系人"
}
15 changes: 15 additions & 0 deletions packages/apps/public/locales/zh/app-claims.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"Your Ethereum account": "你的以太坊账户",
"has a valid claim for": "有一个有效的声明",
"does not appear to have a valid claim. Please double check that you have signed the transaction correctly on the correct ETH account.": "一个合法的认领没有出现. 请再次确认你签名的交易是否在正确的以太坊账户上.",
"Redeem": "赎回",
"1. Select your {{chain}} account": "1. 选择你的 {{chain}} 账户",
"The account you want to claim to.": "你想要认领的账户.",
"claim to account": "认领到账户",
"Continue": "继续",
"2. Sign ETH transaction": "2. 签名 ETH 交易",
"copied": "已经复制",
"click to copy": "点击复制",
"Copy the above string and sign an Ethereum transaction with the account you used during the pre-sale in the wallet of your choice, using the string as the payload, and then paste the transaction signature object below": "在钱包中选择预售阶段你使用的以太坊账户,复制上面的字符串,并且使用你的以太坊账户把字符串作为内容签名交易, 并且粘贴交易签名对象到下面",
"Confirm claim": "确定认领"
}
64 changes: 64 additions & 0 deletions packages/apps/public/locales/zh/app-contracts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"You are using an ABI with an outdated format. Please generate a new one.": "你正在使用的ABI格式已过期. 请生成一个新的.",
"invalid ABI file selected": "非法 ABI 文件被选择",
"click to select or drag and drop a JSON ABI file": "点击选择或者拖拽一个JSON格式的ABI文件",
"The code hash for the on-chain deployed code.": "链上部署代码的哈希.",
"code hash": "代码哈希",
"Save": "保存",
"Add an existing code hash": "添加一个已经存在的代码哈希",
"ABI": "ABI",
"Forget this code hash": "忘记这个代码哈希",
"deploy": "部署",
"Deploy this code hash as a smart contract": "将此代码哈希部署为智能合约",
"No code hashes available": "没有代码哈希可用",
"Upload WASM": "上传 WASM",
"The compiled WASM for the contract that you wish to deploy. Each unique code blob will be attached with a code hash that can be used to create new instances.": "您希望部署的合约已编译为WASM. 每个唯一的代码blob都将附加一个代码哈希,可用于创建新实例",
"compiled contract WASM": "编译过的合约 WASM",
"The code is not recognized as being in valid WASM format": "该代码未被识别为有效的WASM格式",
"Upload": "上传",
"Unable to find on-chain WASM code for the supplied codeHash": "找不到所提供codeHash的链上WASM代码 ",
"The codeHash is not a valid hex hash": "codeHash不是有效的十六进制哈希",
"The address for the deployed contract instance.": "部署合同实例的地址.",
"contract address": "合约地址",
"Add an existing contract": "添加一个已存在的合约",
"Call a contract": "调用一个合约",
"Specify the user account to use for this contract call. And fees will be deducted from this account.": "指定用于此合约调用的用户帐户。费用将从该帐户中扣除.",
"call from account": "从账户调用",
"A deployed contract that has either been deployed or attached. The address and ABI are used to construct the parameters.": "已经部署的合约要么是附加的要么是部署的. 地址和ABI用于构造参数.",
"contract to use": "要使用的合约",
"The message to send to this contract. Parameters are adjusted based on the ABI provided.": "发送给合约的消息. 根据提供的ABI调整参数.",
"message to send": "要发送的消息",
"The allotted value for this contract, i.e. the amount transferred to the contract as part of this call.": "此合约的分配值,即转移给合约的总量作为调用的一部分.",
"value": "值",
"The maximum amount of gas that can be used by this deployment, if the code requires more, the deployment will fail.": "此部署可以使用gas的最大量,如果代码需要更多gas,部署将失败.",
"maximum gas allowed": "允许的最大gas",
"Cancel": "取消",
"Call": "调用",
"address forgotten": "地址忘记了",
"Messages": "消息",
"Forget this contract": "忘记该合约",
"execute": "执行",
"Call a method on this contract": "在合约上调用一个方法",
"No contracts available": "没有合约可用",
"Deploy a code hash": "部署一个代码哈希",
"Unable to find deployed contract code at the specified address": "在指定的地址找不到部署的合约代码",
"The value is not in a valid address format": "该值的地址格式无效",
"The contract WASM previously deployed. Internally this is identified by the hash of the code, as either created or attached.": "The contract WASM previously deployed. Internally this is identified by the hash of the code, as either created or attached.",
"code for this contract": "该合约的代码",
"The deployment constructor information for this contract, as provided by the ABI.": "由ABI提供的此合约的部署构造函数信息.",
"The allotted endowment for this contract, i.e. the amount transferred to the contract upon instantiation.": "分配给这个合约的捐赠, 即 the amount transferred to the contract upon instantiation.",
"endowment": "捐赠",
"Deploy": "部署",
"Specify the user account to use for this deployment. And fees will be deducted from this account.": "指定用于部署的用户帐户。 费用将从该帐户中扣除.",
"deployment account": "部署账户",
"Confirm ABI removal": "确认 ABI 清除",
"You are about to remove this code's ABI. Once completed, should you need to access it again, you will have to manually re-upload it.": "You are about to remove this code's ABI. Once completed, should you need to access it again, you will have to manually re-upload it.",
"This operation does not impact the associated on-chain code or any of its contracts.": "This operation does not impact the associated on-chain code or any of its contracts.",
"Remove": "移除",
"The maximum amount of gas that can be used by this call. If the code requires more, the call will fail.": "用于调用使用gas的最大量. 如果超过这个量将会调用失败.",
"Call results": "调用结果",
"constructor ": "构造器",
"send as RPC call": "作为RPC调用发送",
"send as transaction": "作为交易发送",
"Clear all": "清空所有"
}
Loading