@univerjs/docs-quick-insert-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 +16 -16
- package/lib/cjs/locale/ar-SA.js +18 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +18 -0
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +18 -0
- package/lib/cjs/locale/it-IT.js +18 -0
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +18 -0
- package/lib/cjs/locale/pt-BR.js +18 -0
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +18 -0
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +16 -16
- package/lib/es/locale/ar-SA.js +17 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +17 -0
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +17 -0
- package/lib/es/locale/it-IT.js +17 -0
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +17 -0
- package/lib/es/locale/pt-BR.js +17 -0
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +17 -0
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +16 -16
- package/lib/locale/ar-SA.js +17 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +17 -0
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +17 -0
- package/lib/locale/it-IT.js +17 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +17 -0
- package/lib/locale/pt-BR.js +17 -0
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +17 -0
- package/lib/locale/zh-TW.js +1 -1
- 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 +1 -1
- 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 +14 -14
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/pl-PL.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Lista numerowana",
|
|
5
|
+
bulletedList: "Lista punktowana",
|
|
6
|
+
divider: "Separator",
|
|
7
|
+
text: "Tekst",
|
|
8
|
+
table: "Tabela",
|
|
9
|
+
image: "Obraz"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Podstawy" },
|
|
12
|
+
placeholder: "Nie znaleziono wyników",
|
|
13
|
+
keywordInputPlaceholder: "Wpisz słowa kluczowe"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/pt-BR.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Lista Numerada",
|
|
5
|
+
bulletedList: "Lista com Marcadores",
|
|
6
|
+
divider: "Divisória",
|
|
7
|
+
text: "Texto",
|
|
8
|
+
table: "Tabela",
|
|
9
|
+
image: "Imagem"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Básicos" },
|
|
12
|
+
placeholder: "Nenhum resultado encontrado",
|
|
13
|
+
keywordInputPlaceholder: "Digite palavras-chave"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/es/locale/ru-RU.js
CHANGED
package/lib/es/locale/sk-SK.js
CHANGED
package/lib/es/locale/vi-VN.js
CHANGED
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/zh-HK.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "有序列表",
|
|
5
|
+
bulletedList: "無序列表",
|
|
6
|
+
divider: "分隔線",
|
|
7
|
+
text: "文本",
|
|
8
|
+
table: "表格",
|
|
9
|
+
image: "圖片"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "基礎" },
|
|
12
|
+
placeholder: "無結果",
|
|
13
|
+
keywordInputPlaceholder: "輸入關鍵詞"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/es/locale/zh-TW.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -50,7 +50,7 @@ function measureTextWidth(text, font) {
|
|
|
50
50
|
}
|
|
51
51
|
const KeywordInputPlaceholder = ({ popup }) => {
|
|
52
52
|
var _popup$extraProps$fon, _popup$extraProps, _popup$extraProps$fon2, _popup$extraProps2, _popup$extraProps$asc, _popup$extraProps3, _popup$extraProps$con, _popup$extraProps4, _popup$extraProps5, _popup$extraProps6, _popup$extraProps7;
|
|
53
|
-
const placeholder = useDependency(LocaleService).t("
|
|
53
|
+
const placeholder = useDependency(LocaleService).t("docs-quick-insert-ui.keywordInputPlaceholder");
|
|
54
54
|
const fontSizePx = ptToPixel((_popup$extraProps$fon = (_popup$extraProps = popup.extraProps) === null || _popup$extraProps === void 0 ? void 0 : _popup$extraProps.fontSize) !== null && _popup$extraProps$fon !== void 0 ? _popup$extraProps$fon : DEFAULT_FONT_SIZE);
|
|
55
55
|
const fontString = (_popup$extraProps$fon2 = (_popup$extraProps2 = popup.extraProps) === null || _popup$extraProps2 === void 0 ? void 0 : _popup$extraProps2.fontString) !== null && _popup$extraProps$fon2 !== void 0 ? _popup$extraProps$fon2 : `${fontSizePx}px sans-serif`;
|
|
56
56
|
const ascent = (_popup$extraProps$asc = (_popup$extraProps3 = popup.extraProps) === null || _popup$extraProps3 === void 0 ? void 0 : _popup$extraProps3.ascent) !== null && _popup$extraProps$asc !== void 0 ? _popup$extraProps$asc : fontSizePx;
|
|
@@ -197,7 +197,7 @@ const QuickInsertPlaceholderComponentKey = "docs.quick.insert.placeholder";
|
|
|
197
197
|
const QuickInsertPlaceholder = () => {
|
|
198
198
|
return /* @__PURE__ */ jsx("div", {
|
|
199
199
|
className: "univer-flex univer-h-full univer-items-center univer-justify-center univer-rounded-lg univer-bg-white univer-px-12 univer-py-6 univer-text-gray-400 univer-shadow-lg",
|
|
200
|
-
children: /* @__PURE__ */ jsx("span", { children: useDependency(LocaleService).t("
|
|
200
|
+
children: /* @__PURE__ */ jsx("span", { children: useDependency(LocaleService).t("docs-quick-insert-ui.placeholder") })
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
203
|
QuickInsertPlaceholder.componentKey = QuickInsertPlaceholderComponentKey;
|
|
@@ -362,7 +362,7 @@ const QuickInsertPopup = () => {
|
|
|
362
362
|
QuickInsertPopup.componentKey = "docs.quick.insert.popup";
|
|
363
363
|
|
|
364
364
|
//#endregion
|
|
365
|
-
//#region \0@oxc-project+runtime@0.
|
|
365
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
366
366
|
function _typeof(o) {
|
|
367
367
|
"@babel/helpers - typeof";
|
|
368
368
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -373,7 +373,7 @@ function _typeof(o) {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
//#endregion
|
|
376
|
-
//#region \0@oxc-project+runtime@0.
|
|
376
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
377
377
|
function toPrimitive(t, r) {
|
|
378
378
|
if ("object" != _typeof(t) || !t) return t;
|
|
379
379
|
var e = t[Symbol.toPrimitive];
|
|
@@ -386,14 +386,14 @@ function toPrimitive(t, r) {
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
//#endregion
|
|
389
|
-
//#region \0@oxc-project+runtime@0.
|
|
389
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
390
390
|
function toPropertyKey(t) {
|
|
391
391
|
var i = toPrimitive(t, "string");
|
|
392
392
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
//#endregion
|
|
396
|
-
//#region \0@oxc-project+runtime@0.
|
|
396
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
397
397
|
function _defineProperty(e, r, t) {
|
|
398
398
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
399
399
|
value: t,
|
|
@@ -404,7 +404,7 @@ function _defineProperty(e, r, t) {
|
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
//#endregion
|
|
407
|
-
//#region \0@oxc-project+runtime@0.
|
|
407
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
|
|
408
408
|
function __decorateParam(paramIndex, decorator) {
|
|
409
409
|
return function(target, key) {
|
|
410
410
|
decorator(target, key, paramIndex);
|
|
@@ -412,7 +412,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
//#endregion
|
|
415
|
-
//#region \0@oxc-project+runtime@0.
|
|
415
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
416
416
|
function __decorate(decorators, target, key, desc) {
|
|
417
417
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
418
418
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -664,13 +664,13 @@ const CloseQuickInsertPopupOperation = {
|
|
|
664
664
|
//#region src/menu/menu.ts
|
|
665
665
|
const textMenu = {
|
|
666
666
|
id: "quick-insert.text.menu",
|
|
667
|
-
title: "
|
|
667
|
+
title: "docs-quick-insert-ui.menu.text",
|
|
668
668
|
icon: "TextIcon",
|
|
669
669
|
keywords: ["text"]
|
|
670
670
|
};
|
|
671
671
|
const numberedListMenu = {
|
|
672
672
|
id: OrderListCommand.id,
|
|
673
|
-
title: "
|
|
673
|
+
title: "docs-quick-insert-ui.menu.numberedList",
|
|
674
674
|
icon: "OrderIcon",
|
|
675
675
|
keywords: [
|
|
676
676
|
"numbered",
|
|
@@ -680,7 +680,7 @@ const numberedListMenu = {
|
|
|
680
680
|
};
|
|
681
681
|
const bulletedListMenu = {
|
|
682
682
|
id: BulletListCommand.id,
|
|
683
|
-
title: "
|
|
683
|
+
title: "docs-quick-insert-ui.menu.bulletedList",
|
|
684
684
|
icon: "UnorderIcon",
|
|
685
685
|
keywords: [
|
|
686
686
|
"bulleted",
|
|
@@ -690,7 +690,7 @@ const bulletedListMenu = {
|
|
|
690
690
|
};
|
|
691
691
|
const dividerMenu = {
|
|
692
692
|
id: HorizontalLineCommand.id,
|
|
693
|
-
title: "
|
|
693
|
+
title: "docs-quick-insert-ui.menu.divider",
|
|
694
694
|
icon: "DividerIcon",
|
|
695
695
|
keywords: [
|
|
696
696
|
"divider",
|
|
@@ -700,7 +700,7 @@ const dividerMenu = {
|
|
|
700
700
|
};
|
|
701
701
|
const tableMenu = {
|
|
702
702
|
id: DocCreateTableOperation.id,
|
|
703
|
-
title: "
|
|
703
|
+
title: "docs-quick-insert-ui.menu.table",
|
|
704
704
|
icon: "GridIcon",
|
|
705
705
|
keywords: [
|
|
706
706
|
"table",
|
|
@@ -710,7 +710,7 @@ const tableMenu = {
|
|
|
710
710
|
};
|
|
711
711
|
const imageMenu = {
|
|
712
712
|
id: InsertDocImageCommand.id,
|
|
713
|
-
title: "
|
|
713
|
+
title: "docs-quick-insert-ui.menu.image",
|
|
714
714
|
icon: "AdditionAndSubtractionIcon",
|
|
715
715
|
keywords: [
|
|
716
716
|
"image",
|
|
@@ -719,7 +719,7 @@ const imageMenu = {
|
|
|
719
719
|
]
|
|
720
720
|
};
|
|
721
721
|
const builtInMenus = [{
|
|
722
|
-
title: "
|
|
722
|
+
title: "docs-quick-insert-ui.group.basics",
|
|
723
723
|
id: "quick.insert.group.basic",
|
|
724
724
|
children: [
|
|
725
725
|
textMenu,
|
|
@@ -1000,7 +1000,7 @@ DocQuickInsertUIController = __decorate([
|
|
|
1000
1000
|
//#endregion
|
|
1001
1001
|
//#region package.json
|
|
1002
1002
|
var name = "@univerjs/docs-quick-insert-ui";
|
|
1003
|
-
var version = "0.
|
|
1003
|
+
var version = "0.25.0";
|
|
1004
1004
|
|
|
1005
1005
|
//#endregion
|
|
1006
1006
|
//#region src/config/config.ts
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "قائمة مرقمة",
|
|
5
|
+
bulletedList: "قائمة نقطية",
|
|
6
|
+
divider: "فاصل",
|
|
7
|
+
text: "نص",
|
|
8
|
+
table: "جدول",
|
|
9
|
+
image: "صورة"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "أساسيات" },
|
|
12
|
+
placeholder: "لم يُعثر على نتائج",
|
|
13
|
+
keywordInputPlaceholder: "أدخل الكلمات المفتاحية"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Nummerierte Liste",
|
|
5
|
+
bulletedList: "Aufzählungsliste",
|
|
6
|
+
divider: "Trennlinie",
|
|
7
|
+
text: "Text",
|
|
8
|
+
table: "Tabelle",
|
|
9
|
+
image: "Bild"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Grundlagen" },
|
|
12
|
+
placeholder: "Keine Ergebnisse gefunden",
|
|
13
|
+
keywordInputPlaceholder: "Stichwörter eingeben"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/locale/en-US.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
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 = { "docs-quick-insert-ui": {
|
|
18
18
|
menu: {
|
|
19
19
|
numberedList: "Numbered List",
|
|
20
20
|
bulletedList: "Bulleted List",
|
package/lib/locale/es-ES.js
CHANGED
package/lib/locale/fa-IR.js
CHANGED
package/lib/locale/fr-FR.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/id-ID.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Daftar Bernomor",
|
|
5
|
+
bulletedList: "Daftar Berpoin",
|
|
6
|
+
divider: "Pembatas",
|
|
7
|
+
text: "Teks",
|
|
8
|
+
table: "Tabel",
|
|
9
|
+
image: "Gambar"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Dasar" },
|
|
12
|
+
placeholder: "Tidak ada hasil ditemukan",
|
|
13
|
+
keywordInputPlaceholder: "Masukkan kata kunci"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/it-IT.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Elenco Numerato",
|
|
5
|
+
bulletedList: "Elenco Puntato",
|
|
6
|
+
divider: "Divisore",
|
|
7
|
+
text: "Testo",
|
|
8
|
+
table: "Tabella",
|
|
9
|
+
image: "Immagine"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Elementi Base" },
|
|
12
|
+
placeholder: "Nessun risultato trovato",
|
|
13
|
+
keywordInputPlaceholder: "Inserisci parole chiave"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/locale/ja-JP.js
CHANGED
package/lib/locale/ko-KR.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/pl-PL.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Lista numerowana",
|
|
5
|
+
bulletedList: "Lista punktowana",
|
|
6
|
+
divider: "Separator",
|
|
7
|
+
text: "Tekst",
|
|
8
|
+
table: "Tabela",
|
|
9
|
+
image: "Obraz"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Podstawy" },
|
|
12
|
+
placeholder: "Nie znaleziono wyników",
|
|
13
|
+
keywordInputPlaceholder: "Wpisz słowa kluczowe"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/pt-BR.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "Lista Numerada",
|
|
5
|
+
bulletedList: "Lista com Marcadores",
|
|
6
|
+
divider: "Divisória",
|
|
7
|
+
text: "Texto",
|
|
8
|
+
table: "Tabela",
|
|
9
|
+
image: "Imagem"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "Básicos" },
|
|
12
|
+
placeholder: "Nenhum resultado encontrado",
|
|
13
|
+
keywordInputPlaceholder: "Digite palavras-chave"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/locale/ru-RU.js
CHANGED
package/lib/locale/sk-SK.js
CHANGED
package/lib/locale/vi-VN.js
CHANGED
package/lib/locale/zh-CN.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/locale/zh-HK.ts
|
|
2
|
+
const locale = { "docs-quick-insert-ui": {
|
|
3
|
+
menu: {
|
|
4
|
+
numberedList: "有序列表",
|
|
5
|
+
bulletedList: "無序列表",
|
|
6
|
+
divider: "分隔線",
|
|
7
|
+
text: "文本",
|
|
8
|
+
table: "表格",
|
|
9
|
+
image: "圖片"
|
|
10
|
+
},
|
|
11
|
+
group: { basics: "基礎" },
|
|
12
|
+
placeholder: "無結果",
|
|
13
|
+
keywordInputPlaceholder: "輸入關鍵詞"
|
|
14
|
+
} };
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { locale as default };
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|