OSDN Git Service

create the translation file
authorZhiting Lin <zlin035@uottawa.ca>
Thu, 11 Oct 2018 11:12:56 +0000 (19:12 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Thu, 11 Oct 2018 11:12:56 +0000 (19:12 +0800)
src/locales/en/transaltion.json [new file with mode: 0644]
src/locales/zh/translation.json [new file with mode: 0644]

diff --git a/src/locales/en/transaltion.json b/src/locales/en/transaltion.json
new file mode 100644 (file)
index 0000000..cdfd280
--- /dev/null
@@ -0,0 +1,39 @@
+{
+  "language": "EN",
+  "asset":{
+    "asset": "Asset",
+    "xpubs":"xpub __id__",
+    "assetPub":"Asset Pubkey",
+    "formTitle": ["Asset Alias", "Asset ID"],
+    "new":"New asset",
+    "information":"Asset Information",
+    "keyAndSign":"Keys and Signing",
+    "quorumHint":"Number of signatures required to issue",
+    "aliasError":"Asset alias is required",
+    "keysError":"Please provide keys",
+    "editAlias":"Edit asset alias",
+    "alias":"Asset Alias",
+    "aliasPlaceholder":"Please entered asset alias"
+  },
+  "commonWords": {
+    "version": "Version",
+    "viewDetails":"View details"
+  },
+  "form":{
+    "detail": "Details",
+    "alias": "Alias",
+    "definition": "Definition",
+    "xpubs": "xpubs",
+    "quorum": "Quorum",
+    "index":"Index",
+    "keys": "Keys",
+    "key": "Key"
+  },
+  "xpub":{
+    "methodOptions" : {
+      "mockhsm": "Use existing key",
+      "provide": "Provide existing xpub"
+    },
+    "providePlaceholder": "Enter xpub"
+  }
+}
\ No newline at end of file
diff --git a/src/locales/zh/translation.json b/src/locales/zh/translation.json
new file mode 100644 (file)
index 0000000..e958555
--- /dev/null
@@ -0,0 +1,39 @@
+{
+  "language": "中",
+  "asset":{
+    "asset": "资产",
+    "xpubs":"扩展公钥 __id__",
+    "assetPub":"资产公钥",
+    "formTitle": ["资产别名","资产ID"],
+    "new":"新建资产",
+    "information":"资产信息",
+    "keyAndSign":"密钥和签名",
+    "quorumHint":"所需的签名数",
+    "aliasError":"资产别名是必须项",
+    "keysError":"请输入或选择密钥",
+    "editAlias":"编辑资产别名",
+    "alias":"资产别名",
+    "aliasPlaceholder":"请输入资产别名"
+  },
+  "commonWords": {
+    "version": "版本号",
+    "viewDetails":"查看详情"
+  },
+  "form":{
+    "detail": "详情",
+    "alias": "别名",
+    "definition": "定义",
+    "xpubs": "扩展公钥数",
+    "quorum": "签名数",
+    "index":"索引",
+    "keys": "密钥数",
+    "key": "密钥"
+  },
+  "xpub":{
+    "methodOptions" : {
+      "mockhsm": "使用已有的密钥",
+      "provide": "提供已有的扩展公钥"
+    },
+    "providePlaceholder": "输入扩展公钥"
+  }
+}
\ No newline at end of file