diff --git a/src/locales/en.json b/src/locales/en.json index dd077a9149..8c0adf0a78 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -313,7 +313,7 @@ "node_country_distribution": "Nodes distribution by Country/Region", "top_50_holders": "Top 50 Holders", "rounded": "Rounded", - "latest_day": "24h", + "24h": "24h", "day_to_one_week": "1d-1w", "one_week_to_one_month": "1w-1m", "one_month_to_three_months": "1m-3m", diff --git a/src/locales/zh.json b/src/locales/zh.json index d92678a883..302c06195f 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -312,7 +312,7 @@ "node_country_distribution": "节点国家(地区)分布图", "top_50_holders": "前 50 持有地址", "rounded": "约等于", - "latest_day": "24小时", + "24h": "24小时", "day_to_one_week": "1天-1周", "one_week_to_one_month": "1周-1月", "one_month_to_three_months": "1月-3月", @@ -320,7 +320,7 @@ "six_months_to_one_year": "6月-1年", "one_year_to_three_years": "1年-3年", "over_three_years": "> 3年", - "ckb_hodl_wave": "CKB HODL Wave" + "ckb_hodl_wave": "CKB持有波动图" }, "home": { "height": "高度", diff --git a/src/pages/StatisticsChart/activities/CkbHodlWave.tsx b/src/pages/StatisticsChart/activities/CkbHodlWave.tsx index 46d8d2cc7f..39e5a03997 100644 --- a/src/pages/StatisticsChart/activities/CkbHodlWave.tsx +++ b/src/pages/StatisticsChart/activities/CkbHodlWave.tsx @@ -25,8 +25,8 @@ const useTooltip = () => { }: SeriesItem & { data: [string, string, string, string, string, string, string, string, string] }): string => { - if (seriesName === t('statistic.latest_day')) { - return `