From aa13bc88cbf54600a8b64d7d9f9875eda7b4c763 Mon Sep 17 00:00:00 2001 From: sxlmnwb Date: Mon, 19 Jun 2023 18:48:57 +0700 Subject: [PATCH] i18n: update add en src/pages/ - modified src/layouts/components/DefaultLayout.vue - ecosystem > not enable - favorite - all_blockchains Author: Salman Wahib Co-authored-by: liangping <18786721@qq.com> --- src/layouts/components/DefaultLayout.vue | 4 ++-- src/pages/[...all].vue | 8 ++++---- src/pages/index.vue | 10 +++++----- src/plugins/i18n/locales/en.json | 24 ++++++++++++++++-------- 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue index 493b81d3..6a1d9939 100644 --- a/src/layouts/components/DefaultLayout.vue +++ b/src/layouts/components/DefaultLayout.vue @@ -206,7 +206,7 @@ function selected(route: any, nav: NavLink) {

- {{ $t('index.slogan') }} + {{ $t('pages.slogan') }}

-

Cosmos Ecosystem Blockchains 🚀

+

{{ $t('pages.description') }}

- +
diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json index ecfaf020..25d8381c 100644 --- a/src/plugins/i18n/locales/en.json +++ b/src/plugins/i18n/locales/en.json @@ -12,15 +12,23 @@ "ibc": "IBC", "consensus": "Consensus", "supply": "Supply", - "account": "Accounts" + "account": "Accounts", + "ecosystem": "Ecosystem", + "favorite": "Favorite", + "add_to_favorite": "Add to favorite", + "all_blockchains": "All Blockchain", + "sponsors": "Sponsors", + "links": "Links" }, - "index": { + "pages": { + "title": "Ping Dashboard", + "title_all": "404", + "tag": "Beta", + "tag_all": "Page Not Found", "slogan": "Ping Dashboard is not just an explorer but also a wallet and more ... 🛠", + "description": "Cosmos Ecosystem Blockchains 🚀", "search_placeholder": "Search Chain", - "add_to_favorite": "Add to favorite" - }, - "Ecosystem": "Ecosystem", - "All Blockchains": "All Blockchain", - "Favorite": "Favorite" - + "description_all": "We couldn't find the page you are looking for.", + "btn_index": "Back to Home" + } }