mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 11:12:20 +08:00
fix(evaluators): change reference links to doc site (#6021)
This commit is contained in:
parent
390c41a164
commit
edcdf00ea3
@ -274,6 +274,8 @@
|
|||||||
"Formula.js supports most Microsoft Excel formula functions.": "Formula.js 支持大部分 Mircrosoft Excel 公式。",
|
"Formula.js supports most Microsoft Excel formula functions.": "Formula.js 支持大部分 Mircrosoft Excel 公式。",
|
||||||
"String template": "字符串模板",
|
"String template": "字符串模板",
|
||||||
"Simple string replacement, can be used to interpolate variables in a string.": "简单的字符串替换,可以用于在字符串中插入变量。",
|
"Simple string replacement, can be used to interpolate variables in a string.": "简单的字符串替换,可以用于在字符串中插入变量。",
|
||||||
|
"https://docs.nocobase.com/handbook/calculation-engines/formula": "https://docs-cn.nocobase.com/handbook/calculation-engines/formula",
|
||||||
|
"https://docs.nocobase.com/handbook/calculation-engines/mathjs": "https://docs-cn.nocobase.com/handbook/calculation-engines/mathjs",
|
||||||
"Choices": "选择类型",
|
"Choices": "选择类型",
|
||||||
"Checkbox": "勾选",
|
"Checkbox": "勾选",
|
||||||
"Display <icon></icon> when unchecked": "未勾选时显示 <icon></icon>",
|
"Display <icon></icon> when unchecked": "未勾选时显示 <icon></icon>",
|
||||||
|
@ -12,6 +12,6 @@ import formulajs from '../../utils/formulajs';
|
|||||||
export default {
|
export default {
|
||||||
label: 'Formula.js',
|
label: 'Formula.js',
|
||||||
tooltip: '{{t("Formula.js supports most Microsoft Excel formula functions.")}}',
|
tooltip: '{{t("Formula.js supports most Microsoft Excel formula functions.")}}',
|
||||||
link: 'https://formulajs.info/functions/',
|
link: 'https://docs.nocobase.com/handbook/calculation-engines/formula',
|
||||||
evaluate: formulajs,
|
evaluate: formulajs,
|
||||||
};
|
};
|
||||||
|
@ -12,6 +12,6 @@ import mathjs from '../../utils/mathjs';
|
|||||||
export default {
|
export default {
|
||||||
label: 'Math.js',
|
label: 'Math.js',
|
||||||
tooltip: `{{t('Math.js comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types.')}}`,
|
tooltip: `{{t('Math.js comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types.')}}`,
|
||||||
link: 'https://mathjs.org/',
|
link: 'https://docs.nocobase.com/handbook/calculation-engines/mathjs',
|
||||||
evaluate: mathjs,
|
evaluate: mathjs,
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ export const renderEngineReference = (key: string) => {
|
|||||||
>
|
>
|
||||||
{i18n.t('Syntax references')}
|
{i18n.t('Syntax references')}
|
||||||
</span>
|
</span>
|
||||||
<a href={engine.link} target="_blank" rel="noreferrer">
|
<a href={i18n.t(engine.link)} target="_blank" rel="noreferrer">
|
||||||
{engine.label}
|
{engine.label}
|
||||||
</a>
|
</a>
|
||||||
</>
|
</>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user