diff --git a/index.html b/index.html
index 20f71ae..53d65a1 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
-
airgrab
+ Airgrab
diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue
index 9dbdb7d..595433e 100644
--- a/src/components/HelloWorld.vue
+++ b/src/components/HelloWorld.vue
@@ -51,7 +51,7 @@ export default {
description:
"Infiniverse is a decentralized augmented reality platform and virtual world on top of the real world. Infinicoin lets you register land and transact on the Infiniverse marketplace.",
website: "https://www.infiniverse.net/",
- keywords: '1:1 Airgrab, 快照时间12月前',
+ keywords: '1:1 Airgrab, ' + this.$t('i18nView.infSnapshot'),
contract: "infinicoinio",
claimKey: 'owner',
actionName: "open",
@@ -67,7 +67,7 @@ export default {
description:
"Play zero house edge, provably fair and truly decentralized games. All EOS Token holders can get their DEOS tokens by 1:1 rate",
website: "https://deosgames.com/",
- keywords: '创世账号,快照时间5月25日',
+ keywords: this.$t('i18nView.genesis') + ',' + this.$t('i18nView.deosSnapshot'),
contract: "thedeosgames",
claimKey: 'owner',
actionName: "claim",
@@ -83,7 +83,7 @@ export default {
description:
"Payments & Budget Management Decentralized App Leveraging the Blockchain, Cryptocurrency and AI Technologies. Drops happen every 24 hours, Airgrab Today!",
website: "https://www.atidium.io/",
- keywords: this.$t('i18nView.creation'),
+ keywords: this.$t('i18nView.genesis') + ',' + this.$t('i18nView.atdRatio'),
contract: "eosatidiumio",
claimKey: 'owner',
actionName: "signup",
@@ -131,7 +131,7 @@ export default {
description:
"Trustworthy, cost-free and pair EOS dice betting platform. Sign up for 1000 DICE",
website: "https://betdice.one/",
- keywords: '已结束',
+ keywords: this.$t('i18nView.finished'),
contract: "betdicetoken",
claimKey: 'owner',
actionName: "signup",
@@ -146,7 +146,7 @@ export default {
logo: 'https://dapp.mytokenpocket.vip/token-logo/EOS_ridlridlcoin_RIDL.png',
description:
"Support Scatter and trustless reputation on blockchain.",
- keywords: '已结束',
+ keywords: this.$t('i18nView.finished'),
website: "https://ridl.get-scatter.com",
contract: "ridlridlcoin",
claimKey: 'claimer',
@@ -160,7 +160,7 @@ export default {
logo: 'https://dapp.mytokenpocket.vip/token-logo/EOS_trybenetwork_TRYBE.png',
description:
"A tokenized knowledge and content sharing platform. Airgrab now for 50 TRYBE tokens (dropped 11th September). Sign up to the platform for a bonus 100 tokens.",
- keywords: '已结束',
+ keywords: this.$t('i18nView.finished'),
website: "https://trybe.one",
contract: "trybenetwork",
claimKey: 'claimer',
@@ -175,7 +175,7 @@ export default {
description:
"Sign Up and use your RAM (0.22kb) for receiving 10,000 SEVEN Tokens",
website: "https://www.se7ens.io/",
- keywords: '已结束',
+ keywords: this.$t('i18nView.finished'),
contract: "xxxsevensxxx",
claimKey: 'owner',
actionName: "signup",
@@ -199,7 +199,6 @@ export default {
}
});
- console.log(this.$i18n);
},
methods: {
@@ -229,11 +228,11 @@ export default {
address: this.currentAddress
}).then(res => {
if (res.result) {
- Dialog.init('执行成功');
+ Dialog.init(this.$t('i18nView.successTip'));
this.getUserInfo();
}
else {
- Dialog.init('执行失败');
+ Dialog.init(this.$t('i18nView.failTip'));
this.getUserInfo();
}
});
diff --git a/src/i18n/lang/en.js b/src/i18n/lang/en.js
index 1e631d9..900599a 100644
--- a/src/i18n/lang/en.js
+++ b/src/i18n/lang/en.js
@@ -2,11 +2,17 @@ const en = {
i18nView: {
language: 'Language',
account: 'Account',
- text: 'AirGrab is a way of distributing candy that consumes the user\'s memory (about 0.25KB per token). After executing AirGrab, we need to wait for the airdrop of the project side. For specific airdrop time, please see the introduction and official website of each project.',
- synopsis: 'Synopsis',
- keyword: 'Keyword',
- creation: 'Creation account, airdrop ratio 1:1',
- data: 'Data source of this tool'
+ text: 'AirGrab is a way of distributing candies that consumes the user\'s RAM (about 0.25KB per kind of token). After AirGrab, we will get the airdrop according to the related team. For specific airdrop time, please see the introduction and official website of each project.',
+ synopsis: 'Description',
+ keyword: 'Keywords',
+ data: 'Data Source',
+ finished: 'Finished',
+ infSnapshot: 'Snapshot before Dec',
+ genesis: 'Genesis account',
+ atdRatio: 'airdrop ratio 1:1',
+ deosSnapshot: 'Snapshot May 25',
+ successTip: 'Succeed',
+ failTip: 'Failed'
}
};
diff --git a/src/i18n/lang/zh.js b/src/i18n/lang/zh.js
index 7ef8030..5b33f6f 100644
--- a/src/i18n/lang/zh.js
+++ b/src/i18n/lang/zh.js
@@ -5,9 +5,14 @@ const zh = {
text: 'AirGrab 是一种糖果分发的方式,需要消耗用户的内存(每种代币大概需要0.25KB 左右)。执行AirGrab后需要等待项目方空投。具体空投时间请查看各项目的简介和官网。',
synopsis: '简介',
keyword: '关键字',
- creation: '创世账号, 空投比例1:1',
data: '本工具数据来源',
-
+ finished: '已结束',
+ infSnapshot: '快照时间12月前',
+ genesis: '创世账号',
+ atdRatio: '空投比例1:1',
+ deosSnapshot: '快照时间5月25日',
+ successTip: '执行成功',
+ failTip: '执行失败'
}
};