From b11c48f331791d62a1bb0ed756bf11e2b272d9bc Mon Sep 17 00:00:00 2001 From: Keith Date: Sun, 13 Oct 2024 21:58:24 +0900 Subject: [PATCH] feat: use 'bytes stored' instead of 'common knowledge stored' Ref: https://github.com/Magickbase/nervos-official-website/issues/503 --- public/locales/en/home.json | 2 +- public/locales/es/home.json | 2 +- public/locales/fr/home.json | 2 +- public/locales/pt/home.json | 2 +- public/locales/zh/home.json | 2 +- src/pages/home/SlideFooter/index.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/locales/en/home.json b/public/locales/en/home.json index d5bd17b0..63274248 100644 --- a/public/locales/en/home.json +++ b/public/locales/en/home.json @@ -46,7 +46,7 @@ "slide_footer": { "live_metrics": "Live Metrics", "live_cells": "Live Cells", - "common_knowledge_stored": "Common Knowledge Stored", + "bytes_stored": "Bytes Stored", "ckb_in_nervos_dao": "CKB in Nervos DAO", "loading": "loading" }, diff --git a/public/locales/es/home.json b/public/locales/es/home.json index c8f16820..e74bc18d 100644 --- a/public/locales/es/home.json +++ b/public/locales/es/home.json @@ -46,7 +46,7 @@ "slide_footer": { "live_metrics": "Métricas en vivo", "live_cells": "Cells Vivas", - "common_knowledge_stored": "Conocimiento Común Almacenado", + "bytes_stored": "Número de bytes almacenados", "ckb_in_nervos_dao": "CKB en Nervos DAO", "loading": "cargando" }, diff --git a/public/locales/fr/home.json b/public/locales/fr/home.json index 0e4d96a8..a1c8f25a 100644 --- a/public/locales/fr/home.json +++ b/public/locales/fr/home.json @@ -46,7 +46,7 @@ "slide_footer": { "live_metrics": "Métriques en direct", "live_cells": "Cells vivantes", - "common_knowledge_stored": "Common Knowledge Stocké", + "bytes_stored": "Nombre d’octets stockés", "ckb_in_nervos_dao": "CKB dans le Nervos DAO", "loading": "en cours de chargement" }, diff --git a/public/locales/pt/home.json b/public/locales/pt/home.json index 0e74e08f..b58b9d57 100644 --- a/public/locales/pt/home.json +++ b/public/locales/pt/home.json @@ -46,7 +46,7 @@ "slide_footer": { "live_metrics": "Métricas ao vivo", "live_cells": "Cells vivas", - "common_knowledge_stored": "Conhecimento Comum Armazenado", + "bytes_stored": "Número de bytes armazenados", "ckb_in_nervos_dao": "CKB em Nervos DAO", "loading": "carregando" }, diff --git a/public/locales/zh/home.json b/public/locales/zh/home.json index 9b8d74f1..cabaf4d7 100644 --- a/public/locales/zh/home.json +++ b/public/locales/zh/home.json @@ -46,7 +46,7 @@ "slide_footer": { "live_metrics": "实时指标", "live_cells": "未花费 Cell", - "common_knowledge_stored": "存储的共同知识", + "bytes_stored": "存储字节数", "ckb_in_nervos_dao": "Nervos DAO 中的 CKB", "loading": "正在加载" }, diff --git a/src/pages/home/SlideFooter/index.tsx b/src/pages/home/SlideFooter/index.tsx index 4826fa02..56c970f5 100644 --- a/src/pages/home/SlideFooter/index.tsx +++ b/src/pages/home/SlideFooter/index.tsx @@ -83,7 +83,7 @@ const LiveMetrics: FC = () => { const dataList = useMemo( () => [ { name: t('live_cells'), value: liveCells }, - { name: t('common_knowledge_stored'), value: stored }, + { name: t('bytes_stored'), value: stored }, { name: t('ckb_in_nervos_dao'), value: daoDeposit }, ], [daoDeposit, liveCells, stored, t],