From 0007e3e3ae23fe7b792ff5a752ace879bc05d5e7 Mon Sep 17 00:00:00 2001 From: Zixin Zhou Date: Fri, 18 Oct 2024 14:36:25 +0800 Subject: [PATCH] Update mappingTip (#422) --- src/locales/lang/en.ts | 2 +- src/locales/lang/es.ts | 2 +- src/locales/lang/zh.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index 065f32af..49cf581d 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -387,6 +387,6 @@ const msg = { hierarchyNodeMetrics: "Metrics for Hierarchy Graph Node", hierarchyNodeDashboard: "As dashboard for Hierarchy Graph Node", valueMappings: "Value Mappings", - mappingTip: "Notice: The mapping key is a Regex string, for instance, ^-?(0|[1-9][0-9]*|2)(\\.0+)?$", + mappingTip: "Notice: The mapping key is a Regex string, e.g. ^([0-9])$", }; export default msg; diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts index e6408ace..8cda2ce3 100644 --- a/src/locales/lang/es.ts +++ b/src/locales/lang/es.ts @@ -387,6 +387,6 @@ const msg = { hierarchyNodeMetrics: "Metrics for Hierarchy Graph Node", hierarchyNodeDashboard: "As dashboard for Hierarchy Graph Node", valueMappings: "Value Mappings", - mappingTip: "Notice: The mapping key is a Regex string, for instance, ^-?(0|[1-9][0-9]*|2)(\\.0+)?$", + mappingTip: "Aviso: La clave de mapeo es una cadena Regex, p. ej. ^([0-9])$", }; export default msg; diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts index 43b5cadb..95389196 100644 --- a/src/locales/lang/zh.ts +++ b/src/locales/lang/zh.ts @@ -385,6 +385,6 @@ const msg = { hierarchyNodeMetrics: "层次图节点的指标", hierarchyNodeDashboard: "作为层次图节点的dashboard", valueMappings: "值映射", - mappingTip: "注意: 映射键是一个正则表达式字符串,比如 ^-?(0|[1-9][0-9]*|2)(\\.0+)?$", + mappingTip: "注意: 映射键是一个正则表达式字符串,比如 ^([0-9])$", }; export default msg;