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

Commit

Permalink
adding zh-CN
Browse files Browse the repository at this point in the history
Signed-off-by: TonyHan <[email protected]>
  • Loading branch information
tonyh2021 committed Jan 29, 2018
1 parent 927ec7d commit c817351
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ app.use(function(err, req, res, next) {
});

i18n.configure({
locales:['en', 'ja', 'pt', 'es', 'pl'],
locales:['en', 'ja', 'pt', 'es', 'pl', 'zh-CN'],
directory: __dirname + '/locales'
});

Expand Down
19 changes: 19 additions & 0 deletions locales/zh-CN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"Hash": "哈希",
"Blockchain Demo": "区块链示例",
"Block": "区块",
"Blockchain": "区块链",
"Distributed": "分布式",
"Tokens": "代币",
"Coinbase": "币基",
"Data": "数据",
"Nonce": "随机数",
"Mine": "挖矿",
"Prev": "前指针",
"Distributed Blockchain": "分布式的区块链",
"Peer": "节点",
"Tx": "Tx",
"$": "",
"From": "",
"Coinbase Transactions": "币基交易"
}

0 comments on commit c817351

Please sign in to comment.