Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

refactor(*): refactor locale files to use en-US type for consistency (#5537)

白熱eb867e6b6464
diff --git a/README-es.md b/README-es.md
index 59e5814f13..8e701384f7 100644
--- a/README-es.md
+++ b/README-es.md
@@ -113,6 +113,8 @@ Univer soporta múltiples idiomas, incluyendo:
- `vi-VN`
- `fa-IR`
- `ko-KR`
+- `es-ES`
+- `ca-ES`
`zh-CN` y `en-US` son soportados oficialmente, los demás son contribuciones de la comunidad.
diff --git a/README-ja.md b/README-ja.md
index 59925df4b7..8381753589 100644
--- a/README-ja.md
+++ b/README-ja.md
@@ -10,7 +10,7 @@ Univer は、開発者に強力で柔軟かつ使いやすいオフィススイ
> 日本語の開発ドキュメントはまだ未完成です。英語のドキュメントをご参照ください。
-[English][readme-en-link] | [简体中文][readme-zh-link] | **日本語** <br />
+[English][readme-en-link] | [简体中文][readme-zh-link] | **日本語** | [Español][readme-es-link] <br />
[オフィシャルサイト][official-site-link] | [ドキュメント][documentation-link] | [プレイグラウンド][playground-link] | [ブログ][blog-link]
[![][github-license-shield]][github-license-link]
@@ -113,6 +113,8 @@ Univer は多言語をサポートしており、以下の言語が利用可能
- `vi-VN`
- `fa-IR`
- `ko-KR`
+- `es-ES`
+- `ca-ES`
`zh-CN` と `en-US` は公式サポート言語であり、その他の言語はコミュニティによって提供されています。
diff --git a/README-zh.md b/README-zh.md
index e356cdaafb..080a68680b 100644
--- a/README-zh.md
+++ b/README-zh.md
@@ -8,7 +8,7 @@
Univer 是一个开源的办公套件引擎,旨在为开发者提供一个强大、灵活且易于使用的办公套件解决方案。它支持电子表格、文档和幻灯片等多种类型的文档,并提供了丰富的功能和高度的可扩展性。<br />
**可扩展 · 可嵌入 · 高性能**
-[English][readme-en-link] | **简体中文** | [日本語][readme-ja-link] <br />
+[English][readme-en-link] | **简体中文** | [日本語][readme-ja-link] | [Español][readme-es-link] <br />
[官网][official-site-link] | [文档][documentation-link] | [在线体验][playground-link] | [博客][blog-link]
[![][github-license-shield]][github-license-link]
@@ -113,6 +113,8 @@ Univer 内置多种语言支持,包括:
- `vi-VN`
- `fa-IR`
- `ko-KR`
+- `es-ES`
+- `ca-ES`
其中 `zh-CN` 和 `en-US` 由官方支持,其余为社区贡献。
diff --git a/README.md b/README.md
index b45d86a62b..1558f69066 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
An Isomorphic Full-Stack Framework for Creating and Editing Spreadsheets, Docs, and Slides Across Web and Server<br />
**Extensible. High-performance. Embedded to your application.**
-**English** | [简体中文][readme-zh-link] | [日本語][readme-ja-link] <br />
+**English** | [简体中文][readme-zh-link] | [日本語][readme-ja-link] | [Español][readme-es-link] <br />
[Official Site][official-site-link] | [Documentation][documentation-link] | [Online Playground][playground-link] | [Blog][blog-link]
[![][github-license-shield]][github-license-link]
@@ -113,6 +113,8 @@ Univer supports multiple languages, including:
- `vi-VN`
- `fa-IR`
- `ko-KR`
+- `es-ES`
+- `ca-ES`
`zh-CN` and `en-US` are officially supported, while the others are contributed and maintained by the community.
diff --git a/packages/action-recorder/src/locale/ca-ES.ts b/packages/action-recorder/src/locale/ca-ES.ts
index 41e66a6e80..78059e49f7 100644
--- a/packages/action-recorder/src/locale/ca-ES.ts
+++ b/packages/action-recorder/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: 'Grava accions',
diff --git a/packages/action-recorder/src/locale/es-ES.ts b/packages/action-recorder/src/locale/es-ES.ts
index 2d33107036..f5855ba533 100644
--- a/packages/action-recorder/src/locale/es-ES.ts
+++ b/packages/action-recorder/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'action-recorder': {
menu: {
title: 'Grabar acciones',
diff --git a/packages/core/src/shared/index.ts b/packages/core/src/shared/index.ts
index 3cbf7c0c9f..202b43bfe7 100644
--- a/packages/core/src/shared/index.ts
+++ b/packages/core/src/shared/index.ts
@@ -31,7 +31,7 @@ export * from './hash-algorithm';
export * from './lifecycle';
export * from './locale';
export { LRUHelper, LRUMap } from './lru/lru-map';
-export type { INumfmtLocalTag } from './numfmt';
+export type { INumfmtLocaleTag } from './numfmt';
export {
DEFAULT_NUMBER_FORMAT,
DEFAULT_TEXT_FORMAT,
diff --git a/packages/core/src/shared/numfmt.ts b/packages/core/src/shared/numfmt.ts
index e1c259bc12..5504321b14 100644
--- a/packages/core/src/shared/numfmt.ts
+++ b/packages/core/src/shared/numfmt.ts
@@ -30,7 +30,7 @@ export function isDefaultFormat(pattern?: string | null) {
return pattern === null || pattern === undefined || pattern === DEFAULT_NUMBER_FORMAT;
}
-export type INumfmtLocalTag =
+export type INumfmtLocaleTag =
| 'zh-CN'
| 'zh-TW'
| 'cs'
diff --git a/packages/design/src/locale/ca-ES.ts b/packages/design/src/locale/ca-ES.ts
index 5a2a4e3e37..601f1d1d24 100644
--- a/packages/design/src/locale/ca-ES.ts
+++ b/packages/design/src/locale/ca-ES.ts
@@ -15,8 +15,8 @@
*/
import type { ILocale } from './interface';
-import dajsEnUS from 'dayjs/locale/en';
-import PickerEnUs from 'rc-picker/lib/locale/en_US';
+import dajsEsES from 'dayjs/locale/es';
+import PickerCaES from 'rc-picker/lib/locale/ca_ES';
const locale: ILocale = {
design: {
@@ -25,8 +25,8 @@ const locale: ILocale = {
confirm: 'ok',
},
Picker: {
- ...dajsEnUS,
- ...PickerEnUs,
+ ...dajsEsES,
+ ...PickerCaES,
},
CascaderList: {
empty: 'Cap',
diff --git a/packages/design/src/locale/es-ES.ts b/packages/design/src/locale/es-ES.ts
index e409e6272e..b6f4d1de54 100644
--- a/packages/design/src/locale/es-ES.ts
+++ b/packages/design/src/locale/es-ES.ts
@@ -15,28 +15,28 @@
*/
import type { ILocale } from './interface';
-import dajsEnUS from 'dayjs/locale/en';
-import PickerEnUs from 'rc-picker/lib/locale/en_US';
+import dajsEsES from 'dayjs/locale/es';
+import PickerEsES from 'rc-picker/lib/locale/es_ES';
const locale: ILocale = {
design: {
Confirm: {
- cancel: 'cancelar',
+ cancel: 'cancel·la',
confirm: 'ok',
},
Picker: {
- ...dajsEnUS,
- ...PickerEnUs,
+ ...dajsEsES,
+ ...PickerEsES,
},
CascaderList: {
- empty: 'Ninguno',
+ empty: 'Cap',
},
Select: {
- empty: 'Ninguno',
+ empty: 'Cap',
},
ColorPicker: {
- more: 'Más colores',
- cancel: 'cancelar',
+ more: 'Més colors',
+ cancel: 'cancel·la',
confirm: 'ok',
},
},
diff --git a/packages/design/src/locale/fa-IR.ts b/packages/design/src/locale/fa-IR.ts
index 2f49486b64..fc7f3ba551 100644
--- a/packages/design/src/locale/fa-IR.ts
+++ b/packages/design/src/locale/fa-IR.ts
@@ -15,8 +15,8 @@
*/
import type { ILocale } from './interface';
-import dajsEnUS from 'dayjs/locale/en';
-import PickerEnUs from 'rc-picker/lib/locale/en_US';
+import dajsFaIR from 'dayjs/locale/fa';
+import PickerFaIR from 'rc-picker/lib/locale/fa_IR';
const locale: ILocale = {
design: {
@@ -25,8 +25,8 @@ const locale: ILocale = {
confirm: 'باشه',
},
Picker: {
- ...dajsEnUS,
- ...PickerEnUs,
+ ...dajsFaIR,
+ ...PickerFaIR,
},
CascaderList: {
empty: 'هیچ کدام',
diff --git a/packages/docs-drawing-ui/src/locale/ca-ES.ts b/packages/docs-drawing-ui/src/locale/ca-ES.ts
index 40ff2d919f..0dee6a85fe 100644
--- a/packages/docs-drawing-ui/src/locale/ca-ES.ts
+++ b/packages/docs-drawing-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docImage: {
title: 'Imatge',
diff --git a/packages/docs-drawing-ui/src/locale/es-ES.ts b/packages/docs-drawing-ui/src/locale/es-ES.ts
index eab1182c3c..b2e0638abe 100644
--- a/packages/docs-drawing-ui/src/locale/es-ES.ts
+++ b/packages/docs-drawing-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docImage: {
title: 'Imagen',
diff --git a/packages/docs-hyper-link-ui/src/locale/ca-ES.ts b/packages/docs-hyper-link-ui/src/locale/ca-ES.ts
index f54378ad03..f38976ee76 100644
--- a/packages/docs-hyper-link-ui/src/locale/ca-ES.ts
+++ b/packages/docs-hyper-link-ui/src/locale/ca-ES.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const caES: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: 'Confirma',
@@ -40,4 +40,4 @@ const caES: typeof zhCN = {
},
};
-export default caES;
+export default locale;
diff --git a/packages/docs-hyper-link-ui/src/locale/en-US.ts b/packages/docs-hyper-link-ui/src/locale/en-US.ts
index 9f79e23031..142775e9ed 100644
--- a/packages/docs-hyper-link-ui/src/locale/en-US.ts
+++ b/packages/docs-hyper-link-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const enUS: typeof zhCN = {
+const locale = {
docLink: {
edit: {
confirm: 'Confirm',
@@ -40,4 +38,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/docs-hyper-link-ui/src/locale/es-ES.ts b/packages/docs-hyper-link-ui/src/locale/es-ES.ts
index b03bdc374d..1c33911d09 100644
--- a/packages/docs-hyper-link-ui/src/locale/es-ES.ts
+++ b/packages/docs-hyper-link-ui/src/locale/es-ES.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const esES: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: 'Confirmar',
@@ -40,4 +40,4 @@ const esES: typeof zhCN = {
},
};
-export default esES;
+export default locale;
diff --git a/packages/docs-hyper-link-ui/src/locale/fr-FR.ts b/packages/docs-hyper-link-ui/src/locale/fr-FR.ts
index 61ff43ac0d..3ac936d1f7 100644
--- a/packages/docs-hyper-link-ui/src/locale/fr-FR.ts
+++ b/packages/docs-hyper-link-ui/src/locale/fr-FR.ts
@@ -16,7 +16,7 @@
import type enUS from './en-US';
-const frFR: typeof enUS = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: 'Confirmer',
@@ -40,4 +40,4 @@ const frFR: typeof enUS = {
},
};
-export default frFR;
+export default locale;
diff --git a/packages/docs-hyper-link-ui/src/locale/ko-KR.ts b/packages/docs-hyper-link-ui/src/locale/ko-KR.ts
index 0650e3565d..207e6d1af7 100644
--- a/packages/docs-hyper-link-ui/src/locale/ko-KR.ts
+++ b/packages/docs-hyper-link-ui/src/locale/ko-KR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const koKR: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: '확인',
@@ -40,4 +40,4 @@ const koKR: typeof zhCN = {
},
};
-export default koKR;
+export default locale;
diff --git a/packages/docs-hyper-link-ui/src/locale/ru-RU.ts b/packages/docs-hyper-link-ui/src/locale/ru-RU.ts
index 0c1dbf98f5..25862c643e 100644
--- a/packages/docs-hyper-link-ui/src/locale/ru-RU.ts
+++ b/packages/docs-hyper-link-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const ruRU: typeof zhCN = {
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: 'Подтвердить',
@@ -40,4 +40,4 @@ const ruRU: typeof zhCN = {
},
};
-export default ruRU;
+export default locale;
diff --git a/packages/docs-hyper-link-ui/src/locale/zh-CN.ts b/packages/docs-hyper-link-ui/src/locale/zh-CN.ts
index 76b836ca1c..aeae1b0867 100644
--- a/packages/docs-hyper-link-ui/src/locale/zh-CN.ts
+++ b/packages/docs-hyper-link-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const zhCN = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docLink: {
edit: {
confirm: '确认',
@@ -39,4 +41,4 @@ const zhCN = {
},
};
-export default zhCN;
+export default locale;
diff --git a/packages/docs-quick-insert-ui/src/locale/ca-ES.ts b/packages/docs-quick-insert-ui/src/locale/ca-ES.ts
index 73a83213a0..80a1a3464e 100644
--- a/packages/docs-quick-insert-ui/src/locale/ca-ES.ts
+++ b/packages/docs-quick-insert-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: 'Llista numerada',
diff --git a/packages/docs-quick-insert-ui/src/locale/es-ES.ts b/packages/docs-quick-insert-ui/src/locale/es-ES.ts
index daa92f9e90..6e8eecf4d1 100644
--- a/packages/docs-quick-insert-ui/src/locale/es-ES.ts
+++ b/packages/docs-quick-insert-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
docQuickInsert: {
menu: {
numberedList: 'Lista numerada',
diff --git a/packages/docs-ui/src/locale/ca-ES.ts b/packages/docs-ui/src/locale/ca-ES.ts
index d6f367081e..a97e5e4243 100644
--- a/packages/docs-ui/src/locale/ca-ES.ts
+++ b/packages/docs-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
toolbar: {
undo: 'Desfer',
redo: 'Refer',
diff --git a/packages/docs-ui/src/locale/es-ES.ts b/packages/docs-ui/src/locale/es-ES.ts
index d40756036b..14fd3111c8 100644
--- a/packages/docs-ui/src/locale/es-ES.ts
+++ b/packages/docs-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
toolbar: {
undo: 'Deshacer',
redo: 'Rehacer',
diff --git a/packages/drawing-ui/src/locale/ca-ES.ts b/packages/drawing-ui/src/locale/ca-ES.ts
index 5646287190..a5a5e4d8b3 100644
--- a/packages/drawing-ui/src/locale/ca-ES.ts
+++ b/packages/drawing-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'image-popup': {
replace: 'Reemplaçar',
delete: 'Eliminar',
diff --git a/packages/drawing-ui/src/locale/es-ES.ts b/packages/drawing-ui/src/locale/es-ES.ts
index 416eb9f12a..0aeb7305ef 100644
--- a/packages/drawing-ui/src/locale/es-ES.ts
+++ b/packages/drawing-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'image-popup': {
replace: 'Reemplazar',
delete: 'Eliminar',
diff --git a/packages/find-replace/src/locale/ca-ES.ts b/packages/find-replace/src/locale/ca-ES.ts
index ddc18f9e66..cc9b099cb7 100644
--- a/packages/find-replace/src/locale/ca-ES.ts
+++ b/packages/find-replace/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'find-replace': {
toolbar: 'Cerca i reemplaça',
shortcut: {
diff --git a/packages/find-replace/src/locale/es-ES.ts b/packages/find-replace/src/locale/es-ES.ts
index d435c93b93..2a119290a8 100644
--- a/packages/find-replace/src/locale/es-ES.ts
+++ b/packages/find-replace/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'find-replace': {
toolbar: 'Buscar y reemplazar',
shortcut: {
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/ca-ES.ts b/packages/sheets-conditional-formatting-ui/src/locale/ca-ES.ts
index 778cfc5c30..82f3e88659 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheet: {
cf: {
title: 'Format condicional',
diff --git a/packages/sheets-conditional-formatting-ui/src/locale/es-ES.ts b/packages/sheets-conditional-formatting-ui/src/locale/es-ES.ts
index f9db9d2151..7509475fb5 100644
--- a/packages/sheets-conditional-formatting-ui/src/locale/es-ES.ts
+++ b/packages/sheets-conditional-formatting-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheet: {
cf: {
title: 'Formato condicional',
diff --git a/packages/sheets-crosshair-highlight/src/locale/ca-ES.ts b/packages/sheets-crosshair-highlight/src/locale/ca-ES.ts
index 47672111b7..8ddb744617 100644
--- a/packages/sheets-crosshair-highlight/src/locale/ca-ES.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: 'Ressaltat de creu',
diff --git a/packages/sheets-crosshair-highlight/src/locale/es-ES.ts b/packages/sheets-crosshair-highlight/src/locale/es-ES.ts
index 04a30a23b4..82d1909093 100644
--- a/packages/sheets-crosshair-highlight/src/locale/es-ES.ts
+++ b/packages/sheets-crosshair-highlight/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
crosshair: {
button: {
tooltip: 'Resaltado de cruz',
diff --git a/packages/sheets-data-validation-ui/src/locale/ca-ES.ts b/packages/sheets-data-validation-ui/src/locale/ca-ES.ts
index fb5153e411..9c69d3aa7b 100644
--- a/packages/sheets-data-validation-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-data-validation-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
dataValidation: {
title: 'Validació de dades',
validFail: {
diff --git a/packages/sheets-data-validation-ui/src/locale/es-ES.ts b/packages/sheets-data-validation-ui/src/locale/es-ES.ts
index f5af1a5df8..61cd6b561c 100644
--- a/packages/sheets-data-validation-ui/src/locale/es-ES.ts
+++ b/packages/sheets-data-validation-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
dataValidation: {
title: 'Validación de datos',
validFail: {
diff --git a/packages/sheets-drawing-ui/src/locale/ca-ES.ts b/packages/sheets-drawing-ui/src/locale/ca-ES.ts
index bf0e5a96fa..ff1c26ff9a 100644
--- a/packages/sheets-drawing-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-drawing-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetImage: {
title: 'Imatge',
diff --git a/packages/sheets-drawing-ui/src/locale/es-ES.ts b/packages/sheets-drawing-ui/src/locale/es-ES.ts
index eba22540cb..70a0a3b5b9 100644
--- a/packages/sheets-drawing-ui/src/locale/es-ES.ts
+++ b/packages/sheets-drawing-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetImage: {
title: 'Imagen',
diff --git a/packages/sheets-filter-ui/src/locale/ca-ES.ts b/packages/sheets-filter-ui/src/locale/ca-ES.ts
index 1bb4139347..0f6d2ca3cf 100644
--- a/packages/sheets-filter-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-filter-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': 'Alterna el filtre',
diff --git a/packages/sheets-filter-ui/src/locale/es-ES.ts b/packages/sheets-filter-ui/src/locale/es-ES.ts
index 62ab99c32e..0236fd4b3a 100644
--- a/packages/sheets-filter-ui/src/locale/es-ES.ts
+++ b/packages/sheets-filter-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-filter': {
toolbar: {
'smart-toggle-filter-tooltip': 'Alternar filtro',
diff --git a/packages/sheets-find-replace/src/locale/ca-ES.ts b/packages/sheets-find-replace/src/locale/ca-ES.ts
index 8b3552656c..50225940c6 100644
--- a/packages/sheets-find-replace/src/locale/ca-ES.ts
+++ b/packages/sheets-find-replace/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheet-find-replace': {
replace: {
'partial-failure': 'No s’ha pogut substituir algunes cel·les',
diff --git a/packages/sheets-find-replace/src/locale/es-ES.ts b/packages/sheets-find-replace/src/locale/es-ES.ts
index 2824286cf8..798a8bf8c2 100644
--- a/packages/sheets-find-replace/src/locale/es-ES.ts
+++ b/packages/sheets-find-replace/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheet-find-replace': {
replace: {
'partial-failure': 'No se pudo reemplazar algunas celdas',
diff --git a/packages/sheets-formula-ui/src/locale/ca-ES.ts b/packages/sheets-formula-ui/src/locale/ca-ES.ts
index b57c255e52..a7f79fe19a 100644
--- a/packages/sheets-formula-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/ca-ES.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/ca-ES';
import compatibility from './function-list/compatibility/ca-ES';
import cube from './function-list/cube/ca-ES';
@@ -30,7 +31,7 @@ import text from './function-list/text/ca-ES';
import univer from './function-list/univer/ca-ES';
import web from './function-list/web/ca-ES';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'Suma ràpida',
@@ -117,3 +118,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/en-US.ts b/packages/sheets-formula-ui/src/locale/en-US.ts
index 7b126a629d..078ba996f1 100644
--- a/packages/sheets-formula-ui/src/locale/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/en-US.ts
@@ -30,7 +30,7 @@ import text from './function-list/text/en-US';
import univer from './function-list/univer/en-US';
import web from './function-list/web/en-US';
-export default {
+const locale = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'Quick Sum',
@@ -117,3 +117,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/es-ES.ts b/packages/sheets-formula-ui/src/locale/es-ES.ts
index 18def0c2ba..36324a9973 100644
--- a/packages/sheets-formula-ui/src/locale/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/es-ES.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/es-ES';
import compatibility from './function-list/compatibility/es-ES';
import cube from './function-list/cube/es-ES';
@@ -30,7 +31,7 @@ import text from './function-list/text/es-ES';
import univer from './function-list/univer/es-ES';
import web from './function-list/web/es-ES';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'Suma rápida',
@@ -117,3 +118,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/fa-IR.ts b/packages/sheets-formula-ui/src/locale/fa-IR.ts
index 568eee9504..fd919ee35a 100644
--- a/packages/sheets-formula-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-formula-ui/src/locale/fa-IR.ts
@@ -14,23 +14,24 @@
* limitations under the License.
*/
-import array from './function-list/array/en-US';
-import compatibility from './function-list/compatibility/en-US';
-import cube from './function-list/cube/en-US';
-import database from './function-list/database/en-US';
-import date from './function-list/date/en-US';
-import engineering from './function-list/engineering/en-US';
-import financial from './function-list/financial/en-US';
-import information from './function-list/information/en-US';
-import logical from './function-list/logical/en-US';
-import lookup from './function-list/lookup/en-US';
-import math from './function-list/math/en-US';
-import statistical from './function-list/statistical/en-US';
-import text from './function-list/text/en-US';
-import univer from './function-list/univer/en-US';
-import web from './function-list/web/en-US';
+import type enUS from './en-US';
+import array from './function-list/array/fa-IR';
+import compatibility from './function-list/compatibility/fa-IR';
+import cube from './function-list/cube/fa-IR';
+import database from './function-list/database/fa-IR';
+import date from './function-list/date/fa-IR';
+import engineering from './function-list/engineering/fa-IR';
+import financial from './function-list/financial/fa-IR';
+import information from './function-list/information/fa-IR';
+import logical from './function-list/logical/fa-IR';
+import lookup from './function-list/lookup/fa-IR';
+import math from './function-list/math/fa-IR';
+import statistical from './function-list/statistical/fa-IR';
+import text from './function-list/text/fa-IR';
+import univer from './function-list/univer/fa-IR';
+import web from './function-list/web/fa-IR';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'جمع سریع',
@@ -117,3 +118,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/fr-FR.ts b/packages/sheets-formula-ui/src/locale/fr-FR.ts
index ba19142bfe..cee0666516 100644
--- a/packages/sheets-formula-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/fr-FR.ts
@@ -14,23 +14,24 @@
* limitations under the License.
*/
-import array from './function-list/array/en-US';
-import compatibility from './function-list/compatibility/en-US';
-import cube from './function-list/cube/en-US';
-import database from './function-list/database/en-US';
-import date from './function-list/date/en-US';
-import engineering from './function-list/engineering/en-US';
-import financial from './function-list/financial/en-US';
-import information from './function-list/information/en-US';
-import logical from './function-list/logical/en-US';
-import lookup from './function-list/lookup/en-US';
-import math from './function-list/math/en-US';
-import statistical from './function-list/statistical/en-US';
-import text from './function-list/text/en-US';
-import univer from './function-list/univer/en-US';
-import web from './function-list/web/en-US';
+import type enUS from './en-US';
+import array from './function-list/array/fr-FR';
+import compatibility from './function-list/compatibility/fr-FR';
+import cube from './function-list/cube/fr-FR';
+import database from './function-list/database/fr-FR';
+import date from './function-list/date/fr-FR';
+import engineering from './function-list/engineering/fr-FR';
+import financial from './function-list/financial/fr-FR';
+import information from './function-list/information/fr-FR';
+import logical from './function-list/logical/fr-FR';
+import lookup from './function-list/lookup/fr-FR';
+import math from './function-list/math/fr-FR';
+import statistical from './function-list/statistical/fr-FR';
+import text from './function-list/text/fr-FR';
+import univer from './function-list/univer/fr-FR';
+import web from './function-list/web/fr-FR';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'Somme rapide',
@@ -117,3 +118,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/array/ca-ES.ts
index b221078a99..54d5641993 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: 'Restringeix un resultat de matriu a una mida especificada.',
abstract: 'Restringeix un resultat de matriu a una mida especificada.',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/array/en-US.ts
index 5f24c1a020..32af75931b 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
ARRAY_CONSTRAIN: {
description: 'Constrains an array result to a specified size.',
abstract: 'Constrains an array result to a specified size.',
@@ -45,3 +45,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/array/es-ES.ts
index 5f059d6a2c..a0098b8a4c 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: 'Restringe un resultado de matriz a un tamaño especificado.',
abstract: 'Restringe un resultado de matriz a un tamaño especificado.',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/array/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/array/fr-FR.ts
index 58cbf697eb..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/fr-FR.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/array/ja-JP.ts
index 000a9f4334..d2eaa14bcd 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: '配列の結果を指定したサイズに抑えます',
abstract: '配列の結果を指定したサイズに抑えます',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/array/ko-KR.ts
index 0d66b7fb5b..1456023e29 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: '배열 결과를 지정된 크기로 제한합니다.',
abstract: '배열 결과를 지정된 크기로 제한합니다.',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/array/ru-RU.ts
index 6dfeccccbd..4c88719570 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: 'Задает размер массива, в который будут помещены результаты.',
abstract: 'Задает размер массива, в который будут помещены результаты.',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/array/vi-VN.ts
index 8c284b30e9..e6c9f78bb6 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: 'Ràng buộc giá trị mảng vào một kích thước chỉ định sẵn.',
abstract: 'Ràng buộc giá trị mảng vào một kích thước chỉ định sẵn.',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/array/zh-CN.ts
index 95927b645a..a1ef1606e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: '以给定值约束数组结果的大小',
abstract: '以给定值约束数组结果的大小',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/array/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/array/zh-TW.ts
index 9ac6d5f0b7..c919fabd56 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/array/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/array/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ARRAY_CONSTRAIN: {
description: '限制特定大小的陣列結果',
abstract: '限制特定大小的陣列結果',
@@ -45,3 +47,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ca-ES.ts
index aea0a39ab5..36efde3e5a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: 'Retorna la funció de distribució acumulada beta.',
abstract: 'Retorna la funció de distribució acumulada beta.',
@@ -582,3 +584,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/en-US.ts
index b39e812444..a3492b6838 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
BETADIST: {
description: 'Returns the beta cumulative distribution function',
abstract: 'Returns the beta cumulative distribution function',
@@ -582,3 +582,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/es-ES.ts
index 76db521b9e..099941dde1 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: 'Devuelve la función de distribución acumulativa beta.',
abstract: 'Devuelve la función de distribución acumulativa beta.',
@@ -582,3 +584,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/fr-FR.ts
index 26cb246081..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/fr-FR.ts
@@ -14,538 +14,8 @@
* limitations under the License.
*/
-export default {
- BETADIST: {
- description: 'Returns the beta cumulative distribution function',
- abstract: 'Returns the beta cumulative distribution function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/betadist-function-49f1b9a9-a5da-470f-8077-5f1730b5fd47',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BETAINV: {
- description: 'Returns the inverse of the cumulative distribution function for a specified beta distribution',
- abstract: 'Returns the inverse of the cumulative distribution function for a specified beta distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/betainv-function-8b914ade-b902-43c1-ac9c-c05c54f10d6c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BINOMDIST: {
- description: 'Returns the individual term binomial distribution probability',
- abstract: 'Returns the individual term binomial distribution probability',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/binomdist-function-506a663e-c4ca-428d-b9a8-05583d68789c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHIDIST: {
- description: 'Returns the one-tailed probability of the chi-squared distribution',
- abstract: 'Returns the one-tailed probability of the chi-squared distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chidist-function-c90d0fbc-5b56-4f5f-ab57-34af1bf6897e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHIINV: {
- description: 'Returns the inverse of the one-tailed probability of the chi-squared distribution',
- abstract: 'Returns the inverse of the one-tailed probability of the chi-squared distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chiinv-function-cfbea3f6-6e4f-40c9-a87f-20472e0512af',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHITEST: {
- description: 'Returns the test for independence',
- abstract: 'Returns the test for independence',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chitest-function-981ff871-b694-4134-848e-38ec704577ac',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CONFIDENCE: {
- description: 'Returns the confidence interval for a population mean',
- abstract: 'Returns the confidence interval for a population mean',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/confidence-function-75ccc007-f77c-4343-bc14-673642091ad6',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- COVAR: {
- description: 'Returns covariance, the average of the products of paired deviations',
- abstract: 'Returns covariance, the average of the products of paired deviations',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/covar-function-50479552-2c03-4daf-bd71-a5ab88b2db03',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CRITBINOM: {
- description: 'Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value',
- abstract: 'Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/critbinom-function-eb6b871d-796b-4d21-b69b-e4350d5f407b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- EXPONDIST: {
- description: 'Returns the exponential distribution',
- abstract: 'Returns the exponential distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/expondist-function-68ab45fd-cd6d-4887-9770-9357eb8ee06a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FDIST: {
- description: 'Returns the F probability distribution',
- abstract: 'Returns the F probability distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fdist-function-ecf76fba-b3f1-4e7d-a57e-6a5b7460b786',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FINV: {
- description: 'Returns the inverse of the F probability distribution',
- abstract: 'Returns the inverse of the F probability distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/finv-function-4d46c97c-c368-4852-bc15-41e8e31140b1',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FTEST: {
- description: 'Returns the result of an F-test',
- abstract: 'Returns the result of an F-test',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ftest-function-4c9e1202-53fe-428c-a737-976f6fc3f9fd',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMADIST: {
- description: 'Returns the gamma distribution',
- abstract: 'Returns the gamma distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gammadist-function-7327c94d-0f05-4511-83df-1dd7ed23e19e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMAINV: {
- description: 'Returns the inverse of the gamma cumulative distribution',
- abstract: 'Returns the inverse of the gamma cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gammainv-function-06393558-37ab-47d0-aa63-432f99e7916d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- HYPGEOMDIST: {
- description: 'Returns the hypergeometric distribution',
- abstract: 'Returns the hypergeometric distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hypgeomdist-function-23e37961-2871-4195-9629-d0b2c108a12e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LOGINV: {
- description: 'Returns the inverse of the lognormal cumulative distribution function',
- abstract: 'Returns the inverse of the lognormal cumulative distribution function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/loginv-function-0bd7631a-2725-482b-afb4-de23df77acfe',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LOGNORMDIST: {
- description: 'Returns the cumulative lognormal distribution',
- abstract: 'Returns the cumulative lognormal distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lognormdist-function-f8d194cb-9ee3-4034-8c75-1bdb3884100b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- MODE: {
- description: 'Returns the most common value in a data set',
- abstract: 'Returns the most common value in a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mode-function-e45192ce-9122-4980-82ed-4bdc34973120',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NEGBINOMDIST: {
- description: 'Returns the negative binomial distribution',
- abstract: 'Returns the negative binomial distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/negbinomdist-function-f59b0a37-bae2-408d-b115-a315609ba714',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORMDIST: {
- description: 'Returns the normal cumulative distribution',
- abstract: 'Returns the normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/normdist-function-126db625-c53e-4591-9a22-c9ff422d6d58',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORMINV: {
- description: 'Returns the inverse of the normal cumulative distribution',
- abstract: 'Returns the inverse of the normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/norminv-function-87981ab8-2de0-4cb0-b1aa-e21d4cb879b8',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORMSDIST: {
- description: 'Returns the standard normal cumulative distribution',
- abstract: 'Returns the standard normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/normsdist-function-463369ea-0345-445d-802a-4ff0d6ce7cac',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORMSINV: {
- description: 'Returns the inverse of the standard normal cumulative distribution',
- abstract: 'Returns the inverse of the standard normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/normsinv-function-8d1bce66-8e4d-4f3b-967c-30eed61f019d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERCENTILE: {
- description: 'Returns the k-th percentile of values in a range',
- abstract: 'Returns the k-th percentile of values in a range',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/percentile-function-91b43a53-543c-4708-93de-d626debdddca',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERCENTRANK: {
- description: 'Returns the percentage rank of a value in a data set',
- abstract: 'Returns the percentage rank of a value in a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/percentrank-function-f1b5836c-9619-4847-9fc9-080ec9024442',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- POISSON: {
- description: 'Returns the Poisson distribution',
- abstract: 'Returns the Poisson distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/poisson-function-d81f7294-9d7c-4f75-bc23-80aa8624173a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- QUARTILE: {
- description: 'Returns the quartile of a data set',
- abstract: 'Returns the quartile of a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/quartile-function-93cf8f62-60cd-4fdb-8a92-8451041e1a2a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- RANK: {
- description: 'Returns the rank of a number in a list of numbers',
- abstract: 'Returns the rank of a number in a list of numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rank-function-6a2fc49d-1831-4a03-9d8c-c279cf99f723',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number whose rank you want to find.' },
- ref: { name: 'ref', detail: 'A reference to a list of numbers. Nonnumeric values in ref are ignored.' },
- order: { name: 'order', detail: 'A number specifying how to rank number. If order is 0 (zero) or omitted, Microsoft Excel ranks number as if ref were a list sorted in descending order. If order is any nonzero value, Microsoft Excel ranks number as if ref were a list sorted in ascending order.' },
- },
- },
- STDEV: {
- description: 'Estimates standard deviation based on a sample. The standard deviation is a measure of how widely values are dispersed from the average value (the mean).',
- abstract: 'Estimates standard deviation based on a sample',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/stdev-function-51fecaaa-231e-4bbb-9230-33650a72c9b0',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The premier number argument corresponding to a sample of a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 255 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- },
- },
- STDEVP: {
- description: 'Calculates standard deviation based on the entire population given as arguments.',
- abstract: 'Calculates standard deviation based on the entire population',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/stdevp-function-1f7c1c88-1bec-4422-8242-e9f7dc8bb195',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The premier number argument corresponding to a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 255 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- },
- },
- TDIST: {
- description: 'Returns the Student\'s t-distribution',
- abstract: 'Returns the Student\'s t-distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tdist-function-630a7695-4021-4853-9468-4a1f9dcdd192',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TINV: {
- description: 'Returns the inverse of the Student\'s t-distribution',
- abstract: 'Returns the inverse of the Student\'s t-distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tinv-function-a7c85b9d-90f5-41fe-9ca5-1cd2f3e1ed7c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TTEST: {
- description: 'Returns the probability associated with a Student\'s t-test',
- abstract: 'Returns the probability associated with a Student\'s t-test',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ttest-function-1696ffc1-4811-40fd-9d13-a0eaad83c7ae',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- VAR: {
- description: 'Estimates variance based on a sample.',
- abstract: 'Estimates variance based on a sample',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/var-function-1f2b7ab2-954d-4e17-ba2c-9e58b15a7da2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The premier number argument corresponding to a sample of a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 255 corresponding to a sample of a population.' },
- },
- },
- VARP: {
- description: 'Calculates variance based on the entire population.',
- abstract: 'Calculates variance based on the entire population',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/varp-function-26a541c4-ecee-464d-a731-bd4c575b1a6b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The premier number argument corresponding to a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 255 corresponding to a population.' },
- },
- },
- WEIBULL: {
- description: 'Returns the Weibull distribution',
- abstract: 'Returns the Weibull distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/weibull-function-b83dc2c6-260b-4754-bef2-633196f6fdcc',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ZTEST: {
- description: 'Returns the one-tailed probability-value of a z-test',
- abstract: 'Returns the one-tailed probability-value of a z-test',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ztest-function-8f33be8a-6bd6-4ecc-8e3a-d9a4420c4a6a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ja-JP.ts
index af7a3df3ed..6253910fca 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: 'β分布の累積分布関数の値を返します。',
abstract: 'β分布の累積分布関数の値を返します。',
@@ -582,3 +584,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ko-KR.ts
index 99df0ded2e..6df660a7ec 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: '베타 누적 분포 함수를 반환합니다',
abstract: '베타 누적 분포 함수를 반환합니다',
@@ -582,3 +584,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/vi-VN.ts
index 289abc25e8..247b1d1de9 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: 'Trả về hàm phân phối tích lũy beta',
abstract: 'Trả về hàm phân phối tích lũy beta',
@@ -584,3 +586,5 @@ export default {
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-CN.ts
index 8e620963c3..9080472555 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: '返回 beta 累积分布函数',
abstract: '返回 beta 累积分布函数',
@@ -582,3 +584,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-TW.ts
index 41bedc7184..0987e2477b 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/compatibility/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BETADIST: {
description: '傳回 beta 累積分佈函數',
abstract: '傳回 beta 累積分佈函數',
@@ -501,7 +503,7 @@ export default {
],
functionParameter: {
probability: { name: '機率', detail: '與學生的 t 分佈相關的機率。' },
- dedegFreedom: { name: '自由度', detail: '一個表示自由度數的整數。' },
+ degFreedom: { name: '自由度', detail: '一個表示自由度數的整數。' },
},
},
TTEST: {
@@ -580,3 +582,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/ca-ES.ts
index 70c8e50d6c..fd8fb781a0 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description: 'Retorna una propietat d\'indicador clau de rendiment (KPI) i mostra el nom del KPI a la cel·la. Un KPI és una mesura quantificable, com el benefici brut mensual o la rotació trimestral d\'empleats, que s\'utilitza per supervisar el rendiment d\'una organització.',
abstract: 'Retorna una propietat d\'indicador clau de rendiment (KPI) i mostra el nom del KPI a la cel·la. Un KPI és una mesura quantificable, com el benefici brut mensual o la rotació trimestral d\'empleats, que s\'utilitza per supervisar el rendiment d\'una organització.',
@@ -114,3 +116,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/en-US.ts
index bb86deb04d..c619010243 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
CUBEKPIMEMBER: {
description: 'Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization\'s performance.',
abstract: 'Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization\'s performance.',
@@ -114,3 +114,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/es-ES.ts
index 7e87cdd723..5c1793f63b 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description: 'Devuelve una propiedad de indicador clave de rendimiento (KPI) y muestra el nombre del KPI en la celda. Un KPI es una medida cuantificable, como el beneficio bruto mensual o la rotación trimestral de empleados, que se utiliza para supervisar el rendimiento de una organización.',
abstract: 'Devuelve una propiedad de indicador clave de rendimiento (KPI) y muestra el nombre del KPI en la celda. Un KPI es una medida cuantificable, como el beneficio bruto mensual o la rotación trimestral de empleados, que se utiliza para supervisar el rendimiento de una organización.',
@@ -114,3 +116,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/fr-FR.ts
index dfcbad13a6..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/fr-FR.ts
@@ -14,103 +14,8 @@
* limitations under the License.
*/
-export default {
- CUBEKPIMEMBER: {
- description: 'Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization\'s performance.',
- abstract: 'Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization\'s performance.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cubekpimember-function-744608bf-2c62-42cd-b67a-a56109f4b03b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CUBEMEMBER: {
- description: 'Returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.',
- abstract: 'Returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cubemember-function-0f6a15b9-2c18-4819-ae89-e1b5c8b398ad',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CUBEMEMBERPROPERTY: {
- description: 'Returns the value of a member property from the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.',
- abstract: 'Returns the value of a member property from the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cubememberproperty-function-001e57d6-b35a-49e5-abcd-05ff599e8951',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CUBERANKEDMEMBER: {
- description: 'Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or the top 10 students.',
- abstract: 'Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or the top 10 students.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cuberankedmember-function-07efecde-e669-4075-b4bf-6b40df2dc4b3',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CUBESET: {
- description: 'Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.',
- abstract: 'Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cubeset-function-5b2146bd-62d6-4d04-9d8f-670e993ee1d9',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CUBESETCOUNT: {
- description: 'Returns the number of items in a set.',
- abstract: 'Returns the number of items in a set.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cubesetcount-function-c4c2a438-c1ff-4061-80fe-982f2d705286',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CUBEVALUE: {
- description: 'Returns an aggregated value from the cube.',
- abstract: 'Returns an aggregated value from the cube.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cubevalue-function-8733da24-26d1-4e34-9b3a-84a8f00dcbe0',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/ja-JP.ts
index 0017435b39..572ef69f18 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description: '主要業績評価指標 (KPI) のプロパティを返し、KPI 名をセルに表示します。 KPI は、月間粗利益や四半期従業員退職率など、定量化が可能な測定値であり、組織の業績をモニタリングするために使用されます。',
abstract: '主要業績評価指標 (KPI) のプロパティを返し、KPI 名をセルに表示します。 KPI は、月間粗利益や四半期従業員退職率など、定量化が可能な測定値であり、組織の業績をモニタリングするために使用されます。',
@@ -114,3 +116,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/ko-KR.ts
index 07d36dd547..6fd9269b09 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description: 'KPI 속성을 반환하고 셀에 KPI 이름을 표시합니다. KPI는 조직의 성과를 모니터링하는 데 사용되는 측정 가능한 지표입니다, 예: 월간 총 이익 또는 분기별 직원 회전율.',
abstract: 'KPI 속성을 반환하고 셀에 KPI 이름을 표시합니다. KPI는 조직의 성과를 모니터링하는 데 사용되는 측정 가능한 지표입니다, 예: 월간 총 이익 또는 분기별 직원 회전율.',
@@ -114,3 +116,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/ru-RU.ts
index 4742fc3c2b..4cb0899244 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description: 'Возвращает свойство ключевого показателя эффективности (KPI) и отображает имя KPI в ячейке. KPI — это количественная мера, такая как ежемесячная валовая прибыль или ежеквартальная текучесть сотрудников, используемая для мониторинга производительности организации.',
abstract: 'Возвращает свойство ключевого показателя эффективности (KPI) и отображает имя KPI в ячейке. KPI — это количественная мера, такая как ежемесячная валовая прибыль или ежеквартальная текучесть сотрудников, используемая для мониторинга производительности организации.',
@@ -114,3 +116,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/vi-VN.ts
index 8d82699bd5..0f573aa74b 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description: 'Trả về các thuộc tính của Chỉ số Hiệu suất Chính (KPI) và hiển thị tên KPI trong ô. KPI là một thước đo có thể đo lường để theo dõi hiệu suất của đơn vị, như tổng lợi nhuận hàng tháng hoặc sự điều chỉnh của nhân viên hàng quý.',
abstract: 'Trả về các thuộc tính của Chỉ số Hiệu suất Chính (KPI) và hiển thị tên KPI trong ô. KPI là một thước đo có thể đo lường để theo dõi hiệu suất của đơn vị, như tổng lợi nhuận hàng tháng hoặc sự điều chỉnh của nhân viên hàng quý.',
@@ -115,3 +117,5 @@ export default {
},
}
;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/zh-CN.ts
index c5667813d1..50fed0c145 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description:
'返回重要性能指示器 (KPI) 属性,并在单元格中显示 KPI 名称。 KPI 是一种用于监控单位绩效的可计量度量值,如每月总利润或季度员工调整。',
@@ -120,3 +122,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/cube/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/cube/zh-TW.ts
index 97c76f2c35..affd04e481 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/cube/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/cube/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CUBEKPIMEMBER: {
description:
'傳回重要效能指示器 (KPI) 屬性,並在儲存格中顯示 KPI 名稱。 KPI 是一種用於監控單位績效的可計量度量值,例如每月總利潤或季度員工調整。 ',
@@ -120,3 +122,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/database/ca-ES.ts
index 97b6b97b1b..58916fec78 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: 'Retorna la mitjana de les entrades de base de dades seleccionades',
abstract: 'Retorna la mitjana de les entrades de base de dades seleccionades',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/database/en-US.ts
index f741919682..69bf03539e 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
DAVERAGE: {
description: 'Returns the average of selected database entries',
abstract: 'Returns the average of selected database entries',
@@ -196,3 +196,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/database/es-ES.ts
index 7fc036f866..7f9506b943 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: 'Devuelve el promedio de las entradas de base de datos seleccionadas',
abstract: 'Devuelve el promedio de las entradas de base de datos seleccionadas',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/database/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/database/fr-FR.ts
index 20859e7a16..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/fr-FR.ts
@@ -14,173 +14,8 @@
* limitations under the License.
*/
-export default {
- DAVERAGE: {
- description: 'Returns the average of selected database entries',
- abstract: 'Returns the average of selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/daverage-function-a6a2d5ac-4b4b-48cd-a1d8-7b37834e5aee',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DCOUNT: {
- description: 'Counts the cells that contain numbers in a database',
- abstract: 'Counts the cells that contain numbers in a database',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dcount-function-c1fc7b93-fb0d-4d8d-97db-8d5f076eaeb1',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DCOUNTA: {
- description: 'Counts nonblank cells in a database',
- abstract: 'Counts nonblank cells in a database',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dcounta-function-00232a6d-5a66-4a01-a25b-c1653fda1244',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DGET: {
- description: 'Extracts from a database a single record that matches the specified criteria',
- abstract: 'Extracts from a database a single record that matches the specified criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dget-function-455568bf-4eef-45f7-90f0-ec250d00892e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DMAX: {
- description: 'Returns the maximum value from selected database entries',
- abstract: 'Returns the maximum value from selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dmax-function-f4e8209d-8958-4c3d-a1ee-6351665d41c2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DMIN: {
- description: 'Returns the minimum value from selected database entries',
- abstract: 'Returns the minimum value from selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dmin-function-4ae6f1d9-1f26-40f1-a783-6dc3680192a3',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DPRODUCT: {
- description: 'Multiplies the values in a particular field of records that match the criteria in a database',
- abstract: 'Multiplies the values in a particular field of records that match the criteria in a database',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dproduct-function-4f96b13e-d49c-47a7-b769-22f6d017cb31',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DSTDEV: {
- description: 'Estimates the standard deviation based on a sample of selected database entries',
- abstract: 'Estimates the standard deviation based on a sample of selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dstdev-function-026b8c73-616d-4b5e-b072-241871c4ab96',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DSTDEVP: {
- description: 'Calculates the standard deviation based on the entire population of selected database entries',
- abstract: 'Calculates the standard deviation based on the entire population of selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dstdevp-function-04b78995-da03-4813-bbd9-d74fd0f5d94b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DSUM: {
- description: 'Adds the numbers in the field column of records in the database that match the criteria',
- abstract: 'Adds the numbers in the field column of records in the database that match the criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dsum-function-53181285-0c4b-4f5a-aaa3-529a322be41b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DVAR: {
- description: 'Estimates variance based on a sample from selected database entries',
- abstract: 'Estimates variance based on a sample from selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dvar-function-d6747ca9-99c7-48bb-996e-9d7af00f3ed1',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DVARP: {
- description: 'Calculates variance based on the entire population of selected database entries',
- abstract: 'Calculates variance based on the entire population of selected database entries',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dvarp-function-eb0ba387-9cb7-45c8-81e9-0394912502fc',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/database/ja-JP.ts
index 29dc6907c3..ec6aead2ee 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: 'リストまたはデータベースの指定された列を検索し、条件を満たすレコードの平均値を返します。',
abstract: 'リストまたはデータベースの指定された列を検索し、条件を満たすレコードの平均値を返します。',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/database/ko-KR.ts
index 08a896288b..46168fd02d 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: '선택한 데이터베이스 항목의 평균을 반환합니다',
abstract: '선택한 데이터베이스 항목의 평균을 반환합니다',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/database/ru-RU.ts
index acd4263710..c782d8b6bf 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: 'Возвращает среднее значение выбранных записей базы данных',
abstract: 'Возвращает среднее значение выбранных записей базы данных',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/database/vi-VN.ts
index 252baa94fa..ede515dd28 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: 'Trả về giá trị trung bình của các mục được chọn trong cơ sở dữ liệu',
abstract: 'Trả về giá trị trung bình của các mục được chọn trong cơ sở dữ liệu',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/database/zh-CN.ts
index 198cb23a98..8f8c48cfe1 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: '返回所选数据库条目的平均值',
abstract: '返回所选数据库条目的平均值',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/database/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/database/zh-TW.ts
index 50fbff2938..1d3263305e 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/database/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/database/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DAVERAGE: {
description: '傳回所選資料庫條目的平均值',
abstract: '傳回所選資料庫條目的平均值',
@@ -196,3 +198,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/date/ca-ES.ts
index b70417a2ec..1b88bbdfc6 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: 'Retorna el número de sèrie d\'una data particular',
abstract: 'Retorna el número de sèrie d\'una data particular',
@@ -391,3 +393,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/date/en-US.ts
index 3659d7b7c4..767377a0ae 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
DATE: {
description: 'Returns the serial number of a particular date',
abstract: 'Returns the serial number of a particular date',
@@ -391,3 +391,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/date/es-ES.ts
index e7f996cf5f..d476c465ad 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: 'Devuelve el número de serie de una fecha particular',
abstract: 'Devuelve el número de serie de una fecha particular',
@@ -391,3 +393,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/date/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/date/fr-FR.ts
index e50f9884ff..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/fr-FR.ts
@@ -14,353 +14,8 @@
* limitations under the License.
*/
-export default {
- DATE: {
- description: 'Returns the serial number of a particular date',
- abstract: 'Returns the serial number of a particular date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/date-function-e36c0c8c-4104-49da-ab83-82328b832349',
- },
- ],
- functionParameter: {
- year: { name: 'year', detail: 'The value of the year argument can include one to four digits. Excel interprets the year argument according to the date system your computer is using. By default, Univer uses the 1900 date system, which means the first date is January 1, 1900.' },
- month: { name: 'month', detail: 'A positive or negative integer representing the month of the year from 1 to 12 (January to December).' },
- day: { name: 'day', detail: 'A positive or negative integer representing the day of the month from 1 to 31.' },
- },
- },
- DATEDIF: {
- description: 'Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.',
- abstract: 'Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/datedif-function-25dba1a4-2812-480b-84dd-8b32a451b35c',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the first, or starting date of a given period.' },
- endDate: { name: 'end_date', detail: 'A date that represents the last, or ending, date of the period.' },
- method: { name: 'method', detail: 'The type of information that you want returned.' },
- },
- },
- DATEVALUE: {
- description: 'Converts a date in the form of text to a serial number.',
- abstract: 'Converts a date in the form of text to a serial number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/datevalue-function-df8b07d4-7761-4a93-bc33-b7471bbff252',
- },
- ],
- functionParameter: {
- dateText: { name: 'date_text', detail: 'Text that represents a date in an Excel date format, or a reference to a cell that contains text that represents a date in an Excel date format. For example, "1/30/2008" or "30-Jan-2008" are text strings within quotation marks that represent dates.\nUsing the default date system in Microsoft Excel for Windows, the date_text argument must represent a date between January 1, 1900 and December 31, 9999. The DATEVALUE function returns the #VALUE! error value if the value of the date_text argument falls outside of this range.\nIf the year portion of the date_text argument is omitted, the DATEVALUE function uses the current year from your computer\'s built-in clock. Time information in the date_text argument is ignored.' },
- },
- },
- DAY: {
- description: 'Returns the day of a date, represented by a serial number. The day is given as an integer ranging from 1 to 31.',
- abstract: 'Converts a serial number to a day of the month',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/day-function-8a7d1cbb-6c7d-4ba1-8aea-25c134d03101',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'The date of the day you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008.' },
- },
- },
- DAYS: {
- description: 'Returns the number of days between two dates',
- abstract: 'Returns the number of days between two dates',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/days-function-57740535-d549-4395-8728-0f07bff0b9df',
- },
- ],
- functionParameter: {
- endDate: { name: 'end_date', detail: 'Start_date and End_date are the two dates between which you want to know the number of days.' },
- startDate: { name: 'start_date', detail: 'Start_date and End_date are the two dates between which you want to know the number of days.' },
- },
- },
- DAYS360: {
- description: 'Calculates the number of days between two dates based on a 360-day year',
- abstract: 'Calculates the number of days between two dates based on a 360-day year',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/days360-function-b9a509fd-49ef-407e-94df-0cbda5718c2a',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'Start_date and End_date are the two dates between which you want to know the number of days.' },
- endDate: { name: 'end_date', detail: 'Start_date and End_date are the two dates between which you want to know the number of days.' },
- method: { name: 'method', detail: 'A logical value that specifies whether to use the U.S. or European method in the calculation.' },
- },
- },
- EDATE: {
- description: 'Returns the serial number that represents the date that is the indicated number of months before or after a specified date (the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of issue.',
- abstract: 'Returns the serial number of the date that is the indicated number of months before or after the start date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/edate-function-3c920eb2-6e66-44e7-a1f5-753ae47ee4f5',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the start date. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.' },
- months: { name: 'months', detail: 'The number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.' },
- },
- },
- EOMONTH: {
- description: 'Returns the serial number of the last day of the month before or after a specified number of months',
- abstract: 'Returns the serial number of the last day of the month before or after a specified number of months',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/eomonth-function-7314ffa1-2bc9-4005-9d66-f49db127d628',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the starting date.' },
- months: { name: 'months', detail: 'The number of months before or after start_date.' },
- },
- },
- HOUR: {
- description: 'Converts a serial number to an hour',
- abstract: 'Converts a serial number to an hour',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hour-function-a3afa879-86cb-4339-b1b5-2dd2d7310ac7',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'The date of the day you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008.' },
- },
- },
- ISOWEEKNUM: {
- description: 'Returns the number of the ISO week number of the year for a given date',
- abstract: 'Returns the number of the ISO week number of the year for a given date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/isoweeknum-function-1c2d0afe-d25b-4ab1-8894-8d0520e90e0e',
- },
- ],
- functionParameter: {
- date: { name: 'date', detail: 'Date is the date-time code used by Excel for date and time calculation.' },
- },
- },
- MINUTE: {
- description: 'Converts a serial number to a minute',
- abstract: 'Converts a serial number to a minute',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/minute-function-af728df0-05c4-4b07-9eed-a84801a60589',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'The date of the day you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008.' },
- },
- },
- MONTH: {
- description: 'Returns the month of a date represented by a serial number. The month is given as an integer, ranging from 1 (January) to 12 (December).',
- abstract: 'Converts a serial number to a month',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/month-function-579a2881-199b-48b2-ab90-ddba0eba86e8',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'Required. The date of the month you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008.' },
- },
- },
- NETWORKDAYS: {
- description: 'Returns the number of whole workdays between two dates',
- abstract: 'Returns the number of whole workdays between two dates',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/networkdays-function-48e717bf-a7a3-495f-969e-5005e3eb18e7',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the start date.' },
- endDate: { name: 'end_date', detail: 'A date that represents the end date.' },
- holidays: { name: 'holidays', detail: 'An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. ' },
- },
- },
- NETWORKDAYS_INTL: {
- description: 'Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days',
- abstract: 'Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/networkdays-intl-function-a9b26239-4f20-46a1-9ab8-4e925bfd5e28',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the start date.' },
- endDate: { name: 'end_date', detail: 'A date that represents the end date.' },
- weekend: { name: 'weekend', detail: 'is a weekend number or string that specifies when weekends occur.' },
- holidays: { name: 'holidays', detail: 'An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. ' },
- },
- },
- NOW: {
- description: 'Returns the serial number of the current date and time.',
- abstract: 'Returns the serial number of the current date and time',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/now-function-3337fd29-145a-4347-b2e6-20c904739c46',
- },
- ],
- functionParameter: {
- },
- },
- SECOND: {
- description: 'Converts a serial number to a second',
- abstract: 'Converts a serial number to a second',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/second-function-740d1cfc-553c-4099-b668-80eaa24e8af1',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'The date of the day you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008.' },
- },
- },
- TIME: {
- description: 'Returns the serial number of a particular time.',
- abstract: 'Returns the serial number of a particular time',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/time-function-9a5aff99-8f7d-4611-845e-747d0b8d5457',
- },
- ],
- functionParameter: {
- hour: { name: 'hour', detail: 'A number from 0 (zero) to 32767 representing the hour. Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour value. For example, TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM.' },
- minute: { name: 'minute', detail: 'A number from 0 to 32767 representing the minute. Any value greater than 59 will be converted to hours and minutes. For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM.' },
- second: { name: 'second', detail: 'A number from 0 to 32767 representing the second. Any value greater than 59 will be converted to hours, minutes, and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 or 12:33:20 AM.' },
- },
- },
- TIMEVALUE: {
- description: 'Converts a time in the form of text to a serial number.',
- abstract: 'Converts a time in the form of text to a serial number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/timevalue-function-0b615c12-33d8-4431-bf3d-f3eb6d186645',
- },
- ],
- functionParameter: {
- timeText: { name: 'time_text', detail: 'A text string that represents a time in any one of the Microsoft Excel time formats; for example, "6:45 PM" and "18:45" text strings within quotation marks that represent time.' },
- },
- },
- TODAY: {
- description: 'Returns the serial number of today\'s date',
- abstract: 'Returns the serial number of today\'s date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/today-function-5eb3078d-a82c-4736-8930-2f51a028fdd9',
- },
- ],
- functionParameter: {
- },
- },
- WEEKDAY: {
- description: 'Converts a serial number to a day of the week',
- abstract: 'Converts a serial number to a day of the week',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/weekday-function-60e44483-2ed1-439f-8bd0-e404c190949a',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'A sequential number that represents the date of the day you are trying to find.' },
- returnType: { name: 'return_type', detail: 'A number that determines the type of return value.' },
- },
- },
- WEEKNUM: {
- description: 'Converts a serial number to a number representing where the week falls numerically with a year',
- abstract: 'Converts a serial number to a number representing where the week falls numerically with a year',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/weeknum-function-e5c43a03-b4ab-426c-b411-b18c13c75340',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'A date within the week.' },
- returnType: { name: 'return_type', detail: 'A number that determines on which day the week begins. The default is 1.' },
- },
- },
- WORKDAY: {
- description: 'Returns the serial number of the date before or after a specified number of workdays',
- abstract: 'Returns the serial number of the date before or after a specified number of workdays',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/workday-function-f764a5b7-05fc-4494-9486-60d494efbf33',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the start date.' },
- days: { name: 'days', detail: 'The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a future date; a negative value yields a past date.' },
- holidays: { name: 'holidays', detail: 'An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. ' },
- },
- },
- WORKDAY_INTL: {
- description: 'Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days',
- abstract: 'Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/workday-intl-function-a378391c-9ba7-4678-8a39-39611a9bf81d',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the start date.' },
- days: { name: 'days', detail: 'The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a future date; a negative value yields a past date.' },
- weekend: { name: 'weekend', detail: 'is a weekend number or string that specifies when weekends occur.' },
- holidays: { name: 'holidays', detail: 'An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. ' },
- },
- },
- YEAR: {
- description: 'Returns the year corresponding to a date. The year is returned as an integer in the range 1900-9999.',
- abstract: 'Converts a serial number to a year',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/year-function-c64f017a-1354-490d-981f-578e8ec8d3b9',
- },
- ],
- functionParameter: {
- serialNumber: { name: 'serial_number', detail: 'The date of the year you want to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.' },
- },
- },
- YEARFRAC: {
- description: 'Returns the year fraction representing the number of whole days between start_date and end_date',
- abstract: 'Returns the year fraction representing the number of whole days between start_date and end_date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/yearfrac-function-3844141e-c76d-4143-82b6-208454ddc6a8',
- },
- ],
- functionParameter: {
- startDate: { name: 'start_date', detail: 'A date that represents the start date.' },
- endDate: { name: 'end_date', detail: 'A date that represents the end date.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/date/ja-JP.ts
index 29d0159245..07a50058cd 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: '指定された日付に対応するシリアル値を返します。',
abstract: '指定された日付に対応するシリアル値を返します。',
@@ -391,3 +393,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/date/ko-KR.ts
index 9591e8a812..b6c0821234 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: '특정 날짜의 일련 번호를 반환합니다',
abstract: '특정 날짜의 일련 번호를 반환합니다',
@@ -391,3 +393,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/date/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/date/vi-VN.ts
index ac988d004a..2f6d25db80 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: 'Kết hợp ba giá trị riêng biệt thành một ngày.',
abstract: 'Trả về số sê-ri của ngày cụ thể',
@@ -453,3 +455,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/date/zh-CN.ts
index 48dddf62ec..6eebf4fe59 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: '采用三个单独的值并将它们合并为一个日期。',
abstract: '返回特定日期的序列号',
@@ -391,3 +393,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/date/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/date/zh-TW.ts
index 79bfee2904..bd316c7f23 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/date/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/date/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
DATE: {
description: '採用三個單獨的值並將它們合併為一個日期。 ',
abstract: '傳回特定日期的序號',
@@ -391,3 +393,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/ca-ES.ts
index 5dcb6de25e..66368388c4 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: 'Retorna la funció de Bessel modificada In(x)',
abstract: 'Retorna la funció de Bessel modificada In(x)',
@@ -788,3 +790,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/en-US.ts
index 0a7661a80d..3a3987415a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
BESSELI: {
description: 'Returns the modified Bessel function In(x)',
abstract: 'Returns the modified Bessel function In(x)',
@@ -788,3 +788,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/es-ES.ts
index 26e41dd688..611eaac8f3 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: 'Devuelve la función de Bessel modificada In(x)',
abstract: 'Devuelve la función de Bessel modificada In(x)',
@@ -788,3 +790,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/fr-FR.ts
index 7bbeb911dd..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/fr-FR.ts
@@ -14,737 +14,8 @@
* limitations under the License.
*/
-export default {
- BESSELI: {
- description: 'Returns the modified Bessel function In(x)',
- abstract: 'Returns the modified Bessel function In(x)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/besseli-function-8d33855c-9a8d-444b-98e0-852267b1c0df',
- },
- ],
- functionParameter: {
- x: { name: 'X', detail: 'The value at which to evaluate the function.' },
- n: { name: 'N', detail: 'The order of the Bessel function. If n is not an integer, it is truncated.' },
- },
- },
- BESSELJ: {
- description: 'Returns the Bessel function Jn(x)',
- abstract: 'Returns the Bessel function Jn(x)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/besselj-function-839cb181-48de-408b-9d80-bd02982d94f7',
- },
- ],
- functionParameter: {
- x: { name: 'X', detail: 'The value at which to evaluate the function.' },
- n: { name: 'N', detail: 'The order of the Bessel function. If n is not an integer, it is truncated.' },
- },
- },
- BESSELK: {
- description: 'Returns the modified Bessel function Kn(x)',
- abstract: 'Returns the modified Bessel function Kn(x)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/besselk-function-606d11bc-06d3-4d53-9ecb-2803e2b90b70',
- },
- ],
- functionParameter: {
- x: { name: 'X', detail: 'The value at which to evaluate the function.' },
- n: { name: 'N', detail: 'The order of the Bessel function. If n is not an integer, it is truncated.' },
- },
- },
- BESSELY: {
- description: 'Returns the Bessel function Yn(x)',
- abstract: 'Returns the Bessel function Yn(x)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bessely-function-f3a356b3-da89-42c3-8974-2da54d6353a2',
- },
- ],
- functionParameter: {
- x: { name: 'X', detail: 'The value at which to evaluate the function.' },
- n: { name: 'N', detail: 'The order of the Bessel function. If n is not an integer, it is truncated.' },
- },
- },
- BIN2DEC: {
- description: 'Converts a binary number to decimal',
- abstract: 'Converts a binary number to decimal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bin2dec-function-63905b57-b3a0-453d-99f4-647bb519cd6c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The binary number you want to convert.' },
- },
- },
- BIN2HEX: {
- description: 'Converts a binary number to hexadecimal',
- abstract: 'Converts a binary number to hexadecimal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bin2hex-function-0375e507-f5e5-4077-9af8-28d84f9f41cc',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The binary number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- BIN2OCT: {
- description: 'Converts a binary number to octal',
- abstract: 'Converts a binary number to octal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bin2oct-function-0a4e01ba-ac8d-4158-9b29-16c25c4c23fd',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The binary number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- BITAND: {
- description: 'Returns a \'Bitwise And\' of two numbers',
- abstract: 'Returns a \'Bitwise And\' of two numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bitand-function-8a2be3d7-91c3-4b48-9517-64548008563a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'Must be in decimal form and greater than or equal to 0.' },
- number2: { name: 'nombre2', detail: 'Must be in decimal form and greater than or equal to 0.' },
- },
- },
- BITLSHIFT: {
- description: 'Returns a value number shifted left by shift_amount bits',
- abstract: 'Returns a value number shifted left by shift_amount bits',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bitlshift-function-c55bb27e-cacd-4c7c-b258-d80861a03c9c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Number must be an integer greater than or equal to 0.' },
- shiftAmount: { name: 'shift_amount', detail: 'Shift_amount must be an integer.' },
- },
- },
- BITOR: {
- description: 'Returns a bitwise OR of 2 numbers',
- abstract: 'Returns a bitwise OR of 2 numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bitor-function-f6ead5c8-5b98-4c9e-9053-8ad5234919b2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'Must be in decimal form and greater than or equal to 0.' },
- number2: { name: 'nombre2', detail: 'Must be in decimal form and greater than or equal to 0.' },
- },
- },
- BITRSHIFT: {
- description: 'Returns a value number shifted right by shift_amount bits',
- abstract: 'Returns a value number shifted right by shift_amount bits',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bitrshift-function-274d6996-f42c-4743-abdb-4ff95351222c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Number must be an integer greater than or equal to 0.' },
- shiftAmount: { name: 'shift_amount', detail: 'Shift_amount must be an integer.' },
- },
- },
- BITXOR: {
- description: 'Returns a bitwise \'Exclusive Or\' of two numbers',
- abstract: 'Returns a bitwise \'Exclusive Or\' of two numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bitxor-function-c81306a1-03f9-4e89-85ac-b86c3cba10e4',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'Must be in decimal form and greater than or equal to 0.' },
- number2: { name: 'nombre2', detail: 'Must be in decimal form and greater than or equal to 0.' },
- },
- },
- COMPLEX: {
- description: 'Converts real and imaginary coefficients into a complex number',
- abstract: 'Converts real and imaginary coefficients into a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/complex-function-f0b8f3a9-51cc-4d6d-86fb-3a9362fa4128',
- },
- ],
- functionParameter: {
- realNum: { name: 'real_num', detail: 'The real coefficient of the complex number.' },
- iNum: { name: 'i_num', detail: 'The imaginary coefficient of the complex number.' },
- suffix: { name: 'suffix', detail: 'The suffix for the imaginary component of the complex number. If omitted, suffix is assumed to be "i".' },
- },
- },
- CONVERT: {
- description: 'Converts a number from one measurement system to another',
- abstract: 'Converts a number from one measurement system to another',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/convert-function-d785bef1-808e-4aac-bdcd-666c810f9af2',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'is the value in from_units to convert.' },
- fromUnit: { name: 'from_unit', detail: 'is the units for number.' },
- toUnit: { name: 'to_unit', detail: 'is the units for the result.' },
- },
- },
- DEC2BIN: {
- description: 'Converts a decimal number to binary',
- abstract: 'Converts a decimal number to binary',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dec2bin-function-0f63dd0e-5d1a-42d8-b511-5bf5c6d43838',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The decimal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- DEC2HEX: {
- description: 'Converts a decimal number to hexadecimal',
- abstract: 'Converts a decimal number to hexadecimal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dec2hex-function-6344ee8b-b6b5-4c6a-a672-f64666704619',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The decimal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- DEC2OCT: {
- description: 'Converts a decimal number to octal',
- abstract: 'Converts a decimal number to octal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dec2oct-function-c9d835ca-20b7-40c4-8a9e-d3be351ce00f',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The decimal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- DELTA: {
- description: 'Tests whether two values are equal',
- abstract: 'Tests whether two values are equal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/delta-function-2f763672-c959-4e07-ac33-fe03220ba432',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number.' },
- number2: { name: 'nombre2', detail: 'The second number. If omitted, number2 is assumed to be zero.' },
- },
- },
- ERF: {
- description: 'Returns the error function',
- abstract: 'Returns the error function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/erf-function-c53c7e7b-5482-4b6c-883e-56df3c9af349',
- },
- ],
- functionParameter: {
- lowerLimit: { name: 'lower_limit', detail: 'The lower bound for integrating ERF.' },
- upperLimit: { name: 'upper_limit', detail: 'The upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit.' },
- },
- },
- ERF_PRECISE: {
- description: 'Returns the error function',
- abstract: 'Returns the error function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/erf-precise-function-9a349593-705c-4278-9a98-e4122831a8e0',
- },
- ],
- functionParameter: {
- x: { name: 'x', detail: 'The lower bound for integrating ERF.PRECISE.' },
- },
- },
- ERFC: {
- description: 'Returns the complementary error function',
- abstract: 'Returns the complementary error function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/erfc-function-736e0318-70ba-4e8b-8d08-461fe68b71b3',
- },
- ],
- functionParameter: {
- x: { name: 'x', detail: 'The lower bound for integrating ERFC.' },
- },
- },
- ERFC_PRECISE: {
- description: 'Returns the complementary ERF function integrated between x and infinity',
- abstract: 'Returns the complementary ERF function integrated between x and infinity',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/erfc-precise-function-e90e6bab-f45e-45df-b2ac-cd2eb4d4a273',
- },
- ],
- functionParameter: {
- x: { name: 'x', detail: 'The lower bound for integrating ERFC.PRECISE.' },
- },
- },
- GESTEP: {
- description: 'Tests whether a number is greater than a threshold value',
- abstract: 'Tests whether a number is greater than a threshold value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gestep-function-f37e7d2a-41da-4129-be95-640883fca9df',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value to test against step.' },
- step: { name: 'step', detail: 'The threshold value. If you omit a value for step, GESTEP uses zero.' },
- },
- },
- HEX2BIN: {
- description: 'Converts a hexadecimal number to binary',
- abstract: 'Converts a hexadecimal number to binary',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hex2bin-function-a13aafaa-5737-4920-8424-643e581828c1',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The hexadecimal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- HEX2DEC: {
- description: 'Converts a hexadecimal number to decimal',
- abstract: 'Converts a hexadecimal number to decimal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hex2dec-function-8c8c3155-9f37-45a5-a3ee-ee5379ef106e',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The hexadecimal number you want to convert.' },
- },
- },
- HEX2OCT: {
- description: 'Converts a hexadecimal number to octal',
- abstract: 'Converts a hexadecimal number to octal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hex2oct-function-54d52808-5d19-4bd0-8a63-1096a5d11912',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The hexadecimal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- IMABS: {
- description: 'Returns the absolute value (modulus) of a complex number',
- abstract: 'Returns the absolute value (modulus) of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imabs-function-b31e73c6-d90c-4062-90bc-8eb351d765a1',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the absolute value.' },
- },
- },
- IMAGINARY: {
- description: 'Returns the imaginary coefficient of a complex number',
- abstract: 'Returns the imaginary coefficient of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imaginary-function-dd5952fd-473d-44d9-95a1-9a17b23e428a',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the imaginary coefficient.' },
- },
- },
- IMARGUMENT: {
- description: 'Returns the argument theta, an angle expressed in radians',
- abstract: 'Returns the argument theta, an angle expressed in radians',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imargument-function-eed37ec1-23b3-4f59-b9f3-d340358a034a',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the argument theta.' },
- },
- },
- IMCONJUGATE: {
- description: 'Returns the complex conjugate of a complex number',
- abstract: 'Returns the complex conjugate of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imconjugate-function-2e2fc1ea-f32b-4f9b-9de6-233853bafd42',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the conjugate.' },
- },
- },
- IMCOS: {
- description: 'Returns the cosine of a complex number',
- abstract: 'Returns the cosine of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imcos-function-dad75277-f592-4a6b-ad6c-be93a808a53c',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the cosine.' },
- },
- },
- IMCOSH: {
- description: 'Returns the hyperbolic cosine of a complex number',
- abstract: 'Returns the hyperbolic cosine of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imcosh-function-053e4ddb-4122-458b-be9a-457c405e90ff',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the hyperbolic cosine.' },
- },
- },
- IMCOT: {
- description: 'Returns the cotangent of a complex number',
- abstract: 'Returns the cotangent of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imcot-function-dc6a3607-d26a-4d06-8b41-8931da36442c',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the cotangent.' },
- },
- },
- IMCSC: {
- description: 'Returns the cosecant of a complex number',
- abstract: 'Returns the cosecant of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imcsc-function-9e158d8f-2ddf-46cd-9b1d-98e29904a323',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the cosecant.' },
- },
- },
- IMCSCH: {
- description: 'Returns the hyperbolic cosecant of a complex number',
- abstract: 'Returns the hyperbolic cosecant of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imcsch-function-c0ae4f54-5f09-4fef-8da0-dc33ea2c5ca9',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the hyperbolic cosecant.' },
- },
- },
- IMDIV: {
- description: 'Returns the quotient of two complex numbers',
- abstract: 'Returns the quotient of two complex numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imdiv-function-a505aff7-af8a-4451-8142-77ec3d74d83f',
- },
- ],
- functionParameter: {
- inumber1: { name: 'inumber1', detail: 'The complex numerator or dividend.' },
- inumber2: { name: 'inumber2', detail: 'The complex denominator or divisor.' },
- },
- },
- IMEXP: {
- description: 'Returns the exponential of a complex number',
- abstract: 'Returns the exponential of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imexp-function-c6f8da1f-e024-4c0c-b802-a60e7147a95f',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the exponential.' },
- },
- },
- IMLN: {
- description: 'Returns the natural logarithm of a complex number',
- abstract: 'Returns the natural logarithm of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imln-function-32b98bcf-8b81-437c-a636-6fb3aad509d8',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the natural logarithm.' },
- },
- },
- IMLOG10: {
- description: 'Returns the base-10 logarithm of a complex number',
- abstract: 'Returns the base-10 logarithm of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imlog10-function-58200fca-e2a2-4271-8a98-ccd4360213a5',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the common logarithm.' },
- },
- },
- IMLOG2: {
- description: 'Returns the base-2 logarithm of a complex number',
- abstract: 'Returns the base-2 logarithm of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imlog2-function-152e13b4-bc79-486c-a243-e6a676878c51',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the base-2 logarithm.' },
- },
- },
- IMPOWER: {
- description: 'Returns a complex number raised to an integer power',
- abstract: 'Returns a complex number raised to an integer power',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/impower-function-210fd2f5-f8ff-4c6a-9d60-30e34fbdef39',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number you want to raise to a power.' },
- number: { name: 'nombre', detail: 'The power to which you want to raise the complex number.' },
- },
- },
- IMPRODUCT: {
- description: 'Returns the product of from 2 to 255 complex numbers',
- abstract: 'Returns the product of from 2 to 255 complex numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/improduct-function-2fb8651a-a4f2-444f-975e-8ba7aab3a5ba',
- },
- ],
- functionParameter: {
- inumber1: { name: 'inumber1', detail: '1 to 255 complex numbers to multiply.' },
- inumber2: { name: 'inumber2', detail: '1 to 255 complex numbers to multiply.' },
- },
- },
- IMREAL: {
- description: 'Returns the real coefficient of a complex number',
- abstract: 'Returns the real coefficient of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imreal-function-d12bc4c0-25d0-4bb3-a25f-ece1938bf366',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the real coefficient.' },
- },
- },
- IMSEC: {
- description: 'Returns the secant of a complex number',
- abstract: 'Returns the secant of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsec-function-6df11132-4411-4df4-a3dc-1f17372459e0',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the secant.' },
- },
- },
- IMSECH: {
- description: 'Returns the hyperbolic secant of a complex number',
- abstract: 'Returns the hyperbolic secant of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsech-function-f250304f-788b-4505-954e-eb01fa50903b',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the hyperbolic secant.' },
- },
- },
- IMSIN: {
- description: 'Returns the sine of a complex number',
- abstract: 'Returns the sine of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsin-function-1ab02a39-a721-48de-82ef-f52bf37859f6',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the sine.' },
- },
- },
- IMSINH: {
- description: 'Returns the hyperbolic sine of a complex number',
- abstract: 'Returns the hyperbolic sine of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsinh-function-dfb9ec9e-8783-4985-8c42-b028e9e8da3d',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the hyperbolic sine.' },
- },
- },
- IMSQRT: {
- description: 'Returns the square root of a complex number',
- abstract: 'Returns the square root of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsqrt-function-e1753f80-ba11-4664-a10e-e17368396b70',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the square root.' },
- },
- },
- IMSUB: {
- description: 'Returns the difference between two complex numbers',
- abstract: 'Returns the difference between two complex numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsub-function-2e404b4d-4935-4e85-9f52-cb08b9a45054',
- },
- ],
- functionParameter: {
- inumber1: { name: 'inumber1', detail: 'inumber1.' },
- inumber2: { name: 'inumber2', detail: 'inumber2.' },
- },
- },
- IMSUM: {
- description: 'Returns the sum of complex numbers',
- abstract: 'Returns the sum of complex numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imsum-function-81542999-5f1c-4da6-9ffe-f1d7aaa9457f',
- },
- ],
- functionParameter: {
- inumber1: { name: 'inumber1', detail: '1 to 255 complex numbers to add.' },
- inumber2: { name: 'inumber2', detail: '1 to 255 complex numbers to add.' },
- },
- },
- IMTAN: {
- description: 'Returns the tangent of a complex number',
- abstract: 'Returns the tangent of a complex number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/imtan-function-8478f45d-610a-43cf-8544-9fc0b553a132',
- },
- ],
- functionParameter: {
- inumber: { name: 'inumber', detail: 'A complex number for which you want the tangent.' },
- },
- },
- OCT2BIN: {
- description: 'Converts an octal number to binary',
- abstract: 'Converts an octal number to binary',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oct2bin-function-55383471-3c56-4d27-9522-1a8ec646c589',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The octal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
- OCT2DEC: {
- description: 'Converts an octal number to decimal',
- abstract: 'Converts an octal number to decimal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oct2dec-function-87606014-cb98-44b2-8dbb-e48f8ced1554',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The octal number you want to convert.' },
- },
- },
- OCT2HEX: {
- description: 'Converts an octal number to hexadecimal',
- abstract: 'Converts an octal number to hexadecimal',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oct2hex-function-912175b4-d497-41b4-a029-221f051b858f',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The octal number you want to convert.' },
- places: { name: 'places', detail: 'The number of characters to use.' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/ja-JP.ts
index 9a31b8e408..1986edd838 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: '修正ベッセル関数 In(x) を返します。',
abstract: '修正ベッセル関数 In(x) を返します。',
@@ -788,3 +790,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/ko-KR.ts
index 0a7661a80d..459a4ec0b7 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: 'Returns the modified Bessel function In(x)',
abstract: 'Returns the modified Bessel function In(x)',
@@ -788,3 +790,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/vi-VN.ts
index eeff5c27b3..e717dcc5d6 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: 'Trả về hàm Bessel sửa đổi In(x)',
abstract: 'Trả về hàm Bessel sửa đổi In(x)',
@@ -790,3 +792,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-CN.ts
index 6d28165b9a..092f4d9013 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: '返回修正的贝赛耳函数 In(x)',
abstract: '返回修正的贝赛耳函数 In(x)',
@@ -788,3 +790,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-TW.ts
index c12b5101bb..afeeab0cb3 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/engineering/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
BESSELI: {
description: '傳回修正的貝賽耳函數 In(x)',
abstract: '傳回修正的貝賽耳函數 In(x)',
@@ -788,3 +790,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/ca-ES.ts
index 630cd2ed63..64b9de65a8 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
// Traducció al català pendent per a cada funció
ACCRINT: {
description: '',
@@ -37,4 +39,906 @@ export default {
},
},
// ... (la resta de funcions seguiran el mateix patró)
+ ACCRINTM: {
+ description: 'Returns the accrued interest for a security that pays interest at maturity',
+ abstract: 'Returns the accrued interest for a security that pays interest at maturity',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/accrintm-function-f62f01f9-5754-4cc4-805b-0e70199328a7',
+ },
+ ],
+ functionParameter: {
+ issue: { name: 'issue', detail: "The security's issue date." },
+ settlement: { name: 'settlement', detail: "The security's maturity date." },
+ rate: { name: 'rate', detail: "The security's annual coupon rate." },
+ par: { name: 'par', detail: "The security's par value." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ AMORDEGRC: {
+ description: 'Returns the depreciation for each accounting period by using a depreciation coefficient',
+ abstract: 'Returns the depreciation for each accounting period by using a depreciation coefficient',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/amordegrc-function-a14d0ca1-64a4-42eb-9b3d-b0dededf9e51',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ AMORLINC: {
+ description: 'Returns the depreciation for each accounting period',
+ abstract: 'Returns the depreciation for each accounting period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/amorlinc-function-7d417b45-f7f5-4dba-a0a5-3451a81079a8',
+ },
+ ],
+ functionParameter: {
+ cost: { name: 'cost', detail: 'The cost of the asset.' },
+ datePurchased: { name: 'date_purchased', detail: 'The date of the purchase of the asset.' },
+ firstPeriod: { name: 'first_period', detail: 'The date of the end of the first period.' },
+ salvage: { name: 'salvage', detail: 'The salvage value at the end of the life of the asset.' },
+ period: { name: 'period', detail: 'The period.' },
+ rate: { name: 'rate', detail: 'The rate of depreciation.' },
+ basis: { name: 'basis', detail: 'The year basis to be used.' },
+ },
+ },
+ COUPDAYBS: {
+ description: 'Returns the number of days from the beginning of the coupon period to the settlement date',
+ abstract: 'Returns the number of days from the beginning of the coupon period to the settlement date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/coupdaybs-function-eb9a8dfb-2fb2-4c61-8e5d-690b320cf872',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ COUPDAYS: {
+ description: 'Returns the number of days in the coupon period that contains the settlement date',
+ abstract: 'Returns the number of days in the coupon period that contains the settlement date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/coupdays-function-cc64380b-315b-4e7b-950c-b30b0a76f671',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ COUPDAYSNC: {
+ description: 'Returns the number of days from the settlement date to the next coupon date',
+ abstract: 'Returns the number of days from the settlement date to the next coupon date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/coupdaysnc-function-5ab3f0b2-029f-4a8b-bb65-47d525eea547',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ COUPNCD: {
+ description: 'Returns the next coupon date after the settlement date',
+ abstract: 'Returns the next coupon date after the settlement date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/coupncd-function-fd962fef-506b-4d9d-8590-16df5393691f',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ COUPNUM: {
+ description: 'Returns the number of coupons payable between the settlement date and maturity date',
+ abstract: 'Returns the number of coupons payable between the settlement date and maturity date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/coupnum-function-a90af57b-de53-4969-9c99-dd6139db2522',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ COUPPCD: {
+ description: 'Returns the previous coupon date before the settlement date',
+ abstract: 'Returns the previous coupon date before the settlement date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/couppcd-function-2eb50473-6ee9-4052-a206-77a9a385d5b3',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ CUMIPMT: {
+ description: 'Returns the cumulative interest paid between two periods',
+ abstract: 'Returns the cumulative interest paid between two periods',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/cumipmt-function-61067bb0-9016-427d-b95b-1a752af0e606',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods.' },
+ pv: { name: 'pv', detail: 'The present value.' },
+ startPeriod: { name: 'start_period', detail: 'The first period in the calculation. Payment periods are numbered beginning with 1.' },
+ endPeriod: { name: 'end_period', detail: 'The last period in the calculation.' },
+ type: { name: 'type', detail: 'The timing of the payment.' },
+ },
+ },
+ CUMPRINC: {
+ description: 'Returns the cumulative principal paid on a loan between two periods',
+ abstract: 'Returns the cumulative principal paid on a loan between two periods',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/cumprinc-function-94a4516d-bd65-41a1-bc16-053a6af4c04d',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods.' },
+ pv: { name: 'pv', detail: 'The present value.' },
+ startPeriod: { name: 'start_period', detail: 'The first period in the calculation. Payment periods are numbered beginning with 1.' },
+ endPeriod: { name: 'end_period', detail: 'The last period in the calculation.' },
+ type: { name: 'type', detail: 'The timing of the payment.' },
+ },
+ },
+ DB: {
+ description: 'Returns the depreciation of an asset for a specified period by using the fixed-declining balance method',
+ abstract: 'Returns the depreciation of an asset for a specified period by using the fixed-declining balance method',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/db-function-354e7d28-5f93-4ff1-8a52-eb4ee549d9d7',
+ },
+ ],
+ functionParameter: {
+ cost: { name: 'cost', detail: 'The initial cost of the asset.' },
+ salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
+ life: { name: 'life', detail: 'The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).' },
+ period: { name: 'period', detail: 'The period for which you want to calculate the depreciation.' },
+ month: { name: 'month', detail: 'The number of months in the first year. If month is omitted, it is assumed to be 12.' },
+ },
+ },
+ DDB: {
+ description: 'Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify',
+ abstract: 'Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/ddb-function-519a7a37-8772-4c96-85c0-ed2c209717a5',
+ },
+ ],
+ functionParameter: {
+ cost: { name: 'cost', detail: 'The initial cost of the asset.' },
+ salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
+ life: { name: 'life', detail: 'The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).' },
+ period: { name: 'period', detail: 'The period for which you want to calculate the depreciation.' },
+ factor: { name: 'factor', detail: 'The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).' },
+ },
+ },
+ DISC: {
+ description: 'Returns the discount rate for a security',
+ abstract: 'Returns the discount rate for a security',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/disc-function-71fce9f3-3f05-4acf-a5a3-eac6ef4daa53',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ pr: { name: 'pr', detail: "The security's price per $100 face value." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ DOLLARDE: {
+ description: 'Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number',
+ abstract: 'Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/dollarde-function-db85aab0-1677-428a-9dfd-a38476693427',
+ },
+ ],
+ functionParameter: {
+ fractionalDollar: { name: 'fractional_dollar', detail: 'A number expressed as an integer part and a fraction part, separated by a decimal symbol.' },
+ fraction: { name: 'fraction', detail: 'The integer to use in the denominator of the fraction.' },
+ },
+ },
+ DOLLARFR: {
+ description: 'Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction',
+ abstract: 'Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/dollarfr-function-0835d163-3023-4a33-9824-3042c5d4f495',
+ },
+ ],
+ functionParameter: {
+ decimalDollar: { name: 'decimal_dollar', detail: 'A decimal number.' },
+ fraction: { name: 'fraction', detail: 'The integer to use in the denominator of the fraction.' },
+ },
+ },
+ DURATION: {
+ description: 'Returns the annual duration of a security with periodic interest payments',
+ abstract: 'Returns the annual duration of a security with periodic interest payments',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/duration-function-b254ea57-eadc-4602-a86a-c8e369334038',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ coupon: { name: 'coupon', detail: "The security's annual coupon rate." },
+ yld: { name: 'yld', detail: "The security's annual yield." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ EFFECT: {
+ description: 'Returns the effective annual interest rate',
+ abstract: 'Returns the effective annual interest rate',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/effect-function-910d4e4c-79e2-4009-95e6-507e04f11bc4',
+ },
+ ],
+ functionParameter: {
+ nominalRate: { name: 'nominal_rate', detail: 'The nominal interest rate.' },
+ npery: { name: 'npery', detail: 'The number of compounding periods per year.' },
+ },
+ },
+ FV: {
+ description: 'Returns the future value of an investment',
+ abstract: 'Returns the future value of an investment',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/fv-function-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate per period.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
+ pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
+ pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ },
+ },
+ FVSCHEDULE: {
+ description: 'Returns the future value of an initial principal after applying a series of compound interest rates',
+ abstract: 'Returns the future value of an initial principal after applying a series of compound interest rates',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/fvschedule-function-bec29522-bd87-4082-bab9-a241f3fb251d',
+ },
+ ],
+ functionParameter: {
+ principal: { name: 'principal', detail: 'The present value.' },
+ schedule: { name: 'schedule', detail: 'An array of interest rates to apply.' },
+ },
+ },
+ INTRATE: {
+ description: 'Returns the interest rate for a fully invested security',
+ abstract: 'Returns the interest rate for a fully invested security',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/intrate-function-5cb34dde-a221-4cb6-b3eb-0b9e55e1316f',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ investment: { name: 'investment', detail: 'The amount invested in the security.' },
+ redemption: { name: 'redemption', detail: 'The amount to be received at maturity.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ IPMT: {
+ description: 'Returns the interest payment for an investment for a given period',
+ abstract: 'Returns the interest payment for an investment for a given period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/ipmt-function-5cce0ad6-8402-4a41-8d29-61a0b054cb6f',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate per period.' },
+ per: { name: 'per', detail: 'The period for which you want to find the interest and must be in the range 1 to nper.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
+ pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
+ fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ },
+ },
+ IRR: {
+ description: 'Returns the internal rate of return for a series of cash flows',
+ abstract: 'Returns the internal rate of return for a series of cash flows',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/irr-function-64925eaa-9988-495b-b290-3ad0c163c1bc',
+ },
+ ],
+ functionParameter: {
+ values: { name: 'values', detail: 'An array or a reference to cells that contain numbers for which you want to calculate the internal rate of return.\n1.Values must contain at least one positive value and one negative value to calculate the internal rate of return.\n2.IRR uses the order of values to interpret the order of cash flows. Be sure to enter your payment and income values in the sequence you want.\n3.If an array or reference argument contains text, logical values, or empty cells, those values are ignored.' },
+ guess: { name: 'guess', detail: 'A number that you guess is close to the result of IRR.' },
+ },
+ },
+ ISPMT: {
+ description: 'Calculates the interest paid during a specific period of an investment',
+ abstract: 'Calculates the interest paid during a specific period of an investment',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/ispmt-function-fa58adb6-9d39-4ce0-8f43-75399cea56cc',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate for the investment.' },
+ per: { name: 'per', detail: 'The period for which you want to find the interest, and must be between 1 and Nper.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods for the investment.' },
+ pv: { name: 'pv', detail: 'The present value of the investment. For a loan, Pv is the loan amount.' },
+ },
+ },
+ MDURATION: {
+ description: 'Returns the Macauley modified duration for a security with an assumed par value of $100',
+ abstract: 'Returns the Macauley modified duration for a security with an assumed par value of $100',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/mduration-function-b3786a69-4f20-469a-94ad-33e5b90a763c',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ coupon: { name: 'coupon', detail: "The security's annual coupon rate." },
+ yld: { name: 'yld', detail: "The security's annual yield." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ MIRR: {
+ description: 'Returns the internal rate of return where positive and negative cash flows are financed at different rates',
+ abstract: 'Returns the internal rate of return where positive and negative cash flows are financed at different rates',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/mirr-function-b020f038-7492-4fb4-93c1-35c345b53524',
+ },
+ ],
+ functionParameter: {
+ values: { name: 'values', detail: 'An array or a reference to cells that contain numbers. These numbers represent a series of payments (negative values) and income (positive values) occurring at regular periods.\n1.Values must contain at least one positive value and one negative value to calculate the modified internal rate of return. Otherwise, MIRR returns the #DIV/0! error value.\n2.If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.' },
+ financeRate: { name: 'finance_rate', detail: 'The interest rate you pay on the money used in the cash flows.' },
+ reinvestRate: { name: 'reinvest_rate', detail: 'The interest rate you receive on the cash flows as you reinvest them.' },
+ },
+ },
+ NOMINAL: {
+ description: 'Returns the annual nominal interest rate',
+ abstract: 'Returns the annual nominal interest rate',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/nominal-function-7f1ae29b-6b92-435e-b950-ad8b190ddd2b',
+ },
+ ],
+ functionParameter: {
+ effectRate: { name: 'effect_rate', detail: 'The effective interest rate.' },
+ npery: { name: 'npery', detail: 'The number of compounding periods per year.' },
+ },
+ },
+ NPER: {
+ description: 'Returns the number of periods for an investment',
+ abstract: 'Returns the number of periods for an investment',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/nper-function-240535b5-6653-4d2d-bfcf-b6a38151d815',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate per period.' },
+ pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
+ pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
+ fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ },
+ },
+ NPV: {
+ description: 'Returns the net present value of an investment based on a series of periodic cash flows and a discount rate',
+ abstract: 'Returns the net present value of an investment based on a series of periodic cash flows and a discount rate',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/npv-function-8672cb67-2576-4d07-b67b-ac28acf2a568',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The rate of discount over the length of one period.' },
+ value1: { name: 'value1', detail: '1 to 254 arguments representing the payments and income.' },
+ value2: { name: 'value2', detail: '1 to 254 arguments representing the payments and income.' },
+ },
+ },
+ ODDFPRICE: {
+ description: 'Returns the price per $100 face value of a security with an odd first period',
+ abstract: 'Returns the price per $100 face value of a security with an odd first period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/oddfprice-function-d7d664a8-34df-4233-8d2b-922bcf6a69e1',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ issue: { name: 'issue', detail: "The security's issue date." },
+ firstCoupon: { name: 'first_coupon', detail: "The security's first coupon date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ yld: { name: 'yld', detail: "The security's annual yield." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ ODDFYIELD: {
+ description: 'Returns the yield of a security with an odd first period',
+ abstract: 'Returns the yield of a security with an odd first period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/oddfyield-function-66bc8b7b-6501-4c93-9ce3-2fd16220fe37',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ issue: { name: 'issue', detail: "The security's issue date." },
+ firstCoupon: { name: 'first_coupon', detail: "The security's first coupon date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ pr: { name: 'pr', detail: "The security's price." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ ODDLPRICE: {
+ description: 'Returns the price per $100 face value of a security with an odd last period',
+ abstract: 'Returns the price per $100 face value of a security with an odd last period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/oddlprice-function-fb657749-d200-4902-afaf-ed5445027fc4',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ lastInterest: { name: 'last_interest', detail: "The security's last coupon date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ yld: { name: 'yld', detail: "The security's annual yield." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ ODDLYIELD: {
+ description: 'Returns the yield of a security with an odd last period',
+ abstract: 'Returns the yield of a security with an odd last period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/oddlyield-function-c873d088-cf40-435f-8d41-c8232fee9238',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ lastInterest: { name: 'last_interest', detail: "The security's last coupon date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ pr: { name: 'pr', detail: "The security's price." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ PDURATION: {
+ description: 'Returns the number of periods required by an investment to reach a specified value',
+ abstract: 'Returns the number of periods required by an investment to reach a specified value',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/pduration-function-44f33460-5be5-4c90-b857-22308892adaf',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'Rate is the interest rate per period.' },
+ pv: { name: 'pv', detail: 'Pv is the present value of the investment.' },
+ fv: { name: 'fv', detail: 'Fv is the desired future value of the investment.' },
+ },
+ },
+ PMT: {
+ description: 'Returns the periodic payment for an annuity',
+ abstract: 'Returns the periodic payment for an annuity',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/pmt-function-0214da64-9a63-4996-bc20-214433fa6441',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate per period.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
+ pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
+ fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ },
+ },
+ PPMT: {
+ description: 'Returns the payment on the principal for an investment for a given period',
+ abstract: 'Returns the payment on the principal for an investment for a given period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/ppmt-function-c370d9e3-7749-4ca4-beea-b06c6ac95e1b',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate per period.' },
+ per: { name: 'per', detail: 'The period for which you want to find the interest and must be in the range 1 to nper.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
+ pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
+ fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ },
+ },
+ PRICE: {
+ description: 'Returns the price per $100 face value of a security that pays periodic interest',
+ abstract: 'Returns the price per $100 face value of a security that pays periodic interest',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/price-function-3ea9deac-8dfa-436f-a7c8-17ea02c21b0a',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ yld: { name: 'yld', detail: "The security's annual yield." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ PRICEDISC: {
+ description: 'Returns the price per $100 face value of a discounted security',
+ abstract: 'Returns the price per $100 face value of a discounted security',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/pricedisc-function-d06ad7c1-380e-4be7-9fd9-75e3079acfd3',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ discount: { name: 'discount', detail: "The security's discount rate." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ PRICEMAT: {
+ description: 'Returns the price per $100 face value of a security that pays interest at maturity',
+ abstract: 'Returns the price per $100 face value of a security that pays interest at maturity',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/pricemat-function-52c3b4da-bc7e-476a-989f-a95f675cae77',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ issue: { name: 'issue', detail: "The security's issue date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ yld: { name: 'yld', detail: "The security's annual yield." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ PV: {
+ description: 'Returns the present value of an investment',
+ abstract: 'Returns the present value of an investment',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/pv-function-23879d31-0e02-4321-be01-da16e8168cbd',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The interest rate per period.' },
+ nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
+ pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
+ fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ },
+ },
+ RATE: {
+ description: 'Returns the interest rate per period of an annuity',
+ abstract: 'Returns the interest rate per period of an annuity',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/rate-function-9f665657-4a7e-4bb7-a030-83fc59e748ce',
+ },
+ ],
+ functionParameter: {
+ nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
+ pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
+ pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
+ fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
+ type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
+ guess: { name: 'guess', detail: 'Your guess for what the rate will be.' },
+ },
+ },
+ RECEIVED: {
+ description: 'Returns the amount received at maturity for a fully invested security',
+ abstract: 'Returns the amount received at maturity for a fully invested security',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/received-function-7a3f8b93-6611-4f81-8576-828312c9b5e5',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ investment: { name: 'investment', detail: 'The amount invested in the security.' },
+ discount: { name: 'discount', detail: "The security's discount rate." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ RRI: {
+ description: 'Returns an equivalent interest rate for the growth of an investment',
+ abstract: 'Returns an equivalent interest rate for the growth of an investment',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/rri-function-6f5822d8-7ef1-4233-944c-79e8172930f4',
+ },
+ ],
+ functionParameter: {
+ nper: { name: 'nper', detail: 'Nper is the number of periods for the investment.' },
+ pv: { name: 'pv', detail: 'Pv is the present value of the investment.' },
+ fv: { name: 'fv', detail: 'Fv is the future value of the investment.' },
+ },
+ },
+ SLN: {
+ description: 'Returns the straight-line depreciation of an asset for one period',
+ abstract: 'Returns the straight-line depreciation of an asset for one period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/sln-function-cdb666e5-c1c6-40a7-806a-e695edc2f1c8',
+ },
+ ],
+ functionParameter: {
+ cost: { name: 'cost', detail: 'The initial cost of the asset.' },
+ salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
+ life: { name: 'life', detail: 'The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).' },
+ },
+ },
+ SYD: {
+ description: 'Returns the sum-of-years\' digits depreciation of an asset for a specified period',
+ abstract: 'Returns the sum-of-years\' digits depreciation of an asset for a specified period',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/syd-function-069f8106-b60b-4ca2-98e0-2a0f206bdb27',
+ },
+ ],
+ functionParameter: {
+ cost: { name: 'cost', detail: 'The initial cost of the asset.' },
+ salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
+ life: { name: 'life', detail: 'The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).' },
+ per: { name: 'per', detail: 'The period and must use the same units as life.' },
+ },
+ },
+ TBILLEQ: {
+ description: 'Returns the bond-equivalent yield for a Treasury bill',
+ abstract: 'Returns the bond-equivalent yield for a Treasury bill',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/tbilleq-function-2ab72d90-9b4d-4efe-9fc2-0f81f2c19c8c',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The Treasury bill's settlement date." },
+ maturity: { name: 'maturity', detail: "The Treasury bill's maturity date." },
+ discount: { name: 'discount', detail: "The Treasury bill's discount rate." },
+ },
+ },
+ TBILLPRICE: {
+ description: 'Returns the price per $100 face value for a Treasury bill',
+ abstract: 'Returns the price per $100 face value for a Treasury bill',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/tbillprice-function-eacca992-c29d-425a-9eb8-0513fe6035a2',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The Treasury bill's settlement date." },
+ maturity: { name: 'maturity', detail: "The Treasury bill's maturity date." },
+ discount: { name: 'discount', detail: "The Treasury bill's discount rate." },
+ },
+ },
+ TBILLYIELD: {
+ description: 'Returns the yield for a Treasury bill',
+ abstract: 'Returns the yield for a Treasury bill',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The Treasury bill's settlement date." },
+ maturity: { name: 'maturity', detail: "The Treasury bill's maturity date." },
+ pr: { name: 'pr', detail: "The Treasury bill's price per $100 face value." },
+ },
+ },
+ VDB: {
+ description: 'Returns the depreciation of an asset for a specified or partial period by using a declining balance method',
+ abstract: 'Returns the depreciation of an asset for a specified or partial period by using a declining balance method',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/vdb-function-dde4e207-f3fa-488d-91d2-66d55e861d73',
+ },
+ ],
+ functionParameter: {
+ cost: { name: 'cost', detail: 'The initial cost of the asset.' },
+ salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
+ life: { name: 'life', detail: 'The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).' },
+ startPeriod: { name: 'start_period', detail: 'The starting period for which you want to calculate the depreciation.' },
+ endPeriod: { name: 'end_period', detail: 'The ending period for which you want to calculate the depreciation.' },
+ factor: { name: 'factor', detail: 'The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).' },
+ noSwitch: { name: 'no_switch', detail: 'A logical value specifying whether to switch to straight-line depreciation when depreciation is greater than the declining balance calculation.' },
+ },
+ },
+ XIRR: {
+ description: 'Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic',
+ abstract: 'Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d',
+ },
+ ],
+ functionParameter: {
+ values: { name: 'values', detail: 'A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.' },
+ dates: { name: 'dates', detail: 'A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order.' },
+ guess: { name: 'guess', detail: 'A number that you guess is close to the result of XIRR.' },
+ },
+ },
+ XNPV: {
+ description: 'Returns the net present value for a schedule of cash flows that is not necessarily periodic',
+ abstract: 'Returns the net present value for a schedule of cash flows that is not necessarily periodic',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/xnpv-function-1b42bbf6-370f-4532-a0eb-d67c16b664b7',
+ },
+ ],
+ functionParameter: {
+ rate: { name: 'rate', detail: 'The discount rate to apply to the cash flows.' },
+ values: { name: 'values', detail: 'A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.' },
+ dates: { name: 'dates', detail: 'A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order.' },
+ },
+ },
+ YIELD: {
+ description: 'Returns the yield on a security that pays periodic interest',
+ abstract: 'Returns the yield on a security that pays periodic interest',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/yield-function-f5f5ca43-c4bd-434f-8bd2-ed3c9727a4fe',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ pr: { name: 'pr', detail: "The security's price per $100 face value." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ YIELDDISC: {
+ description: 'Returns the annual yield for a discounted security; for example, a Treasury bill',
+ abstract: 'Returns the annual yield for a discounted security; for example, a Treasury bill',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/yielddisc-function-a9dbdbae-7dae-46de-b995-615faffaaed7',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ pr: { name: 'pr', detail: "The security's price per $100 face value." },
+ redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
+ YIELDMAT: {
+ description: 'Returns the annual yield of a security that pays interest at maturity',
+ abstract: 'Returns the annual yield of a security that pays interest at maturity',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/yieldmat-function-ba7d1809-0d33-4bcb-96c7-6c56ec62ef6f',
+ },
+ ],
+ functionParameter: {
+ settlement: { name: 'settlement', detail: "The security's settlement date." },
+ maturity: { name: 'maturity', detail: "The security's maturity date." },
+ issue: { name: 'issue', detail: "The security's issue date." },
+ rate: { name: 'rate', detail: "The security's interest rate." },
+ pr: { name: 'pr', detail: "The security's price per $100 face value." },
+ basis: { name: 'basis', detail: 'The type of day count basis to use.' },
+ },
+ },
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/en-US.ts
index d85b19375c..70dd0baa39 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
ACCRINT: {
description: 'Returns the accrued interest for a security that pays periodic interest',
abstract: 'Returns the accrued interest for a security that pays periodic interest',
@@ -936,3 +936,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/es-ES.ts
index 9531633837..1a53e35ca6 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ACCRINT: {
description: 'Devuelve el interés acumulado de un valor que paga intereses periódicos',
abstract: 'Devuelve el interés acumulado de un valor que paga intereses periódicos',
@@ -936,3 +938,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/fr-FR.ts
index ad79f28529..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/fr-FR.ts
@@ -14,925 +14,8 @@
* limitations under the License.
*/
-export default {
- ACCRINT: {
- description: 'Returns the accrued interest for a security that pays periodic interest',
- abstract: 'Returns the accrued interest for a security that pays periodic interest',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/accrint-function-fe45d089-6722-4fb3-9379-e1f911d8dc74',
- },
- ],
- functionParameter: {
- issue: { name: 'issue', detail: "The security's issue date." },
- firstInterest: { name: 'first_interest', detail: "The security's first interest date." },
- settlement: { name: 'settlement', detail: "The security's maturity date." },
- rate: { name: 'rate', detail: "The security's annual coupon rate." },
- par: { name: 'par', detail: "The security's par value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- calcMethod: { name: 'calc_method', detail: 'Is a logical value: interest accrues from the issue date = TRUE or ignored; interest accrues from the last coupon payment date = FALSE.' },
- },
- },
- ACCRINTM: {
- description: 'Returns the accrued interest for a security that pays interest at maturity',
- abstract: 'Returns the accrued interest for a security that pays interest at maturity',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/accrintm-function-f62f01f9-5754-4cc4-805b-0e70199328a7',
- },
- ],
- functionParameter: {
- issue: { name: 'issue', detail: "The security's issue date." },
- settlement: { name: 'settlement', detail: "The security's maturity date." },
- rate: { name: 'rate', detail: "The security's annual coupon rate." },
- par: { name: 'par', detail: "The security's par value." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- AMORDEGRC: {
- description: 'Returns the depreciation for each accounting period by using a depreciation coefficient',
- abstract: 'Returns the depreciation for each accounting period by using a depreciation coefficient',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/amordegrc-function-a14d0ca1-64a4-42eb-9b3d-b0dededf9e51',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- AMORLINC: {
- description: 'Returns the depreciation for each accounting period',
- abstract: 'Returns the depreciation for each accounting period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/amorlinc-function-7d417b45-f7f5-4dba-a0a5-3451a81079a8',
- },
- ],
- functionParameter: {
- cost: { name: 'cost', detail: 'The cost of the asset.' },
- datePurchased: { name: 'date_purchased', detail: 'The date of the purchase of the asset.' },
- firstPeriod: { name: 'first_period', detail: 'The date of the end of the first period.' },
- salvage: { name: 'salvage', detail: 'The salvage value at the end of the life of the asset.' },
- period: { name: 'period', detail: 'The period.' },
- rate: { name: 'rate', detail: 'The rate of depreciation.' },
- basis: { name: 'basis', detail: 'The year basis to be used.' },
- },
- },
- COUPDAYBS: {
- description: 'Returns the number of days from the beginning of the coupon period to the settlement date',
- abstract: 'Returns the number of days from the beginning of the coupon period to the settlement date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/coupdaybs-function-eb9a8dfb-2fb2-4c61-8e5d-690b320cf872',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- COUPDAYS: {
- description: 'Returns the number of days in the coupon period that contains the settlement date',
- abstract: 'Returns the number of days in the coupon period that contains the settlement date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/coupdays-function-cc64380b-315b-4e7b-950c-b30b0a76f671',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- COUPDAYSNC: {
- description: 'Returns the number of days from the settlement date to the next coupon date',
- abstract: 'Returns the number of days from the settlement date to the next coupon date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/coupdaysnc-function-5ab3f0b2-029f-4a8b-bb65-47d525eea547',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- COUPNCD: {
- description: 'Returns the next coupon date after the settlement date',
- abstract: 'Returns the next coupon date after the settlement date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/coupncd-function-fd962fef-506b-4d9d-8590-16df5393691f',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- COUPNUM: {
- description: 'Returns the number of coupons payable between the settlement date and maturity date',
- abstract: 'Returns the number of coupons payable between the settlement date and maturity date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/coupnum-function-a90af57b-de53-4969-9c99-dd6139db2522',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- COUPPCD: {
- description: 'Returns the previous coupon date before the settlement date',
- abstract: 'Returns the previous coupon date before the settlement date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/couppcd-function-2eb50473-6ee9-4052-a206-77a9a385d5b3',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- CUMIPMT: {
- description: 'Returns the cumulative interest paid between two periods',
- abstract: 'Returns the cumulative interest paid between two periods',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cumipmt-function-61067bb0-9016-427d-b95b-1a752af0e606',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate.' },
- nper: { name: 'nper', detail: 'The total number of payment periods.' },
- pv: { name: 'pv', detail: 'The present value.' },
- startPeriod: { name: 'start_period', detail: 'The first period in the calculation. Payment periods are numbered beginning with 1.' },
- endPeriod: { name: 'end_period', detail: 'The last period in the calculation.' },
- type: { name: 'type', detail: 'The timing of the payment.' },
- },
- },
- CUMPRINC: {
- description: 'Returns the cumulative principal paid on a loan between two periods',
- abstract: 'Returns the cumulative principal paid on a loan between two periods',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cumprinc-function-94a4516d-bd65-41a1-bc16-053a6af4c04d',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate.' },
- nper: { name: 'nper', detail: 'The total number of payment periods.' },
- pv: { name: 'pv', detail: 'The present value.' },
- startPeriod: { name: 'start_period', detail: 'The first period in the calculation. Payment periods are numbered beginning with 1.' },
- endPeriod: { name: 'end_period', detail: 'The last period in the calculation.' },
- type: { name: 'type', detail: 'The timing of the payment.' },
- },
- },
- DB: {
- description: 'Returns the depreciation of an asset for a specified period by using the fixed-declining balance method',
- abstract: 'Returns the depreciation of an asset for a specified period by using the fixed-declining balance method',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/db-function-354e7d28-5f93-4ff1-8a52-eb4ee549d9d7',
- },
- ],
- functionParameter: {
- cost: { name: 'cost', detail: 'The initial cost of the asset.' },
- salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
- life: { name: 'life', detail: 'The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).' },
- period: { name: 'period', detail: 'The period for which you want to calculate the depreciation.' },
- month: { name: 'month', detail: 'The number of months in the first year. If month is omitted, it is assumed to be 12.' },
- },
- },
- DDB: {
- description: 'Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify',
- abstract: 'Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ddb-function-519a7a37-8772-4c96-85c0-ed2c209717a5',
- },
- ],
- functionParameter: {
- cost: { name: 'cost', detail: 'The initial cost of the asset.' },
- salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
- life: { name: 'life', detail: 'The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).' },
- period: { name: 'period', detail: 'The period for which you want to calculate the depreciation.' },
- factor: { name: 'factor', detail: 'The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).' },
- },
- },
- DISC: {
- description: 'Returns the discount rate for a security',
- abstract: 'Returns the discount rate for a security',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/disc-function-71fce9f3-3f05-4acf-a5a3-eac6ef4daa53',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- pr: { name: 'pr', detail: "The security's price per $100 face value." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- DOLLARDE: {
- description: 'Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number',
- abstract: 'Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dollarde-function-db85aab0-1677-428a-9dfd-a38476693427',
- },
- ],
- functionParameter: {
- fractionalDollar: { name: 'fractional_dollar', detail: 'A number expressed as an integer part and a fraction part, separated by a decimal symbol.' },
- fraction: { name: 'fraction', detail: 'The integer to use in the denominator of the fraction.' },
- },
- },
- DOLLARFR: {
- description: 'Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction',
- abstract: 'Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dollarfr-function-0835d163-3023-4a33-9824-3042c5d4f495',
- },
- ],
- functionParameter: {
- decimalDollar: { name: 'decimal_dollar', detail: 'A decimal number.' },
- fraction: { name: 'fraction', detail: 'The integer to use in the denominator of the fraction.' },
- },
- },
- DURATION: {
- description: 'Returns the annual duration of a security with periodic interest payments',
- abstract: 'Returns the annual duration of a security with periodic interest payments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/duration-function-b254ea57-eadc-4602-a86a-c8e369334038',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- coupon: { name: 'coupon', detail: "The security's annual coupon rate." },
- yld: { name: 'yld', detail: "The security's annual yield." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- EFFECT: {
- description: 'Returns the effective annual interest rate',
- abstract: 'Returns the effective annual interest rate',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/effect-function-910d4e4c-79e2-4009-95e6-507e04f11bc4',
- },
- ],
- functionParameter: {
- nominalRate: { name: 'nominal_rate', detail: 'The nominal interest rate.' },
- npery: { name: 'npery', detail: 'The number of compounding periods per year.' },
- },
- },
- FV: {
- description: 'Returns the future value of an investment',
- abstract: 'Returns the future value of an investment',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fv-function-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate per period.' },
- nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
- pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
- pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- },
- },
- FVSCHEDULE: {
- description: 'Returns the future value of an initial principal after applying a series of compound interest rates',
- abstract: 'Returns the future value of an initial principal after applying a series of compound interest rates',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fvschedule-function-bec29522-bd87-4082-bab9-a241f3fb251d',
- },
- ],
- functionParameter: {
- principal: { name: 'principal', detail: 'The present value.' },
- schedule: { name: 'schedule', detail: 'An array of interest rates to apply.' },
- },
- },
- INTRATE: {
- description: 'Returns the interest rate for a fully invested security',
- abstract: 'Returns the interest rate for a fully invested security',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/intrate-function-5cb34dde-a221-4cb6-b3eb-0b9e55e1316f',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- investment: { name: 'investment', detail: 'The amount invested in the security.' },
- redemption: { name: 'redemption', detail: 'The amount to be received at maturity.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- IPMT: {
- description: 'Returns the interest payment for an investment for a given period',
- abstract: 'Returns the interest payment for an investment for a given period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ipmt-function-5cce0ad6-8402-4a41-8d29-61a0b054cb6f',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate per period.' },
- per: { name: 'per', detail: 'The period for which you want to find the interest and must be in the range 1 to nper.' },
- nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
- pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
- fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- },
- },
- IRR: {
- description: 'Returns the internal rate of return for a series of cash flows',
- abstract: 'Returns the internal rate of return for a series of cash flows',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/irr-function-64925eaa-9988-495b-b290-3ad0c163c1bc',
- },
- ],
- functionParameter: {
- values: { name: 'values', detail: 'An array or a reference to cells that contain numbers for which you want to calculate the internal rate of return.\n1.Values must contain at least one positive value and one negative value to calculate the internal rate of return.\n2.IRR uses the order of values to interpret the order of cash flows. Be sure to enter your payment and income values in the sequence you want.\n3.If an array or reference argument contains text, logical values, or empty cells, those values are ignored.' },
- guess: { name: 'guess', detail: 'A number that you guess is close to the result of IRR.' },
- },
- },
- ISPMT: {
- description: 'Calculates the interest paid during a specific period of an investment',
- abstract: 'Calculates the interest paid during a specific period of an investment',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ispmt-function-fa58adb6-9d39-4ce0-8f43-75399cea56cc',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate for the investment.' },
- per: { name: 'per', detail: 'The period for which you want to find the interest, and must be between 1 and Nper.' },
- nper: { name: 'nper', detail: 'The total number of payment periods for the investment.' },
- pv: { name: 'pv', detail: 'The present value of the investment. For a loan, Pv is the loan amount.' },
- },
- },
- MDURATION: {
- description: 'Returns the Macauley modified duration for a security with an assumed par value of $100',
- abstract: 'Returns the Macauley modified duration for a security with an assumed par value of $100',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mduration-function-b3786a69-4f20-469a-94ad-33e5b90a763c',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- coupon: { name: 'coupon', detail: "The security's annual coupon rate." },
- yld: { name: 'yld', detail: "The security's annual yield." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- MIRR: {
- description: 'Returns the internal rate of return where positive and negative cash flows are financed at different rates',
- abstract: 'Returns the internal rate of return where positive and negative cash flows are financed at different rates',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mirr-function-b020f038-7492-4fb4-93c1-35c345b53524',
- },
- ],
- functionParameter: {
- values: { name: 'values', detail: 'An array or a reference to cells that contain numbers. These numbers represent a series of payments (negative values) and income (positive values) occurring at regular periods.\n1.Values must contain at least one positive value and one negative value to calculate the modified internal rate of return. Otherwise, MIRR returns the #DIV/0! error value.\n2.If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.' },
- financeRate: { name: 'finance_rate', detail: 'The interest rate you pay on the money used in the cash flows.' },
- reinvestRate: { name: 'reinvest_rate', detail: 'The interest rate you receive on the cash flows as you reinvest them.' },
- },
- },
- NOMINAL: {
- description: 'Returns the annual nominal interest rate',
- abstract: 'Returns the annual nominal interest rate',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/nominal-function-7f1ae29b-6b92-435e-b950-ad8b190ddd2b',
- },
- ],
- functionParameter: {
- effectRate: { name: 'effect_rate', detail: 'The effective interest rate.' },
- npery: { name: 'npery', detail: 'The number of compounding periods per year.' },
- },
- },
- NPER: {
- description: 'Returns the number of periods for an investment',
- abstract: 'Returns the number of periods for an investment',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/nper-function-240535b5-6653-4d2d-bfcf-b6a38151d815',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate per period.' },
- pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
- pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
- fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- },
- },
- NPV: {
- description: 'Returns the net present value of an investment based on a series of periodic cash flows and a discount rate',
- abstract: 'Returns the net present value of an investment based on a series of periodic cash flows and a discount rate',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/npv-function-8672cb67-2576-4d07-b67b-ac28acf2a568',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The rate of discount over the length of one period.' },
- value1: { name: 'value1', detail: '1 to 254 arguments representing the payments and income.' },
- value2: { name: 'value2', detail: '1 to 254 arguments representing the payments and income.' },
- },
- },
- ODDFPRICE: {
- description: 'Returns the price per $100 face value of a security with an odd first period',
- abstract: 'Returns the price per $100 face value of a security with an odd first period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oddfprice-function-d7d664a8-34df-4233-8d2b-922bcf6a69e1',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- issue: { name: 'issue', detail: "The security's issue date." },
- firstCoupon: { name: 'first_coupon', detail: "The security's first coupon date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- yld: { name: 'yld', detail: "The security's annual yield." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- ODDFYIELD: {
- description: 'Returns the yield of a security with an odd first period',
- abstract: 'Returns the yield of a security with an odd first period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oddfyield-function-66bc8b7b-6501-4c93-9ce3-2fd16220fe37',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- issue: { name: 'issue', detail: "The security's issue date." },
- firstCoupon: { name: 'first_coupon', detail: "The security's first coupon date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- pr: { name: 'pr', detail: "The security's price." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- ODDLPRICE: {
- description: 'Returns the price per $100 face value of a security with an odd last period',
- abstract: 'Returns the price per $100 face value of a security with an odd last period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oddlprice-function-fb657749-d200-4902-afaf-ed5445027fc4',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- lastInterest: { name: 'last_interest', detail: "The security's last coupon date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- yld: { name: 'yld', detail: "The security's annual yield." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- ODDLYIELD: {
- description: 'Returns the yield of a security with an odd last period',
- abstract: 'Returns the yield of a security with an odd last period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/oddlyield-function-c873d088-cf40-435f-8d41-c8232fee9238',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- lastInterest: { name: 'last_interest', detail: "The security's last coupon date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- pr: { name: 'pr', detail: "The security's price." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- PDURATION: {
- description: 'Returns the number of periods required by an investment to reach a specified value',
- abstract: 'Returns the number of periods required by an investment to reach a specified value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pduration-function-44f33460-5be5-4c90-b857-22308892adaf',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'Rate is the interest rate per period.' },
- pv: { name: 'pv', detail: 'Pv is the present value of the investment.' },
- fv: { name: 'fv', detail: 'Fv is the desired future value of the investment.' },
- },
- },
- PMT: {
- description: 'Returns the periodic payment for an annuity',
- abstract: 'Returns the periodic payment for an annuity',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pmt-function-0214da64-9a63-4996-bc20-214433fa6441',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate per period.' },
- nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
- pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
- fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- },
- },
- PPMT: {
- description: 'Returns the payment on the principal for an investment for a given period',
- abstract: 'Returns the payment on the principal for an investment for a given period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ppmt-function-c370d9e3-7749-4ca4-beea-b06c6ac95e1b',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate per period.' },
- per: { name: 'per', detail: 'The period for which you want to find the interest and must be in the range 1 to nper.' },
- nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
- pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
- fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- },
- },
- PRICE: {
- description: 'Returns the price per $100 face value of a security that pays periodic interest',
- abstract: 'Returns the price per $100 face value of a security that pays periodic interest',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/price-function-3ea9deac-8dfa-436f-a7c8-17ea02c21b0a',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- yld: { name: 'yld', detail: "The security's annual yield." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- PRICEDISC: {
- description: 'Returns the price per $100 face value of a discounted security',
- abstract: 'Returns the price per $100 face value of a discounted security',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pricedisc-function-d06ad7c1-380e-4be7-9fd9-75e3079acfd3',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- discount: { name: 'discount', detail: "The security's discount rate." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- PRICEMAT: {
- description: 'Returns the price per $100 face value of a security that pays interest at maturity',
- abstract: 'Returns the price per $100 face value of a security that pays interest at maturity',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pricemat-function-52c3b4da-bc7e-476a-989f-a95f675cae77',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- issue: { name: 'issue', detail: "The security's issue date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- yld: { name: 'yld', detail: "The security's annual yield." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- PV: {
- description: 'Returns the present value of an investment',
- abstract: 'Returns the present value of an investment',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pv-function-23879d31-0e02-4321-be01-da16e8168cbd',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The interest rate per period.' },
- nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
- pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
- fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- },
- },
- RATE: {
- description: 'Returns the interest rate per period of an annuity',
- abstract: 'Returns the interest rate per period of an annuity',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rate-function-9f665657-4a7e-4bb7-a030-83fc59e748ce',
- },
- ],
- functionParameter: {
- nper: { name: 'nper', detail: 'The total number of payment periods in an annuity.' },
- pmt: { name: 'pmt', detail: 'The payment made each period; it cannot change over the life of the annuity.' },
- pv: { name: 'pv', detail: 'The present value, or the lump-sum amount that a series of future payments is worth right now.' },
- fv: { name: 'fv', detail: 'The future value, or a cash balance you want to attain after the last payment is made.' },
- type: { name: 'type', detail: 'The number 0 or 1 and indicates when payments are due.' },
- guess: { name: 'guess', detail: 'Your guess for what the rate will be.' },
- },
- },
- RECEIVED: {
- description: 'Returns the amount received at maturity for a fully invested security',
- abstract: 'Returns the amount received at maturity for a fully invested security',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/received-function-7a3f8b93-6611-4f81-8576-828312c9b5e5',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- investment: { name: 'investment', detail: 'The amount invested in the security.' },
- discount: { name: 'discount', detail: "The security's discount rate." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- RRI: {
- description: 'Returns an equivalent interest rate for the growth of an investment',
- abstract: 'Returns an equivalent interest rate for the growth of an investment',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rri-function-6f5822d8-7ef1-4233-944c-79e8172930f4',
- },
- ],
- functionParameter: {
- nper: { name: 'nper', detail: 'Nper is the number of periods for the investment.' },
- pv: { name: 'pv', detail: 'Pv is the present value of the investment.' },
- fv: { name: 'fv', detail: 'Fv is the future value of the investment.' },
- },
- },
- SLN: {
- description: 'Returns the straight-line depreciation of an asset for one period',
- abstract: 'Returns the straight-line depreciation of an asset for one period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sln-function-cdb666e5-c1c6-40a7-806a-e695edc2f1c8',
- },
- ],
- functionParameter: {
- cost: { name: 'cost', detail: 'The initial cost of the asset.' },
- salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
- life: { name: 'life', detail: 'The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).' },
- },
- },
- SYD: {
- description: 'Returns the sum-of-years\' digits depreciation of an asset for a specified period',
- abstract: 'Returns the sum-of-years\' digits depreciation of an asset for a specified period',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/syd-function-069f8106-b60b-4ca2-98e0-2a0f206bdb27',
- },
- ],
- functionParameter: {
- cost: { name: 'cost', detail: 'The initial cost of the asset.' },
- salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
- life: { name: 'life', detail: 'The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).' },
- per: { name: 'per', detail: 'The period and must use the same units as life.' },
- },
- },
- TBILLEQ: {
- description: 'Returns the bond-equivalent yield for a Treasury bill',
- abstract: 'Returns the bond-equivalent yield for a Treasury bill',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tbilleq-function-2ab72d90-9b4d-4efe-9fc2-0f81f2c19c8c',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The Treasury bill's settlement date." },
- maturity: { name: 'maturity', detail: "The Treasury bill's maturity date." },
- discount: { name: 'discount', detail: "The Treasury bill's discount rate." },
- },
- },
- TBILLPRICE: {
- description: 'Returns the price per $100 face value for a Treasury bill',
- abstract: 'Returns the price per $100 face value for a Treasury bill',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tbillprice-function-eacca992-c29d-425a-9eb8-0513fe6035a2',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The Treasury bill's settlement date." },
- maturity: { name: 'maturity', detail: "The Treasury bill's maturity date." },
- discount: { name: 'discount', detail: "The Treasury bill's discount rate." },
- },
- },
- TBILLYIELD: {
- description: 'Returns the yield for a Treasury bill',
- abstract: 'Returns the yield for a Treasury bill',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The Treasury bill's settlement date." },
- maturity: { name: 'maturity', detail: "The Treasury bill's maturity date." },
- pr: { name: 'pr', detail: "The Treasury bill's price per $100 face value." },
- },
- },
- VDB: {
- description: 'Returns the depreciation of an asset for a specified or partial period by using a declining balance method',
- abstract: 'Returns the depreciation of an asset for a specified or partial period by using a declining balance method',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/vdb-function-dde4e207-f3fa-488d-91d2-66d55e861d73',
- },
- ],
- functionParameter: {
- cost: { name: 'cost', detail: 'The initial cost of the asset.' },
- salvage: { name: 'salvage', detail: 'The value at the end of the depreciation (sometimes called the salvage value of the asset).' },
- life: { name: 'life', detail: 'The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).' },
- startPeriod: { name: 'start_period', detail: 'The starting period for which you want to calculate the depreciation.' },
- endPeriod: { name: 'end_period', detail: 'The ending period for which you want to calculate the depreciation.' },
- factor: { name: 'factor', detail: 'The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).' },
- noSwitch: { name: 'no_switch', detail: 'A logical value specifying whether to switch to straight-line depreciation when depreciation is greater than the declining balance calculation.' },
- },
- },
- XIRR: {
- description: 'Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic',
- abstract: 'Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d',
- },
- ],
- functionParameter: {
- values: { name: 'values', detail: 'A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.' },
- dates: { name: 'dates', detail: 'A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order.' },
- guess: { name: 'guess', detail: 'A number that you guess is close to the result of XIRR.' },
- },
- },
- XNPV: {
- description: 'Returns the net present value for a schedule of cash flows that is not necessarily periodic',
- abstract: 'Returns the net present value for a schedule of cash flows that is not necessarily periodic',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/xnpv-function-1b42bbf6-370f-4532-a0eb-d67c16b664b7',
- },
- ],
- functionParameter: {
- rate: { name: 'rate', detail: 'The discount rate to apply to the cash flows.' },
- values: { name: 'values', detail: 'A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.' },
- dates: { name: 'dates', detail: 'A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order.' },
- },
- },
- YIELD: {
- description: 'Returns the yield on a security that pays periodic interest',
- abstract: 'Returns the yield on a security that pays periodic interest',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/yield-function-f5f5ca43-c4bd-434f-8bd2-ed3c9727a4fe',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- pr: { name: 'pr', detail: "The security's price per $100 face value." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- frequency: { name: 'frequency', detail: 'The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.' },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- YIELDDISC: {
- description: 'Returns the annual yield for a discounted security; for example, a Treasury bill',
- abstract: 'Returns the annual yield for a discounted security; for example, a Treasury bill',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/yielddisc-function-a9dbdbae-7dae-46de-b995-615faffaaed7',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- pr: { name: 'pr', detail: "The security's price per $100 face value." },
- redemption: { name: 'redemption', detail: "The security's redemption value per $100 face value." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
- YIELDMAT: {
- description: 'Returns the annual yield of a security that pays interest at maturity',
- abstract: 'Returns the annual yield of a security that pays interest at maturity',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/yieldmat-function-ba7d1809-0d33-4bcb-96c7-6c56ec62ef6f',
- },
- ],
- functionParameter: {
- settlement: { name: 'settlement', detail: "The security's settlement date." },
- maturity: { name: 'maturity', detail: "The security's maturity date." },
- issue: { name: 'issue', detail: "The security's issue date." },
- rate: { name: 'rate', detail: "The security's interest rate." },
- pr: { name: 'pr', detail: "The security's price per $100 face value." },
- basis: { name: 'basis', detail: 'The type of day count basis to use.' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/ja-JP.ts
index 96eea2db21..f9344fab29 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ACCRINT: {
description: '定期的に利息が支払われる証券の未収利息額を返します。',
abstract: '定期的に利息が支払われる証券の未収利息額を返します。',
@@ -936,3 +938,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/ko-KR.ts
index d91c0cc701..aefda2108f 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ACCRINT: {
description: '정기적으로 이자를 지급하는 증권의 경과 이자를 반환합니다',
abstract: '정기적으로 이자를 지급하는 증권의 경과 이자를 반환합니다',
@@ -936,3 +938,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/vi-VN.ts
index 26f1005902..1040016a9c 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ACCRINT: {
description: 'Trả về lãi tích lũy của một trái phiếu trả lãi định kỳ',
abstract: 'Trả về lãi tích lũy của một trái phiếu trả lãi định kỳ',
@@ -936,3 +938,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/zh-CN.ts
index 42b3d47eab..4d8667c693 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ACCRINT: {
description: '返回定期支付利息的债券的应计利息',
abstract: '返回定期支付利息的债券的应计利息',
@@ -936,3 +938,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/financial/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/financial/zh-TW.ts
index 0956d3b665..5ad2a994b3 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/financial/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/financial/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ACCRINT: {
description: '返回定期支付利息的債券的應計利息',
abstract: '返回定期支付利息的債券的應計利息',
@@ -934,3 +936,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/information/ca-ES.ts
index 3e554c91b5..a1daa0c26b 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: 'Retorna informació sobre el format, la ubicació o el contingut d\'una cel·la',
abstract: 'Retorna informació sobre el format, la ubicació o el contingut d\'una cel·la',
@@ -346,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/information/en-US.ts
index db962d1a35..1ca631abcb 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
CELL: {
description: 'Returns information about the formatting, location, or contents of a cell',
abstract: 'Returns information about the formatting, location, or contents of a cell',
@@ -346,3 +346,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/information/es-ES.ts
index 564bd2bc11..b18c7b8b7a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: 'Devuelve información sobre el formato, la ubicación o el contenido de una celda',
abstract: 'Devuelve información sobre el formato, la ubicación o el contenido de una celda',
@@ -346,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/information/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/information/fr-FR.ts
index 84b593abef..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/fr-FR.ts
@@ -14,282 +14,8 @@
* limitations under the License.
*/
-export default {
- CELL: {
- description: 'Returns information about the formatting, location, or contents of a cell',
- abstract: 'Returns information about the formatting, location, or contents of a cell',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cell-function-51bd39a5-f338-4dbe-a33f-955d67c2b2cf',
- },
- ],
- functionParameter: {
- infoType: { name: 'info_type', detail: 'A text value that specifies what type of cell information you want to return.' },
- reference: { name: 'reference', detail: 'The cell that you want information about.' },
- },
- },
- ERROR_TYPE: {
- description: 'Returns a number corresponding to an error type',
- abstract: 'Returns a number corresponding to an error type',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/error-type-function-10958677-7c8d-44f7-ae77-b9a9ee6eefaa',
- },
- ],
- functionParameter: {
- errorVal: { name: 'error_val', detail: 'The error value whose identifying number you want to find.' },
- },
- },
- INFO: {
- description: 'Returns information about the current operating environment',
- abstract: 'Returns information about the current operating environment',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/info-function-725f259a-0e4b-49b3-8b52-58815c69acae',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ISBLANK: {
- description: 'Returns TRUE if the value is blank',
- abstract: 'Returns TRUE if the value is blank',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISERR: {
- description: 'Returns TRUE if the value is any error value except #N/A',
- abstract: 'Returns TRUE if the value is any error value except #N/A',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISERROR: {
- description: 'Returns TRUE if the value is any error value',
- abstract: 'Returns TRUE if the value is any error value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISEVEN: {
- description: 'Returns TRUE if the number is even',
- abstract: 'Returns TRUE if the number is even',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/iseven-function-aa15929a-d77b-4fbb-92f4-2f479af55356',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value to test. If number is not an integer, it is truncated.' },
- },
- },
- ISFORMULA: {
- description: 'Returns TRUE if there is a reference to a cell that contains a formula',
- abstract: 'Returns TRUE if there is a reference to a cell that contains a formula',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/isformula-function-e4d1355f-7121-4ef2-801e-3839bfd6b1e5',
- },
- ],
- functionParameter: {
- reference: { name: 'reference', detail: 'Reference is a reference to the cell you want to test.' },
- },
- },
- ISLOGICAL: {
- description: 'Returns TRUE if the value is a logical value',
- abstract: 'Returns TRUE if the value is a logical value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISNA: {
- description: 'Returns TRUE if the value is the #N/A error value',
- abstract: 'Returns TRUE if the value is the #N/A error value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISNONTEXT: {
- description: 'Returns TRUE if the value is not text',
- abstract: 'Returns TRUE if the value is not text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISNUMBER: {
- description: 'Returns TRUE if the value is a number',
- abstract: 'Returns TRUE if the value is a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISODD: {
- description: 'Returns TRUE if the number is odd',
- abstract: 'Returns TRUE if the number is odd',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/isodd-function-1208a56d-4f10-4f44-a5fc-648cafd6c07a',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value to test. If number is not an integer, it is truncated.' },
- },
- },
- ISOMITTED: {
- description: 'Checks whether the value in a&nbsp;LAMBDA&nbsp;is missing and returns TRUE or FALSE',
- abstract: 'Checks whether the value in a&nbsp;LAMBDA&nbsp;is missing and returns TRUE or FALSE',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/isomitted-function-831d6fbc-0f07-40c4-9c5b-9c73fd1d60c1',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ISREF: {
- description: 'Returns TRUE if the value is a reference',
- abstract: 'Returns TRUE if the value is a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- ISTEXT: {
- description: 'Returns TRUE if the value is text',
- abstract: 'Returns TRUE if the value is text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.' },
- },
- },
- N: {
- description: 'Returns a value converted to a number',
- abstract: 'Returns a value converted to a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/n-function-a624cad1-3635-4208-b54a-29733d1278c9',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The value you want converted.' },
- },
- },
- NA: {
- description: 'Returns the error value #N/A',
- abstract: 'Returns the error value #N/A',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/na-function-5469c2d1-a90c-4fb5-9bbc-64bd9bb6b47c',
- },
- ],
- functionParameter: {
- },
- },
- SHEET: {
- description: 'Returns the sheet number of the referenced sheet',
- abstract: 'Returns the sheet number of the referenced sheet',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sheet-function-44718b6f-8b87-47a1-a9d6-b701c06cff24',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SHEETS: {
- description: 'Returns the number of sheets in a reference',
- abstract: 'Returns the number of sheets in a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sheets-function-770515eb-e1e8-45ce-8066-b557e5e4b80b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TYPE: {
- description: 'Returns a number indicating the data type of a value',
- abstract: 'Returns a number indicating the data type of a value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/type-function-45b4e688-4bc3-48b3-a105-ffa892995899',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'Can be any value, such as a number, text, logical value, and so on.' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/information/ja-JP.ts
index eca308574f..990e68c9b5 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: 'セルの書式、位置、内容についての情報を返します。',
abstract: 'セルの書式、位置、内容についての情報を返します。',
@@ -346,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/information/ko-KR.ts
index f54b47c116..50fc445944 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: '셀의 서식, 위치 또는 내용에 대한 정보를 반환합니다',
abstract: '셀의 서식, 위치 또는 내용에 대한 정보를 반환합니다',
@@ -346,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/information/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/information/vi-VN.ts
index 75c6197e0b..699b2fc5d2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: 'Hàm CELL trả về thông tin về định dạng, vị trí hay nội dung của một ô.',
abstract: 'Hàm CELL trả về thông tin về định dạng, vị trí hay nội dung của một ô.',
@@ -42,6 +44,20 @@ export default {
errorVal: { name: 'Giá trị lỗi', detail: 'Giá trị lỗi có số nhận dạng mà bạn muốn tìm.' },
},
},
+ INFO: {
+ description: 'Returns information about the current operating environment',
+ abstract: 'Returns information about the current operating environment',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/info-function-725f259a-0e4b-49b3-8b52-58815c69acae',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
ISBETWEEN: {
description: 'Kiểm tra xem một số đã cho có nằm giữa hai số khác',
abstract: 'Kiểm tra xem một số đã cho có nằm giữa hai số khác',
@@ -215,6 +231,20 @@ export default {
value: { name: 'Giá trị', detail: 'Giá trị cần kiểm tra. Nếu số không phải là số nguyên thì nó bị cắt cụt.' },
},
},
+ ISOMITTED: {
+ description: 'Checks whether the value in a&nbsp;LAMBDA&nbsp;is missing and returns TRUE or FALSE',
+ abstract: 'Checks whether the value in a&nbsp;LAMBDA&nbsp;is missing and returns TRUE or FALSE',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/isomitted-function-831d6fbc-0f07-40c4-9c5b-9c73fd1d60c1',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
ISREF: {
description: 'Trả về TRUE nếu giá trị là tham chiếu',
abstract: 'Trả về TRUE nếu giá trị là tham chiếu',
@@ -318,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/information/zh-CN.ts
index 488ef0ab30..2d1fc9fb5a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: '返回有关单元格格式、位置或内容的信息',
abstract: '返回有关单元格格式、位置或内容的信息',
@@ -346,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/information/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/information/zh-TW.ts
index 76c33d1463..d1a57d5283 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/information/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/information/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
CELL: {
description: '傳回有關儲存格格式、位置或內容的資訊',
abstract: '傳回有關儲存格格式、位置或內容的資訊',
@@ -346,3 +348,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/ca-ES.ts
index 442c4a4f9d..2f71b32dee 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: 'Retorna CERT si tots els seus arguments són CERT',
abstract: 'Retorna CERT si tots els seus arguments són CERT',
@@ -303,3 +305,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/en-US.ts
index d07f1eb51f..0215ed6101 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
AND: {
description: 'Returns TRUE if all of its arguments are TRUE',
abstract: 'Returns TRUE if all of its arguments are TRUE',
@@ -303,3 +303,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/es-ES.ts
index f8b415c093..7a55e12e77 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: 'Devuelve VERDADERO si todos sus argumentos son VERDADERO',
abstract: 'Devuelve VERDADERO si todos sus argumentos son VERDADERO',
@@ -303,3 +305,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/fr-FR.ts
index 85c16d2fc6..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/fr-FR.ts
@@ -14,292 +14,8 @@
* limitations under the License.
*/
-export default {
- AND: {
- description: 'Returns TRUE if all of its arguments are TRUE',
- abstract: 'Returns TRUE if all of its arguments are TRUE',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/and-function-5f19b2e8-e1df-4408-897a-ce285a19e9d9',
- },
- ],
- functionParameter: {
- logical1: { name: 'logical1', detail: 'The first condition that you want to test that can evaluate to either TRUE or FALSE.' },
- logical2: { name: 'logical2', detail: 'Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.' },
- },
- },
- BYCOL: {
- description: 'Applies a&nbsp;LAMBDA&nbsp;to each column and returns an array of the results',
- abstract: 'Applies a&nbsp;LAMBDA&nbsp;to each column and returns an array of the results',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bycol-function-58463999-7de5-49ce-8f38-b7f7a2192bfb',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'An array to be separated by column.' },
- lambda: { name: 'lambda', detail: 'A LAMBDA that takes a column as a single parameter and calculates one result. The LAMBDA takes a single parameter: A column from array.' },
- },
- },
- BYROW: {
- description: 'Applies a&nbsp;LAMBDA&nbsp;to each row and returns an array of the results',
- abstract: 'Applies a&nbsp;LAMBDA&nbsp;to each row and returns an array of the results',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/byrow-function-2e04c677-78c8-4e6b-8c10-a4602f2602bb',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'An array to be separated by row.' },
- lambda: { name: 'lambda', detail: 'A LAMBDA that takes a row as a single parameter and calculates one result. The LAMBDA takes a single parameter: A row from array.' },
- },
- },
- FALSE: {
- description: 'Returns the logical value FALSE.',
- abstract: 'Returns the logical value FALSE.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/false-function-2d58dfa5-9c03-4259-bf8f-f0ae14346904',
- },
- ],
- functionParameter: {},
- },
- IF: {
- description: 'Specifies a logical test to perform',
- abstract: 'Specifies a logical test to perform',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2',
- },
- ],
- functionParameter: {
- logicalTest: { name: 'logical_test', detail: 'The condition you want to test.' },
- valueIfTrue: {
- name: 'value_if_true',
- detail: 'The value that you want returned if the result of logical_test is TRUE.',
- },
- valueIfFalse: {
- name: 'value_if_false',
- detail: 'The value that you want returned if the result of logical_test is FALSE.',
- },
- },
- },
- IFERROR: {
- description: 'Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula',
- abstract: 'Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/iferror-function-c526fd07-caeb-47b8-8bb6-63f3e417f611',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The argument that is checked for an error.' },
- valueIfError: { name: 'value_if_error', detail: 'The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.' },
- },
- },
- IFNA: {
- description: 'Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression',
- abstract: 'Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ifna-function-6626c961-a569-42fc-a49d-79b4951fd461',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'The argument that is checked for the #N/A error value.' },
- valueIfNa: { name: 'value_if_na', detail: 'The value to return if the formula evaluates to the #N/A error value.' },
- },
- },
- IFS: {
- description: 'Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.',
- abstract: 'Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ifs-function-36329a26-37b2-467c-972b-4a39bd951d45',
- },
- ],
- functionParameter: {
- logicalTest1: { name: 'logical_test1', detail: 'Condition that evaluates to TRUE or FALSE.' },
- valueIfTrue1: { name: 'value_if_true1', detail: 'Result to be returned if logical_test1 evaluates to TRUE. Can be empty.' },
- logicalTest2: { name: 'logical_test2', detail: 'Condition that evaluates to TRUE or FALSE.' },
- valueIfTrue2: { name: 'value_if_true2', detail: 'Result to be returned if logical_testN evaluates to TRUE. Each value_if_trueN corresponds with a condition logical_testN. Can be empty.' },
- },
- },
- LAMBDA: {
- description: 'Use a LAMBDA function to create custom, reusable functions and call them by a friendly name. The new function is available throughout the workbook and called like native Excel functions.',
- abstract: 'Create custom, reusable functions and call them by a friendly name',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lambda-function-bd212d27-1cd1-4321-a34a-ccbf254b8b67',
- },
- ],
- functionParameter: {
- parameter: {
- name: 'parameter',
- detail: 'A value that you want to pass to the function, such as a cell reference, string or number. You can enter up to 253 parameters. This argument is optional.',
- },
- calculation: {
- name: 'calculation',
- detail: 'The formula you want to execute and return as the result of the function. It must be the last argument and it must return a result. This argument is required.',
- },
- },
- },
- LET: {
- description: 'Assigns names to calculation results',
- abstract: 'Assigns names to calculation results',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999',
- },
- ],
- functionParameter: {
- name1: { name: 'name1', detail: 'The first name to assign. Must start with a letter. Cannot be the output of a formula or conflict with range syntax.' },
- nameValue1: { name: 'name_value1', detail: 'The value that is assigned to name1.' },
- calculationOrName2: { name: 'calculation_or_name2', detail: 'One of the following:\n1.A calculation that uses all names within the LET function. This must be the last argument in the LET function.\n2.A second name to assign to a second name_value. If a name is specified, name_value2 and calculation_or_name3 become required.' },
- nameValue2: { name: 'name_value2', detail: 'The value that is assigned to calculation_or_name2.' },
- calculationOrName3: { name: 'calculation_or_name3', detail: 'One of the following:\n1.A calculation that uses all names within the LET function. The last argument in the LET function must be a calculation.\n2.A third name to assign to a third name_value. If a name is specified, name_value3 and calculation_or_name4 become required.' },
- },
- },
- MAKEARRAY: {
- description: 'Returns a&nbsp;calculated array of a specified row and column size, by applying a&nbsp;LAMBDA',
- abstract: 'Returns a&nbsp;calculated array of a specified row and column size, by applying a&nbsp;LAMBDA',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/makearray-function-b80da5ad-b338-4149-a523-5b221da09097',
- },
- ],
- functionParameter: {
- number1: { name: 'rows', detail: 'The number of rows in the array. Must be greater than zero.' },
- number2: { name: 'cols', detail: 'The number of columns in the array. Must be greater than zero.' },
- value3: {
- name: 'lambda',
- detail: ' A LAMBDA that is called to create the array. The LAMBDA takes two parameters: row (The row index of the array), col (The column index of the array).',
- },
- },
- },
- MAP: {
- description: 'Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value.',
- abstract: 'Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/map-function-48006093-f97c-47c1-bfcc-749263bb1f01',
- },
- ],
- functionParameter: {
- array1: { name: 'array1', detail: 'An array1 to be mapped.' },
- array2: { name: 'array2', detail: 'An array2 to be mapped.' },
- lambda: { name: 'lambda', detail: 'A LAMBDA which must be the last argument and which must have either a parameter for each array passed.' },
- },
- },
- NOT: {
- description: 'Reverses the logic of its argument.',
- abstract: 'Reverses the logic of its argument.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/not-function-9cfc6011-a054-40c7-a140-cd4ba2d87d77',
- },
- ],
- functionParameter: {
- logical: { name: 'logical', detail: 'The condition that you want to reverse the logic for, which can evaluate to either TRUE or FALSE.' },
- },
- },
- OR: {
- description: 'Returns TRUE if any of its arguments evaluate to TRUE, and returns FALSE if all of its arguments evaluate to FALSE.',
- abstract: 'Returns TRUE if any argument is TRUE',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/or-function-7d17ad14-8700-4281-b308-00b131e22af0',
- },
- ],
- functionParameter: {
- logical1: { name: 'logical1', detail: 'The first condition that you want to test that can evaluate to either TRUE or FALSE.' },
- logical2: { name: 'logical2', detail: 'Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.' },
- },
- },
- REDUCE: {
- description: 'Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator. ',
- abstract: 'Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator. ',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/reduce-function-42e39910-b345-45f3-84b8-0642b568b7cb',
- },
- ],
- functionParameter: {
- initialValue: { name: 'initial_value', detail: 'Sets the starting value for the accumulator.' },
- array: { name: 'array', detail: 'An array to be reduced.' },
- lambda: { name: 'lambda', detail: 'A LAMBDA that is called to reduce the array. The LAMBDA takes three parameters: 1.The value totaled up and returned as the final result. 2.The current value from the array. 3.The calculation applied to each element in the array.' },
- },
- },
- SCAN: {
- description: 'Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value.',
- abstract: 'Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/scan-function-d58dfd11-9969-4439-b2dc-e7062724de29',
- },
- ],
- functionParameter: {
- initialValue: { name: 'initial_value', detail: 'Sets the starting value for the accumulator.' },
- array: { name: 'array', detail: 'An array to be scanned.' },
- lambda: { name: 'lambda', detail: 'A LAMBDA that is called to scanned the array. The LAMBDA takes three parameters: 1.The value totaled up and returned as the final result. 2.The current value from the array. 3.The calculation applied to each element in the array.' },
- },
- },
- SWITCH: {
- description: 'Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.',
- abstract: 'Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/switch-function-47ab33c0-28ce-4530-8a45-d532ec4aa25e',
- },
- ],
- functionParameter: {
- expression: { name: 'expression', detail: 'Expression is the value (such as a number, date or some text) that will be compared against value1…value126.' },
- value1: { name: 'value1', detail: 'ValueN is a value that will be compared against expression.' },
- result1: { name: 'result1', detail: 'ResultN is the value to be returned when the corresponding valueN argument matches expression. ResultN and must be supplied for each corresponding valueN argument.' },
- defaultOrValue2: { name: 'default_or_value2', detail: 'Default is the value to return in case no matches are found in the valueN expressions. The Default argument is identified by having no corresponding resultN expression (see examples). Default must be the final argument in the function.' },
- result2: { name: 'result2', detail: 'ResultN is the value to be returned when the corresponding valueN argument matches expression. ResultN and must be supplied for each corresponding valueN argument.' },
- },
- },
- TRUE: {
- description: 'Returns the logical value TRUE.',
- abstract: 'Returns the logical value TRUE.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb',
- },
- ],
- functionParameter: {},
- },
- XOR: {
- description: 'Returns TRUE if an odd number of its arguments evaluate to TRUE, and FALSE if an even number of its arguments evaluate to TRUE.',
- abstract: 'Returns TRUE if an odd number of arguments are TRUE',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/xor-function-1548d4c2-5e47-4f77-9a92-0533bba14f37',
- },
- ],
- functionParameter: {
- logical1: { name: 'logical1', detail: 'The first condition that you want to test that can evaluate to either TRUE or FALSE.' },
- logical2: { name: 'logical2', detail: 'Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/ja-JP.ts
index c7f224148e..d7841e6ec5 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: 'すべての引数が TRUE のときに TRUE を返します。',
abstract: 'すべての引数が TRUE のときに TRUE を返します。',
@@ -297,3 +299,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/ko-KR.ts
index 1bcc362ea3..f7a82e26d9 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: '모든 인수가 TRUE이면 TRUE를 반환합니다',
abstract: '모든 인수가 TRUE이면 TRUE를 반환합니다',
@@ -154,7 +156,9 @@ export default {
functionParameter: {
name1: { name: 'name1', detail: '첫 번째 이름입니다. 유효한 Excel 이름으로 시작해야 합니다.' },
nameValue1: { name: 'name_value1', detail: '이름 1에 할당된 값입니다.' },
- calculation: { name: 'calculation', detail: '마지막 인수로 실행하고 함수의 결과를 반환하려는 계산입니다.' },
+ calculationOrName2: { name: 'calculation_or_name2', detail: 'One of the following:\n1.A calculation that uses all names within the LET function. This must be the last argument in the LET function.\n2.A second name to assign to a second name_value. If a name is specified, name_value2 and calculation_or_name3 become required.' },
+ nameValue2: { name: 'name_value2', detail: 'The value that is assigned to calculation_or_name2.' },
+ calculationOrName3: { name: 'calculation_or_name3', detail: 'One of the following:\n1.A calculation that uses all names within the LET function. The last argument in the LET function must be a calculation.\n2.A third name to assign to a third name_value. If a name is specified, name_value3 and calculation_or_name4 become required.' },
},
},
MAKEARRAY: {
@@ -167,9 +171,12 @@ export default {
},
],
functionParameter: {
- rows: { name: 'rows', detail: '배열의 행 수입니다. 0보다 커야 합니다.' },
- cols: { name: 'cols', detail: '배열의 열 수입니다. 0보다 커야 합니다.' },
- lambda: { name: 'lambda', detail: '배열을 만들기 위해 호출되는 LAMBDA입니다.' },
+ number1: { name: 'rows', detail: 'The number of rows in the array. Must be greater than zero.' },
+ number2: { name: 'cols', detail: 'The number of columns in the array. Must be greater than zero.' },
+ value3: {
+ name: 'lambda',
+ detail: ' A LAMBDA that is called to create the array. The LAMBDA takes two parameters: row (The row index of the array), col (The column index of the array).',
+ },
},
},
MAP: {
@@ -183,6 +190,7 @@ export default {
],
functionParameter: {
array1: { name: 'array1', detail: '매핑할 배열입니다.' },
+ array2: { name: 'array2', detail: 'An array2 to be mapped.' },
lambda: { name: 'lambda', detail: '각 배열에서 하나의 값을 받아들이고 하나의 결과를 반환하는 LAMBDA입니다.' },
},
},
@@ -287,3 +295,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/vi-VN.ts
index 1a76f7af56..ddf9bfb6b5 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: 'Returns TRUE if all of its arguments are TRUE',
abstract: 'Returns TRUE if all of its arguments are TRUE',
@@ -299,3 +301,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/zh-CN.ts
index 59dcbc902b..0c9a05f0da 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: '如果其所有参数均为 TRUE,则返回 TRUE',
abstract: '如果其所有参数均为 TRUE,则返回 TRUE',
@@ -298,3 +300,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/logical/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/logical/zh-TW.ts
index 8b59c8d25f..26a8ea58dc 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/logical/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/logical/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AND: {
description: '如果其所有參數均為 TRUE,則傳回 TRUE',
abstract: '如果其所有參數均為 TRUE,則傳回 TRUE',
@@ -300,3 +302,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/ca-ES.ts
index 3ca7523923..bf2098079d 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/ca-ES.ts
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-export default {
- ADDRESS: {
- description: `Obté l'adreça d'una cel·la en un full de càlcul, donats uns números de fila i columna especificats. Per exemple, ADREÇA(2,3) retorna $C$2. Com a un altre exemple, ADREÇA(77,300) retorna $KN$77. Podeu utilitzar altres funcions, com les funcions FILA i COLUMNA, per proporcionar els arguments de número de fila i columna per a la funció ADREÇA.
+import type enUS from './en-US';
- `,
+const locale: typeof enUS = {
+ ADDRESS: {
+ description: 'Obté l\'adreça d\'una cel·la en un full de càlcul, donats uns números de fila i columna especificats. Per exemple, ADREÇA(2,3) retorna $C$2. Com a un altre exemple, ADREÇA(77,300) retorna $KN$77. Podeu utilitzar altres funcions, com les funcions FILA i COLUMNA, per proporcionar els arguments de número de fila i columna per a la funció ADREÇA.',
abstract: 'Retorna una referència com a text a una única cel·la en un full de càlcul',
links: [
{
@@ -627,3 +627,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/en-US.ts
index b3ae508be0..5629f0082a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/en-US.ts
@@ -14,11 +14,9 @@
* limitations under the License.
*/
-export default {
+const locale = {
ADDRESS: {
- description: `Obtain the address of a cell in a worksheet, given specified row and column numbers. For example, ADDRESS(2,3) returns $C$2. As another example, ADDRESS(77,300) returns $KN$77. You can use other functions, such as the ROW and COLUMN functions, to provide the row and column number arguments for the ADDRESS function.
-
- `,
+ description: 'Obtain the address of a cell in a worksheet, given specified row and column numbers. For example, ADDRESS(2,3) returns $C$2. As another example, ADDRESS(77,300) returns $KN$77. You can use other functions, such as the ROW and COLUMN functions, to provide the row and column number arguments for the ADDRESS function.',
abstract: 'Returns a reference as text to a single cell in a worksheet',
links: [
{
@@ -627,3 +625,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/es-ES.ts
index 2de3ce82a0..e8ebff9b48 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/es-ES.ts
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-export default {
- ADDRESS: {
- description: `Obtiene la dirección de una celda en una hoja de cálculo, dados los números de fila y columna especificados. Por ejemplo, DIRECCION(2,3) devuelve $C$2. Como otro ejemplo, DIRECCION(77,300) devuelve $KN$77. Puede usar otras funciones, como las funciones FILA y COLUMNA, para proporcionar los argumentos de número de fila y columna para la función DIRECCION.
+import type enUS from './en-US';
- `,
+const locale: typeof enUS = {
+ ADDRESS: {
+ description: 'Obtiene la dirección de una celda en una hoja de cálculo, dados los números de fila y columna especificados. Por ejemplo, DIRECCION(2,3) devuelve $C$2. Como otro ejemplo, DIRECCION(77,300) devuelve $KN$77. Puede usar otras funciones, como las funciones FILA y COLUMNA, para proporcionar los argumentos de número de fila y columna para la función DIRECCION.',
abstract: 'Devuelve una referencia como texto a una celda única en una hoja de cálculo',
links: [
{
@@ -627,3 +627,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/fr-FR.ts
index 59303f6ba9..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/fr-FR.ts
@@ -14,617 +14,8 @@
* limitations under the License.
*/
-export default {
- ADDRESS: {
- description: `Obtain the address of a cell in a worksheet, given specified row and column numbers. For example, ADDRESS(2,3) returns $C$2. As another example, ADDRESS(77,300) returns $KN$77. You can use other functions, such as the ROW and COLUMN functions, to provide the row and column number arguments for the ADDRESS function.
+import enUS from './en-US';
- `,
- abstract: 'Returns a reference as text to a single cell in a worksheet',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/address-function-d0c26c0d-3991-446b-8de4-ab46431d4f89',
- },
- ],
- functionParameter: {
- row_num: {
- name: 'row number',
- detail: 'A numeric value that specifies the row number to use in the cell reference.',
- },
- column_num: {
- name: 'column number',
- detail: 'A numeric value that specifies the column number to use in the cell reference.',
- },
- abs_num: {
- name: 'type of reference',
- detail: 'A numeric value that specifies the type of reference to return.',
- },
- a1: {
- name: 'style of reference',
- detail: 'A logical value that specifies the A1 or R1C1 reference style. In A1 style, columns are labeled alphabetically, and rows are labeled numerically. In R1C1 reference style, both columns and rows are labeled numerically. If the A1 argument is TRUE or omitted, the ADDRESS function returns an A1-style reference; if FALSE, the ADDRESS function returns an R1C1-style reference.',
- },
- sheet_text: {
- name: 'worksheet name',
- detail: 'A text value that specifies the name of the worksheet to be used as the external reference. For example, the formula =ADDRESS(1,1,,,"Sheet2") returns Sheet2!$A$1. If the sheet_text argument is omitted, no sheet name is used, and the address returned by the function refers to a cell on the current sheet.',
- },
- },
- },
- AREAS: {
- description: 'Returns the number of areas in a reference',
- abstract: 'Returns the number of areas in a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/areas-function-8392ba32-7a41-43b3-96b0-3695d2ec6152',
- },
- ],
- functionParameter: {
- reference: { name: 'reference', detail: 'A reference to a cell or range of cells and can refer to multiple areas.' },
- },
- },
- CHOOSE: {
- description: 'Chooses a value from a list of values.',
- abstract: 'Chooses a value from a list of values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/choose-function-fc5c184f-cb62-4ec7-a46e-38653b98f5bc',
- },
- ],
- functionParameter: {
- indexNum: { name: 'index_num', detail: 'Specifies which value argument is selected. Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number between 1 and 254.\nIf index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on.\nIf index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value.\nIf index_num is a fraction, it is truncated to the lowest integer before being used.' },
- value1: { name: 'value1', detail: 'CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.' },
- value2: { name: 'value2', detail: '1 to 254 value arguments.' },
- },
- },
- CHOOSECOLS: {
- description: 'Returns the specified columns from an array',
- abstract: 'Returns the specified columns from an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/choosecols-function-bf117976-2722-4466-9b9a-1c01ed9aebff',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array containing the columns to be returned in the new array.' },
- colNum1: { name: 'col_num1', detail: 'The first column to be returned.' },
- colNum2: { name: 'col_num2', detail: 'Additional columns to be returned.' },
- },
- },
- CHOOSEROWS: {
- description: 'Returns the specified rows from an array',
- abstract: 'Returns the specified rows from an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chooserows-function-51ace882-9bab-4a44-9625-7274ef7507a3',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array containing the rows to be returned in the new array.' },
- rowNum1: { name: 'row_num1', detail: 'The first row number to be returned.' },
- rowNum2: { name: 'row_num2', detail: 'Additional row numbers to be returned.' },
- },
- },
- COLUMN: {
- description: 'Returns the column number of the given cell reference.',
- abstract: 'Returns the column number of a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/column-function-44e8c754-711c-4df3-9da4-47a55042554b',
- },
- ],
- functionParameter: {
- reference: { name: 'reference', detail: 'The cell or range of cells for which you want to return the column number.' },
- },
- },
- COLUMNS: {
- description: 'Returns the number of columns in an array or reference.',
- abstract: 'Returns the number of columns in a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/columns-function-4e8e7b4e-e603-43e8-b177-956088fa48ca',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'An array or array formula, or a reference to a range of cells for which you want the number of columns.' },
- },
- },
- DROP: {
- description: 'Excludes a specified number of rows or columns from the start or end of an array',
- abstract: 'Excludes a specified number of rows or columns from the start or end of an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/drop-function-1cb4e151-9e17-4838-abe5-9ba48d8c6a34',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array from which to drop rows or columns.' },
- rows: { name: 'rows', detail: 'The number of rows to drop. A negative value drops from the end of the array.' },
- columns: { name: 'columns', detail: 'The number of columns to exclude. A negative value drops from the end of the array.' },
- },
- },
- EXPAND: {
- description: 'Expands or pads an array to specified row and column dimensions',
- abstract: 'Expands or pads an array to specified row and column dimensions',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/expand-function-7433fba5-4ad1-41da-a904-d5d95808bc38',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array to expand.' },
- rows: { name: 'rows', detail: 'The number of rows in the expanded array. If missing, rows will not be expanded.' },
- columns: { name: 'columns', detail: 'The number of columns in the expanded array. If missing, columns will not be expanded.' },
- padWith: { name: 'pad_with', detail: 'The value with which to pad. The default is #N/A.' },
- },
- },
- FILTER: {
- description: 'Filters a range of data based on criteria you define',
- abstract: 'Filters a range of data based on criteria you define',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/filter-function-f4f7cb66-82eb-4767-8f7c-4877ad80c759',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The range or array to filter.' },
- include: { name: 'include', detail: 'An array of Boolean values ​​where TRUE indicates that a row or column is to be retained.' },
- ifEmpty: { name: 'if_empty', detail: 'If no items are reserved, return.' },
- },
- },
- FORMULATEXT: {
- description: 'Returns the formula at the given reference as text',
- abstract: 'Returns the formula at the given reference as text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/formulatext-function-0a786771-54fd-4ae2-96ee-09cda35439c8',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GETPIVOTDATA: {
- description: 'Returns data stored in a PivotTable report',
- abstract: 'Returns data stored in a PivotTable report',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/getpivotdata-function-8c083b99-a922-4ca0-af5e-3af55960761f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- HLOOKUP: {
- description: 'Looks in the top row of an array and returns the value of the indicated cell',
- abstract: 'Looks in the top row of an array and returns the value of the indicated cell',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hlookup-function-a3034eec-b719-4ba3-bb65-e1ad662ed95f',
- },
- ],
- functionParameter: {
- lookupValue: {
- name: 'lookup_value',
- detail: 'The value to be found in the first row of the table. Lookup_value can be a value, a reference, or a text string.',
- },
- tableArray: {
- name: 'table_array',
- detail: 'A table of information in which data is looked up. Use a reference to a range or a range name.',
- },
- rowIndexNum: {
- name: 'row_index_num',
- detail: 'The row number in table_array from which the matching value will be returned. A row_index_num of 1 returns the first row value in table_array, a row_index_num of 2 returns the second row value in table_array, and so on. ',
- },
- rangeLookup: {
- name: 'range_lookup',
- detail: 'A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match.',
- },
- },
- },
- HSTACK: {
- description: 'Appends arrays horizontally and&nbsp;in sequence to return a larger array',
- abstract: 'Appends arrays horizontally and&nbsp;in sequence to return a larger array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hstack-function-98c4ab76-10fe-4b4f-8d5f-af1c125fe8c2',
- },
- ],
- functionParameter: {
- array1: { name: 'array', detail: 'The arrays to append.' },
- array2: { name: 'array', detail: 'The arrays to append.' },
- },
- },
- HYPERLINK: {
- description: 'Crée un lien hypertexte dans une cellule.',
- abstract: 'Crée un lien hypertexte dans une cellule.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.google.com/docs/answer/3093313?sjid=14131674310032162335-NC&hl=fr',
- },
- ],
- functionParameter: {
- url: { name: 'url', detail: 'URL intégrale de l\'emplacement du lien, entre guillemets, ou référence à une cellule contenant cette URL.' },
- linkLabel: { name: 'libellé_lien', detail: 'texte à afficher dans la cellule en tant que lien, entre guillemets, ou référence à une cellule contenant ce libellé.' },
- },
- },
- IMAGE: {
- description: 'Returns an image from a given source',
- abstract: 'Returns an image from a given source',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/image-function-7e112975-5e52-4f2a-b9da-1d913d51f5d5',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- INDEX: {
- description: 'Returns the reference of the cell at the intersection of a particular row and column. If the reference is made up of non-adjacent selections, you can pick the selection to look in.',
- abstract: 'Uses an index to choose a value from a reference or array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/index-function-a5dcf0dd-996d-40a4-a822-b56b061328bd',
- },
- ],
- functionParameter: {
- reference: { name: 'reference', detail: 'A reference to one or more cell ranges.' },
- rowNum: { name: 'row_num', detail: 'The number of the row in reference from which to return a reference.' },
- columnNum: { name: 'column_num', detail: 'The number of the column in reference from which to return a reference.' },
- areaNum: { name: 'area_num', detail: 'Selects a range in reference from which to return the intersection of row_num and column_num.' },
- },
- },
- INDIRECT: {
- description: 'Returns the reference specified by a text string. References are immediately evaluated to display their contents.',
- abstract: 'Returns a reference indicated by a text value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/indirect-function-474b3a3a-8a26-4f44-b491-92b6306fa261',
- },
- ],
- functionParameter: {
- refText: { name: 'ref_text', detail: 'A reference to a cell that contains an A1-style reference, an R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string. ' },
- a1: { name: 'a1', detail: 'A logical value that specifies what type of reference is contained in the cell ref_text.' },
- },
- },
- LOOKUP: {
- description: 'When you need to look in a single row or column and find a value from the same position in a second row or column',
- abstract: 'Looks up values in a vector or array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lookup-function-446d94af-663b-451d-8251-369d5e3864cb',
- },
- ],
- functionParameter: {
- lookupValue: {
- name: 'lookup_value',
- detail: 'A value that LOOKUP searches for in the first vector. Lookup_value can be a number, text, a logical value, or a name or reference that refers to a value.',
- },
- lookupVectorOrArray: {
- name: 'lookup_vectorOrArray',
- detail: 'A range that contains only one row or one column',
- },
- resultVector: {
- name: 'result_vector',
- detail: 'A range that contains only one row or column. The result_vector argument must be the same size as lookup_vector.',
- },
- },
- },
- MATCH: {
- description: 'The MATCH function searches for a specified item in a range of cells, and then returns the relative position of that item in the range.',
- abstract: 'Looks up values in a reference or array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/match-function-e8dffd45-c762-47d6-bf89-533f4a37673a',
- },
- ],
- functionParameter: {
- lookupValue: { name: 'lookup_value', detail: 'The value that you want to match in lookup_array.' },
- lookupArray: { name: 'lookup_array', detail: 'The range of cells being searched.' },
- matchType: { name: 'match_type', detail: 'The number -1, 0, or 1.' },
- },
- },
- OFFSET: {
- description: 'Returns a reference offset from a given reference',
- abstract: 'Returns a reference offset from a given reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/offset-function-c8de19ae-dd79-4b9b-a14e-b4d906d11b66',
- },
- ],
- functionParameter: {
- reference: { name: 'reference', detail: 'The reference from which you want to base the offset.' },
- rows: { name: 'rows', detail: 'The number of rows, up or down, that you want the upper-left cell to refer to.' },
- cols: { name: 'columns', detail: 'The number of columns, to the left or right, that you want the upper-left cell of the result to refer to.' },
- height: { name: 'height', detail: 'The height, in number of rows, that you want the returned reference to be. Height must be a positive number.' },
- width: { name: 'width', detail: 'The width, in number of columns, that you want the returned reference to be. Width must be a positive number.' },
- },
- },
- ROW: {
- description: 'Returns the row number of a reference',
- abstract: 'Returns the row number of a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/row-function-3a63b74a-c4d0-4093-b49a-e76eb49a6d8d',
- },
- ],
- functionParameter: {
- reference: { name: 'reference', detail: 'The cell or range of cells for which you want the row number.' },
- },
- },
- ROWS: {
- description: 'Returns the number of rows in an array or reference.',
- abstract: 'Returns the number of rows in a reference',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rows-function-b592593e-3fc2-47f2-bec1-bda493811597',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'An array, an array formula, or a reference to a range of cells for which you want the number of rows.' },
- },
- },
- RTD: {
- description: 'Retrieves real-time data from a program that supports COM automation',
- abstract: 'Retrieves real-time data from a program that supports COM automation',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rtd-function-e0cc001a-56f0-470a-9b19-9455dc0eb593',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SORT: {
- description: 'Sorts the contents of a range or array',
- abstract: 'Sorts the contents of a range or array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sort-function-22f63bd0-ccc8-492f-953d-c20e8e44b86c',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The range or array to be sorted.' },
- sortIndex: { name: 'sort_index', detail: 'A number indicating the sort order (by row or by column).' },
- sortOrder: { name: 'sort_order', detail: 'A number representing the desired sort order; 1 for ascending (default), -1 for descending.' },
- byCol: { name: 'by_col', detail: 'Logical value indicating the desired sort direction; FALSE sorts by rows (default), TRUE sorts by columns.' },
- },
- },
- SORTBY: {
- description: 'Sorts the contents of a range or array based on the values in a corresponding range or array',
- abstract: 'Sorts the contents of a range or array based on the values in a corresponding range or array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sortby-function-cd2d7a62-1b93-435c-b561-d6a35134f28f',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The range or array to be sorted.' },
- byArray1: { name: 'by_array1', detail: 'The range or array to sort based on.' },
- sortOrder1: { name: 'sort_order1', detail: 'A number representing the desired sort order; 1 for ascending (default), -1 for descending.' },
- byArray2: { name: 'by_array2', detail: 'The range or array to sort based on.' },
- sortOrder2: { name: 'sort_order2', detail: 'A number representing the desired sort order; 1 for ascending (default), -1 for descending.' },
- },
- },
- TAKE: {
- description: 'Returns a specified number of contiguous rows or columns from the start or end of an array',
- abstract: 'Returns a specified number of contiguous rows or columns from the start or end of an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/take-function-25382ff1-5da1-4f78-ab43-f33bd2e4e003',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array from which to take rows or columns.' },
- rows: { name: 'rows', detail: 'The number of rows to take. A negative value takes from the end of the array.' },
- columns: { name: 'columns', detail: 'The number of columns to take. A negative value takes from the end of the array.' },
- },
- },
- TOCOL: {
- description: 'Returns the array in a single column',
- abstract: 'Returns the array in a single column',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tocol-function-22839d9b-0b55-4fc1-b4e6-2761f8f122ed',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array or reference to return as a column.' },
- ignore: { name: 'ignore', detail: 'Whether to ignore certain types of values. By default, no values are ignored. Specify one of the following:\n0 Keep all values (default)\n1 Ignore blanks\n2 Ignore errors\n3 Ignore blanks and errors' },
- scanByColumn: { name: 'scan_by_column', detail: 'Scan the array by column. By default, the array is scanned by row. Scanning determines whether the values are ordered by row or by column.' },
- },
- },
- TOROW: {
- description: 'Returns the array in a single row',
- abstract: 'Returns the array in a single row',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/torow-function-b90d0964-a7d9-44b7-816b-ffa5c2fe2289',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The array or reference to return as a row.' },
- ignore: { name: 'ignore', detail: 'Whether to ignore certain types of values. By default, no values are ignored. Specify one of the following:\n0 Keep all values (default)\n1 Ignore blanks\n2 Ignore errors\n3 Ignore blanks and errors' },
- scanByColumn: { name: 'scan_by_column', detail: 'Scan the array by column. By default, the array is scanned by row. Scanning determines whether the values are ordered by row or by column.' },
- },
- },
- TRANSPOSE: {
- description: 'Returns the transpose of an array',
- abstract: 'Returns the transpose of an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/transpose-function-ed039415-ed8a-4a81-93e9-4b6dfac76027',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'A range of cells or an array in a worksheet.' },
- },
- },
- UNIQUE: {
- description: 'Returns a list of unique values in a list or range',
- abstract: 'Returns a list of unique values in a list or range',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/unique-function-c5ab87fd-30a3-4ce9-9d1a-40204fb85e1e',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'The range or array from which unique rows or columns are returned.' },
- byCol: { name: 'by_col', detail: 'Is a logical value: compares rows to each other and returns unique values ​​= FALSE, or is omitted; compares columns to each other and returns unique values ​​= TRUE.' },
- exactlyOnce: { name: 'exactly_once', detail: 'Is a logical value: returns rows or columns from the array that appear only once = TRUE; returns all distinct rows or columns from the array = FALSE, or has been omitted.' },
- },
- },
- VLOOKUP: {
- description: 'Use VLOOKUP when you need to find things in a table or a range by row. For example, look up a price of an automotive part by the part number, or find an employee name based on their employee ID.',
- abstract: 'Looks in the first column of an array and moves across the row to return the value of a cell',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1',
- },
- ],
- functionParameter: {
- lookupValue: {
- name: 'lookup_value',
- detail: 'The value you want to look up. The value you want to look up must be in the first column of the range of cells you specify in the table_array argument.',
- },
- tableArray: {
- name: 'table_array',
- detail: 'The range of cells in which the VLOOKUP will search for the lookup_value and the return value. You can use a named range or a table, and you can use names in the argument instead of cell references. ',
- },
- colIndexNum: {
- name: 'col_index_num',
- detail: 'The column number (starting with 1 for the left-most column of table_array) that contains the return value.',
- },
- rangeLookup: {
- name: 'range_lookup',
- detail: 'A logical value that specifies whether you want VLOOKUP to find an approximate or an exact match: Approximate match - 1/TRUE, Exact match - 0/FALSE',
- },
- },
- },
- VSTACK: {
- description: 'Appends&nbsp;arrays vertically and in sequence to return a larger array',
- abstract: 'Appends&nbsp;arrays vertically and in sequence to return a larger array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/vstack-function-a4b86897-be0f-48fc-adca-fcc10d795a9c',
- },
- ],
- functionParameter: {
- array1: { name: 'array', detail: 'The arrays to append.' },
- array2: { name: 'array', detail: 'The arrays to append.' },
- },
- },
- WRAPCOLS: {
- description: 'Wraps the provided row or column of values by columns after a specified number of elements',
- abstract: 'Wraps the provided row or column of values by columns after a specified number of elements',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/wrapcols-function-d038b05a-57b7-4ee0-be94-ded0792511e2',
- },
- ],
- functionParameter: {
- vector: { name: 'vector', detail: 'The vector or reference to wrap.' },
- wrapCount: { name: 'wrap_count', detail: 'The maximum number of values for each column.' },
- padWith: { name: 'pad_with', detail: 'The value with which to pad. The default is #N/A.' },
- },
- },
- WRAPROWS: {
- description: 'Wraps the provided row or column of values by rows after a specified number of elements',
- abstract: 'Wraps the provided row or column of values by rows after a specified number of elements',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/wraprows-function-796825f3-975a-4cee-9c84-1bbddf60ade0',
- },
- ],
- functionParameter: {
- vector: { name: 'vector', detail: 'The vector or reference to wrap.' },
- wrapCount: { name: 'wrap_count', detail: 'The maximum number of values for each row.' },
- padWith: { name: 'pad_with', detail: 'The value with which to pad. The default is #N/A.' },
- },
- },
- XLOOKUP: {
- description: 'Searches a range or an array, and returns&nbsp;an item&nbsp;corresponding&nbsp;to the&nbsp;first match it finds. If a match doesn\'t exist,&nbsp;then XLOOKUP can return the&nbsp;closest (approximate) match.&nbsp;',
- abstract: 'Searches a range or an array, and returns&nbsp;an item&nbsp;corresponding&nbsp;to the&nbsp;first match it finds. If a match doesn\'t exist,&nbsp;then XLOOKUP can return the&nbsp;closest (approximate) match.&nbsp;',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/xlookup-function-b7fd680e-6d10-43e6-84f9-88eae8bf5929',
- },
- ],
- functionParameter: {
- lookupValue: {
- name: 'lookup_value',
- detail: 'The value to search for, If omitted, XLOOKUP returns blank cells it finds in lookup_array. ',
- },
- lookupArray: { name: 'lookup_array', detail: 'The array or range to search' },
- returnArray: { name: 'return_array', detail: 'The array or range to return' },
- ifNotFound: {
- name: 'if_not_found',
- detail: 'Where a valid match is not found, return the [if_not_found] text you supply. If a valid match is not found, and [if_not_found] is missing, #N/A is returned.',
- },
- matchMode: {
- name: 'match_mode',
- detail: 'Specify the match type: 0 - Exact match. If none found, return #N/A. This is the default. -1 - Exact match. If none found, return the next smaller item. 1 - Exact match. If none found, return the next larger item. 2 - A wildcard match where *, ?, and ~ have special meaning.',
- },
- searchMode: {
- name: 'search_mode',
- detail: 'Specify the search mode to use: 1 - Perform a search starting at the first item. This is the default. -1 - Perform a reverse search starting at the last item. 2 - Perform a binary search that relies on lookup_array being sorted in ascending order. If not sorted, invalid results will be returned. -2 - Perform a binary search that relies on lookup_array being sorted in descending order. If not sorted, invalid results will be returned.',
- },
- },
- },
- XMATCH: {
- description: 'Searches for a specified item in an array or range of cells, and then returns the item\'s relative position.',
- abstract: 'Returns the&nbsp;relative&nbsp;position of an item in an array or range of cells.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/xmatch-function-d966da31-7a6b-4a13-a1c6-5a33ed6a0312',
- },
- ],
- functionParameter: {
- lookupValue: { name: 'lookup_value', detail: 'The lookup value' },
- lookupArray: { name: 'lookup_array', detail: 'The array or range to search' },
- matchMode: { name: 'match_mode', detail: 'Specify the match type:\n0 - Exact match (default)\n-1 - Exact match or next smallest item\n1 - Exact match or next largest item\n2 - A wildcard match where *, ?, and ~ have special meaning.' },
- searchMode: { name: 'search_mode', detail: 'Specify the search type:\n1 - Search first-to-last (default)\n-1 - Search last-to-first (reverse search).\n2 - Perform a binary search that relies on lookup_array being sorted in ascending order. If not sorted, invalid results will be returned.\n-2 - Perform a binary search that relies on lookup_array being sorted in descending order. If not sorted, invalid results will be returned.' },
- },
- },
-};
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/ja-JP.ts
index b664f8b4c9..1f928a5a02 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ADDRESS: {
description: 'ADDRESS 関数を使うと、行番号と列番号を指定して、ワークシート内のセルのアドレスを取得できます。 たとえば、ADDRESS(2,3) は $C$2 を返します。 また、ADDRESS(77,300) は $KN$77 を返します。 ROW 関数や COLUMN 関数などの他の関数を使って、ADDRESS 関数の行番号と列番号の引数を指定できます。',
abstract: 'ワークシート上のセル参照を文字列として返します。',
@@ -616,3 +618,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/ko-KR.ts
index 4cdfc4e8fc..83fc33d5e9 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ADDRESS: {
description: '지정된 행 및 열 번호가 주어진 워크시트에서 셀의 주소를 가져옵니다. 예를 들어 ADDRESS(2,3)은 $C$2를 반환합니다. 또 다른 예로 ADDRESS(77,300)은 $KN$77을 반환합니다. ROW 및 COLUMN 함수와 같은 다른 함수를 사용하여 ADDRESS 함수에 대한 행 및 열 번호 인수를 제공할 수 있습니다.',
abstract: '워크시트의 단일 셀에 대한 참조를 텍스트로 반환합니다',
@@ -625,3 +627,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/vi-VN.ts
index 87ab649641..cef7b378d0 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ADDRESS: {
description: 'Trả về địa chỉ của một ô trong một trang tính dựa trên số hàng và cột đã chỉ định. Ví dụ: ADDRESS(2,3) trả về $C$2. Ví dụ khác: ADDRESS(77,300) trả về $KN$77. Bạn có thể sử dụng các hàm khác như ROW và COLUMN để cung cấp các tham số hàng và cột cho hàm ADDRESS.',
abstract: 'Trả về tham chiếu đến một ô trong trang tính dưới dạng văn bản',
@@ -187,6 +189,20 @@ export default {
reference: { name: 'tham khảo', detail: 'Tham chiếu đến một ô hoặc phạm vi ô.' },
},
},
+ GETPIVOTDATA: {
+ description: 'Returns data stored in a PivotTable report',
+ abstract: 'Returns data stored in a PivotTable report',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/getpivotdata-function-8c083b99-a922-4ca0-af5e-3af55960761f',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
HLOOKUP: {
description: 'Tìm kiếm một giá trị ở hàng đầu tiên của bảng hoặc trong một mảng số và trả về giá trị trong cột của hàng được chỉ định trong bảng hoặc mảng.',
abstract: 'Tìm hàng đầu tiên của mảng và trả về giá trị của ô đã chỉ định',
@@ -243,6 +259,20 @@ export default {
linkLabel: { name: 'nhãn_đường_liên_kết', detail: 'Văn bản cần hiển thị trong ô như là một đường liên kết, được đóng trong dấu ngoặc kép hoặc tham chiếu đến ô có chứa nhãn này.' },
},
},
+ IMAGE: {
+ description: 'Returns an image from a given source',
+ abstract: 'Returns an image from a given source',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/image-function-7e112975-5e52-4f2a-b9da-1d913d51f5d5',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
INDEX: {
description: 'Trả về tham chiếu của ô nằm ở giao cắt của một hàng và cột cụ thể. Nếu tham chiếu được tạo thành từ các vùng chọn không liền kề, bạn có thể chọn vùng chọn để tìm trong đó.',
abstract: 'Chọn một giá trị từ một tham chiếu hoặc mảng bằng chỉ mục',
@@ -352,6 +382,20 @@ export default {
array: { name: 'mảng', detail: 'Một mảng, công thức mảng hay tham chiếu đến phạm vi ô mà bạn muốn lấy số hàng.' },
},
},
+ RTD: {
+ description: 'Retrieves real-time data from a program that supports COM automation',
+ abstract: 'Retrieves real-time data from a program that supports COM automation',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/rtd-function-e0cc001a-56f0-470a-9b19-9455dc0eb593',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
SORT: {
description: 'Sắp xếp nội dung của một phạm vi hoặc mảng',
abstract: 'Sắp xếp nội dung của một phạm vi hoặc mảng',
@@ -577,3 +621,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-CN.ts
index 9cd3c43baa..654773f2dd 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-CN.ts
@@ -14,10 +14,11 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ADDRESS: {
- description:
- '根据指定行号和列号获得工作表中的某个单元格的地址。 例如,ADDRESS(2,3) 返回 $C$2。 再例如,ADDRESS(77,300) 返回 $KN$77。 可以使用其他函数(如 ROW 和 COLUMN 函数)为 ADDRESS 函数提供行号和列号参数。',
+ description: '根据指定行号和列号获得工作表中的某个单元格的地址。 例如,ADDRESS(2,3) 返回 $C$2。 再例如,ADDRESS(77,300) 返回 $KN$77。 可以使用其他函数(如 ROW 和 COLUMN 函数)为 ADDRESS 函数提供行号和列号参数。',
abstract: '以文本形式将引用值返回到工作表的单个单元格',
links: [
{
@@ -616,3 +617,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-TW.ts
index 20035c9598..164bca57a2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/lookup/zh-TW.ts
@@ -14,10 +14,11 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ADDRESS: {
- description:
- '根據指定行號和列號獲得工作表中的某個儲存格的位址。 例如,ADDRESS(2,3) 傳回 $C$2。 再例如,ADDRESS(77,300) 回傳 $KN$77。 可以使用其他函數(如 ROW 和 COLUMN 函數)為 ADDRESS 函數提供行號和列號參數。 ',
+ description: '根據指定行號和列號獲得工作表中的某個儲存格的位址。 例如,ADDRESS(2,3) 傳回 $C$2。 再例如,ADDRESS(77,300) 回傳 $KN$77。 可以使用其他函數(如 ROW 和 COLUMN 函數)為 ADDRESS 函數提供行號和列號參數。 ',
abstract: '以文字形式將參考值傳回工作表的單一儲存格',
links: [
{
@@ -616,3 +617,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/math/ca-ES.ts
index 9ea2d6861e..fb017a70d4 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: 'Retorna el valor absolut d\'un nombre. El valor absolut d\'un nombre és el nombre sense el seu signe.',
abstract: 'Retorna el valor absolut d\'un nombre',
@@ -1169,3 +1171,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/math/en-US.ts
index 9986c7b2b9..386c856bfd 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
ABS: {
description: 'Returns the absolute value of a number. The absolute value of a number is the number without its sign.',
abstract: 'Returns the absolute value of a number',
@@ -1169,3 +1169,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/math/es-ES.ts
index ec145ef2d4..a651f0497c 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: 'Devuelve el valor absoluto de un número. El valor absoluto de un número es el número sin su signo.',
abstract: 'Devuelve el valor absoluto de un número',
@@ -1169,3 +1171,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/math/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/math/fr-FR.ts
index f859791934..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/fr-FR.ts
@@ -14,1145 +14,8 @@
* limitations under the License.
*/
-export default {
- ABS: {
- description: 'Returns the absolute value of a number. The absolute value of a number is the number without its sign.',
- abstract: 'Returns the absolute value of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/abs-function-3420200f-5628-4e8c-99da-c99d7c87713c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The real number of which you want the absolute value.' },
- },
- },
- ACOS: {
- description: 'Returns the arccosine, or inverse cosine, of a number. The arccosine is the angle whose cosine is number. The returned angle is given in radians in the range 0 (zero) to pi.',
- abstract: 'Returns the arccosine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/acos-function-cb73173f-d089-4582-afa1-76e5524b5d5b',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The cosine of the angle you want and must be from -1 to 1.' },
- },
- },
- ACOSH: {
- description: 'Returns the inverse hyperbolic cosine of a number. The number must be greater than or equal to 1. The inverse hyperbolic cosine is the value whose hyperbolic cosine is number, so ACOSH(COSH(number)) equals number.',
- abstract: 'Returns the inverse hyperbolic cosine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/acosh-function-e3992cc1-103f-4e72-9f04-624b9ef5ebfe',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number equal to or greater than 1.' },
- },
- },
- ACOT: {
- description: 'Returns the principal value of the arccotangent, or inverse cotangent, of a number.',
- abstract: 'Returns the arccotangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/acot-function-dc7e5008-fe6b-402e-bdd6-2eea8383d905',
- },
- ],
- functionParameter: {
- number: {
- name: 'nombre',
- detail: 'Number is the cotangent of the angle you want. This must be a real number.',
- },
- },
- },
- ACOTH: {
- description: 'Returns the hyperbolic arccotangent of a number',
- abstract: 'Returns the hyperbolic arccotangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/acoth-function-cc49480f-f684-4171-9fc5-73e4e852300f',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The absolute value of Number must be greater than 1.' },
- },
- },
- AGGREGATE: {
- description: 'Returns an aggregate in a list or database',
- abstract: 'Returns an aggregate in a list or database',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/aggregate-function-43b9278e-6aa7-4f17-92b6-e19993fa26df',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ARABIC: {
- description: 'Converts a Roman number to Arabic, as a number',
- abstract: 'Converts a Roman number to Arabic, as a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/arabic-function-9a8da418-c17b-4ef9-a657-9370a30a674f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ASIN: {
- description: 'Returns the arcsine of a number.',
- abstract: 'Returns the arcsine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/asin-function-81fb95e5-6d6f-48c4-bc45-58f955c6d347',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The sine of the angle you want and must be from -1 to 1.' },
- },
- },
- ASINH: {
- description: 'Returns the inverse hyperbolic sine of a number.',
- abstract: 'Returns the inverse hyperbolic sine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/asinh-function-4e00475a-067a-43cf-926a-765b0249717c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number.' },
- },
- },
- ATAN: {
- description: 'Returns the arctangent of a number.',
- abstract: 'Returns the arctangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/atan-function-50746fa8-630a-406b-81d0-4a2aed395543',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The tangent of the angle you want.' },
- },
- },
- ATAN2: {
- description: 'Returns the arctangent from x- and y-coordinates.',
- abstract: 'Returns the arctangent from x- and y-coordinates',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/atan2-function-c04592ab-b9e3-4908-b428-c96b3a565033',
- },
- ],
- functionParameter: {
- xNum: { name: 'x_num', detail: 'The x-coordinate of the point.' },
- yNum: { name: 'y_num', detail: 'The y-coordinate of the point.' },
- },
- },
- ATANH: {
- description: 'Returns the inverse hyperbolic tangent of a number.',
- abstract: 'Returns the inverse hyperbolic tangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/atanh-function-3cd65768-0de7-4f1d-b312-d01c8c930d90',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number between 1 and -1.' },
- },
- },
- BASE: {
- description: 'Converts a number into a text representation with the given radix (base)',
- abstract: 'Converts a number into a text representation with the given radix (base)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/base-function-2ef61411-aee9-4f29-a811-1c42456c6342',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number that you want to convert. Must be an integer greater than or equal to 0 and less than 2^53.' },
- radix: { name: 'radix', detail: 'The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.' },
- minLength: { name: 'min_length', detail: 'The minimum length of the returned string. Must be an integer greater than or equal to 0.' },
- },
- },
- CEILING: {
- description: 'Rounds a number to the nearest integer or to the nearest multiple of significance',
- abstract: 'Rounds a number to the nearest integer or to the nearest multiple of significance',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ceiling-function-0a5cd7c8-0720-4f0a-bd2c-c943e510899f',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value you want to round.' },
- significance: { name: 'significance', detail: 'The multiple to which you want to round.' },
- },
- },
- CEILING_MATH: {
- description: 'Rounds a number up, to the nearest integer or to the nearest multiple of significance',
- abstract: 'Rounds a number up, to the nearest integer or to the nearest multiple of significance',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ceiling-math-function-80f95d2f-b499-4eee-9f16-f795a8e306c8',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value you want to round.' },
- significance: { name: 'significance', detail: 'The multiple to which you want to round.' },
- mode: { name: 'mode', detail: 'For negative numbers, controls whether Number is rounded toward or away from zero.' },
- },
- },
- CEILING_PRECISE: {
- description: 'Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.',
- abstract: 'Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ceiling-precise-function-f366a774-527a-4c92-ba49-af0a196e66cb',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value you want to round.' },
- significance: { name: 'significance', detail: 'The multiple to which you want to round.' },
- },
- },
- COMBIN: {
- description: 'Returns the number of combinations for a given number of objects',
- abstract: 'Returns the number of combinations for a given number of objects',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/combin-function-12a3f276-0a21-423a-8de6-06990aaf638a',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number of items.' },
- numberChosen: { name: 'nombre_chosen', detail: 'The number of items in each combination.' },
- },
- },
- COMBINA: {
- description: 'Returns the number of combinations with repetitions for a given number of items',
- abstract: 'Returns the number of combinations with repetitions for a given number of items',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/combina-function-efb49eaa-4f4c-4cd2-8179-0ddfcf9d035d',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number of items.' },
- numberChosen: { name: 'nombre_chosen', detail: 'The number of items in each combination.' },
- },
- },
- COS: {
- description: 'Returns the cosine of a number.',
- abstract: 'Returns the cosine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cos-function-0fb808a5-95d6-4553-8148-22aebdce5f05',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The angle in radians for which you want the cosine.' },
- },
- },
- COSH: {
- description: 'Returns the hyperbolic cosine of a number',
- abstract: 'Returns the hyperbolic cosine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cosh-function-e460d426-c471-43e8-9540-a57ff3b70555',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number for which you want to find the hyperbolic cosine.' },
- },
- },
- COT: {
- description: 'Returns the cotangent of an angle',
- abstract: 'Returns the cotangent of an angle',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/cot-function-c446f34d-6fe4-40dc-84f8-cf59e5f5e31a',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The angle in radians for which you want the cotangent.' },
- },
- },
- COTH: {
- description: 'Returns the hyperbolic cotangent of a number',
- abstract: 'Returns the hyperbolic cotangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/coth-function-2e0b4cb6-0ba0-403e-aed4-deaa71b49df5',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number for which you want to find the hyperbolic cotangent.' },
- },
- },
- CSC: {
- description: 'Returns the cosecant of an angle',
- abstract: 'Returns the cosecant of an angle',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/csc-function-07379361-219a-4398-8675-07ddc4f135c1',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The angle in radians for which you want the cosecant.' },
- },
- },
- CSCH: {
- description: 'Returns the hyperbolic cosecant of an angle',
- abstract: 'Returns the hyperbolic cosecant of an angle',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/csch-function-f58f2c22-eb75-4dd6-84f4-a503527f8eeb',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The angle in radians for which you want the hyperbolic cosecant.' },
- },
- },
- DECIMAL: {
- description: 'Converts a text representation of a number in a given base into a decimal number',
- abstract: 'Converts a text representation of a number in a given base into a decimal number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/decimal-function-ee554665-6176-46ef-82de-0a283658da2e',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The string length of Text must be less than or equal to 255 characters.' },
- radix: { name: 'radix', detail: 'The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.' },
- },
- },
- DEGREES: {
- description: 'Converts radians to degrees',
- abstract: 'Converts radians to degrees',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/degrees-function-4d6ec4db-e694-4b94-ace0-1cc3f61f9ba1',
- },
- ],
- functionParameter: {
- angle: { name: 'angle', detail: 'The angle in radians that you want to convert.' },
- },
- },
- EVEN: {
- description: 'Rounds a number up to the nearest even integer',
- abstract: 'Rounds a number up to the nearest even integer',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/even-function-197b5f06-c795-4c1e-8696-3c3b8a646cf9',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value to round.' },
- },
- },
- EXP: {
- description: 'Returns e raised to the power of a given number',
- abstract: 'Returns e raised to the power of a given number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/exp-function-c578f034-2c45-4c37-bc8c-329660a63abe',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The exponent applied to the base e.' },
- },
- },
- FACT: {
- description: 'Returns the factorial of a number',
- abstract: 'Returns the factorial of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fact-function-ca8588c2-15f2-41c0-8e8c-c11bd471a4f3',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The nonnegative number for which you want the factorial. If number is not an integer, it is truncated.' },
- },
- },
- FACTDOUBLE: {
- description: 'Returns the double factorial of a number',
- abstract: 'Returns the double factorial of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/factdouble-function-e67697ac-d214-48eb-b7b7-cce2589ecac8',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The nonnegative number for which you want the double factorial. If number is not an integer, it is truncated.' },
- },
- },
- FLOOR: {
- description: 'Rounds a number down, toward zero',
- abstract: 'Rounds a number down, toward zero',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/floor-function-14bb497c-24f2-4e04-b327-b0b4de5a8886',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value you want to round.' },
- significance: { name: 'significance', detail: 'The multiple to which you want to round.' },
- },
- },
- FLOOR_MATH: {
- description: 'Rounds a number down, to the nearest integer or to the nearest multiple of significance',
- abstract: 'Rounds a number down, to the nearest integer or to the nearest multiple of significance',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/floor-math-function-c302b599-fbdb-4177-ba19-2c2b1249a2f5',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value you want to round.' },
- significance: { name: 'significance', detail: 'The multiple to which you want to round.' },
- mode: { name: 'mode', detail: 'For negative numbers, controls whether Number is rounded toward or away from zero.' },
- },
- },
- FLOOR_PRECISE: {
- description: 'Rounds a number down to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded down.',
- abstract: 'Rounds a number down to the nearest integer or to the nearest multiple of significance.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/floor-precise-function-f769b468-1452-4617-8dc3-02f842a0702e',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value you want to round.' },
- significance: { name: 'significance', detail: 'The multiple to which you want to round.' },
- },
- },
- GCD: {
- description: 'Returns the greatest common divisor',
- abstract: 'Returns the greatest common divisor',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gcd-function-d5107a51-69e3-461f-8e4c-ddfc21b5073a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'To find the first number of the greatest common divisor, you can also use a single array or a reference to an array instead of the comma-separated parameters.' },
- number2: { name: 'nombre2', detail: 'The second number whose greatest common divisor is to be found. Up to 255 numbers can be specified in this way.' },
- },
- },
- INT: {
- description: 'Rounds a number down to the nearest integer',
- abstract: 'Rounds a number down to the nearest integer',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/int-function-a6c4af9e-356d-4369-ab6a-cb1fd9d343ef',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The real number you want to round down to an integer.' },
- },
- },
- ISO_CEILING: {
- description: 'Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance',
- abstract: 'Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/iso-ceiling-function-e587bb73-6cc2-4113-b664-ff5b09859a83',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LCM: {
- description: 'Returns the least common multiple',
- abstract: 'Returns the least common multiple',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lcm-function-7152b67a-8bb5-4075-ae5c-06ede5563c94',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'To find the first number of the least common multiple, you can also use a single array or a reference to an array instead of the comma-separated parameters.' },
- number2: { name: 'nombre2', detail: 'The second number whose least common multiple is to be found. Up to 255 numbers can be specified in this way.' },
- },
- },
- LET: {
- description: 'Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula',
- abstract: 'Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LN: {
- description: 'Returns the natural logarithm of a number',
- abstract: 'Returns the natural logarithm of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/ln-function-81fe1ed7-dac9-4acd-ba1d-07a142c6118f',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The positive real number for which you want the natural logarithm.' },
- },
- },
- LOG: {
- description: 'Returns the logarithm of a number to a specified base',
- abstract: 'Returns the logarithm of a number to a specified base',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/log-function-4e82f196-1ca9-4747-8fb0-6c4a3abb3280',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The positive real number for which you want the logarithm.' },
- base: { name: 'base', detail: 'The base of the logarithm. If base is omitted, it is assumed to be 10.' },
- },
- },
- LOG10: {
- description: 'Returns the base-10 logarithm of a number',
- abstract: 'Returns the base-10 logarithm of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/log10-function-c75b881b-49dd-44fb-b6f4-37e3486a0211',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The positive real number for which you want the base-10 logarithm.' },
- },
- },
- MDETERM: {
- description: 'Returns the matrix determinant of an array',
- abstract: 'Returns the matrix determinant of an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mdeterm-function-e7bfa857-3834-422b-b871-0ffd03717020',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'A numeric array with an equal number of rows and columns.' },
- },
- },
- MINVERSE: {
- description: 'Returns the matrix inverse of an array',
- abstract: 'Returns the matrix inverse of an array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/minverse-function-11f55086-adde-4c9f-8eb9-59da2d72efc6',
- },
- ],
- functionParameter: {
- array: { name: 'array', detail: 'A numeric array with an equal number of rows and columns.' },
- },
- },
- MMULT: {
- description: 'Returns the matrix product of two arrays',
- abstract: 'Returns the matrix product of two arrays',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mmult-function-40593ed7-a3cd-4b6b-b9a3-e4ad3c7245eb',
- },
- ],
- functionParameter: {
- array1: { name: 'array1', detail: 'The arrays you want to multiply.' },
- array2: { name: 'array2', detail: 'The arrays you want to multiply.' },
- },
- },
- MOD: {
- description: 'Returns the remainder after number is divided by divisor. The result has the same sign as divisor.',
- abstract: 'Returns the remainder from division',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mod-function-9b6cd169-b6ee-406a-a97b-edf2a9dc24f3',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number for which you want to find the remainder.' },
- divisor: { name: 'divisor', detail: 'The number by which you want to divide number' },
- },
- },
- MROUND: {
- description: 'Returns a number rounded to the desired multiple',
- abstract: 'Returns a number rounded to the desired multiple',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mround-function-c299c3b0-15a5-426d-aa4b-d2d5b3baf427',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value to round.' },
- multiple: { name: 'multiple', detail: 'The multiple to which you want to round number.' },
- },
- },
- MULTINOMIAL: {
- description: 'Returns the multinomial of a set of numbers',
- abstract: 'Returns the multinomial of a set of numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/multinomial-function-6fa6373c-6533-41a2-a45e-a56db1db1bf6',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first value or range to use in the calculation.' },
- number2: { name: 'nombre2', detail: 'Additional values ​​or ranges to use in calculations.' },
- },
- },
- MUNIT: {
- description: 'Returns the unit matrix or the specified dimension',
- abstract: 'Returns the unit matrix or the specified dimension',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/munit-function-c9fe916a-dc26-4105-997d-ba22799853a3',
- },
- ],
- functionParameter: {
- dimension: { name: 'dimension', detail: 'Dimension is an integer specifying the dimension of the unit matrix that you want to return. It returns an array. The dimension has to be greater than zero.' },
- },
- },
- ODD: {
- description: 'Rounds a number up to the nearest odd integer',
- abstract: 'Rounds a number up to the nearest odd integer',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/odd-function-deae64eb-e08a-4c88-8b40-6d0b42575c98',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The value to round.' },
- },
- },
- PI: {
- description: 'Returns the value of pi',
- abstract: 'Returns the value of pi',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pi-function-264199d0-a3ba-46b8-975a-c4a04608989b',
- },
- ],
- functionParameter: {
- },
- },
- POWER: {
- description: 'Returns the result of a number raised to a power.',
- abstract: 'Returns the result of a number raised to a power',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/power-function-d3f2908b-56f4-4c3f-895a-07fb519c362a',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The base number. It can be any real number.' },
- power: { name: 'power', detail: 'The exponent to which the base number is raised.' },
- },
- },
- PRODUCT: {
- description: 'Multiplies all the numbers given as arguments and returns the product.',
- abstract: 'Multiplies its arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/product-function-8e6b5b24-90ee-4650-aeec-80982a0512ce',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number or range that you want to multiply.' },
- number2: { name: 'nombre2', detail: 'Additional numbers or ranges that you want to multiply, up to a maximum of 255 arguments.' },
- },
- },
- QUOTIENT: {
- description: 'Returns the integer portion of a division',
- abstract: 'Returns the integer portion of a division',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/quotient-function-9f7bf099-2a18-4282-8fa4-65290cc99dee',
- },
- ],
- functionParameter: {
- numerator: { name: 'numerator', detail: 'The dividend.' },
- denominator: { name: 'denominator', detail: 'The divisor.' },
- },
- },
- RADIANS: {
- description: 'Converts degrees to radians',
- abstract: 'Converts degrees to radians',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/radians-function-ac409508-3d48-45f5-ac02-1497c92de5bf',
- },
- ],
- functionParameter: {
- angle: { name: 'angle', detail: 'An angle in degrees that you want to convert.' },
- },
- },
- RAND: {
- description: 'Returns a random number between 0 and 1',
- abstract: 'Returns a random number between 0 and 1',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rand-function-4cbfa695-8869-4788-8d90-021ea9f5be73',
- },
- ],
- functionParameter: {
- },
- },
- RANDARRAY: {
- description: 'Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.',
- abstract: 'Returns an array of random numbers between 0 and 1.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/randarray-function-21261e55-3bec-4885-86a6-8b0a47fd4d33',
- },
- ],
- functionParameter: {
- rows: { name: 'rows', detail: 'The number of rows to be returned' },
- columns: { name: 'columns', detail: 'The number of columns to be returned' },
- min: { name: 'min', detail: 'The minimum number you would like returned' },
- max: { name: 'max', detail: 'The maximum number you would like returned' },
- wholeNumber: { name: 'whole_number', detail: 'Return a whole number or a decimal value' },
- },
- },
- RANDBETWEEN: {
- description: 'Returns a random number between the numbers you specify',
- abstract: 'Returns a random number between the numbers you specify',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/randbetween-function-4cc7f0d1-87dc-4eb7-987f-a469ab381685',
- },
- ],
- functionParameter: {
- bottom: { name: 'bottom', detail: 'The smallest integer RANDBETWEEN will return.' },
- top: { name: 'top', detail: 'The largest integer RANDBETWEEN will return.' },
- },
- },
- ROMAN: {
- description: 'Converts an Arabic numeral to Roman, as text',
- abstract: 'Converts an Arabic numeral to Roman, as text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/roman-function-d6b0b99e-de46-4704-a518-b45a0f8b56f5',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ROUND: {
- description: 'Rounds a number to a specified number of digits',
- abstract: 'Rounds a number to a specified number of digits',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/round-function-c018c5d8-40fb-4053-90b1-b3e7f61a213c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number that you want to round.' },
- numDigits: { name: 'num_digits', detail: 'The number of digits to which you want to round the number argument.' },
- },
- },
- ROUNDDOWN: {
- description: 'Rounds a number down, toward zero',
- abstract: 'Rounds a number down, toward zero',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rounddown-function-2ec94c73-241f-4b01-8c6f-17e6d7968f53',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number that you want to round.' },
- numDigits: { name: 'num_digits', detail: 'The number of digits to which you want to round the number argument.' },
- },
- },
- ROUNDUP: {
- description: 'Rounds a number up, away from zero',
- abstract: 'Rounds a number up, away from zero',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/roundup-function-f8bc9b23-e795-47db-8703-db171d0c42a7',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number that you want to round.' },
- numDigits: { name: 'num_digits', detail: 'The number of digits to which you want to round the number argument.' },
- },
- },
- SEC: {
- description: 'Returns the secant of an angle',
- abstract: 'Returns the secant of an angle',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sec-function-ff224717-9c87-4170-9b58-d069ced6d5f7',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Number is the angle in radians for which you want the secant.' },
- },
- },
- SECH: {
- description: 'Returns the hyperbolic secant of an angle',
- abstract: 'Returns the hyperbolic secant of an angle',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sech-function-e05a789f-5ff7-4d7f-984a-5edb9b09556f',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Number is the angle in radians for which you want the hyperbolic secant.' },
- },
- },
- SERIESSUM: {
- description: 'Returns the sum of a power series based on the formula',
- abstract: 'Returns the sum of a power series based on the formula',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/seriessum-function-a3ab25b5-1093-4f5b-b084-96c49087f637',
- },
- ],
- functionParameter: {
- x: { name: 'x', detail: 'The input value to the power series.' },
- n: { name: 'n', detail: 'The initial power to which you want to raise x.' },
- m: { name: 'm', detail: 'The step by which to increase n for each term in the series.' },
- coefficients: { name: 'coefficients', detail: 'A set of coefficients by which each successive power of x is multiplied.' },
- },
- },
- SEQUENCE: {
- description: 'Generates a list of sequential numbers in an array, such as 1, 2, 3, 4',
- abstract: 'Generates a list of sequential numbers in an array, such as 1, 2, 3, 4',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sequence-function-57467a98-57e0-4817-9f14-2eb78519ca90',
- },
- ],
- functionParameter: {
- rows: { name: 'rows', detail: 'The number of rows to return.' },
- columns: { name: 'columns', detail: 'The number of columns to return.' },
- start: { name: 'start', detail: 'The first number in the sequence.' },
- step: { name: 'step', detail: 'The amount to increment each subsequent value in the array.' },
- },
- },
- SIGN: {
- description: 'Returns the sign of a number',
- abstract: 'Returns the sign of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sign-function-109c932d-fcdc-4023-91f1-2dd0e916a1d8',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number.' },
- },
- },
- SIN: {
- description: 'Returns the sine of the given angle',
- abstract: 'Returns the sine of the given angle',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sin-function-cf0e3432-8b9e-483c-bc55-a76651c95602',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The angle in radians for which you want the sine.' },
- },
- },
- SINH: {
- description: 'Returns the hyperbolic sine of a number',
- abstract: 'Returns the hyperbolic sine of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sinh-function-1e4e8b9f-2b65-43fc-ab8a-0a37f4081fa7',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number.' },
- },
- },
- SQRT: {
- description: 'Returns a positive square root',
- abstract: 'Returns a positive square root',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sqrt-function-654975c2-05c4-4831-9a24-2c65e4040fdf',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number for which you want the square root.' },
- },
- },
- SQRTPI: {
- description: 'Returns the square root of (number * pi)',
- abstract: 'Returns the square root of (number * pi)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sqrtpi-function-1fb4e63f-9b51-46d6-ad68-b3e7a8b519b4',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number by which pi is multiplied.' },
- },
- },
- SUBTOTAL: {
- description: 'Returns a subtotal in a list or database.',
- abstract: 'Returns a subtotal in a list or database',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/subtotal-function-7b027003-f060-4ade-9040-e478765b9939',
- },
- ],
- functionParameter: {
- functionNum: { name: 'function_num', detail: 'The number 1-11 or 101-111 that specifies the function to use for the subtotal. 1-11 includes manually-hidden rows, while 101-111 excludes them; filtered-out cells are always excluded.' },
- ref1: { name: 'ref1', detail: 'The first named range or reference for which you want the subtotal.' },
- ref2: { name: 'ref2', detail: 'Named ranges or references 2 to 254 for which you want the subtotal.' },
- },
- },
- SUM: {
- description: 'You can add individual values, cell references or ranges or a mix of all three.',
- abstract: 'Adds its arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sum-function-043e1c7d-7726-4e80-8f32-07b23e057f89',
- },
- ],
- functionParameter: {
- number1: {
- name: 'nombre 1',
- detail: 'The first number you want to add. The number can be like 4, a cell reference like B6, or a cell range like B2:B8.',
- },
- number2: {
- name: 'nombre 2',
- detail: 'This is the second number you want to add. You can specify up to 255 numbers in this way.',
- },
- },
- },
- SUMIF: {
- description: 'Sum the values in a range that meet criteria that you specify.',
- abstract: 'Adds the cells specified by a given criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumif-function-169b8c99-c05c-4483-a712-1697a653039b',
- },
- ],
- functionParameter: {
- range: {
- name: 'range',
- detail: 'The range of cells that you want evaluated by criteria.',
- },
- criteria: {
- name: 'criteria',
- detail: 'The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. Wildcard characters can be included - a question mark (?) to match any single character, an asterisk (*) to match any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character.',
- },
- sumRange: {
- name: 'sum_range',
- detail: 'The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied).',
- },
- },
- },
- SUMIFS: {
- description: 'Adds all of its arguments that meet multiple criteria.',
- abstract: 'Adds all of its arguments that meet multiple criteria.',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumifs-function-c9e748f5-7ea7-455d-9406-611cebce642b',
- },
- ],
- functionParameter: {
- sumRange: { name: 'sum_range', detail: 'The range of cells to sum.' },
- criteriaRange1: { name: 'criteria_range1 ', detail: 'The range that is tested using criteria1. criteria_range1 and criteria1 set up a search pair whereby a range is searched for specific criteria. Once items in the range are found, their corresponding values in sum_range are added.' },
- criteria1: { name: 'criteria1', detail: 'The criteria that defines which cells in criteria_range1 will be added. For example, criteria can be entered as 32, ">32", B4, "apples", or "32".' },
- criteriaRange2: { name: 'criteriaRange2', detail: 'Additional ranges. You can enter up to 127 range pairs.' },
- criteria2: { name: 'criteria2', detail: 'Additional associated criteria. You can enter up to 127 criteria pairs.' },
- },
- },
- SUMPRODUCT: {
- description: 'Returns the sum of the products of corresponding array components',
- abstract: 'Returns the sum of the products of corresponding array components',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumproduct-function-16753e75-9f68-4874-94ac-4d2145a2fd2e',
- },
- ],
- functionParameter: {
- array1: { name: 'array', detail: 'The first array argument whose components you want to multiply and then add.' },
- array2: { name: 'array', detail: 'Array arguments 2 to 255 whose components you want to multiply and then add.' },
- },
- },
- SUMSQ: {
- description: 'Returns the sum of the squares of the arguments',
- abstract: 'Returns the sum of the squares of the arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumsq-function-e3313c02-51cc-4963-aae6-31442d9ec307',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'To square and find the first number, you can also use a single array or a reference to an array instead of comma-separated parameters.' },
- number2: { name: 'nombre2', detail: 'The second number to be squared and summed. Up to 255 numbers can be specified in this way.' },
- },
- },
- SUMX2MY2: {
- description: 'Returns the sum of the difference of squares of corresponding values in two arrays',
- abstract: 'Returns the sum of the difference of squares of corresponding values in two arrays',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumx2my2-function-9e599cc5-5399-48e9-a5e0-e37812dfa3e9',
- },
- ],
- functionParameter: {
- arrayX: { name: 'array_x', detail: 'The first array or range of values.' },
- arrayY: { name: 'array_y', detail: 'The second array or range of values.' },
- },
- },
- SUMX2PY2: {
- description: 'Returns the sum of the sum of squares of corresponding values in two arrays',
- abstract: 'Returns the sum of the sum of squares of corresponding values in two arrays',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumx2py2-function-826b60b4-0aa2-4e5e-81d2-be704d3d786f',
- },
- ],
- functionParameter: {
- arrayX: { name: 'array_x', detail: 'The first array or range of values.' },
- arrayY: { name: 'array_y', detail: 'The second array or range of values.' },
- },
- },
- SUMXMY2: {
- description: 'Returns the sum of squares of differences of corresponding values in two arrays',
- abstract: 'Returns the sum of squares of differences of corresponding values in two arrays',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/sumxmy2-function-9d144ac1-4d79-43de-b524-e2ecee23b299',
- },
- ],
- functionParameter: {
- arrayX: { name: 'array_x', detail: 'The first array or range of values.' },
- arrayY: { name: 'array_y', detail: 'The second array or range of values.' },
- },
- },
- TAN: {
- description: 'Returns the tangent of a number.',
- abstract: 'Returns the tangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tan-function-08851a40-179f-4052-b789-d7f699447401',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The angle in radians for which you want the tangent.' },
- },
- },
- TANH: {
- description: 'Returns the hyperbolic tangent of a number.',
- abstract: 'Returns the hyperbolic tangent of a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/tanh-function-017222f0-a0c3-4f69-9787-b3202295dc6c',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'Any real number.' },
- },
- },
- TRUNC: {
- description: 'Truncates a number to an integer',
- abstract: 'Truncates a number to an integer',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/trunc-function-8b86a64c-3127-43db-ba14-aa5ceb292721',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number you want to truncate.' },
- numDigits: { name: 'num_digits', detail: 'A number specifying the precision of the truncation. The default value for num_digits is 0 (zero).' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/math/ja-JP.ts
index f17ff79b63..d952541cdb 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: '数値の絶対値を返します。 絶対値とは、数値から符号 (+、-) を除いた数の大きさのことです。',
abstract: '数値の絶対値を返します。',
@@ -1160,3 +1162,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/math/ko-KR.ts
index d409f68434..d44d83db0a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: '숫자의 절대값을 반환합니다. 숫자의 절대값은 부호가 없는 숫자입니다.',
abstract: '숫자의 절대값을 반환합니다',
@@ -499,8 +501,8 @@ export default {
},
],
functionParameter: {
- number: { name: 'number', detail: '반올림할 값입니다.' },
- significance: { name: 'significance', detail: 'number를 반올림할 선택적 배수입니다.' },
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
},
},
LCM: {
@@ -517,6 +519,20 @@ export default {
number2: { name: 'number2', detail: '최소공배수를 찾으려는 두 번째 숫자입니다. 이런 방식으로 최대 255개의 숫자를 지정할 수 있습니다.' },
},
},
+ LET: {
+ description: 'Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula',
+ abstract: 'Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
LN: {
description: '숫자의 자연 로그를 반환합니다',
abstract: '숫자의 자연 로그를 반환합니다',
@@ -635,8 +651,8 @@ export default {
},
],
functionParameter: {
- value1: { name: 'value1', detail: '다항계수를 계산하려는 1에서 255 사이의 값입니다.' },
- value2: { name: 'value2', detail: '다항계수를 계산하려는 1에서 255 사이의 값입니다.' },
+ number1: { name: 'number1', detail: 'The first value or range to use in the calculation.' },
+ number2: { name: 'number2', detail: 'Additional values ​​or ranges to use in calculations.' },
},
},
MUNIT: {
@@ -803,6 +819,20 @@ export default {
numDigits: { name: 'num_digits', detail: '반올림하려는 자릿수입니다.' },
},
},
+ ROUNDBANK: {
+ description: 'Rounds a number in banker\'s rounding',
+ abstract: 'Rounds a number in banker\'s rounding',
+ links: [
+ {
+ title: 'Instruction',
+ url: '',
+ },
+ ],
+ functionParameter: {
+ number: { name: 'number', detail: 'The number that you want to round in banker\'s rounding.' },
+ numDigits: { name: 'num_digits', detail: 'The number of digits to which you want to round in banker\'s rounding.' },
+ },
+ },
ROUNDDOWN: {
description: '숫자를 0 방향으로 내림합니다',
abstract: '숫자를 0 방향으로 내림합니다',
@@ -1126,3 +1156,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/math/ru-RU.ts
index ee8577af76..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/ru-RU.ts
@@ -16,6 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {};
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/math/vi-VN.ts
index af5508a9ec..21da2993f5 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: 'Trả về giá trị tuyệt đối của một số. Giá trị tuyệt đối của một số là số đó không có dấu.',
abstract: 'Trả về giá trị tuyệt đối của một số.',
@@ -80,9 +82,23 @@ export default {
number: { name: 'số', detail: 'Giá trị tuyệt đối của Số phải lớn hơn 1.' },
},
},
+ AGGREGATE: {
+ description: 'Returns an aggregate in a list or database',
+ abstract: 'Returns an aggregate in a list or database',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/aggregate-function-43b9278e-6aa7-4f17-92b6-e19993fa26df',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
ARABIC: {
- description: '将罗马数字转换为阿拉伯数字',
- abstract: '将罗马数字转换为阿拉伯数字',
+ description: 'Converts a Roman number to Arabic, as a number',
+ abstract: 'Converts a Roman number to Arabic, as a number',
links: [
{
title: 'Hướng dẫn',
@@ -472,6 +488,20 @@ export default {
number: { name: 'số', detail: 'Số thực mà bạn muốn làm tròn xuống một số nguyên.' },
},
},
+ ISO_CEILING: {
+ description: 'Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance',
+ abstract: 'Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/iso-ceiling-function-e587bb73-6cc2-4113-b664-ff5b09859a83',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
LCM: {
description: 'Trả về bội số chung ít nhất của các số nguyên.',
abstract: 'Trả về bội số chung ít nhất của các số nguyên.',
@@ -486,6 +516,20 @@ export default {
number2: { name: 'số2', detail: 'Các giá trị hoặc phạm vi bổ sung để sử dụng cho việc tính toán.' },
},
},
+ LET: {
+ description: 'Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula',
+ abstract: 'Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/let-function-34842dd8-b92b-4d3f-b325-b8b8f9908999',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
LN: {
description: 'Trả về lô-ga-rit tự nhiên của một số.',
abstract: 'Trả về lô-ga-rit tự nhiên của một số.',
@@ -1124,3 +1168,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/math/zh-CN.ts
index a1c27597dd..1c88b5ff7d 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: '返回数字的绝对值。一个数字的绝对值是该数字不带其符号的形式。',
abstract: '返回数字的绝对值',
@@ -1168,3 +1170,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/math/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/math/zh-TW.ts
index d920a53918..88fa0195bf 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/math/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/math/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ABS: {
description: '傳回數字的絕對值。一個數字的絕對值是該數字不帶其符號的形式。 ',
abstract: '傳回數字的絕對值',
@@ -1166,3 +1168,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/ca-ES.ts
index 89e29b0f99..eadca375f8 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: 'Retorna la mitjana de les desviacions absolutes dels punts de dades respecte a la seva mitjana.',
abstract: 'Retorna la mitjana de les desviacions absolutes dels punts de dades respecte a la seva mitjana',
@@ -1699,3 +1701,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/en-US.ts
index ec2b00ceb3..b67e89b32e 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
AVEDEV: {
description: 'Returns the average of the absolute deviations of data points from their mean.',
abstract: 'Returns the average of the absolute deviations of data points from their mean',
@@ -1699,3 +1699,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/es-ES.ts
index da08daadbc..1dddbeec59 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: 'Devuelve el promedio de las desviaciones absolutas de los puntos de datos con respecto a su media.',
abstract: 'Devuelve el promedio de las desviaciones absolutas de los puntos de datos con respecto a su media',
@@ -1699,3 +1701,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/fr-FR.ts
index 6598e794e5..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/fr-FR.ts
@@ -14,1609 +14,8 @@
* limitations under the License.
*/
-export default {
- AVEDEV: {
- description: 'Returns the average of the absolute deviations of data points from their mean.',
- abstract: 'Returns the average of the absolute deviations of data points from their mean',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/avedev-function-58fe8d65-2a84-4dc7-8052-f3f87b5c6639',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number, cell reference, or range for which you want the average.' },
- number2: { name: 'nombre2', detail: 'Additional numbers, cell references or ranges for which you want the average, up to a maximum of 255.' },
- },
- },
- AVERAGE: {
- description: 'Returns the average (arithmetic mean) of the arguments.',
- abstract: 'Returns the average of its arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/average-function-047bac88-d466-426c-a32b-8f33eb960cf6',
- },
- ],
- functionParameter: {
- number1: {
- name: 'nombre1',
- detail: 'The first number, cell reference, or range for which you want the average.',
- },
- number2: {
- name: 'nombre2',
- detail: 'Additional numbers, cell references or ranges for which you want the average, up to a maximum of 255.',
- },
- },
- },
- AVERAGEA: {
- description: 'Returns the average of its arguments, including numbers, text, and logical values.',
- abstract: 'Returns the average of its arguments, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/averagea-function-f5f84098-d453-4f4c-bbba-3d2c66356091',
- },
- ],
- functionParameter: {
- value1: {
- name: 'value1',
- detail: 'The first number, cell reference, or range for which you want the average.',
- },
- value2: {
- name: 'value2',
- detail: 'Additional numbers, cell references or ranges for which you want the average, up to a maximum of 255.',
- },
- },
- },
- AVERAGEIF: {
- description: 'Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria.',
- abstract: 'Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/averageif-function-faec8e2e-0dec-4308-af69-f5576d8ac642',
- },
- ],
- functionParameter: {
- range: { name: 'range', detail: 'One or more cells to average, including numbers or names, arrays, or references that contain numbers.' },
- criteria: { name: 'criteria', detail: 'The criteria in the form of a number, expression, cell reference, or text that defines which cells are averaged. For example, criteria can be expressed as 32, "32", ">32", "apples", or B4.' },
- averageRange: { name: 'average_range', detail: 'The actual set of cells to average. If omitted, range is used.' },
- },
- },
- AVERAGEIFS: {
- description: 'Returns the average (arithmetic mean) of all cells that meet multiple criteria.',
- abstract: 'Returns the average (arithmetic mean) of all cells that meet multiple criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/averageifs-function-48910c45-1fc0-4389-a028-f7c5c3001690',
- },
- ],
- functionParameter: {
- averageRange: { name: 'average_range', detail: 'One or more cells to average, including numbers or names, arrays, or references that contain numbers.' },
- criteriaRange1: { name: 'criteria_range1', detail: 'Is the set of cells to evaluate with the criteria.' },
- criteria1: { name: 'criteria1', detail: 'Used to define the cells for which the average will be calculated. For example, the criteria can be expressed as 32, "32", ">32", "apple", or B4' },
- criteriaRange2: { name: 'criteria_range2', detail: 'Additional ranges. You can enter up to 127 range.' },
- criteria2: { name: 'criteria2', detail: 'Additional associated criteria. You can enter up to 127 criteria.' },
- },
- },
- BETA_DIST: {
- description: 'Returns the beta cumulative distribution function',
- abstract: 'Returns the beta cumulative distribution function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/beta-dist-function-11188c9c-780a-42c7-ba43-9ecb5a878d31',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BETA_INV: {
- description: 'Returns the inverse of the cumulative distribution function for a specified beta distribution',
- abstract: 'Returns the inverse of the cumulative distribution function for a specified beta distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/beta-inv-function-e84cb8aa-8df0-4cf6-9892-83a341d252eb',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BINOM_DIST: {
- description: 'Returns the individual term binomial distribution probability',
- abstract: 'Returns the individual term binomial distribution probability',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/binom-dist-function-c5ae37b6-f39c-4be2-94c2-509a1480770c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BINOM_DIST_RANGE: {
- description: 'Returns the probability of a trial result using a binomial distribution',
- abstract: 'Returns the probability of a trial result using a binomial distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/binom-dist-range-function-17331329-74c7-4053-bb4c-6653a7421595',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BINOM_INV: {
- description: 'Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value',
- abstract: 'Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/binom-inv-function-80a0370c-ada6-49b4-83e7-05a91ba77ac9',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHISQ_DIST: {
- description: 'Returns the cumulative beta probability density function',
- abstract: 'Returns the cumulative beta probability density function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chisq-dist-function-8486b05e-5c05-4942-a9ea-f6b341518732',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHISQ_DIST_RT: {
- description: 'Returns the one-tailed probability of the chi-squared distribution',
- abstract: 'Returns the one-tailed probability of the chi-squared distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chisq-dist-rt-function-dc4832e8-ed2b-49ae-8d7c-b28d5804c0f2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHISQ_INV: {
- description: 'Returns the cumulative beta probability density function',
- abstract: 'Returns the cumulative beta probability density function',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chisq-inv-function-400db556-62b3-472d-80b3-254723e7092f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHISQ_INV_RT: {
- description: 'Returns the inverse of the one-tailed probability of the chi-squared distribution',
- abstract: 'Returns the inverse of the one-tailed probability of the chi-squared distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chisq-inv-rt-function-435b5ed8-98d5-4da6-823f-293e2cbc94fe',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHISQ_TEST: {
- description: 'Returns the test for independence',
- abstract: 'Returns the test for independence',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/chisq-test-function-2e8a7861-b14a-4985-aa93-fb88de3f260f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CONFIDENCE_NORM: {
- description: 'Returns the confidence interval for a population mean',
- abstract: 'Returns the confidence interval for a population mean',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/confidence-norm-function-7cec58a6-85bb-488d-91c3-63828d4fbfd4',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CONFIDENCE_T: {
- description: 'Returns the confidence interval for a population mean, using a Student\'s t distribution',
- abstract: 'Returns the confidence interval for a population mean, using a Student\'s t distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/confidence-t-function-e8eca395-6c3a-4ba9-9003-79ccc61d3c53',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CORREL: {
- description: 'Returns the correlation coefficient between two data sets',
- abstract: 'Returns the correlation coefficient between two data sets',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/correl-function-995dcef7-0c0a-4bed-a3fb-239d7b68ca92',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- COUNT: {
- description: 'Counts the number of cells that contain numbers, and counts numbers within the list of arguments.',
- abstract: 'Counts how many numbers are in the list of arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/count-function-a59cd7fc-b623-4d93-87a4-d23bf411294c',
- },
- ],
- functionParameter: {
- value1: {
- name: 'value 1',
- detail: 'The first item, cell reference, or range within which you want to count numbers.',
- },
- value2: {
- name: 'value 2',
- detail: 'Up to 255 additional items, cell references, or ranges within which you want to count numbers.',
- },
- },
- },
- COUNTA: {
- description: `Counts cells containing any type of information, including error values and empty text ("")
- If you do not need to count logical values, text, or error values`,
- abstract: 'Counts how many values are in the list of arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/counta-function-7dc98875-d5c1-46f1-9a82-53f3219e2509',
- },
- ],
- functionParameter: {
- number1: {
- name: 'value1',
- detail: 'Required. The first argument representing the values that you want to count.',
- },
- number2: {
- name: 'value2',
- detail: 'Optional. Additional arguments representing the values that you want to count, up to a maximum of 255 arguments.',
- },
- },
- },
- COUNTBLANK: {
- description: 'Counts the number of blank cells within a range.',
- abstract: 'Counts the number of blank cells within a range',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/countblank-function-6a92d772-675c-4bee-b346-24af6bd3ac22',
- },
- ],
- functionParameter: {
- range: { name: 'range', detail: 'The range from which you want to count the blank cells.' },
- },
- },
- COUNTIF: {
- description: 'Counts the number of cells within a range that meet the given criteria.',
- abstract: 'Counts the number of cells within a range that meet the given criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/countif-function-e0de10c6-f885-4e71-abb4-1f464816df34',
- },
- ],
- functionParameter: {
- range: { name: 'range', detail: 'The group of cells you want to count. Range can contain numbers, arrays, a named range, or references that contain numbers. Blank and text values are ignored.' },
- criteria: { name: 'criteria', detail: 'A number, expression, cell reference, or text string that determines which cells will be counted.\nFor example, you can use a number like 32, a comparison like ">32", a cell like B4, or a word like "apples".\nCOUNTIF uses only a single criteria. Use COUNTIFS if you want to use multiple criteria.' },
- },
- },
- COUNTIFS: {
- description: 'Counts the number of cells within a range that meet multiple criteria.',
- abstract: 'Counts the number of cells within a range that meet multiple criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/countifs-function-dda3dc6e-f74e-4aee-88bc-aa8c2a866842',
- },
- ],
- functionParameter: {
- criteriaRange1: { name: 'criteria_range1', detail: 'The first range in which to evaluate the associated criteria.' },
- criteria1: { name: 'criteria1', detail: 'The criteria in the form of a number, expression, cell reference, or text that define which cells will be counted. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32".' },
- criteriaRange2: { name: 'criteria_range2', detail: 'Additional ranges. You can enter up to 127 range.' },
- criteria2: { name: 'criteria2', detail: 'Additional associated criteria. You can enter up to 127 criteria.' },
- },
- },
- COVARIANCE_P: {
- description: 'Returns covariance, the average of the products of paired deviations',
- abstract: 'Returns covariance, the average of the products of paired deviations',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/covariance-p-function-6f0e1e6d-956d-4e4b-9943-cfef0bf9edfc',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- COVARIANCE_S: {
- description: 'Returns the sample covariance, the average of the products deviations for each data point pair in two data sets',
- abstract: 'Returns the sample covariance, the average of the products deviations for each data point pair in two data sets',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/covariance-s-function-0a539b74-7371-42aa-a18f-1f5320314977',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DEVSQ: {
- description: 'Returns the sum of squares of deviations',
- abstract: 'Returns the sum of squares of deviations',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/devsq-function-8b739616-8376-4df5-8bd0-cfe0a6caf444',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- EXPON_DIST: {
- description: 'Returns the exponential distribution',
- abstract: 'Returns the exponential distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/expon-dist-function-4c12ae24-e563-4155-bf3e-8b78b6ae140e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- F_DIST: {
- description: 'Returns the F probability distribution',
- abstract: 'Returns the F probability distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/f-dist-function-a887efdc-7c8e-46cb-a74a-f884cd29b25d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- F_DIST_RT: {
- description: 'Returns the F probability distribution',
- abstract: 'Returns the F probability distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/f-dist-rt-function-d74cbb00-6017-4ac9-b7d7-6049badc0520',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- F_INV: {
- description: 'Returns the inverse of the F probability distribution',
- abstract: 'Returns the inverse of the F probability distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/f-inv-function-0dda0cf9-4ea0-42fd-8c3c-417a1ff30dbe',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- F_INV_RT: {
- description: 'Returns the inverse of the F probability distribution',
- abstract: 'Returns the inverse of the F probability distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/f-inv-rt-function-d371aa8f-b0b1-40ef-9cc2-496f0693ac00',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- F_TEST: {
- description: 'Returns the result of an F-test',
- abstract: 'Returns the result of an F-test',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/f-test-function-100a59e7-4108-46f8-8443-78ffacb6c0a7',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FISHER: {
- description: 'Returns the Fisher transformation',
- abstract: 'Returns the Fisher transformation',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fisher-function-d656523c-5076-4f95-b87b-7741bf236c69',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FISHERINV: {
- description: 'Returns the inverse of the Fisher transformation',
- abstract: 'Returns the inverse of the Fisher transformation',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fisherinv-function-62504b39-415a-4284-a285-19c8e82f86bb',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FORECAST: {
- description: 'Returns a value along a linear trend',
- abstract: 'Returns a value along a linear trend',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/forecast-and-forecast-linear-functions-50ca49c9-7b40-4892-94e4-7ad38bbeda99',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FORECAST_ETS: {
- description: 'Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm',
- abstract: 'Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FORECAST_ETS_CONFINT: {
- description: 'Returns a confidence interval for the forecast value at the specified target date',
- abstract: 'Returns a confidence interval for the forecast value at the specified target date',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.CONFINT',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FORECAST_ETS_SEASONALITY: {
- description: 'Returns the length of the repetitive pattern Excel detects for the specified time series',
- abstract: 'Returns the length of the repetitive pattern Excel detects for the specified time series',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.SEASONALITY',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FORECAST_ETS_STAT: {
- description: 'Returns a statistical value as a result of time series forecasting',
- abstract: 'Returns a statistical value as a result of time series forecasting',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.STAT',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FORECAST_LINEAR: {
- description: 'Returns a future value based on existing values',
- abstract: 'Returns a future value based on existing values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.LINEAR',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FREQUENCY: {
- description: 'Returns a frequency distribution as a vertical array',
- abstract: 'Returns a frequency distribution as a vertical array',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/frequency-function-44e3be2b-eca0-42cd-a3f7-fd9ea898fdb9',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMA: {
- description: 'Returns the Gamma function value',
- abstract: 'Returns the Gamma function value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gamma-function-ce1702b1-cf55-471d-8307-f83be0fc5297',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMA_DIST: {
- description: 'Returns the gamma distribution',
- abstract: 'Returns the gamma distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gamma-dist-function-9b6f1538-d11c-4d5f-8966-21f6a2201def',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMA_INV: {
- description: 'Returns the inverse of the gamma cumulative distribution',
- abstract: 'Returns the inverse of the gamma cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gamma-inv-function-74991443-c2b0-4be5-aaab-1aa4d71fbb18',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMALN: {
- description: 'Returns the natural logarithm of the gamma function, Γ(x)',
- abstract: 'Returns the natural logarithm of the gamma function, Γ(x)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gammaln-function-b838c48b-c65f-484f-9e1d-141c55470eb9',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAMMALN_PRECISE: {
- description: 'Returns the natural logarithm of the gamma function, Γ(x)',
- abstract: 'Returns the natural logarithm of the gamma function, Γ(x)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gammaln-precise-function-5cdfe601-4e1e-4189-9d74-241ef1caa599',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GAUSS: {
- description: 'Returns 0.5 less than the standard normal cumulative distribution',
- abstract: 'Returns 0.5 less than the standard normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/gauss-function-069f1b4e-7dee-4d6a-a71f-4b69044a6b33',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GEOMEAN: {
- description: 'Returns the geometric mean',
- abstract: 'Returns the geometric mean',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/geomean-function-db1ac48d-25a5-40a0-ab83-0b38980e40d5',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- GROWTH: {
- description: 'Returns values along an exponential trend',
- abstract: 'Returns values along an exponential trend',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/growth-function-541a91dc-3d5e-437d-b156-21324e68b80d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- HARMEAN: {
- description: 'Returns the harmonic mean',
- abstract: 'Returns the harmonic mean',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/harmean-function-5efd9184-fab5-42f9-b1d3-57883a1d3bc6',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- HYPGEOM_DIST: {
- description: 'Returns the hypergeometric distribution',
- abstract: 'Returns the hypergeometric distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/hypgeom-dist-function-6dbd547f-1d12-4b1f-8ae5-b0d9e3d22fbf',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- INTERCEPT: {
- description: 'Returns the intercept of the linear regression line',
- abstract: 'Returns the intercept of the linear regression line',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/intercept-function-2a9b74e2-9d47-4772-b663-3bca70bf63ef',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- KURT: {
- description: 'Returns the kurtosis of a data set',
- abstract: 'Returns the kurtosis of a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/kurt-function-bc3a265c-5da4-4dcb-b7fd-c237789095ab',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LARGE: {
- description: 'Returns the k-th largest value in a data set',
- abstract: 'Returns the k-th largest value in a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/large-function-3af0af19-1190-42bb-bb8b-01672ec00a64',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LINEST: {
- description: 'Returns the parameters of a linear trend',
- abstract: 'Returns the parameters of a linear trend',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/linest-function-84d7d0d9-6e50-4101-977a-fa7abf772b6d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LOGEST: {
- description: 'Returns the parameters of an exponential trend',
- abstract: 'Returns the parameters of an exponential trend',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/logest-function-f27462d8-3657-4030-866b-a272c1d18b4b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LOGNORM_DIST: {
- description: 'Returns the cumulative lognormal distribution',
- abstract: 'Returns the cumulative lognormal distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lognorm-dist-function-eb60d00b-48a9-4217-be2b-6074aee6b070',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LOGNORM_INV: {
- description: 'Returns the inverse of the lognormal cumulative distribution',
- abstract: 'Returns the inverse of the lognormal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lognorm-inv-function-fe79751a-f1f2-4af8-a0a1-e151b2d4f600',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- MAX: {
- description: 'Returns the largest value in a set of values.',
- abstract: 'Returns the maximum value in a list of arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/max-function-e0012414-9ac8-4b34-9a47-73e662c08098',
- },
- ],
- functionParameter: {
- number1: {
- name: 'nombre1',
- detail: 'The first number, cell reference, or range to calculate the maximum value from.',
- },
- number2: {
- name: 'nombre2',
- detail: 'Additional numbers, cell references or ranges to calculate the maximum value from, up to a maximum of 255.',
- },
- },
- },
- MAXA: {
- description: 'Returns the maximum value in a list of arguments, including numbers, text, and logical values.',
- abstract: 'Returns the maximum value in a list of arguments, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/maxa-function-814bda1e-3840-4bff-9365-2f59ac2ee62d',
- },
- ],
- functionParameter: {
- value1: { name: 'value1', detail: 'The first number argument for which you want to find the largest value.' },
- value2: { name: 'value2', detail: 'Number arguments 2 to 255 for which you want to find the largest value.' },
- },
- },
- MAXIFS: {
- description: 'Returns the maximum value among cells specified by a given set of conditions or criteria.',
- abstract: 'Returns the maximum value among cells specified by a given set of conditions or criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/maxifs-function-dfd611e6-da2c-488a-919b-9b6376b28883',
- },
- ],
- functionParameter: {
- maxRange: { name: 'sum_range', detail: 'The range of cells to max.' },
- criteriaRange1: { name: 'criteria_range1 ', detail: 'Is the set of cells to evaluate with the criteria.' },
- criteria1: { name: 'criteria1', detail: 'Is the criteria in the form of a number, expression, or text that defines which cells will be evaluated as maximum. ' },
- criteriaRange2: { name: 'criteriaRange2', detail: 'Additional ranges. You can enter up to 127 ranges.' },
- criteria2: { name: 'criteria2', detail: 'Additional associated criteria. You can enter up to 127 criteria.' },
- },
- },
- MEDIAN: {
- description: 'Returns the median of the given numbers',
- abstract: 'Returns the median of the given numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/median-function-d0916313-4753-414c-8537-ce85bdd967d2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- MIN: {
- description: 'Returns the smallest number in a set of values.',
- abstract: 'Returns the minimum value in a list of arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/min-function-61635d12-920f-4ce2-a70f-96f202dcc152',
- },
- ],
- functionParameter: {
- number1: {
- name: 'nombre1',
- detail: 'The first number, cell reference, or range to calculate the minimum value from.',
- },
- number2: {
- name: 'nombre2',
- detail: 'Additional numbers, cell references or ranges to calculate the minimum value from, up to a maximum of 255.',
- },
- },
- },
- MINA: {
- description: 'Returns the smallest value in a list of arguments, including numbers, text, and logical values',
- abstract: 'Returns the smallest value in a list of arguments, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mina-function-245a6f46-7ca5-4dc7-ab49-805341bc31d3',
- },
- ],
- functionParameter: {
- value1: { name: 'value1', detail: 'The first number, cell reference, or range to calculate the minimum value from.' },
- value2: { name: 'value2', detail: 'Additional numbers, cell references or ranges to calculate the minimum value from, up to a maximum of 255.' },
- },
- },
- MINIFS: {
- description: 'Returns the minimum value among cells specified by a given set of conditions or criteria.',
- abstract: 'Returns the minimum value among cells specified by a given set of conditions or criteria',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/minifs-function-6ca1ddaa-079b-4e74-80cc-72eef32e6599',
- },
- ],
- functionParameter: {
- minRange: { name: 'min_range', detail: 'The actual range of cells in which the minimum value will be determined.' },
- criteriaRange1: { name: 'criteria_range1', detail: 'Is the set of cells to evaluate with the criteria.' },
- criteria1: { name: 'criteria1', detail: 'Is the criteria in the form of a number, expression, or text that defines which cells will be evaluated as minimum. The same set of criteria works for the MAXIFS, SUMIFS and AVERAGEIFS functions.' },
- criteriaRange2: { name: 'criteria_range2', detail: 'Additional ranges. You can enter up to 127 range.' },
- criteria2: { name: 'criteria2', detail: 'Additional associated criteria. You can enter up to 127 criteria.' },
- },
- },
- MODE_MULT: {
- description: 'Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data',
- abstract: 'Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mode-mult-function-50fd9464-b2ba-4191-b57a-39446689ae8c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- MODE_SNGL: {
- description: 'Returns the most common value in a data set',
- abstract: 'Returns the most common value in a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mode-sngl-function-f1267c16-66c6-4386-959f-8fba5f8bb7f8',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NEGBINOM_DIST: {
- description: 'Returns the negative binomial distribution',
- abstract: 'Returns the negative binomial distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/negbinom-dist-function-c8239f89-c2d0-45bd-b6af-172e570f8599',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORM_DIST: {
- description: 'Returns the normal cumulative distribution',
- abstract: 'Returns the normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/norm-dist-function-edb1cc14-a21c-4e53-839d-8082074c9f8d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORM_INV: {
- description: 'Returns the inverse of the normal cumulative distribution',
- abstract: 'Returns the inverse of the normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/norm-inv-function-54b30935-fee7-493c-bedb-2278a9db7e13',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORM_S_DIST: {
- description: 'Returns the standard normal cumulative distribution',
- abstract: 'Returns the standard normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/norm-s-dist-function-1e787282-3832-4520-a9ae-bd2a8d99ba88',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NORM_S_INV: {
- description: 'Returns the inverse of the standard normal cumulative distribution',
- abstract: 'Returns the inverse of the standard normal cumulative distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/norm-s-inv-function-d6d556b4-ab7f-49cd-b526-5a20918452b1',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PEARSON: {
- description: 'Returns the Pearson product moment correlation coefficient',
- abstract: 'Returns the Pearson product moment correlation coefficient',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/pearson-function-0c3e30fc-e5af-49c4-808a-3ef66e034c18',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERCENTILE_EXC: {
- description: 'Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive',
- abstract: 'Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/percentile-exc-function-bbaa7204-e9e1-4010-85bf-c31dc5dce4ba',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERCENTILE_INC: {
- description: 'Returns the k-th percentile of values in a range',
- abstract: 'Returns the k-th percentile of values in a range',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/percentile-inc-function-680f9539-45eb-410b-9a5e-c1355e5fe2ed',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERCENTRANK_EXC: {
- description: 'Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set',
- abstract: 'Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/percentrank-exc-function-d8afee96-b7e2-4a2f-8c01-8fcdedaa6314',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERCENTRANK_INC: {
- description: 'Returns the percentage rank of a value in a data set',
- abstract: 'Returns the percentage rank of a value in a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/percentrank-inc-function-149592c9-00c0-49ba-86c1-c1f45b80463a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERMUT: {
- description: 'Returns the number of permutations for a given number of objects',
- abstract: 'Returns the number of permutations for a given number of objects',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/permut-function-3bd1cb9a-2880-41ab-a197-f246a7a602d3',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PERMUTATIONA: {
- description: 'Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects',
- abstract: 'Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/permutationa-function-6c7d7fdc-d657-44e6-aa19-2857b25cae4e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PHI: {
- description: 'Returns the value of the density function for a standard normal distribution',
- abstract: 'Returns the value of the density function for a standard normal distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/phi-function-23e49bc6-a8e8-402d-98d3-9ded87f6295c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- POISSON_DIST: {
- description: 'Returns the Poisson distribution',
- abstract: 'Returns the Poisson distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/poisson-dist-function-8fe148ff-39a2-46cb-abf3-7772695d9636',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PROB: {
- description: 'Returns the probability that values in a range are between two limits',
- abstract: 'Returns the probability that values in a range are between two limits',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/prob-function-9ac30561-c81c-4259-8253-34f0a238fc49',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- QUARTILE_EXC: {
- description: 'Returns the quartile of the data set, based on percentile values from 0..1, exclusive',
- abstract: 'Returns the quartile of the data set, based on percentile values from 0..1, exclusive',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/quartile-exc-function-5a355b7a-840b-4a01-b0f1-f538c2864cad',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- QUARTILE_INC: {
- description: 'Returns the quartile of a data set',
- abstract: 'Returns the quartile of a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/quartile-inc-function-1bbacc80-5075-42f1-aed6-47d735c4819d',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- RANK_AVG: {
- description: 'Returns the rank of a number in a list of numbers',
- abstract: 'Returns the rank of a number in a list of numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rank-avg-function-bd406a6f-eb38-4d73-aa8e-6d1c3c72e83a',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number whose rank you want to find.' },
- ref: { name: 'ref', detail: 'A reference to a list of numbers. Nonnumeric values in ref are ignored.' },
- order: { name: 'order', detail: 'A number specifying how to rank number. If order is 0 (zero) or omitted, Microsoft Excel ranks number as if ref were a list sorted in descending order. If order is any nonzero value, Microsoft Excel ranks number as if ref were a list sorted in ascending order.' },
- },
- },
- RANK_EQ: {
- description: 'Returns the rank of a number in a list of numbers',
- abstract: 'Returns the rank of a number in a list of numbers',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rank-eq-function-284858ce-8ef6-450e-b662-26245be04a40',
- },
- ],
- functionParameter: {
- number: { name: 'nombre', detail: 'The number whose rank you want to find.' },
- ref: { name: 'ref', detail: 'A reference to a list of numbers. Nonnumeric values in ref are ignored.' },
- order: { name: 'order', detail: 'A number specifying how to rank number. If order is 0 (zero) or omitted, Microsoft Excel ranks number as if ref were a list sorted in descending order. If order is any nonzero value, Microsoft Excel ranks number as if ref were a list sorted in ascending order.' },
- },
- },
- RSQ: {
- description: 'Returns the square of the Pearson product moment correlation coefficient',
- abstract: 'Returns the square of the Pearson product moment correlation coefficient',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rsq-function-d7161715-250d-4a01-b80d-a8364f2be08f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SKEW: {
- description: 'Returns the skewness of a distribution',
- abstract: 'Returns the skewness of a distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/skew-function-bdf49d86-b1ef-4804-a046-28eaea69c9fa',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SKEW_P: {
- description: 'Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean',
- abstract: 'Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/skew-p-function-76530a5c-99b9-48a1-8392-26632d542fcb',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SLOPE: {
- description: 'Returns the slope of the linear regression line',
- abstract: 'Returns the slope of the linear regression line',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/slope-function-11fb8f97-3117-4813-98aa-61d7e01276b9',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SMALL: {
- description: 'Returns the k-th smallest value in a data set',
- abstract: 'Returns the k-th smallest value in a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/small-function-17da8222-7c82-42b2-961b-14c45384df07',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- STANDARDIZE: {
- description: 'Returns a normalized value',
- abstract: 'Returns a normalized value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/standardize-function-81d66554-2d54-40ec-ba83-6437108ee775',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- STDEV_P: {
- description: 'Calculates standard deviation based on the entire population given as arguments (ignores logical values and text).',
- abstract: 'Calculates standard deviation based on the entire population',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/stdev-p-function-6e917c05-31a0-496f-ade7-4f4e7462f285',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number argument corresponding to a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- },
- },
- STDEV_S: {
- description: 'Estimates standard deviation based on a sample (ignores logical values and text in the sample).',
- abstract: 'Estimates standard deviation based on a sample',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/stdev-s-function-7d69cf97-0c1f-4acf-be27-f3e83904cc23',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number argument corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 254 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- },
- },
- STDEVA: {
- description: 'Estimates standard deviation based on a sample, including numbers, text, and logical values.',
- abstract: 'Estimates standard deviation based on a sample, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/stdeva-function-5ff38888-7ea5-48de-9a6d-11ed73b29e9d',
- },
- ],
- functionParameter: {
- value1: { name: 'value1', detail: 'The first value argument corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- value2: { name: 'value2', detail: 'Value arguments 2 to 254 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- },
- },
- STDEVPA: {
- description: 'Calculates standard deviation based on the entire population given as arguments, including text and logical values.',
- abstract: 'Calculates standard deviation based on the entire population, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/stdevpa-function-5578d4d6-455a-4308-9991-d405afe2c28c',
- },
- ],
- functionParameter: {
- value1: { name: 'value1', detail: 'The first value argument corresponding to a population.' },
- value2: { name: 'value2', detail: 'Value arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.' },
- },
- },
- STEYX: {
- description: 'Returns the standard error of the predicted y-value for each x in the regression',
- abstract: 'Returns the standard error of the predicted y-value for each x in the regression',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/steyx-function-6ce74b2c-449d-4a6e-b9ac-f9cef5ba48ab',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T_DIST: {
- description: 'Returns the Percentage Points (probability) for the Student t-distribution',
- abstract: 'Returns the Percentage Points (probability) for the Student t-distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-dist-function-4329459f-ae91-48c2-bba8-1ead1c6c21b2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T_DIST_2T: {
- description: 'Returns the Percentage Points (probability) for the Student t-distribution',
- abstract: 'Returns the Percentage Points (probability) for the Student t-distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-dist-2t-function-198e9340-e360-4230-bd21-f52f22ff5c28',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T_DIST_RT: {
- description: 'Returns the Student\'s t-distribution',
- abstract: 'Returns the Student\'s t-distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-dist-rt-function-20a30020-86f9-4b35-af1f-7ef6ae683eda',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T_INV: {
- description: 'Returns the t-value of the Student\'s t-distribution as a function of the probability and the degrees of freedom',
- abstract: 'Returns the t-value of the Student\'s t-distribution as a function of the probability and the degrees of freedom',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-inv-function-2908272b-4e61-4942-9df9-a25fec9b0e2e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T_INV_2T: {
- description: 'Returns the inverse of the Student\'s t-distribution',
- abstract: 'Returns the inverse of the Student\'s t-distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-inv-2t-function-ce72ea19-ec6c-4be7-bed2-b9baf2264f17',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T_TEST: {
- description: 'Returns the probability associated with a Student\'s t-test',
- abstract: 'Returns the probability associated with a Student\'s t-test',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-test-function-d4e08ec3-c545-485f-962e-276f7cbed055',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TREND: {
- description: 'Returns values along a linear trend',
- abstract: 'Returns values along a linear trend',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/trend-function-e2f135f0-8827-4096-9873-9a7cf7b51ef1',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TRIMMEAN: {
- description: 'Returns the mean of the interior of a data set',
- abstract: 'Returns the mean of the interior of a data set',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/trimmean-function-d90c9878-a119-4746-88fa-63d988f511d3',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- VAR_P: {
- description: 'Calculates variance based on the entire population (ignores logical values and text in the population).',
- abstract: 'Calculates variance based on the entire population',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/var-p-function-73d1285c-108c-4843-ba5d-a51f90656f3a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number argument corresponding to a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 254 corresponding to a population.' },
- },
- },
- VAR_S: {
- description: 'Estimates variance based on a sample (ignores logical values and text in the sample).',
- abstract: 'Estimates variance based on a sample',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/var-s-function-913633de-136b-449d-813e-65a00b2b990b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'The first number argument corresponding to a sample of a population.' },
- number2: { name: 'nombre2', detail: 'Number arguments 2 to 254 corresponding to a sample of a population.' },
- },
- },
- VARA: {
- description: 'Estimates variance based on a sample, including numbers, text, and logical values',
- abstract: 'Estimates variance based on a sample, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/vara-function-3de77469-fa3a-47b4-85fd-81758a1e1d07',
- },
- ],
- functionParameter: {
- value1: { name: 'value1', detail: 'The value number argument corresponding to a sample of a population.' },
- value2: { name: 'value2', detail: 'Value arguments 2 to 254 corresponding to a sample of a population.' },
- },
- },
- VARPA: {
- description: 'Calculates variance based on the entire population, including numbers, text, and logical values',
- abstract: 'Calculates variance based on the entire population, including numbers, text, and logical values',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/varpa-function-59a62635-4e89-4fad-88ac-ce4dc0513b96',
- },
- ],
- functionParameter: {
- value1: { name: 'value1', detail: 'The first value argument corresponding to a population.' },
- value2: { name: 'value2', detail: 'Value arguments 2 to 254 corresponding to a population.' },
- },
- },
- WEIBULL_DIST: {
- description: 'Returns the Weibull distribution',
- abstract: 'Returns the Weibull distribution',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/weibull-dist-function-4e783c39-9325-49be-bbc9-a83ef82b45db',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- Z_TEST: {
- description: 'Returns the one-tailed probability-value of a z-test',
- abstract: 'Returns the one-tailed probability-value of a z-test',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/z-test-function-d633d5a3-2031-4614-a016-92180ad82bee',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/ja-JP.ts
index 63fd0754fd..07b53a0ecc 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: 'データ全体の平均値に対するそれぞれのデータの絶対偏差の平均を返します。',
abstract: 'データ全体の平均値に対するそれぞれのデータの絶対偏差の平均を返します',
@@ -904,8 +906,14 @@ export default {
},
],
functionParameter: {
- value1: { name: '数値 1', detail: '最大の値を見つけるため、最初の数値引数を指定します。' },
- value2: { name: '数値 2', detail: '最大の値を見つけるため、2 ~ 255 個までの数値引数を指定します。' },
+ number1: {
+ name: '数値 1',
+ detail: '最大の値を見つけるため、最初の数値引数を指定します。',
+ },
+ number2: {
+ name: '数値 2',
+ detail: '最大の値を見つけるため、2 ~ 255 個までの数値引数を指定します。',
+ },
},
},
MAXA: {
@@ -1662,3 +1670,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/ko-KR.ts
index a3710d55e2..c06bf594e0 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: '데이터 요소와 평균의 절대 편차의 평균을 반환합니다',
abstract: '데이터 요소와 평균의 절대 편차의 평균을 반환합니다',
@@ -43,6 +45,22 @@ export default {
number2: { name: 'number2', detail: '평균을 구하려는 추가 숫자, 셀 참조 또는 범위로 최대 255개입니다.' },
},
},
+ AVERAGE_WEIGHTED: {
+ description: 'Finds the weighted average of a set of values, given the values and the corresponding weights.',
+ abstract: 'Finds the weighted average of a set of values, given the values and the corresponding weights.',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.google.com/docs/answer/9084098?hl=en&ref_topic=3105600&sjid=2155433538747546473-AP',
+ },
+ ],
+ functionParameter: {
+ values: { name: 'values', detail: '要计算平均数的值。' },
+ weights: { name: 'weights', detail: '要应用的相应权重列表。' },
+ additionalValues: { name: 'additional_values', detail: '要计算平均数的其他值。' },
+ additionalWeights: { name: 'additional_weights', detail: '要应用的其他权重。' },
+ },
+ },
AVERAGEA: {
description: '인수의 평균(산술 평균)을 반환합니다(숫자, 텍스트 및 논리값 포함)',
abstract: '인수의 평균(산술 평균)을 반환합니다(숫자, 텍스트 및 논리값 포함)',
@@ -310,8 +328,14 @@ export default {
},
],
functionParameter: {
- value1: { name: 'value1', detail: '개수를 구하려는 첫 번째 인수입니다.' },
- value2: { name: 'value2', detail: '개수를 구하려는 추가 인수로 최대 255개입니다.' },
+ number1: {
+ name: 'value1',
+ detail: '개수를 구하려는 첫 번째 인수입니다.',
+ },
+ number2: {
+ name: 'value2',
+ detail: '개수를 구하려는 추가 인수로 최대 255개입니다.',
+ },
},
},
COUNTBLANK: {
@@ -530,6 +554,62 @@ export default {
knownXs: { name: 'known_xs', detail: '독립 배열이나 데이터 범위입니다.' },
},
},
+ FORECAST_ETS: {
+ description: 'Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm',
+ abstract: 'Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ FORECAST_ETS_CONFINT: {
+ description: 'Returns a confidence interval for the forecast value at the specified target date',
+ abstract: 'Returns a confidence interval for the forecast value at the specified target date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.CONFINT',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ FORECAST_ETS_SEASONALITY: {
+ description: 'Returns the length of the repetitive pattern Excel detects for the specified time series',
+ abstract: 'Returns the length of the repetitive pattern Excel detects for the specified time series',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.SEASONALITY',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ FORECAST_ETS_STAT: {
+ description: 'Returns a statistical value as a result of time series forecasting',
+ abstract: 'Returns a statistical value as a result of time series forecasting',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.STAT',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
FORECAST_LINEAR: {
description: '기존 값을 기반으로 미래 값을 반환합니다',
abstract: '기존 값을 기반으로 미래 값을 반환합니다',
@@ -669,7 +749,7 @@ export default {
knownYs: { name: 'known_ys', detail: '관계 b*m^x에서 이미 알고 있는 y 값의 집합입니다.' },
knownXs: { name: 'known_xs', detail: '관계 b*m^x에서 이미 알고 있는 x 값의 선택적 집합입니다.' },
newXs: { name: 'new_xs', detail: 'GROWTH가 해당 y 값을 반환하도록 하려는 새 x 값입니다.' },
- const: { name: 'const', detail: '상수 b를 1과 같도록 강제할지 여부를 지정하는 논리값입니다.' },
+ constb: { name: 'const', detail: '상수 b를 1과 같도록 강제할지 여부를 지정하는 논리값입니다.' },
},
},
HARMEAN: {
@@ -757,7 +837,7 @@ export default {
functionParameter: {
knownYs: { name: 'known_ys', detail: 'y = mx + b 관계에서 이미 알고 있는 y 값의 집합입니다.' },
knownXs: { name: 'known_xs', detail: 'y = mx + b 관계에서 이미 알고 있는 x 값의 선택적 집합입니다.' },
- const: { name: 'const', detail: '상수 b를 0으로 강제할지 여부를 지정하는 논리값입니다.' },
+ constb: { name: 'const', detail: '상수 b를 0으로 강제할지 여부를 지정하는 논리값입니다.' },
stats: { name: 'stats', detail: '추가 회귀 통계를 반환할지 여부를 지정하는 논리값입니다.' },
},
},
@@ -773,7 +853,7 @@ export default {
functionParameter: {
knownYs: { name: 'known_ys', detail: 'y = b*m^x 관계에서 이미 알고 있는 y 값의 집합입니다.' },
knownXs: { name: 'known_xs', detail: 'y = b*m^x 관계에서 이미 알고 있는 x 값의 선택적 집합입니다.' },
- const: { name: 'const', detail: '상수 b를 1과 같도록 강제할지 여부를 지정하는 논리값입니다.' },
+ constb: { name: 'const', detail: '상수 b를 1과 같도록 강제할지 여부를 지정하는 논리값입니다.' },
stats: { name: 'stats', detail: '추가 회귀 통계를 반환할지 여부를 지정하는 논리값입니다.' },
},
},
@@ -808,6 +888,20 @@ export default {
standardDev: { name: 'standard_dev', detail: 'ln(x)의 표준 편차입니다.' },
},
},
+ MARGINOFERROR: {
+ description: 'Calculates the margin of error from a range of values and a confidence level.',
+ abstract: 'Calculates the margin of error from a range of values and a confidence level.',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.google.com/docs/answer/12487850?hl=en&sjid=11250989209896695200-AP',
+ },
+ ],
+ functionParameter: {
+ range: { name: 'range', detail: 'The range of values used to calculate the margin of error.' },
+ confidence: { name: 'confidence', detail: 'The desired confidence level between (0, 1).' },
+ },
+ },
MAX: {
description: '인수 목록에서 최대값을 반환합니다',
abstract: '인수 목록에서 최대값을 반환합니다',
@@ -1226,8 +1320,8 @@ export default {
},
],
functionParameter: {
- knownYs: { name: 'known_ys', detail: '데이터 요소의 배열 또는 범위입니다.' },
- knownXs: { name: 'known_xs', detail: '데이터 요소의 배열 또는 범위입니다.' },
+ array1: { name: 'array1', detail: 'The dependent array or range of data.' },
+ array2: { name: 'array2', detail: 'The independent array or range of data.' },
},
},
SKEW: {
@@ -1454,6 +1548,8 @@ export default {
functionParameter: {
array1: { name: 'array1', detail: '데이터의 첫 번째 집합입니다.' },
array2: { name: 'array2', detail: '데이터의 두 번째 집합입니다.' },
+ tails: { name: 'tails', detail: 'Specifies the number of distribution tails. If tails = 1, T.TEST uses the one-tailed distribution. If tails = 2, T.TEST uses the two-tailed distribution.' },
+ type: { name: 'type', detail: 'The kind of t-Test to perform.' },
},
},
TREND: {
@@ -1469,7 +1565,7 @@ export default {
knownYs: { name: 'known_ys', detail: '관계 y = mx + b에서 이미 알고 있는 y 값의 집합입니다.' },
knownXs: { name: 'known_xs', detail: '관계 y = mx + b에서 이미 알고 있는 x 값의 선택적 집합입니다.' },
newXs: { name: 'new_xs', detail: 'TREND가 해당 y 값을 반환하도록 하려는 새 x 값입니다.' },
- const: { name: 'const', detail: '상수 b를 0으로 강제할지 여부를 지정하는 논리값입니다.' },
+ constb: { name: 'const', detail: '상수 b를 0으로 강제할지 여부를 지정하는 논리값입니다.' },
},
},
TRIMMEAN: {
@@ -1574,3 +1670,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/ru-RU.ts
index 621cf9f53a..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/ru-RU.ts
@@ -16,266 +16,6 @@
import enUS from './en-US';
-export default enUS;
+const locale = enUS;
-// export default {
-// AVEDEV: {
-// description: 'Возвращает среднее абсолютное отклонение значений выборки от их среднего арифметического',
-// abstract: 'Возвращает среднее абсолютное отклонение значений выборки от их среднего арифметического',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-avedev-58fe8d65-2a84-4dc7-8052-f3f87b5c6639',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// AVERAGE: {
-// description: 'Возвращает среднее арифметическое аргументов.',
-// abstract: 'Возвращает среднее арифметическое аргументов',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-average-047bac88-d466-426c-a32b-8f33eb960cf6',
-// },
-// ],
-// functionParameter: {
-// number1: {
-// name: 'number1',
-// detail: 'Первое число, ссылка на ячейку или диапазон, для которого требуется вычислить среднее арифметическое.',
-// },
-// number2: {
-// name: 'number2',
-// detail: 'Дополнительные числа, ссылки на ячейки или диапазоны, для которых требуется вычислить среднее арифметическое, максимум 255.',
-// },
-// },
-// },
-// AVERAGEA: {
-// description: 'Возвращает среднее арифметическое своих аргументов, включая числа, текст и логические значения',
-// abstract: 'Возвращает среднее арифметическое своих аргументов, включая числа, текст и логические значения',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-averagea-f5f84098-d453-4f4c-bbba-3d2c66356091',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// AVERAGEIF: {
-// description: 'Возвращает среднее арифметическое всех ячеек в диапазоне, удовлетворяющих заданному критерию',
-// abstract: 'Возвращает среднее арифметическое всех ячеек в диапазоне, удовлетворяющих заданному критерию',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-averageif-faec8e2e-0dec-4308-af69-f5576d8ac642',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// AVERAGEIFS: {
-// description: 'Возвращает среднее арифметическое всех ячеек, удовлетворяющих нескольким критериям',
-// abstract: 'Возвращает среднее арифметическое всех ячеек, удовлетворяющих нескольким критериям',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-averageifs-48910c45-1fc0-4389-a028-f7c5c3001690',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// BETA_DIST: {
-// description: 'Возвращает бета-функцию плотности вероятности',
-// abstract: 'Возвращает бета-функцию плотности вероятности',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-beta-dist-11188c9c-780a-42c7-ba43-9ecb5a878d31',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// BETA_INV: {
-// description: 'Возвращает обратное значение функции бета-распределения',
-// abstract: 'Возвращает обратное значение функции бета-распределения',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-beta-inv-e84cb8aa-8df0-4cf6-9892-83a341d252eb',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// BINOM_DIST: {
-// description: 'Возвращает индивидуальное биномиальное распределение вероятностей',
-// abstract: 'Возвращает индивидуальное биномиальное распределение вероятностей',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-binom-dist-c5ae37b6-f39c-4be2-94c2-509a1480770c',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// BINOM_DIST_RANGE: {
-// description: 'Возвращает вероятность результата испытания с использованием биномиального распределения',
-// abstract: 'Возвращает вероятность результата испытания с использованием биномиального распределения',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-binom-dist-range-17331329-74c7-4053-bb4c-6653a7421595',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// BINOM_INV: {
-// description: 'Возвращает наименьшее значение, для которого кумулятивное биномиальное распределение меньше или равно критерию',
-// abstract: 'Возвращает наименьшее значение, для которого кумулятивное биномиальное распределение меньше или равно критериальному значению',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-binom-inv-80a0370c-ada6-49b4-83e7-05a91ba77ac9',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CHISQ_DIST: {
-// description: 'Возвращает кумулятивную бета-функцию плотности вероятности',
-// abstract: 'Возвращает кумулятивную бета-функцию плотности вероятности',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-chisq-dist-8486b05e-5c05-4942-a9ea-f6b341518732',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CHISQ_DIST_RT: {
-// description: 'Возвращает одностороннюю вероятность распределения хи-квадрат',
-// abstract: 'Возвращает одностороннюю вероятность распределения хи-квадрат',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-chisq-dist-rt-dc4832e8-ed2b-49ae-8d7c-b28d5804c0f2',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CHISQ_INV: {
-// description: 'Возвращает кумулятивную бета-функцию плотности вероятности',
-// abstract: 'Возвращает кумулятивную бета-функцию плотности вероятности',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-chisq-inv-400db556-62b3-472d-80b3-254723e7092f',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CHISQ_INV_RT: {
-// description: 'Возвращает обратное значение односторонней вероятности распределения хи-квадрат',
-// abstract: 'Возвращает обратное значение односторонней вероятности распределения хи-квадрат',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-chisq-inv-rt-435b5ed8-98d5-4da6-823f-293e2cbc94fe',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CHISQ_TEST: {
-// description: 'Возвращает тест на независимость',
-// abstract: 'Возвращает тест на независимость',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-chisq-test-2e8a7861-b14a-4985-aa93-fb88de3f260f',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CONFIDENCE_NORM: {
-// description: 'Возвращает доверительный интервал для среднего значения генеральной совокупности',
-// abstract: 'Возвращает доверительный интервал для среднего значения генеральной совокупности',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-confidence-norm-7cec58a6-85bb-488d-91c3-63828d4fbfd4',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CONFIDENCE_T: {
-// description: 'Возвращает доверительный интервал для среднего значения генеральной совокупности с использованием распределения Стьюдента',
-// abstract: 'Возвращает доверительный интервал для среднего значения генеральной совокупности с использованием распределения Стьюдента',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-confidence-t-e8eca395-6c3a-4ba9-9003-79ccc61d3c53',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// CORREL: {
-// description: 'Возвращает коэффициент корреляции между двумя наборами данных',
-// abstract: 'Возвращает коэффициент корреляции между двумя наборами данных',
-// links: [
-// {
-// title: 'Инструкция',
-// url: 'https://support.microsoft.com/ru-ru/office/функция-correl-995dcef7-0c0a-4bed-a3fb-239d7b68ca92',
-// },
-// ],
-// functionParameter: {
-// number1: { name: 'number1', detail: 'первое' },
-// number2: { name: 'number2', detail: 'второе' },
-// },
-// },
-// //TODO: Закончить перевод(честно говоря, я устал, слишком много его)
-// };
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/vi-VN.ts
index f5538fbf85..be63fb225c 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: 'Trả về giá trị trung bình của độ lệch tuyệt đối của các điểm dữ liệu từ giá trị trung bình của chúng.',
abstract: 'Trả về giá trị trung bình của độ lệch tuyệt đối của các điểm dữ liệu từ giá trị trung bình của chúng.',
@@ -559,6 +561,62 @@ export default {
knownXs: { name: 'mảng _x', detail: 'Mảng độc lập của mảng hoặc phạm vi dữ liệu.' },
},
},
+ FORECAST_ETS: {
+ description: 'Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm',
+ abstract: 'Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ FORECAST_ETS_CONFINT: {
+ description: 'Returns a confidence interval for the forecast value at the specified target date',
+ abstract: 'Returns a confidence interval for the forecast value at the specified target date',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.CONFINT',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ FORECAST_ETS_SEASONALITY: {
+ description: 'Returns the length of the repetitive pattern Excel detects for the specified time series',
+ abstract: 'Returns the length of the repetitive pattern Excel detects for the specified time series',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.SEASONALITY',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ FORECAST_ETS_STAT: {
+ description: 'Returns a statistical value as a result of time series forecasting',
+ abstract: 'Returns a statistical value as a result of time series forecasting',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/forecasting-functions-reference-897a2fe9-6595-4680-a0b0-93e0308d5f6e#_FORECAST.ETS.STAT',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
FORECAST_LINEAR: {
description: 'Trả về giá trị tương lai dựa trên giá trị hiện tại',
abstract: 'Trả về giá trị tương lai dựa trên giá trị hiện tại',
@@ -1631,3 +1689,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-CN.ts
index 44e779aa30..7281b00ec7 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: '返回数据点与它们的平均值的绝对偏差平均值。',
abstract: '返回数据点与它们的平均值的绝对偏差平均值',
@@ -1699,3 +1701,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-TW.ts
index 4fb54bd077..ab13378179 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/statistical/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
AVEDEV: {
description: '傳回資料點與它們的平均值的絕對偏差平均值。 ',
abstract: '返回資料點與它們的平均值的絕對偏差平均值',
@@ -1549,7 +1551,7 @@ export default {
],
functionParameter: {
probability: { name: '機率', detail: '與學生的 t 分佈相關的機率。' },
- dedegFreedom: { name: '自由度', detail: '一個表示自由度數的整數。' },
+ degFreedom: { name: '自由度', detail: '一個表示自由度數的整數。' },
},
},
T_INV_2T: {
@@ -1563,7 +1565,7 @@ export default {
],
functionParameter: {
probability: { name: '機率', detail: '與學生的 t 分佈相關的機率。' },
- dedegFreedom: { name: '自由度', detail: '一個表示自由度數的整數。' },
+ degFreedom: { name: '自由度', detail: '一個表示自由度數的整數。' },
},
},
T_TEST: {
@@ -1700,3 +1702,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/text/ca-ES.ts
index ec1fe64c6c..900a391e3c 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: 'Canvia les lletres angleses o katakana d\'amplada completa (doble byte) dins d\'una cadena de caràcters a caràcters d\'amplada mitjana (un sol byte)',
abstract: 'Canvia les lletres angleses o katakana d\'amplada completa (doble byte) dins d\'una cadena de caràcters a caràcters d\'amplada mitjana (un sol byte)',
@@ -743,3 +745,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/text/en-US.ts
index 489bb9fcef..50fc70d1e0 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
ASC: {
description: 'Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters',
abstract: 'Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters',
@@ -743,3 +743,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/text/es-ES.ts
index 622c2fd164..afdd41a90a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: 'Cambia las letras inglesas o katakana de ancho completo (doble byte) dentro de una cadena de caracteres a caracteres de ancho medio (un solo byte)',
abstract: 'Cambia las letras inglesas o katakana de ancho completo (doble byte) dentro de una cadena de caracteres a caracteres de ancho medio (un solo byte)',
@@ -743,3 +745,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/text/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/text/fr-FR.ts
index 411d1b9e69..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/fr-FR.ts
@@ -14,690 +14,8 @@
* limitations under the License.
*/
-export default {
- ASC: {
- description: 'Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters',
- abstract: 'Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/asc-function-0b6abf1c-c663-4004-a964-ebc00b723266',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- ARRAYTOTEXT: {
- description: 'Returns an array of text values from any specified range',
- abstract: 'Returns an array of text values from any specified range',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/arraytotext-function-9cdcad46-2fa5-4c6b-ac92-14e7bc862b8b',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- BAHTTEXT: {
- description: 'Converts a number to text, using the ß (baht) currency format',
- abstract: 'Converts a number to text, using the ß (baht) currency format',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/bahttext-function-5ba4d0b4-abd3-4325-8d22-7a92d59aab9c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CHAR: {
- description: 'Returns the character specified by the code number',
- abstract: 'Returns the character specified by the code number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/char-function-bbd249c8-b36e-4a91-8017-1c133f9b837a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CLEAN: {
- description: 'Removes all nonprintable characters from text',
- abstract: 'Removes all nonprintable characters from text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/clean-function-26f3d7c5-475f-4a9c-90e5-4b8ba987ba41',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CODE: {
- description: 'Returns a numeric code for the first character in a text string',
- abstract: 'Returns a numeric code for the first character in a text string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/code-function-c32b692b-2ed0-4a04-bdd9-75640144b928',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CONCAT: {
- description: 'Combines the text from multiple ranges and/or strings, but it doesn\'t provide the delimiter or IgnoreEmpty arguments.',
- abstract: 'Combines the text from multiple ranges and/or strings, but it doesn\'t provide the delimiter or IgnoreEmpty arguments',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/concat-function-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2',
- },
- ],
- functionParameter: {
- text1: { name: 'text1', detail: 'Text item to be joined. A string, or array of strings, such as a range of cells.' },
- text2: { name: 'text2', detail: 'Additional text items to be joined. There can be a maximum of 253 text arguments for the text items. Each can be a string, or array of strings, such as a range of cells.' },
- },
- },
- CONCATENATE: {
- description: 'Joins several text items into one text item',
- abstract: 'Joins several text items into one text item',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d',
- },
- ],
- functionParameter: {
- text1: { name: 'text1', detail: 'The first item to join. The item can be a text value, number, or cell reference.' },
- text2: { name: 'text2', detail: 'Additional text items to join. You can have up to 255 items, up to a total of 8,192 characters.' },
- },
- },
- DBCS: {
- description: 'Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters',
- abstract: 'Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dbcs-function-a4025e73-63d2-4958-9423-21a24794c9e5',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- DOLLAR: {
- description: 'Converts a number to text, using the $ (dollar) currency format',
- abstract: 'Converts a number to text, using the $ (dollar) currency format',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/dollar-function-a6cd05d9-9740-4ad3-a469-8109d18ff611',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- EXACT: {
- description: 'Checks to see if two text values are identical',
- abstract: 'Checks to see if two text values are identical',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/exact-function-d3087698-fc15-4a15-9631-12575cf29926',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FIND: {
- description: 'Finds one text value within another (case-sensitive)',
- abstract: 'Finds one text value within another (case-sensitive)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/find-findb-functions-c7912941-af2a-4bdf-a553-d0d89b0a0628',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FINDB: {
- description: 'Finds one text value within another (case-sensitive)',
- abstract: 'Finds one text value within another (case-sensitive)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/find-findb-functions-c7912941-af2a-4bdf-a553-d0d89b0a0628',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FIXED: {
- description: 'Formats a number as text with a fixed number of decimals',
- abstract: 'Formats a number as text with a fixed number of decimals',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/fixed-function-ffd5723c-324c-45e9-8b96-e41be2a8274a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LEFT: {
- description: 'Returns the leftmost characters from a text value',
- abstract: 'Returns the leftmost characters from a text value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/left-leftb-functions-9203d2d2-7960-479b-84c6-1ea52b99640c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- LEFTB: {
- description: 'Returns the leftmost characters from a text value',
- abstract: 'Returns the leftmost characters from a text value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/left-leftb-functions-9203d2d2-7960-479b-84c6-1ea52b99640c',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text string that contains the characters you want to extract.' },
- numBytes: { name: 'num_bytes', detail: 'Specifies the number of characters you want LEFTB to extract, based on bytes.' },
- },
- },
- LEN: {
- description: 'Returns the number of characters in a text string',
- abstract: 'Returns the number of characters in a text string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/len-lenb-functions-29236f94-cedc-429d-affd-b5e33d2c67cb',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text whose length you want to find. Spaces count as characters.' },
- },
- },
- LENB: {
- description: 'Returns the number of bytes used to represent the characters in a text string.',
- abstract: 'Returns the number of bytes used to represent the characters in a text string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/len-lenb-functions-29236f94-cedc-429d-affd-b5e33d2c67cb',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text whose length you want to find. Spaces count as characters.' },
- },
- },
- LOWER: {
- description: 'Converts text to lowercase.',
- abstract: 'Converts text to lowercase',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/lower-function-3f21df02-a80c-44b2-afaf-81358f9fdeb4',
- },
- ],
- functionParameter: {
- text: {
- name: 'text',
- detail: 'The text you want to convert to lowercase. LOWER does not change characters in text that are not letters.',
- },
- },
- },
- MID: {
- description: 'Returns a specific number of characters from a text string starting at the position you specify.',
- abstract: 'Returns a specific number of characters from a text string starting at the position you specify',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mid-midb-functions-d5f9e25c-d7d6-472e-b568-4ecb12433028',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text string containing the characters you want to extract.' },
- startNum: { name: 'start_num', detail: 'The position of the first character you want to extract in text. The first character in text has start_num 1, and so on.\nIf start_num is greater than the length of text, MID/MIDB returns "" (empty text).\nIf start_num is less than the length of text, but start_num plus num_chars exceeds the length of text, MID/MIDB returns the characters up to the end of text.\nIf start_num is less than 1, MID/MIDB returns the #VALUE! error value.' },
- numChars: { name: 'num_chars', detail: 'Specifies the number of characters you want MID to return from text.\nIf num_chars is negative, MID returns the #VALUE! error value.' },
- },
- },
- MIDB: {
- description: 'Returns a specific number of characters from a text string starting at the position you specify',
- abstract: 'Returns a specific number of characters from a text string starting at the position you specify',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/mid-midb-functions-d5f9e25c-d7d6-472e-b568-4ecb12433028',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- NUMBERSTRING: {
- description: 'Convertir des nombres en chaînes chinoises',
- abstract: 'Convertir des nombres en chaînes chinoises',
- links: [
- {
- title: 'guide',
- url: 'https://www.wps.cn/learning/course/detail/id/340.html?chan=pc_kdocs_function',
- },
- ],
- functionParameter: {
- number: { name: 'numérique', detail: 'La valeur numérique convertie en chaîne chinoise.' },
- type: { name: 'type', detail: 'Le type du résultat renvoyé. \n1. Minuscules chinoises \n2. Mettre les caractères chinois en majuscules \n3. Lire et écrire des caractères chinois' },
- },
- },
- NUMBERVALUE: {
- description: 'Converts text to number in a locale-independent manner',
- abstract: 'Converts text to number in a locale-independent manner',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/numbervalue-function-1b05c8cf-2bfa-4437-af70-596c7ea7d879',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PHONETIC: {
- description: 'Extracts the phonetic (furigana) characters from a text string',
- abstract: 'Extracts the phonetic (furigana) characters from a text string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/phonetic-function-9a329dac-0c0f-42f8-9a55-639086988554',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- PROPER: {
- description: 'Capitalizes the first letter in each word of a text value',
- abstract: 'Capitalizes the first letter in each word of a text value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/proper-function-52a5a283-e8b2-49be-8506-b2887b889f94',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- REPLACE: {
- description: 'Replaces characters within text',
- abstract: 'Replaces characters within text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/replace-replaceb-functions-8d799074-2425-4a8a-84bc-82472868878a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- REPLACEB: {
- description: 'Replaces characters within text',
- abstract: 'Replaces characters within text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/replace-replaceb-functions-8d799074-2425-4a8a-84bc-82472868878a',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- REPT: {
- description: 'Repeats text a given number of times',
- abstract: 'Repeats text a given number of times',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/rept-function-04c4d778-e712-43b4-9c15-d656582bb061',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text you want to repeat.' },
- numberTimes: { name: 'nombre_times', detail: 'A positive number specifying the number of times to repeat text.' },
- },
- },
- RIGHT: {
- description: 'Returns the rightmost characters from a text value',
- abstract: 'Returns the rightmost characters from a text value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/right-rightb-functions-240267ee-9afa-4639-a02b-f19e1786cf2f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- RIGHTB: {
- description: 'Returns the rightmost characters from a text value',
- abstract: 'Returns the rightmost characters from a text value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/right-rightb-functions-240267ee-9afa-4639-a02b-f19e1786cf2f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SEARCH: {
- description: 'Finds one text value within another (not case-sensitive)',
- abstract: 'Finds one text value within another (not case-sensitive)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/search-searchb-functions-9ab04538-0e55-4719-a72e-b6f54513b495',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SEARCHB: {
- description: 'Finds one text value within another (not case-sensitive)',
- abstract: 'Finds one text value within another (not case-sensitive)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/search-searchb-functions-9ab04538-0e55-4719-a72e-b6f54513b495',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- SUBSTITUTE: {
- description: 'Substitutes new text for old text in a text string',
- abstract: 'Substitutes new text for old text in a text string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/substitute-function-6434944e-a904-4336-a9b0-1e58df3bc332',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- T: {
- description: 'Converts its arguments to text',
- abstract: 'Converts its arguments to text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/t-function-fb83aeec-45e7-4924-af95-53e073541228',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TEXT: {
- description: 'Formats a number and converts it to text',
- abstract: 'Formats a number and converts it to text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c',
- },
- ],
- functionParameter: {
- value: { name: 'value', detail: 'A numeric value that you want to be converted into text.' },
- formatText: { name: 'format_text', detail: 'A text string that defines the formatting that you want to be applied to the supplied value.' },
- },
- },
- TEXTAFTER: {
- description: 'Returns text that occurs after given character or string',
- abstract: 'Returns text that occurs after given character or string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/textafter-function-c8db2546-5b51-416a-9690-c7e6722e90b4',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text you are searching within. Wildcard characters not allowed.' },
- delimiter: { name: 'delimiter', detail: 'The text that marks the point after which you want to extract.' },
- instanceNum: { name: 'instance_num', detail: 'The instance of the delimiter after which you want to extract the text.' },
- matchMode: { name: 'match_mode', detail: 'Determines whether the text search is case-sensitive. The default is case-sensitive.' },
- matchEnd: { name: 'match_end', detail: 'Treats the end of text as a delimiter. By default, the text is an exact match.' },
- ifNotFound: { name: 'if_not_found', detail: 'Value returned if no match is found. By default, #N/A is returned.' },
- },
- },
- TEXTBEFORE: {
- description: 'Returns text that occurs before a given character or string',
- abstract: 'Returns text that occurs before a given character or string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/textbefore-function-d099c28a-dba8-448e-ac6c-f086d0fa1b29',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text you are searching within. Wildcard characters not allowed.' },
- delimiter: { name: 'delimiter', detail: 'The text that marks the point after which you want to extract.' },
- instanceNum: { name: 'instance_num', detail: 'The instance of the delimiter after which you want to extract the text.' },
- matchMode: { name: 'match_mode', detail: 'Determines whether the text search is case-sensitive. The default is case-sensitive.' },
- matchEnd: { name: 'match_end', detail: 'Treats the end of text as a delimiter. By default, the text is an exact match.' },
- ifNotFound: { name: 'if_not_found', detail: 'Value returned if no match is found. By default, #N/A is returned.' },
- },
- },
- TEXTJOIN: {
- description: 'Text: Combines the text from multiple ranges and/or strings',
- abstract: 'Text: Combines the text from multiple ranges and/or strings',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/textjoin-function-357b449a-ec91-49d0-80c3-0e8fc845691c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- TEXTSPLIT: {
- description: 'Splits text strings by using column and row delimiters',
- abstract: 'Splits text strings by using column and row delimiters',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/textsplit-function-b1ca414e-4c21-4ca0-b1b7-bdecace8a6e7',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'The text to split.' },
- colDelimiter: { name: 'col_delimiter', detail: 'The character or string by which to split the column.' },
- rowDelimiter: { name: 'row_delimiter', detail: 'The character or string on which to split the line.' },
- ignoreEmpty: { name: 'ignore_empty', detail: 'Whether to ignore empty cells. The default is FALSE.' },
- matchMode: { name: 'match_mode', detail: 'Searches for a delimiter match in the text. By default, a case-sensitive match is done.' },
- padWith: { name: 'pad_with', detail: 'The value to use for padding. By default, #N/A is used.' },
- },
- },
- TRIM: {
- description: 'Removes spaces from text',
- abstract: 'Removes spaces from text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/trim-function-410388fa-c5df-49c6-b16c-9e5630b479f9',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- UNICHAR: {
- description: 'Returns the Unicode character that is references by the given numeric value',
- abstract: 'Returns the Unicode character that is references by the given numeric value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/unichar-function-ffeb64f5-f131-44c6-b332-5cd72f0659b8',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- UNICODE: {
- description: 'Returns the number (code point) that corresponds to the first character of the text',
- abstract: 'Returns the number (code point) that corresponds to the first character of the text',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/unicode-function-adb74aaa-a2a5-4dde-aff6-966e4e81f16f',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- UPPER: {
- description: 'Converts text to uppercase',
- abstract: 'Converts text to uppercase',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/upper-function-c11f29b3-d1a3-4537-8df6-04d0049963d6',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- VALUE: {
- description: 'Converts a text argument to a number',
- abstract: 'Converts a text argument to a number',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/value-function-257d0108-07dc-437d-ae1c-bc2d3953d8c2',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- VALUETOTEXT: {
- description: 'Returns text from any specified value',
- abstract: 'Returns text from any specified value',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/valuetotext-function-5fff61a2-301a-4ab2-9ffa-0a5242a08fea',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- CALL: {
- description: 'Calls a procedure in a dynamic link library or code resource',
- abstract: 'Calls a procedure in a dynamic link library or code resource',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/call-function-32d58445-e646-4ffd-8d5e-b45077a5e995',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- EUROCONVERT: {
- description: 'Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)',
- abstract: 'Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/euroconvert-function-79c8fd67-c665-450c-bb6c-15fc92f8345c',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- REGISTER_ID: {
- description: 'Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered',
- abstract: 'Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/register-id-function-f8f0af0f-fd66-4704-a0f2-87b27b175b50',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/text/ja-JP.ts
index 6be0879e57..51834da52a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: '全角 (2 バイト) の英数カナ文字を半角 (1 バイト) の文字に変換します。',
abstract: '全角 (2 バイト) の英数カナ文字を半角 (1 バイト) の文字に変換します。',
@@ -136,7 +138,6 @@ export default {
},
},
DOLLAR: {
- aliasFunctionName: 'YEN',
description: '通貨形式を使用して数値をテキストに変換します',
abstract: '通貨形式を使用して数値をテキストに変換します',
links: [
@@ -744,3 +745,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/text/ko-KR.ts
index 48a7981b32..aec7ff70c7 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: '문자열의 전자(더블바이트) 영어 문자 또는 가타카나를 반자(싱글바이트) 문자로 변경합니다',
abstract: '문자열의 전자(더블바이트) 영어 문자 또는 가타카나를 반자(싱글바이트) 문자로 변경합니다',
@@ -305,6 +307,20 @@ export default {
numBytes: { name: 'num_bytes', detail: 'MIDB가 반환할 바이트 수를 지정합니다.' },
},
},
+ NUMBERSTRING: {
+ description: 'Convert numbers to Chinese strings',
+ abstract: 'Convert numbers to Chinese strings',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://www.wps.cn/learning/course/detail/id/340.html?chan=pc_kdocs_function',
+ },
+ ],
+ functionParameter: {
+ number: { name: 'number', detail: 'The value converted to a Chinese string.' },
+ type: { name: 'type', detail: 'The type of the returned result. \n1. Chinese lowercase \n2. Chinese uppercase \n3. Reading and Writing Chinese Characters' },
+ },
+ },
NUMBERVALUE: {
description: '텍스트를 로캘 독립적인 방식으로 숫자로 변환합니다',
abstract: '텍스트를 로캘 독립적인 방식으로 숫자로 변환합니다',
@@ -330,7 +346,8 @@ export default {
},
],
functionParameter: {
- reference: { name: 'reference', detail: '텍스트 문자열이 포함된 단일 셀 또는 셀 범위입니다.' },
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
},
},
PROPER: {
@@ -685,4 +702,48 @@ export default {
format: { name: 'format', detail: '반환되는 데이터의 형식입니다. 0(기본값) 또는 1일 수 있습니다.' },
},
},
+ CALL: {
+ description: 'Calls a procedure in a dynamic link library or code resource',
+ abstract: 'Calls a procedure in a dynamic link library or code resource',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/call-function-32d58445-e646-4ffd-8d5e-b45077a5e995',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ EUROCONVERT: {
+ description: 'Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)',
+ abstract: 'Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/euroconvert-function-79c8fd67-c665-450c-bb6c-15fc92f8345c',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ REGISTER_ID: {
+ description: 'Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered',
+ abstract: 'Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/register-id-function-f8f0af0f-fd66-4704-a0f2-87b27b175b50',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/text/ru-RU.ts
index 571f2467f0..ec55387f06 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: 'Преобразует символы полного (двойного) байта английских букв или катаканы внутри строки символов в символы половинного (одинарного) байта',
abstract: 'Преобразует символы полного (двойного) байта английских букв или катаканы внутри строки символов в символы половинного (одинарного) байта',
@@ -743,3 +745,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/text/vi-VN.ts
index dd9d915f5b..fcb6b0d3ad 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: 'Chuyển các chữ cái hoặc ký tự Kana toàn chiều rộng (byte kép) trong một chuỗi thành ký tự nửa chiều rộng (byte đơn)',
abstract: 'Chuyển các chữ cái hoặc ký tự Kana toàn chiều rộng (byte kép) trong một chuỗi thành ký tự nửa chiều rộng (byte đơn)',
@@ -508,22 +510,6 @@ export default {
startNum: { name: 'vị trí bắt đầu', detail: 'Vị trí ký tự để bắt đầu tìm kiếm trong "văn bản cần tìm kiếm". Nếu bỏ qua, giá trị là 1 được giả định.' },
},
},
- SPLIT: {
- description: 'Chia một chuỗi văn bản thành một bảng con',
- abstract: 'Chia một chuỗi văn bản thành một bảng con',
- links: [
- {
- title: 'Hướng dẫn',
- url: 'https://support.microsoft.com/vi-vn/office/split-%E5%87%BD%E6%95%B0-4357fb3e-7256-49ca-8711-94dbbcbe87c9',
- },
- ],
- functionParameter: {
- text: { name: 'text', detail: 'Chuỗi văn bản mà bạn muốn chia thành các phần tử bảng con.' },
- delimiter: { name: 'delimiter', detail: 'Ký tự hoặc chuỗi ký tự mà bạn muốn sử dụng làm dấu phân cách.' },
- split_by_each: { name: 'split_by_each', detail: 'Giá trị logic để chỉ định liệu chia chuỗi bằng từng ký tự trong dấu phân cách.' },
- remove_empty_text: { name: 'remove_empty_text', detail: 'Giá trị logic để chỉ định liệu xóa các chuỗi trống khỏi các kết quả phân chia.' },
- },
- },
SUBSTITUTE: {
description: 'Thay thế một hoặc tất cả các lần xuất hiện của một chuỗi văn bản trong một chuỗi văn bản khác',
abstract: 'Thay thế một hoặc tất cả các lần xuất hiện của một chuỗi văn bản trong một chuỗi văn bản khác',
@@ -716,4 +702,48 @@ export default {
format: { name: 'Định dạng của dữ', detail: 'Định dạng của dữ liệu trả về. Nó có thể là một trong hai giá trị: \n0 Mặc định. Định dạng ngắn gọn dễ đọc.\n1 Định dạng nghiêm ngặt bao gồm ký tự thoát và dấu tách hàng. Tạo một chuỗi có thể được phân tích khi nhập vào thanh công thức. Đóng gói các chuỗi trả về trong dấu ngoặc kép, ngoại trừ Booleans, Numbers và Errors.' },
},
},
+ CALL: {
+ description: 'Calls a procedure in a dynamic link library or code resource',
+ abstract: 'Calls a procedure in a dynamic link library or code resource',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/call-function-32d58445-e646-4ffd-8d5e-b45077a5e995',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ EUROCONVERT: {
+ description: 'Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)',
+ abstract: 'Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation)',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/euroconvert-function-79c8fd67-c665-450c-bb6c-15fc92f8345c',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ REGISTER_ID: {
+ description: 'Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered',
+ abstract: 'Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/register-id-function-f8f0af0f-fd66-4704-a0f2-87b27b175b50',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/text/zh-CN.ts
index b51f70fa9a..a5d0e65082 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: '将字符串中的全角(双字节)英文字母或片假名更改为半角(单字节)字符',
abstract: '将字符串中的全角(双字节)英文字母或片假名更改为半角(单字节)字符',
@@ -745,3 +747,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/text/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/text/zh-TW.ts
index 4de112f76c..e7ab540119 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/text/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/text/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ASC: {
description: '將字串中的全角(雙位元組)英文字母或片假名改為半角(單字節)字元',
abstract: '將字串中的全角(雙位元組)英文字母或片假名更改為半角(單字節)字元',
@@ -745,3 +747,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/ca-ES.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/ca-ES.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/en-US.ts
index 58cbf697eb..9865e2f3f8 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/en-US.ts
@@ -14,4 +14,6 @@
* limitations under the License.
*/
-export default {};
+const locale = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/es-ES.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/es-ES.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/fr-FR.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/fr-FR.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/ja-JP.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/ja-JP.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/ko-KR.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/ko-KR.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/ru-RU.ts
index 58cbf697eb..1254e14552 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/ru-RU.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import enUS from './en-US';
+
+const locale = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/vi-VN.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/vi-VN.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/zh-CN.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/zh-CN.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/univer/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/univer/zh-TW.ts
index 58cbf697eb..8127ce1757 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/univer/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/univer/zh-TW.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export default {};
+import type enUS from './en-US';
+
+const locale: typeof enUS = {};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/ca-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/web/ca-ES.ts
index 4ca868df73..786b726b2a 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/ca-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: 'Retorna una cadena codificada en URL',
abstract: 'Retorna una cadena codificada en URL',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/en-US.ts b/packages/sheets-formula-ui/src/locale/function-list/web/en-US.ts
index baf7d9899c..a6d834656d 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/en-US.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
ENCODEURL: {
description: 'Returns a URL-encoded string',
abstract: 'Returns a URL-encoded string',
@@ -57,3 +57,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/es-ES.ts b/packages/sheets-formula-ui/src/locale/function-list/web/es-ES.ts
index 2af08167e6..714fa57ccb 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/es-ES.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: 'Devuelve una cadena codificada en URL',
abstract: 'Devuelve una cadena codificada en URL',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/fa-IR.ts b/packages/sheets-formula-ui/src/locale/function-list/web/fa-IR.ts
new file mode 100644
index 0000000000..60a22638e2
--- /dev/null
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/fa-IR.ts
@@ -0,0 +1,21 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/fr-FR.ts b/packages/sheets-formula-ui/src/locale/function-list/web/fr-FR.ts
index 184ebf96c8..60a22638e2 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/fr-FR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/fr-FR.ts
@@ -14,47 +14,8 @@
* limitations under the License.
*/
-export default {
- ENCODEURL: {
- description: 'Returns a URL-encoded string',
- abstract: 'Returns a URL-encoded string',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/encodeurl-function-07c7fb90-7c60-4bff-8687-fac50fe33d0e',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- FILTERXML: {
- description: 'Returns specific data from the XML content by using the specified XPath',
- abstract: 'Returns specific data from the XML content by using the specified XPath',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/filterxml-function-4df72efc-11ec-4951-86f5-c1374812f5b7',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
- WEBSERVICE: {
- description: 'Returns data from a web service',
- abstract: 'Returns data from a web service',
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/fr-fr/office/webservice-function-0546a35a-ecc6-4739-aed7-c0b7ce1562c4',
- },
- ],
- functionParameter: {
- number1: { name: 'nombre1', detail: 'premier' },
- number2: { name: 'nombre2', detail: 'second' },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/ja-JP.ts b/packages/sheets-formula-ui/src/locale/function-list/web/ja-JP.ts
index 2edaf06cf8..3110320332 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/ja-JP.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/ja-JP.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: 'URL 形式でエンコードされた文字列を返します。',
abstract: 'URL 形式でエンコードされた文字列を返します。',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/ko-KR.ts b/packages/sheets-formula-ui/src/locale/function-list/web/ko-KR.ts
index baf7d9899c..9112dcd330 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: 'Returns a URL-encoded string',
abstract: 'Returns a URL-encoded string',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/ru-RU.ts b/packages/sheets-formula-ui/src/locale/function-list/web/ru-RU.ts
index 4ff2725416..80c5bf0acc 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: 'Возвращает строку, закодированную в формате URL',
abstract: 'Возвращает строку, закодированную в формате URL',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/vi-VN.ts b/packages/sheets-formula-ui/src/locale/function-list/web/vi-VN.ts
index 65edc95476..7b0f652f25 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: 'Trả về một chuỗi được mã hóa URL.',
abstract: 'Trả về một chuỗi được mã hóa URL.',
@@ -28,4 +30,34 @@ export default {
text: { name: 'văn bản', detail: 'Một chuỗi cần mã hóa URL.' },
},
},
+ FILTERXML: {
+ description: 'Returns specific data from the XML content by using the specified XPath',
+ abstract: 'Returns specific data from the XML content by using the specified XPath',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/filterxml-function-4df72efc-11ec-4951-86f5-c1374812f5b7',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
+ WEBSERVICE: {
+ description: 'Returns data from a web service',
+ abstract: 'Returns data from a web service',
+ links: [
+ {
+ title: 'Instruction',
+ url: 'https://support.microsoft.com/en-us/office/webservice-function-0546a35a-ecc6-4739-aed7-c0b7ce1562c4',
+ },
+ ],
+ functionParameter: {
+ number1: { name: 'number1', detail: 'first' },
+ number2: { name: 'number2', detail: 'second' },
+ },
+ },
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/zh-CN.ts b/packages/sheets-formula-ui/src/locale/function-list/web/zh-CN.ts
index edc7854fbe..13289298e1 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: '返回 URL 编码的字符串',
abstract: '返回 URL 编码的字符串',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/function-list/web/zh-TW.ts b/packages/sheets-formula-ui/src/locale/function-list/web/zh-TW.ts
index 818709ae2f..d772934a92 100644
--- a/packages/sheets-formula-ui/src/locale/function-list/web/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/function-list/web/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
ENCODEURL: {
description: '傳回 URL 編碼的字串',
abstract: '傳回 URL 編碼的字串',
@@ -57,3 +59,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/ko-KR.ts b/packages/sheets-formula-ui/src/locale/ko-KR.ts
index c8bc129120..626e3b952c 100644
--- a/packages/sheets-formula-ui/src/locale/ko-KR.ts
+++ b/packages/sheets-formula-ui/src/locale/ko-KR.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/ko-KR';
import compatibility from './function-list/compatibility/ko-KR';
import cube from './function-list/cube/ko-KR';
@@ -30,7 +31,7 @@ import text from './function-list/text/ko-KR';
import univer from './function-list/univer/ko-KR';
import web from './function-list/web/ko-KR';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': '빠른 합계',
@@ -117,3 +118,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/ru-RU.ts b/packages/sheets-formula-ui/src/locale/ru-RU.ts
index 710ab542af..c7d58774a6 100644
--- a/packages/sheets-formula-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-formula-ui/src/locale/ru-RU.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/ru-RU'; // TODO
import compatibility from './function-list/compatibility/ru-RU'; // TODO
import cube from './function-list/cube/ru-RU';
@@ -30,7 +31,7 @@ import text from './function-list/text/ru-RU';
import univer from './function-list/univer/ru-RU';
import web from './function-list/web/ru-RU';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'Быстрая сумма',
@@ -102,6 +103,7 @@ export default {
array: 'Массив',
univer: 'Универсальные',
user: 'Пользовательские',
+ definedname: 'Defined Name',
},
moreFunctions: {
confirm: 'Подтвердить',
@@ -116,3 +118,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/vi-VN.ts b/packages/sheets-formula-ui/src/locale/vi-VN.ts
index f0f4719fa1..bb03d388ba 100644
--- a/packages/sheets-formula-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-formula-ui/src/locale/vi-VN.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/vi-VN';
import compatibility from './function-list/compatibility/vi-VN';
import cube from './function-list/cube/vi-VN';
@@ -30,7 +31,7 @@ import text from './function-list/text/vi-VN';
import univer from './function-list/univer/vi-VN';
import web from './function-list/web/vi-VN';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': 'Tổng nhanh',
@@ -122,3 +123,5 @@ export default {
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/zh-CN.ts b/packages/sheets-formula-ui/src/locale/zh-CN.ts
index 6d7c19bf57..507fdab4f7 100644
--- a/packages/sheets-formula-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-formula-ui/src/locale/zh-CN.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/zh-CN';
import compatibility from './function-list/compatibility/zh-CN';
import cube from './function-list/cube/zh-CN';
@@ -30,7 +31,7 @@ import text from './function-list/text/zh-CN';
import univer from './function-list/univer/zh-CN';
import web from './function-list/web/zh-CN';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': '快速求和',
@@ -121,3 +122,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula-ui/src/locale/zh-TW.ts b/packages/sheets-formula-ui/src/locale/zh-TW.ts
index b9fc78f1df..7088f280da 100644
--- a/packages/sheets-formula-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-formula-ui/src/locale/zh-TW.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type enUS from './en-US';
import array from './function-list/array/zh-TW';
import compatibility from './function-list/compatibility/zh-TW';
import cube from './function-list/cube/zh-TW';
@@ -30,7 +31,7 @@ import text from './function-list/text/zh-TW';
import univer from './function-list/univer/zh-TW';
import web from './function-list/web/zh-TW';
-export default {
+const locale: typeof enUS = {
shortcut: {
'sheets-formula-ui': {
'quick-sum': '快速求和',
@@ -121,3 +122,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-formula/src/locale/ca-ES.ts b/packages/sheets-formula/src/locale/ca-ES.ts
index d2cd599b03..520cd2c620 100644
--- a/packages/sheets-formula/src/locale/ca-ES.ts
+++ b/packages/sheets-formula/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: 'Analitzant',
diff --git a/packages/sheets-formula/src/locale/es-ES.ts b/packages/sheets-formula/src/locale/es-ES.ts
index 2bbf62762c..786ad12738 100644
--- a/packages/sheets-formula/src/locale/es-ES.ts
+++ b/packages/sheets-formula/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
formula: {
progress: {
analyzing: 'Analizando',
diff --git a/packages/sheets-hyper-link-ui/src/locale/ca-ES.ts b/packages/sheets-hyper-link-ui/src/locale/ca-ES.ts
index b10fb8036e..da12305b94 100644
--- a/packages/sheets-hyper-link-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/ca-ES.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const caES: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: 'Edita l\'enllaç',
@@ -52,4 +52,4 @@ const caES: typeof zhCN = {
},
};
-export default caES;
+export default locale;
diff --git a/packages/sheets-hyper-link-ui/src/locale/en-US.ts b/packages/sheets-hyper-link-ui/src/locale/en-US.ts
index e815efefa9..39c63b5b4d 100644
--- a/packages/sheets-hyper-link-ui/src/locale/en-US.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const enUS: typeof zhCN = {
+const locale = {
hyperLink: {
form: {
editTitle: 'Edit Link',
@@ -52,4 +50,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/sheets-hyper-link-ui/src/locale/es-ES.ts b/packages/sheets-hyper-link-ui/src/locale/es-ES.ts
index 3737e8c0fa..5255572ca6 100644
--- a/packages/sheets-hyper-link-ui/src/locale/es-ES.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/es-ES.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const esES: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: 'Editar enlace',
@@ -52,4 +52,4 @@ const esES: typeof zhCN = {
},
};
-export default esES;
+export default locale;
diff --git a/packages/sheets-hyper-link-ui/src/locale/fr-FR.ts b/packages/sheets-hyper-link-ui/src/locale/fr-FR.ts
index b87cf0963f..6141f4e1bf 100644
--- a/packages/sheets-hyper-link-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/fr-FR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const enUS: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: 'Modifier le lien',
@@ -52,4 +52,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/sheets-hyper-link-ui/src/locale/ru-RU.ts b/packages/sheets-hyper-link-ui/src/locale/ru-RU.ts
index fb64a61acf..65a5c35418 100644
--- a/packages/sheets-hyper-link-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/ru-RU.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const enUS: typeof zhCN = {
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: 'Редактировать ссылку',
@@ -52,4 +52,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/sheets-hyper-link-ui/src/locale/zh-CN.ts b/packages/sheets-hyper-link-ui/src/locale/zh-CN.ts
index ee24c36513..84c91216ed 100644
--- a/packages/sheets-hyper-link-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-hyper-link-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
hyperLink: {
form: {
editTitle: '编辑链接',
@@ -49,3 +51,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-note-ui/src/locale/ca-ES.ts b/packages/sheets-note-ui/src/locale/ca-ES.ts
index d4c0f4ce02..fadf17f196 100644
--- a/packages/sheets-note-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-note-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
rightClick: {
addNote: 'Afegeix nota',
deleteNote: 'Elimina nota',
diff --git a/packages/sheets-note-ui/src/locale/es-ES.ts b/packages/sheets-note-ui/src/locale/es-ES.ts
index aa384def69..2655b455a7 100644
--- a/packages/sheets-note-ui/src/locale/es-ES.ts
+++ b/packages/sheets-note-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
rightClick: {
addNote: 'Agregar nota',
deleteNote: 'Eliminar nota',
diff --git a/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts b/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts
index b07f18b792..db427202f8 100644
--- a/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts
+++ b/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts
@@ -85,7 +85,7 @@ export class SheetNumfmtUIController extends Disposable {
}
private _initNumfmtLocalChange() {
- this.disposeWithMe(merge(this._sheetsNumfmtCellContentController.local$, this._localeService.currentLocale$).subscribe(() => {
+ this.disposeWithMe(merge(this._sheetsNumfmtCellContentController.locale$, this._localeService.currentLocale$).subscribe(() => {
this._forceUpdate();
}));
}
@@ -268,7 +268,7 @@ export class SheetNumfmtUIController extends Disposable {
) {
return defaultValue;
}
- const info = getPatternPreviewIgnoreGeneral(this._previewPattern, value as number, this._sheetsNumfmtCellContentController.local);
+ const info = getPatternPreviewIgnoreGeneral(this._previewPattern, value as number, this._sheetsNumfmtCellContentController.locale);
if (info.color) {
const color = this._themeService.getColorFromTheme(`${info.color}.500`) ?? info.color;
return {
diff --git a/packages/sheets-numfmt-ui/src/locale/ca-ES.ts b/packages/sheets-numfmt-ui/src/locale/ca-ES.ts
index b440943d3c..288b017351 100644
--- a/packages/sheets-numfmt-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-numfmt-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: 'Format de nombre',
diff --git a/packages/sheets-numfmt-ui/src/locale/es-ES.ts b/packages/sheets-numfmt-ui/src/locale/es-ES.ts
index a580fca193..f8ca9f8303 100644
--- a/packages/sheets-numfmt-ui/src/locale/es-ES.ts
+++ b/packages/sheets-numfmt-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheet: {
numfmt: {
title: 'Formato de número',
diff --git a/packages/sheets-numfmt-ui/src/views/components/MoreNumfmtType.tsx b/packages/sheets-numfmt-ui/src/views/components/MoreNumfmtType.tsx
index e501dad0ac..ffc8210617 100644
--- a/packages/sheets-numfmt-ui/src/views/components/MoreNumfmtType.tsx
+++ b/packages/sheets-numfmt-ui/src/views/components/MoreNumfmtType.tsx
@@ -97,7 +97,7 @@ export const Options = () => {
<span>{localeService.t(item.label)}</span>
<span className="univer-text-xs univer-text-gray-500">
- {item.pattern ? getPatternPreview(item.pattern || '', defaultValue, sheetsNumfmtCellContentController.local).result.trim() : ''}
+ {item.pattern ? getPatternPreview(item.pattern || '', defaultValue, sheetsNumfmtCellContentController.locale).result.trim() : ''}
</span>
</div>
);
diff --git a/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts b/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts
index b1b39b0f86..f35ef96ec0 100644
--- a/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts
+++ b/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ICellData, ICellDataForSheetInterceptor, INumfmtLocalTag, Workbook } from '@univerjs/core';
+import type { ICellData, ICellDataForSheetInterceptor, INumfmtLocaleTag, Workbook } from '@univerjs/core';
import type { ISetNumfmtMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
import type { IUniverSheetsNumfmtConfig } from './config.schema';
import {
@@ -53,8 +53,8 @@ const TEXT_FORMAT_MARK = {
},
};
export class SheetsNumfmtCellContentController extends Disposable {
- private _local$ = new BehaviorSubject<INumfmtLocalTag>('en');
- public local$ = this._local$.asObservable();
+ private _locale$ = new BehaviorSubject<INumfmtLocaleTag>('en');
+ public locale$ = this._locale$.asObservable();
constructor(
@IUniverInstanceService private readonly _instanceService: IUniverInstanceService,
@Inject(SheetInterceptorService) private _sheetInterceptorService: SheetInterceptorService,
@@ -68,32 +68,29 @@ export class SheetsNumfmtCellContentController extends Disposable {
this._initInterceptorCellContent();
}
- public get local(): INumfmtLocalTag {
- const _local = this._local$.getValue();
- if (_local) {
- return _local;
+ public get locale(): INumfmtLocaleTag {
+ const _locale = this._locale$.getValue();
+ if (_locale) {
+ return _locale;
}
const currentLocale = this._localeService.getCurrentLocale();
switch (currentLocale) {
- case LocaleType.FR_FR: {
+ case LocaleType.FR_FR:
return 'fr';
- }
- case LocaleType.RU_RU: {
+ case LocaleType.RU_RU:
return 'ru';
- }
- case LocaleType.VI_VN: {
+ case LocaleType.VI_VN:
return 'vi';
- }
- case LocaleType.ZH_CN: {
+ case LocaleType.ZH_CN:
return 'zh-CN';
- }
- case LocaleType.KO_KR: {
+ case LocaleType.KO_KR:
return 'ko';
- }
- case LocaleType.ZH_TW: {
+ case LocaleType.ZH_TW:
return 'zh-TW';
- }
+ case LocaleType.ES_ES:
+ case LocaleType.CA_ES:
+ return 'es';
case LocaleType.EN_US:
case LocaleType.FA_IR:
default: {
@@ -106,7 +103,7 @@ export class SheetsNumfmtCellContentController extends Disposable {
private _initInterceptorCellContent() {
const renderCache = new ObjectMatrix<{ result: ICellData; parameters: string | number }>();
- this.disposeWithMe(merge(this._local$, this._localeService.currentLocale$).subscribe(() => {
+ this.disposeWithMe(merge(this._locale$, this._localeService.currentLocale$).subscribe(() => {
renderCache.reset();
}));
@@ -172,7 +169,7 @@ export class SheetsNumfmtCellContentController extends Disposable {
return next({ ...cell, ...cache.result });
}
- const info = getPatternPreviewIgnoreGeneral(numfmtValue.pattern, Number(originCellValue.v), this.local);
+ const info = getPatternPreviewIgnoreGeneral(numfmtValue.pattern, Number(originCellValue.v), this.locale);
numfmtRes = info.result;
if (!numfmtRes) {
return next(cell);
@@ -226,7 +223,7 @@ export class SheetsNumfmtCellContentController extends Disposable {
);
}
- setNumfmtLocal(local: INumfmtLocalTag) {
- this._local$.next(local);
+ setNumfmtLocal(locale: INumfmtLocaleTag) {
+ this._locale$.next(locale);
}
}
diff --git a/packages/sheets-numfmt/src/facade/f-workbook.ts b/packages/sheets-numfmt/src/facade/f-workbook.ts
index cf2735f0da..5624b103f3 100644
--- a/packages/sheets-numfmt/src/facade/f-workbook.ts
+++ b/packages/sheets-numfmt/src/facade/f-workbook.ts
@@ -14,14 +14,14 @@
* limitations under the License.
*/
-import type { INumfmtLocalTag } from '@univerjs/core';
+import type { INumfmtLocaleTag } from '@univerjs/core';
import { SheetsNumfmtCellContentController } from '@univerjs/sheets-numfmt';
import { FWorkbook } from '@univerjs/sheets/facade';
export interface IFWorkbookNumfmtMixin {
/**
* Set the locale for number formatting.
- * @param {INumfmtLocalTag} local zh_CN,zh_TW,zh_HK,ja,ko,th,cs,da,nl,en,en_AU,en_CA,en_GB,en_IE,fi,fr,fr_CA,fr_CH,de,de_CH,el,hu,is,id,it,it_CH,nb,no,pl,pt,pt_BR,ru,sk,es,es_AR,es_BO,es_CL,es_CO,es_EC,es_MX,es_PY,es_UY,es_VE,sv,tr,cy,az,be,bg,ca,fil,gu,he,hr,hy,ka,kk,kn,lt,lv,ml,mn,mr,my,pa,ro,sl,sr,ta,te,uk,vi,ar,bn,hi
+ * @param {INumfmtLocaleTag} locale zh_CN,zh_TW,zh_HK,ja,ko,th,cs,da,nl,en,en_AU,en_CA,en_GB,en_IE,fi,fr,fr_CA,fr_CH,de,de_CH,el,hu,is,id,it,it_CH,nb,no,pl,pt,pt_BR,ru,sk,es,es_AR,es_BO,es_CL,es_CO,es_EC,es_MX,es_PY,es_UY,es_VE,sv,tr,cy,az,be,bg,ca,fil,gu,he,hr,hy,ka,kk,kn,lt,lv,ml,mn,mr,my,pa,ro,sl,sr,ta,te,uk,vi,ar,bn,hi
* @returns {FWorkbook} The FWorkbook instance for chaining.
* @memberof IFWorkbookNumfmtMixin
* @example
@@ -40,12 +40,12 @@ export interface IFWorkbookNumfmtMixin {
* console.log(fRange.getDisplayValue()); // 1.234,57
* ```
*/
- setNumfmtLocal(local: INumfmtLocalTag): FWorkbook;
+ setNumfmtLocal(locale: INumfmtLocaleTag): FWorkbook;
}
export class FWorkbookLegacy extends FWorkbook implements IFWorkbookNumfmtMixin {
- override setNumfmtLocal(local: INumfmtLocalTag): FWorkbook {
+ override setNumfmtLocal(locale: INumfmtLocaleTag): FWorkbook {
const sheetsNumfmtCellContentController = this._injector.get(SheetsNumfmtCellContentController);
- sheetsNumfmtCellContentController.setNumfmtLocal(local);
+ sheetsNumfmtCellContentController.setNumfmtLocal(locale);
return this;
}
}
diff --git a/packages/sheets-numfmt/src/utils/pattern.ts b/packages/sheets-numfmt/src/utils/pattern.ts
index c893c365e1..d5e60857ba 100644
--- a/packages/sheets-numfmt/src/utils/pattern.ts
+++ b/packages/sheets-numfmt/src/utils/pattern.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { INumfmtLocalTag } from '@univerjs/core';
+import type { INumfmtLocaleTag } from '@univerjs/core';
import type { FormatType } from '@univerjs/sheets';
import { numfmt } from '@univerjs/core';
import { stripErrorMargin } from '@univerjs/engine-formula';
@@ -25,7 +25,7 @@ interface IPatternPreview {
color?: string;
}
-export const getPatternPreview = (pattern: string, value: number, locale: INumfmtLocalTag = 'en'): IPatternPreview => {
+export const getPatternPreview = (pattern: string, value: number, locale: INumfmtLocaleTag = 'en'): IPatternPreview => {
// in the source code of numfmt, the formatColor function will read the the partitions[3]
const formatColor = numfmt.formatColor(pattern, value);
const color = formatColor ? String(formatColor) : undefined;
@@ -43,7 +43,7 @@ export const getPatternPreview = (pattern: string, value: number, locale: INumfm
};
};
-export const getPatternPreviewIgnoreGeneral = (pattern: string, value: number, locale?: INumfmtLocalTag): IPatternPreview => {
+export const getPatternPreviewIgnoreGeneral = (pattern: string, value: number, locale?: INumfmtLocaleTag): IPatternPreview => {
if (pattern === 'General') {
return {
result: String(stripErrorMargin(value)), // In Excel, the default General format also needs to handle numeric precision.
diff --git a/packages/sheets-sort-ui/src/locale/ca-ES.ts b/packages/sheets-sort-ui/src/locale/ca-ES.ts
index d3faef6ef0..0be74ef84b 100644
--- a/packages/sheets-sort-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-sort-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: 'Ordena',
diff --git a/packages/sheets-sort-ui/src/locale/es-ES.ts b/packages/sheets-sort-ui/src/locale/es-ES.ts
index c73fba00c8..273bc65c19 100644
--- a/packages/sheets-sort-ui/src/locale/es-ES.ts
+++ b/packages/sheets-sort-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-sort': {
general: {
sort: 'Ordenar',
diff --git a/packages/sheets-sort/src/locale/ca-ES.ts b/packages/sheets-sort/src/locale/ca-ES.ts
index 644eff706d..429cdf107b 100644
--- a/packages/sheets-sort/src/locale/ca-ES.ts
+++ b/packages/sheets-sort/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetsSort: {
title: 'Ordena',
toolbar: {
diff --git a/packages/sheets-sort/src/locale/es-ES.ts b/packages/sheets-sort/src/locale/es-ES.ts
index 97f652cb10..4ccddb1ff7 100644
--- a/packages/sheets-sort/src/locale/es-ES.ts
+++ b/packages/sheets-sort/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetsSort: {
title: 'Ordenar',
toolbar: {
diff --git a/packages/sheets-table-ui/src/locale/ca-ES.ts b/packages/sheets-table-ui/src/locale/ca-ES.ts
index 4b25673341..8f21717a95 100644
--- a/packages/sheets-table-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-table-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: 'Taula',
selectRange: 'Selecciona el rang de la taula',
diff --git a/packages/sheets-table-ui/src/locale/es-ES.ts b/packages/sheets-table-ui/src/locale/es-ES.ts
index 0624cfafc9..45931e1ca1 100644
--- a/packages/sheets-table-ui/src/locale/es-ES.ts
+++ b/packages/sheets-table-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: 'Tabla',
selectRange: 'Seleccionar rango de tabla',
diff --git a/packages/sheets-table-ui/src/locale/fa-IR.ts b/packages/sheets-table-ui/src/locale/fa-IR.ts
index b9b0567328..d275b157a7 100644
--- a/packages/sheets-table-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-table-ui/src/locale/fa-IR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: 'جدول',
selectRange: 'انتخاب محدوده جدول',
diff --git a/packages/sheets-table-ui/src/locale/fr-FR.ts b/packages/sheets-table-ui/src/locale/fr-FR.ts
index 7e24eed248..38ff7835fd 100644
--- a/packages/sheets-table-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-table-ui/src/locale/fr-FR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: 'Tableau',
selectRange: 'Sélectionner la plage du tableau',
diff --git a/packages/sheets-table-ui/src/locale/ko-KR.ts b/packages/sheets-table-ui/src/locale/ko-KR.ts
index 01b861c449..fc467710ca 100644
--- a/packages/sheets-table-ui/src/locale/ko-KR.ts
+++ b/packages/sheets-table-ui/src/locale/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: '표',
selectRange: '표 범위 선택',
diff --git a/packages/sheets-table-ui/src/locale/ru-RU.ts b/packages/sheets-table-ui/src/locale/ru-RU.ts
index a25fda2bca..8be122fe54 100644
--- a/packages/sheets-table-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-table-ui/src/locale/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: 'Таблица',
selectRange: 'Выбрать диапазон таблицы',
diff --git a/packages/sheets-table-ui/src/locale/vi-VN.ts b/packages/sheets-table-ui/src/locale/vi-VN.ts
index dc2f9b0733..bc142fecf4 100644
--- a/packages/sheets-table-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-table-ui/src/locale/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: 'Bảng',
selectRange: 'Chọn phạm vi bảng',
diff --git a/packages/sheets-table-ui/src/locale/zh-TW.ts b/packages/sheets-table-ui/src/locale/zh-TW.ts
index 588359816c..e6acb982f5 100644
--- a/packages/sheets-table-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-table-ui/src/locale/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'sheets-table': {
title: '表格',
selectRange: '選擇表格範圍',
diff --git a/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts b/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts
index f3741d8c02..2eb3668fde 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: 'Afegeix un comentari',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/en-US.ts b/packages/sheets-thread-comment-ui/src/locale/en-US.ts
index 1b24b9e13e..5bf705fe6d 100644
--- a/packages/sheets-thread-comment-ui/src/locale/en-US.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/en-US.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-export default {
+const locale = {
sheetThreadComment: {
menu: {
addComment: 'Add Comment',
@@ -22,3 +22,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/es-ES.ts b/packages/sheets-thread-comment-ui/src/locale/es-ES.ts
index 0bc43fe76a..577b2b8df4 100644
--- a/packages/sheets-thread-comment-ui/src/locale/es-ES.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: 'Añadir comentario',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts b/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts
index a914d95c93..5f9cfdface 100644
--- a/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/fa-IR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: 'افزودن نظر',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts b/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts
index 1021c0ae9c..53d716ec1c 100644
--- a/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/fr-FR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: 'Ajouter un commentaire',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts b/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts
index 9330ecd04b..41f18db259 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ko-KR.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: '댓글 추가',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts b/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts
index 1b24b9e13e..c9e54761ff 100644
--- a/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/ru-RU.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: 'Add Comment',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts b/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts
index ac23cbca94..6af10946af 100644
--- a/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/vi-VN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: 'Thêm bình luận',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts b/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts
index ac2871a3b2..951c566023 100644
--- a/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: '添加评论',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts b/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts
index 50cebea584..794379e377 100644
--- a/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-thread-comment-ui/src/locale/zh-TW.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheetThreadComment: {
menu: {
addComment: '新增評論',
@@ -22,3 +24,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/sheets-ui/src/locale/ca-ES.ts b/packages/sheets-ui/src/locale/ca-ES.ts
index 812473bc26..64598531e7 100644
--- a/packages/sheets-ui/src/locale/ca-ES.ts
+++ b/packages/sheets-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
spreadsheetLabel: 'Full de càlcul',
spreadsheetRightLabel: 'més Fulls',
diff --git a/packages/sheets-ui/src/locale/es-ES.ts b/packages/sheets-ui/src/locale/es-ES.ts
index f9b3a34f65..7a2d8e513c 100644
--- a/packages/sheets-ui/src/locale/es-ES.ts
+++ b/packages/sheets-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
spreadsheetLabel: 'Hoja de cálculo',
spreadsheetRightLabel: 'más Hojas',
diff --git a/packages/sheets-zen-editor/src/locale/ca-ES.ts b/packages/sheets-zen-editor/src/locale/ca-ES.ts
index 1000e2df90..7c3a901e10 100644
--- a/packages/sheets-zen-editor/src/locale/ca-ES.ts
+++ b/packages/sheets-zen-editor/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
rightClick: {
zenEditor: 'Editor a pantalla completa',
},
diff --git a/packages/sheets-zen-editor/src/locale/es-ES.ts b/packages/sheets-zen-editor/src/locale/es-ES.ts
index 778421b7b9..fbeb3d4c4c 100644
--- a/packages/sheets-zen-editor/src/locale/es-ES.ts
+++ b/packages/sheets-zen-editor/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
rightClick: {
zenEditor: 'Editor a pantalla completa',
},
diff --git a/packages/sheets/src/locale/ca-ES.ts b/packages/sheets/src/locale/ca-ES.ts
index 48a5e72d9a..c801283979 100644
--- a/packages/sheets/src/locale/ca-ES.ts
+++ b/packages/sheets/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(Còpia{0})',
diff --git a/packages/sheets/src/locale/es-ES.ts b/packages/sheets/src/locale/es-ES.ts
index 8017fdb0cb..33a6aec226 100644
--- a/packages/sheets/src/locale/es-ES.ts
+++ b/packages/sheets/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
sheets: {
tabs: {
sheetCopy: '(Copia{0})',
diff --git a/packages/slides-ui/src/locale/ca-ES.ts b/packages/slides-ui/src/locale/ca-ES.ts
index f572e112aa..0233a5408a 100644
--- a/packages/slides-ui/src/locale/ca-ES.ts
+++ b/packages/slides-ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
slide: {
append: 'Afegeix diapositiva',
diff --git a/packages/slides-ui/src/locale/es-ES.ts b/packages/slides-ui/src/locale/es-ES.ts
index b1ac1d87e5..d68c269881 100644
--- a/packages/slides-ui/src/locale/es-ES.ts
+++ b/packages/slides-ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
slide: {
append: 'Añadir diapositiva',
diff --git a/packages/thread-comment-ui/src/locale/ca-ES.ts b/packages/thread-comment-ui/src/locale/ca-ES.ts
index 9d724f8e90..97fb505e22 100644
--- a/packages/thread-comment-ui/src/locale/ca-ES.ts
+++ b/packages/thread-comment-ui/src/locale/ca-ES.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const caES: typeof zhCN = {
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: 'Gestió de comentaris',
@@ -51,4 +51,4 @@ const caES: typeof zhCN = {
},
};
-export default caES;
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/en-US.ts b/packages/thread-comment-ui/src/locale/en-US.ts
index 0c70b8888d..325b066353 100644
--- a/packages/thread-comment-ui/src/locale/en-US.ts
+++ b/packages/thread-comment-ui/src/locale/en-US.ts
@@ -14,9 +14,7 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
-
-const enUS: typeof zhCN = {
+const locale = {
threadCommentUI: {
panel: {
title: 'Comment Management',
@@ -51,4 +49,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/es-ES.ts b/packages/thread-comment-ui/src/locale/es-ES.ts
index 85f1c4cd60..8b6f3c6bfe 100644
--- a/packages/thread-comment-ui/src/locale/es-ES.ts
+++ b/packages/thread-comment-ui/src/locale/es-ES.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const esES: typeof zhCN = {
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: 'Gestión de comentarios',
@@ -51,4 +51,4 @@ const esES: typeof zhCN = {
},
};
-export default esES;
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/fr-FR.ts b/packages/thread-comment-ui/src/locale/fr-FR.ts
index 8fac01f0a6..adb4540c8a 100644
--- a/packages/thread-comment-ui/src/locale/fr-FR.ts
+++ b/packages/thread-comment-ui/src/locale/fr-FR.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const enUS: typeof zhCN = {
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: 'Gestion des commentaires',
@@ -51,4 +51,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/ru-RU.ts b/packages/thread-comment-ui/src/locale/ru-RU.ts
index 4fd114c411..60a22638e2 100644
--- a/packages/thread-comment-ui/src/locale/ru-RU.ts
+++ b/packages/thread-comment-ui/src/locale/ru-RU.ts
@@ -14,37 +14,8 @@
* limitations under the License.
*/
-export default {
- threadCommentUI: {
- panel: {
- title: 'Comment Management',
- empty: 'No comments yet',
- filterEmpty: 'No match result',
- reset: 'Reset Filter',
- addComment: 'Add Comment',
- solved: 'Solved',
- },
- editor: {
- placeholder: 'Reply or add others with @',
- reply: 'Comment',
- cancel: 'Cancel',
- save: 'Save',
- },
- item: {
- edit: 'Edit',
- delete: 'Delete This Comment',
- },
- filter: {
- sheet: {
- all: 'All sheet',
- current: 'Current sheet',
- },
- status: {
- all: 'All comments',
- resolved: 'Resolved',
- unsolved: 'Not resolved',
- concernMe: 'Concern me',
- },
- },
- },
-};
+import enUS from './en-US';
+
+const locale: typeof enUS = enUS;
+
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/vi-VN.ts b/packages/thread-comment-ui/src/locale/vi-VN.ts
index 7e6537e633..0184eaa68e 100644
--- a/packages/thread-comment-ui/src/locale/vi-VN.ts
+++ b/packages/thread-comment-ui/src/locale/vi-VN.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const enUS: typeof zhCN = {
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: 'Quản lý Bình luận',
@@ -52,4 +52,4 @@ const enUS: typeof zhCN = {
};
-export default enUS;
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/zh-CN.ts b/packages/thread-comment-ui/src/locale/zh-CN.ts
index 1072c57c18..ea2c2829f9 100644
--- a/packages/thread-comment-ui/src/locale/zh-CN.ts
+++ b/packages/thread-comment-ui/src/locale/zh-CN.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-export default {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: '评论管理',
@@ -48,3 +50,5 @@ export default {
},
},
};
+
+export default locale;
diff --git a/packages/thread-comment-ui/src/locale/zh-TW.ts b/packages/thread-comment-ui/src/locale/zh-TW.ts
index 2082ea530a..2237b37836 100644
--- a/packages/thread-comment-ui/src/locale/zh-TW.ts
+++ b/packages/thread-comment-ui/src/locale/zh-TW.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import type zhCN from './zh-CN';
+import type enUS from './en-US';
-const enUS: typeof zhCN = {
+const locale: typeof enUS = {
threadCommentUI: {
panel: {
title: '評論管理',
@@ -51,4 +51,4 @@ const enUS: typeof zhCN = {
},
};
-export default enUS;
+export default locale;
diff --git a/packages/ui/src/locale/ca-ES.ts b/packages/ui/src/locale/ca-ES.ts
index 7cadda9073..7635538da6 100644
--- a/packages/ui/src/locale/ca-ES.ts
+++ b/packages/ui/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: 'Normal',
diff --git a/packages/ui/src/locale/es-ES.ts b/packages/ui/src/locale/es-ES.ts
index 9da962e621..48aeed5fa4 100644
--- a/packages/ui/src/locale/es-ES.ts
+++ b/packages/ui/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
toolbar: {
heading: {
normal: 'Normal',
diff --git a/packages/uniscript/src/locale/ca-ES.ts b/packages/uniscript/src/locale/ca-ES.ts
index e47f78005d..9f4b3fb875 100644
--- a/packages/uniscript/src/locale/ca-ES.ts
+++ b/packages/uniscript/src/locale/ca-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'script-panel': {
title: 'Uniscript',
tooltip: {
diff --git a/packages/uniscript/src/locale/es-ES.ts b/packages/uniscript/src/locale/es-ES.ts
index e8a0b2d26e..8e55782be7 100644
--- a/packages/uniscript/src/locale/es-ES.ts
+++ b/packages/uniscript/src/locale/es-ES.ts
@@ -14,7 +14,9 @@
* limitations under the License.
*/
-const locale = {
+import type enUS from './en-US';
+
+const locale: typeof enUS = {
'script-panel': {
title: 'Uniscript',
tooltip: {