@univerjs/sheets-note-ui 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +11 -11
- package/lib/cjs/locale/ar-SA.js +13 -0
- package/lib/cjs/locale/ca-ES.js +4 -4
- package/lib/cjs/locale/de-DE.js +13 -0
- package/lib/cjs/locale/en-US.js +4 -4
- package/lib/cjs/locale/es-ES.js +4 -4
- package/lib/cjs/locale/fa-IR.js +4 -4
- package/lib/cjs/locale/fr-FR.js +4 -4
- package/lib/cjs/locale/id-ID.js +13 -0
- package/lib/cjs/locale/it-IT.js +13 -0
- package/lib/cjs/locale/ja-JP.js +4 -4
- package/lib/cjs/locale/ko-KR.js +4 -4
- package/lib/cjs/locale/pl-PL.js +13 -0
- package/lib/cjs/locale/pt-BR.js +13 -0
- package/lib/cjs/locale/ru-RU.js +4 -4
- package/lib/cjs/locale/sk-SK.js +4 -4
- package/lib/cjs/locale/vi-VN.js +4 -4
- package/lib/cjs/locale/zh-CN.js +4 -4
- package/lib/cjs/locale/zh-HK.js +13 -0
- package/lib/cjs/locale/zh-TW.js +4 -4
- package/lib/es/index.js +11 -11
- package/lib/es/locale/ar-SA.js +12 -0
- package/lib/es/locale/ca-ES.js +4 -4
- package/lib/es/locale/de-DE.js +12 -0
- package/lib/es/locale/en-US.js +4 -4
- package/lib/es/locale/es-ES.js +4 -4
- package/lib/es/locale/fa-IR.js +4 -4
- package/lib/es/locale/fr-FR.js +4 -4
- package/lib/es/locale/id-ID.js +12 -0
- package/lib/es/locale/it-IT.js +12 -0
- package/lib/es/locale/ja-JP.js +4 -4
- package/lib/es/locale/ko-KR.js +4 -4
- package/lib/es/locale/pl-PL.js +12 -0
- package/lib/es/locale/pt-BR.js +12 -0
- package/lib/es/locale/ru-RU.js +4 -4
- package/lib/es/locale/sk-SK.js +4 -4
- package/lib/es/locale/vi-VN.js +4 -4
- package/lib/es/locale/zh-CN.js +4 -4
- package/lib/es/locale/zh-HK.js +12 -0
- package/lib/es/locale/zh-TW.js +4 -4
- package/lib/index.js +11 -11
- package/lib/locale/ar-SA.js +12 -0
- package/lib/locale/ca-ES.js +4 -4
- package/lib/locale/de-DE.js +12 -0
- package/lib/locale/en-US.js +4 -4
- package/lib/locale/es-ES.js +4 -4
- package/lib/locale/fa-IR.js +4 -4
- package/lib/locale/fr-FR.js +4 -4
- package/lib/locale/id-ID.js +12 -0
- package/lib/locale/it-IT.js +12 -0
- package/lib/locale/ja-JP.js +4 -4
- package/lib/locale/ko-KR.js +4 -4
- package/lib/locale/pl-PL.js +12 -0
- package/lib/locale/pt-BR.js +12 -0
- package/lib/locale/ru-RU.js +4 -4
- package/lib/locale/sk-SK.js +4 -4
- package/lib/locale/vi-VN.js +4 -4
- package/lib/locale/zh-CN.js +4 -4
- package/lib/locale/zh-HK.js +12 -0
- package/lib/locale/zh-TW.js +4 -4
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +9 -7
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/it-IT.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Scrivi qui" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Aggiungi nota",
|
|
6
|
+
deleteNote: "Elimina nota",
|
|
7
|
+
toggleNote: "Mostra/Nascondi nota"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ja-JP.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "ここに入力" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "コメントを追加",
|
|
5
6
|
deleteNote: "コメントを削除",
|
|
6
7
|
toggleNote: "コメントの表示/非表示"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ko-KR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "여기에 입력" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "노트 추가",
|
|
5
6
|
deleteNote: "노트 삭제",
|
|
6
7
|
toggleNote: "노트 표시/숨기기"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/pl-PL.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Wpisz tutaj" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Dodaj notatkę",
|
|
6
|
+
deleteNote: "Usuń notatkę",
|
|
7
|
+
toggleNote: "Pokaż/Ukryj notatkę"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/pt-BR.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Digite aqui" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Adicionar Nota",
|
|
6
|
+
deleteNote: "Excluir Nota",
|
|
7
|
+
toggleNote: "Exibir/Ocultar Nota"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ru-RU.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Введите текст здесь" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Добавить примечание",
|
|
5
6
|
deleteNote: "Удалить примечание",
|
|
6
7
|
toggleNote: "Показать/Скрыть примечание"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/sk-SK.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Píšte sem" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Pridať poznámku",
|
|
5
6
|
deleteNote: "Odstrániť poznámku",
|
|
6
7
|
toggleNote: "Zobraziť/Skryť poznámku"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/vi-VN.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Nhập tại đây" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Thêm ghi chú",
|
|
5
6
|
deleteNote: "Xóa ghi chú",
|
|
6
7
|
toggleNote: "Hiện/Ẩn ghi chú"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/zh-CN.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "在此输入" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "添加批注",
|
|
5
6
|
deleteNote: "删除批注",
|
|
6
7
|
toggleNote: "显示/隐藏批注"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/zh-TW.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "在此輸入" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "添加批註",
|
|
5
6
|
deleteNote: "刪除批註",
|
|
6
7
|
toggleNote: "顯示/隱藏批註"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Textarea, clsx } from "@univerjs/design";
|
|
|
11
11
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
|
|
14
|
-
//#region \0@oxc-project+runtime@0.
|
|
14
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
|
|
15
15
|
function __decorateParam(paramIndex, decorator) {
|
|
16
16
|
return function(target, key) {
|
|
17
17
|
decorator(target, key, paramIndex);
|
|
@@ -19,7 +19,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region \0@oxc-project+runtime@0.
|
|
22
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
23
23
|
function __decorate(decorators, target, key, desc) {
|
|
24
24
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
25
25
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -104,7 +104,7 @@ SheetsCellContentController = __decorate([
|
|
|
104
104
|
const SHEET_NOTE_COMPONENT = "SHEET_NOTE_COMPONENT";
|
|
105
105
|
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region \0@oxc-project+runtime@0.
|
|
107
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
108
108
|
function _typeof(o) {
|
|
109
109
|
"@babel/helpers - typeof";
|
|
110
110
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -115,7 +115,7 @@ function _typeof(o) {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
//#endregion
|
|
118
|
-
//#region \0@oxc-project+runtime@0.
|
|
118
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
119
119
|
function toPrimitive(t, r) {
|
|
120
120
|
if ("object" != _typeof(t) || !t) return t;
|
|
121
121
|
var e = t[Symbol.toPrimitive];
|
|
@@ -128,14 +128,14 @@ function toPrimitive(t, r) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
//#endregion
|
|
131
|
-
//#region \0@oxc-project+runtime@0.
|
|
131
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
132
132
|
function toPropertyKey(t) {
|
|
133
133
|
var i = toPrimitive(t, "string");
|
|
134
134
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
//#endregion
|
|
138
|
-
//#region \0@oxc-project+runtime@0.
|
|
138
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
139
139
|
function _defineProperty(e, r, t) {
|
|
140
140
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
141
141
|
value: t,
|
|
@@ -344,7 +344,7 @@ SheetsNotePopupController = __decorate([
|
|
|
344
344
|
//#endregion
|
|
345
345
|
//#region package.json
|
|
346
346
|
var name = "@univerjs/sheets-note-ui";
|
|
347
|
-
var version = "0.
|
|
347
|
+
var version = "0.25.0";
|
|
348
348
|
|
|
349
349
|
//#endregion
|
|
350
350
|
//#region src/config/config.ts
|
|
@@ -513,7 +513,7 @@ function sheetNoteContextMenuFactory(accessor) {
|
|
|
513
513
|
return {
|
|
514
514
|
id: AddNotePopupOperation.id,
|
|
515
515
|
type: MenuItemType.BUTTON,
|
|
516
|
-
title: "rightClick.addNote",
|
|
516
|
+
title: "sheets-note-ui.rightClick.addNote",
|
|
517
517
|
icon: "AddNoteIcon",
|
|
518
518
|
hidden$: combineLatest([getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_SHEET), getHasNote$(accessor)]).pipe(map(([hidden, hasNote]) => hidden || hasNote)),
|
|
519
519
|
disabled$: getCurrentRangeDisable$(accessor, {
|
|
@@ -527,7 +527,7 @@ function sheetDeleteNoteMenuFactory(accessor) {
|
|
|
527
527
|
return {
|
|
528
528
|
id: SheetDeleteNoteCommand.id,
|
|
529
529
|
type: MenuItemType.BUTTON,
|
|
530
|
-
title: "rightClick.deleteNote",
|
|
530
|
+
title: "sheets-note-ui.rightClick.deleteNote",
|
|
531
531
|
icon: "DeleteNoteIcon",
|
|
532
532
|
hidden$: getHasNote$(accessor).pipe(map((hasNote) => !hasNote)),
|
|
533
533
|
disabled$: getCurrentRangeDisable$(accessor, {
|
|
@@ -540,7 +540,7 @@ function sheetNoteToggleMenuFactory(accessor) {
|
|
|
540
540
|
return {
|
|
541
541
|
id: SheetToggleNotePopupCommand.id,
|
|
542
542
|
type: MenuItemType.BUTTON,
|
|
543
|
-
title: "rightClick.toggleNote",
|
|
543
|
+
title: "sheets-note-ui.rightClick.toggleNote",
|
|
544
544
|
icon: "HideNoteIcon",
|
|
545
545
|
hidden$: getHasNote$(accessor).pipe(map((hasNote) => !hasNote))
|
|
546
546
|
};
|
|
@@ -661,7 +661,7 @@ const SheetsNote = (props) => {
|
|
|
661
661
|
"data-u-comp": "note-textarea",
|
|
662
662
|
className: clsx("univer-ml-px univer-min-h-1 univer-min-w-1 univer-bg-white !univer-text-sm univer-shadow dark:!univer-bg-gray-800"),
|
|
663
663
|
value: note === null || note === void 0 ? void 0 : note.note,
|
|
664
|
-
placeholder: localeService.t("note.placeholder"),
|
|
664
|
+
placeholder: localeService.t("sheets-note-ui.note.placeholder"),
|
|
665
665
|
onResize: handleResize,
|
|
666
666
|
onValueChange: handleNoteChange,
|
|
667
667
|
onWheel: (e) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "اكتب هنا" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "إضافة ملاحظة",
|
|
6
|
+
deleteNote: "حذف الملاحظة",
|
|
7
|
+
toggleNote: "إظهار/إخفاء الملاحظة"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ca-ES.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Escriu aquí" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Afegeix nota",
|
|
5
6
|
deleteNote: "Elimina nota",
|
|
6
7
|
toggleNote: "Mostra/Amaga nota"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Hier eingeben" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Notiz hinzufügen",
|
|
6
|
+
deleteNote: "Notiz löschen",
|
|
7
|
+
toggleNote: "Notiz anzeigen/ausblenden"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
package/lib/locale/en-US.js
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
const locale = {
|
|
17
|
+
const locale = { "sheets-note-ui": {
|
|
18
|
+
note: { placeholder: "Type here" },
|
|
18
19
|
rightClick: {
|
|
19
20
|
addNote: "Add Note",
|
|
20
21
|
deleteNote: "Delete Note",
|
|
21
22
|
toggleNote: "Show/Hide Note"
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
};
|
|
23
|
+
}
|
|
24
|
+
} };
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
export { locale as default };
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/es-ES.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Escribe aquí" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Agregar nota",
|
|
5
6
|
deleteNote: "Eliminar nota",
|
|
6
7
|
toggleNote: "Mostrar/Ocultar nota"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/fa-IR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "اینجا تایپ کنید" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "افزودن یادداشت",
|
|
5
6
|
deleteNote: "حذف یادداشت",
|
|
6
7
|
toggleNote: "نمایش/پنهان کردن یادداشت"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/fr-FR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Écrivez ici" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Ajouter une note",
|
|
5
6
|
deleteNote: "Supprimer la note",
|
|
6
7
|
toggleNote: "Afficher/Masquer la note"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/id-ID.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Ketik di sini" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Tambah Catatan",
|
|
6
|
+
deleteNote: "Hapus Catatan",
|
|
7
|
+
toggleNote: "Tampilkan/Sembunyikan Catatan"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/it-IT.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Scrivi qui" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Aggiungi nota",
|
|
6
|
+
deleteNote: "Elimina nota",
|
|
7
|
+
toggleNote: "Mostra/Nascondi nota"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ja-JP.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "ここに入力" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "コメントを追加",
|
|
5
6
|
deleteNote: "コメントを削除",
|
|
6
7
|
toggleNote: "コメントの表示/非表示"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ko-KR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "여기에 입력" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "노트 추가",
|
|
5
6
|
deleteNote: "노트 삭제",
|
|
6
7
|
toggleNote: "노트 표시/숨기기"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/pl-PL.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Wpisz tutaj" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Dodaj notatkę",
|
|
6
|
+
deleteNote: "Usuń notatkę",
|
|
7
|
+
toggleNote: "Pokaż/Ukryj notatkę"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/locale/pt-BR.ts
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Digite aqui" },
|
|
4
|
+
rightClick: {
|
|
5
|
+
addNote: "Adicionar Nota",
|
|
6
|
+
deleteNote: "Excluir Nota",
|
|
7
|
+
toggleNote: "Exibir/Ocultar Nota"
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { locale as default };
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/ru-RU.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Введите текст здесь" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Добавить примечание",
|
|
5
6
|
deleteNote: "Удалить примечание",
|
|
6
7
|
toggleNote: "Показать/Скрыть примечание"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/sk-SK.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Píšte sem" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Pridať poznámku",
|
|
5
6
|
deleteNote: "Odstrániť poznámku",
|
|
6
7
|
toggleNote: "Zobraziť/Skryť poznámku"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/vi-VN.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "Nhập tại đây" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "Thêm ghi chú",
|
|
5
6
|
deleteNote: "Xóa ghi chú",
|
|
6
7
|
toggleNote: "Hiện/Ẩn ghi chú"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/zh-CN.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "在此输入" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "添加批注",
|
|
5
6
|
deleteNote: "删除批注",
|
|
6
7
|
toggleNote: "显示/隐藏批注"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//#region src/locale/zh-TW.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-note-ui": {
|
|
3
|
+
note: { placeholder: "在此輸入" },
|
|
3
4
|
rightClick: {
|
|
4
5
|
addNote: "添加批註",
|
|
5
6
|
deleteNote: "刪除批註",
|
|
6
7
|
toggleNote: "顯示/隱藏批註"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
};
|
|
8
|
+
}
|
|
9
|
+
} };
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { locale as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -14,13 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
declare const locale: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
'sheets-note-ui': {
|
|
18
|
+
note: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
rightClick: {
|
|
22
|
+
addNote: string;
|
|
23
|
+
deleteNote: string;
|
|
24
|
+
toggleNote: string;
|
|
25
|
+
};
|
|
24
26
|
};
|
|
25
27
|
};
|
|
26
28
|
export default locale;
|