diff --git a/packages/plugins/@nocobase/plugin-formula-field/src/client/interfaces/formula.tsx b/packages/plugins/@nocobase/plugin-formula-field/src/client/interfaces/formula.tsx
index 0b107ea7c..1ba0b4cc7 100644
--- a/packages/plugins/@nocobase/plugin-formula-field/src/client/interfaces/formula.tsx
+++ b/packages/plugins/@nocobase/plugin-formula-field/src/client/interfaces/formula.tsx
@@ -60,7 +60,7 @@ export default {
group: 'advanced',
order: 1,
title: `{{t("Formula", { ns: "${NAMESPACE}" })}}`,
- description: `{{t("Compute a value based on the other fields", { ns: "${NAMESPACE}" })}}`,
+ description: `{{t("Configure and store the results of calculations between multiple field values in the same record, supporting both Math.js and Excel formula functions.", { ns: "${NAMESPACE}" })}}`,
sortable: true,
default: {
type: 'formula',
diff --git a/packages/plugins/@nocobase/plugin-formula-field/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-formula-field/src/locale/zh-CN.json
index f531151eb..ffcca532d 100644
--- a/packages/plugins/@nocobase/plugin-formula-field/src/locale/zh-CN.json
+++ b/packages/plugins/@nocobase/plugin-formula-field/src/locale/zh-CN.json
@@ -4,5 +4,5 @@
"Expression": "表达式",
"Expression syntax error": "表达式语法错误",
"Syntax references": "语法参考",
- "Compute a value based on the other fields": "基于其他字段进行计算"
+ "Configure and store the results of calculations between multiple field values in the same record, supporting both Math.js and Excel formula functions.": "可以配置并存储同一条记录的多字段值之间的计算结果,支持 Math.js 和 Excel formula functions 两种引擎。"
}
diff --git a/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx b/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx
index deb0f99bb..b46142a48 100644
--- a/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx
+++ b/packages/plugins/@nocobase/plugin-sequence-field/src/client/sequence.tsx
@@ -103,25 +103,12 @@ const RuleTypes = {
title: `{{t("Autoincrement", { ns: "${NAMESPACE}" })}}`,
optionRenders: {
digits: function Digits({ value }) {
- const { t } = useTranslation();
- return {t('{{value}} Digits', { ns: NAMESPACE, value })};
+ return {value}
;
},
start: function Start({ value }) {
- const { t } = useTranslation();
- return {t('Starts from {{value}}', { ns: NAMESPACE, value })};
- },
- cycle: function Cycle({ value }) {
- return (
-
- );
+ return {value}
;
},
+ cycle: Cron.ReadPretty,
},
fieldset: {
digits: {
@@ -275,6 +262,7 @@ export const sequence: IField = {
group: 'advanced',
order: 3,
title: `{{t("Sequence", { ns: "${NAMESPACE}" })}}`,
+ description: `{{t("Automatically generate codes based on configured rules, supporting combinations of dates, numbers, and text.", { ns: "${NAMESPACE}" })}}`,
sortable: true,
default: {
type: 'sequence',
diff --git a/packages/plugins/@nocobase/plugin-sequence-field/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-sequence-field/src/locale/zh-CN.json
index 2ca0c60a8..5e913fcdd 100644
--- a/packages/plugins/@nocobase/plugin-sequence-field/src/locale/zh-CN.json
+++ b/packages/plugins/@nocobase/plugin-sequence-field/src/locale/zh-CN.json
@@ -1,5 +1,6 @@
{
"Sequence": "自动编码",
+ "Automatically generate codes based on configured rules, supporting combinations of dates, numbers, and text.": "根据配置的规则自动生成编码,支持日期、数字、文本的组合。",
"Sequence rules": "编号规则",
"Add rule": "添加规则",
"Inputable": "可输入",
diff --git a/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/client/expression.tsx b/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/client/expression.tsx
index b134f7788..b14b6201c 100644
--- a/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/client/expression.tsx
+++ b/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/client/expression.tsx
@@ -10,7 +10,7 @@ export default {
group: 'advanced',
order: 1,
title: `{{t("Expression", { ns: "${NAMESPACE}" })}}`,
- description: `{{t("An expression for calculation in each rows", { ns: "${NAMESPACE}" })}}`,
+ description: `{{t("Used to store expressions for use in workflows so that different expressions can be called for different data.", { ns: "${NAMESPACE}" })}}`,
sortable: true,
default: {
type: 'text',
diff --git a/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/locale/zh-CN.json
index 3f7fc9a97..8c47d4fa5 100644
--- a/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/locale/zh-CN.json
+++ b/packages/plugins/@nocobase/plugin-workflow-dynamic-calculation/src/locale/zh-CN.json
@@ -1,11 +1,12 @@
{
+ "Expression": "表达式",
"Dynamic Calculation": "动态表达式计算",
"Calculate an expression based on a calculation engine and obtain a value as the result. Variables in the upstream nodes can be used in the expression. The expression is dynamic one from an expression collections.": "基于计算引擎计算表达式并获取值作为结果。可以在表达式中使用上游节点的变量。表达式是从表达式表中动态获取的。",
"Select dynamic expression": "选择动态表达式",
"Select the dynamic expression queried from the upstream node. You need to query it from an expression collection.": "从上游节点中选择查询出来的动态表达式。你需要从动态表达式类型的数据表中查询。",
"Variable datasource": "变量数据源",
"Dynamic expression": "动态表达式",
- "An expression for calculation in each rows": "每行数据计算规则不同时使用",
+ "Used to store expressions for use in workflows so that different expressions can be called for different data.": "用于存储表达式,在工作流中使用,以便针对不同的数据调用不同的表达式。",
"Unconfigured": "未配置",
"Calculation result": "运算结果"
}