From f2596a36079d8dc88d4cb1282f96a20a8addc6b4 Mon Sep 17 00:00:00 2001 From: ai-qing-hai Date: Fri, 3 Nov 2023 11:22:01 +0800 Subject: [PATCH] feat(detail): update Antv home update dumi-theme-antv --- .dumi/theme/locales/en.json | 5 ++++- .dumi/theme/locales/zh.json | 5 ++++- site/components/ComplexCharts/index.tsx | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.dumi/theme/locales/en.json b/.dumi/theme/locales/en.json index ba8074be..976e6861 100644 --- a/.dumi/theme/locales/en.json +++ b/.dumi/theme/locales/en.json @@ -314,5 +314,8 @@ "伊利诺伊大学计算机科学客座教授H2O.ai 首席科学家,G2 项目顾问": "Visiting Professor of Computer Science at the University of Illinois, Principal Scientist at H2O.ai and Advisor to the G2 project", "在多年可视化设计与开发的基础上,蚂蚁金服推出了 AntV 产品,这是工业界基础可视化语法与实践方面发出的最强声音,也是工业界与学术界一道推进可视化研发进展的最佳利器。": "Building on years of visualization design and development, Ant Financial launched AntV, the industry's strongest voice in basic visualization grammar and practice, and the best tool for industry to work with academia to advance visualization research and development.", "设计,让数据美而简单,让可视化更普惠。好策略、好资产助力好报表、好产品。": "Design, make the data beautiful and simple, make the visualization more inclusive. Good strategy, good assets help good reports, good products.", - "用户总量": "Total" + "用户总量": "Total", + "3D 可视化图": "3D Visual Chart", + "渲染器运行时切换": "Renderer Runtime Switch", + "分面帧动画": "Faceted Frame Animation" } \ No newline at end of file diff --git a/.dumi/theme/locales/zh.json b/.dumi/theme/locales/zh.json index 11bc0e58..8c901653 100644 --- a/.dumi/theme/locales/zh.json +++ b/.dumi/theme/locales/zh.json @@ -307,5 +307,8 @@ "伊利诺伊大学计算机科学客座教授H2O.ai 首席科学家,G2 项目顾问": "伊利诺伊大学计算机科学客座教授H2O.ai 首席科学家,G2 项目顾问", "在多年可视化设计与开发的基础上,蚂蚁金服推出了 AntV 产品,这是工业界基础可视化语法与实践方面发出的最强声音,也是工业界与学术界一道推进可视化研发进展的最佳利器。": "在多年可视化设计与开发的基础上,蚂蚁金服推出了 AntV 产品,这是工业界基础可视化语法与实践方面发出的最强声音,也是工业界与学术界一道推进可视化研发进展的最佳利器。", "设计,让数据美而简单,让可视化更普惠。好策略、好资产助力好报表、好产品。": "设计,让数据美而简单,让可视化更普惠。好策略、好资产助力好报表、好产品。", - "用户总量": "用户总量" + "用户总量": "用户总量", + "3D 可视化图": "3D 可视化图", + "渲染器运行时切换": "渲染器运行时切换", + "分面帧动画": "分面帧动画" } \ No newline at end of file diff --git a/site/components/ComplexCharts/index.tsx b/site/components/ComplexCharts/index.tsx index 58d249bd..c2c0ef12 100644 --- a/site/components/ComplexCharts/index.tsx +++ b/site/components/ComplexCharts/index.tsx @@ -68,7 +68,7 @@ export function ComplexCharts() { }
-
{select.message}
+
{useT(select.message)}