i18n: update add en src/pages/

- modified src/layouts/components/DefaultLayout.vue

    - ecosystem > not enable
        - favorite
        - all_blockchains

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
This commit is contained in:
sxlmnwb 2023-06-19 18:48:57 +07:00 committed by Salman Wahib
parent f69546d44f
commit aa13bc88cb
4 changed files with 27 additions and 19 deletions

View File

@ -206,7 +206,7 @@ function selected(route: any, nav: NavLink) {
</div> </div>
<div class="px-2"> <div class="px-2">
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase"> <div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">
Sponsors {{ $t('module.sponsors') }}
</div> </div>
<a <a
href="https://osmosis.zone" href="https://osmosis.zone"
@ -239,7 +239,7 @@ function selected(route: any, nav: NavLink) {
</div> </div>
</a> </a>
<div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">Links</div> <div class="px-4 text-sm pt-2 text-gray-400 pb-2 uppercase">{{ $t('module.links') }}</div>
<a <a
href="https://twitter.com/ping_pub" href="https://twitter.com/ping_pub"
target="_blank" target="_blank"

View File

@ -5,17 +5,17 @@ import misc404 from '@/assets/images/pages/404.png';
<template> <template>
<div class="pt-10"> <div class="pt-10">
<div class="text-center"> <div class="text-center">
<div class="text-8xl font-semibold text-main">404</div> <div class="text-8xl font-semibold text-main">{{ $t('pages.title_all') }}</div>
<div class="text-xl font-bold my-2">Page Not Found</div> <div class="text-xl font-bold my-2">{{ $t('pages.tag_all') }}</div>
<div class="text-base"> <div class="text-base">
We couldn't find the page you are looking for. {{ $t('pages.description_all') }}
</div> </div>
</div> </div>
<!-- 👉 Image --> <!-- 👉 Image -->
<div class="misc-avatar w-full text-center"> <div class="misc-avatar w-full text-center">
<RouterLink to="/" class="btn no-underline btn-primary mt-4"> <RouterLink to="/" class="btn no-underline btn-primary mt-4">
Back to Home {{ $t('pages.btn_index') }}
</RouterLink> </RouterLink>
<img :src="misc404" alt="Coming Soon" class="mx-auto h-[400px] mt-10" /> <img :src="misc404" alt="Coming Soon" class="mx-auto h-[400px] mt-10" />
</div> </div>

View File

@ -48,17 +48,17 @@ const chainStore = useBlockchain()
</svg> </svg>
</div> </div>
<h1 class="text-primary dark:invert text-3xl md:!text-6xl font-bold"> <h1 class="text-primary dark:invert text-3xl md:!text-6xl font-bold">
Ping Dashboard {{ $t('pages.title') }}
</h1> </h1>
<div class="badge badge-primary badge-outline dark:invert mt-1 text-sm md:!mt-8"> <div class="badge badge-primary badge-outline dark:invert mt-1 text-sm md:!mt-8">
Beta {{ $t('pages.tag') }}
</div> </div>
</div> </div>
<div class="text-center text-base"> <div class="text-center text-base">
<p class="mb-1"> <p class="mb-1">
{{ $t('index.slogan') }} {{ $t('pages.slogan') }}
</p> </p>
<h2 class="mb-6">Cosmos Ecosystem Blockchains 🚀</h2> <h2 class="mb-6">{{ $t('pages.description') }}</h2>
</div> </div>
<div <div
v-if="dashboard.status !== LoadingStatus.Loaded" v-if="dashboard.status !== LoadingStatus.Loaded"
@ -69,7 +69,7 @@ const chainStore = useBlockchain()
<div class="flex items-center rounded-lg bg-base-100 border border-gray-200 dark:border-gray-700 mt-10"> <div class="flex items-center rounded-lg bg-base-100 border border-gray-200 dark:border-gray-700 mt-10">
<Icon icon="mdi:magnify" class="text-2xl text-gray-400 ml-3"/> <Icon icon="mdi:magnify" class="text-2xl text-gray-400 ml-3"/>
<input :placeholder="$t('index.search_placeholder')" class="px-4 h-10 bg-transparent flex-1 outline-none text-base" v-model="keywords" /> <input :placeholder="$t('pages.search_placeholder')" class="px-4 h-10 bg-transparent flex-1 outline-none text-base" v-model="keywords" />
<div class="px-4 text-base hidden md:!block">{{ chains.length }}/{{ dashboard.length }}</div> <div class="px-4 text-base hidden md:!block">{{ chains.length }}/{{ dashboard.length }}</div>
</div> </div>

View File

@ -12,15 +12,23 @@
"ibc": "IBC", "ibc": "IBC",
"consensus": "Consensus", "consensus": "Consensus",
"supply": "Supply", "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 ... 🛠", "slogan": "Ping Dashboard is not just an explorer but also a wallet and more ... 🛠",
"description": "Cosmos Ecosystem Blockchains 🚀",
"search_placeholder": "Search Chain", "search_placeholder": "Search Chain",
"add_to_favorite": "Add to favorite" "description_all": "We couldn't find the page you are looking for.",
}, "btn_index": "Back to Home"
"Ecosystem": "Ecosystem", }
"All Blockchains": "All Blockchain",
"Favorite": "Favorite"
} }