From 874551df34539dbed2b20ab308f2a61d668c3b7c Mon Sep 17 00:00:00 2001 From: Zixin Zhou Date: Fri, 18 Oct 2024 13:26:36 +0800 Subject: [PATCH] Update mappingTip --- 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..16bd3ce7 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, for instance, ^([0-9])$", }; export default msg; diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts index e6408ace..85c6cf49 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: "Notice: The mapping key is a Regex string, for instance, ^([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;