@univerjs/docs-hyper-link-ui 0.24.0 → 0.25.0-insiders.20260608-e4336f7
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 +35 -24
- package/lib/cjs/locale/ar-SA.js +24 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +24 -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 +24 -0
- package/lib/cjs/locale/it-IT.js +24 -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 +24 -0
- package/lib/cjs/locale/pt-BR.js +24 -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 +24 -0
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +37 -26
- package/lib/es/locale/ar-SA.js +23 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +23 -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 +23 -0
- package/lib/es/locale/it-IT.js +23 -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 +23 -0
- package/lib/es/locale/pt-BR.js +23 -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 +23 -0
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +37 -26
- package/lib/locale/ar-SA.js +23 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +23 -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 +23 -0
- package/lib/locale/it-IT.js +23 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +23 -0
- package/lib/locale/pt-BR.js +23 -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 +23 -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/types/views/hyper-link-edit/index.d.ts +1 -1
- package/lib/types/views/hyper-link-popup/index.d.ts +1 -1
- 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 +12 -12
- package/LICENSE +0 -176
package/lib/cjs/index.js
CHANGED
|
@@ -13,7 +13,7 @@ let _univerjs_icons = require("@univerjs/icons");
|
|
|
13
13
|
|
|
14
14
|
//#region package.json
|
|
15
15
|
var name = "@univerjs/docs-hyper-link-ui";
|
|
16
|
-
var version = "0.
|
|
16
|
+
var version = "0.25.0-insiders.20260608-e4336f7";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/config/config.ts
|
|
@@ -182,8 +182,8 @@ const DocHyperLinkEdit = () => {
|
|
|
182
182
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
183
183
|
className: (0, _univerjs_design.clsx)("univer-box-border univer-w-[328px] univer-rounded-xl univer-bg-white univer-px-6 univer-py-5 univer-shadow dark:!univer-bg-gray-900", _univerjs_design.borderClassName),
|
|
184
184
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [editing ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.FormLayout, {
|
|
185
|
-
label: localeService.t("
|
|
186
|
-
error: showError && isBlankInput(label) ? localeService.t("
|
|
185
|
+
label: localeService.t("docs-hyper-link-ui.edit.label"),
|
|
186
|
+
error: showError && isBlankInput(label) ? localeService.t("docs-hyper-link-ui.edit.labelError") : "",
|
|
187
187
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Input, {
|
|
188
188
|
value: label,
|
|
189
189
|
onChange: setLabel,
|
|
@@ -193,8 +193,8 @@ const DocHyperLinkEdit = () => {
|
|
|
193
193
|
}
|
|
194
194
|
})
|
|
195
195
|
}) : null, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.FormLayout, {
|
|
196
|
-
label: localeService.t("
|
|
197
|
-
error: showError && !isLegal ? localeService.t("
|
|
196
|
+
label: localeService.t("docs-hyper-link-ui.edit.address"),
|
|
197
|
+
error: showError && !isLegal ? localeService.t("docs-hyper-link-ui.edit.addressError") : "",
|
|
198
198
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Input, {
|
|
199
199
|
value: link,
|
|
200
200
|
onChange: setLink,
|
|
@@ -207,12 +207,12 @@ const DocHyperLinkEdit = () => {
|
|
|
207
207
|
className: "univer-flex univer-justify-end univer-gap-3",
|
|
208
208
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
209
209
|
onClick: handleCancel,
|
|
210
|
-
children: localeService.t("
|
|
210
|
+
children: localeService.t("docs-hyper-link-ui.edit.cancel")
|
|
211
211
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
212
212
|
variant: "primary",
|
|
213
213
|
disabled: isBlankInput(link),
|
|
214
214
|
onClick: handleConfirm,
|
|
215
|
-
children: localeService.t("
|
|
215
|
+
children: localeService.t("docs-hyper-link-ui.edit.confirm")
|
|
216
216
|
})]
|
|
217
217
|
})]
|
|
218
218
|
});
|
|
@@ -287,7 +287,8 @@ const ClickDocHyperLinkOperation = {
|
|
|
287
287
|
const doc = accessor.get(_univerjs_core.IUniverInstanceService).getUnit(unitId, _univerjs_core.UniverInstanceType.UNIVER_DOC);
|
|
288
288
|
const body = doc === null || doc === void 0 ? void 0 : doc.getSelfOrHeaderFooterModel(segmentId).getBody();
|
|
289
289
|
const link = body === null || body === void 0 || (_body$customRanges = body.customRanges) === null || _body$customRanges === void 0 || (_body$customRanges = _body$customRanges.find((range) => range.rangeId === linkId && range.rangeType === _univerjs_core.CustomRangeType.HYPERLINK)) === null || _body$customRanges === void 0 || (_body$customRanges = _body$customRanges.properties) === null || _body$customRanges === void 0 ? void 0 : _body$customRanges.url;
|
|
290
|
-
if (
|
|
290
|
+
if (!(0, _univerjs_core.isSafeUrl)(link)) return false;
|
|
291
|
+
window.open(link, "_blank", "noopener noreferrer");
|
|
291
292
|
return true;
|
|
292
293
|
}
|
|
293
294
|
};
|
|
@@ -336,13 +337,13 @@ const DocLinkPopup = () => {
|
|
|
336
337
|
onClick: () => {
|
|
337
338
|
navigator.clipboard.writeText(url);
|
|
338
339
|
messageService.show({
|
|
339
|
-
content: localeService.t("
|
|
340
|
+
content: localeService.t("docs-hyper-link-ui.info.coped"),
|
|
340
341
|
type: _univerjs_design.MessageType.Info
|
|
341
342
|
});
|
|
342
343
|
},
|
|
343
344
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
|
|
344
345
|
placement: "bottom",
|
|
345
|
-
title: localeService.t("
|
|
346
|
+
title: localeService.t("docs-hyper-link-ui.info.copy"),
|
|
346
347
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.CopyIcon, {})
|
|
347
348
|
})
|
|
348
349
|
}),
|
|
@@ -353,7 +354,7 @@ const DocLinkPopup = () => {
|
|
|
353
354
|
},
|
|
354
355
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
|
|
355
356
|
placement: "bottom",
|
|
356
|
-
title: localeService.t("
|
|
357
|
+
title: localeService.t("docs-hyper-link-ui.info.edit"),
|
|
357
358
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.WriteIcon, {})
|
|
358
359
|
})
|
|
359
360
|
}),
|
|
@@ -368,7 +369,7 @@ const DocLinkPopup = () => {
|
|
|
368
369
|
},
|
|
369
370
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
|
|
370
371
|
placement: "bottom",
|
|
371
|
-
title: localeService.t("
|
|
372
|
+
title: localeService.t("docs-hyper-link-ui.info.cancel"),
|
|
372
373
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.UnlinkIcon, {})
|
|
373
374
|
})
|
|
374
375
|
})
|
|
@@ -379,7 +380,7 @@ const DocLinkPopup = () => {
|
|
|
379
380
|
DocLinkPopup.componentKey = "univer.doc.link-info-popup";
|
|
380
381
|
|
|
381
382
|
//#endregion
|
|
382
|
-
//#region \0@oxc-project+runtime@0.
|
|
383
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/typeof.js
|
|
383
384
|
function _typeof(o) {
|
|
384
385
|
"@babel/helpers - typeof";
|
|
385
386
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -390,7 +391,7 @@ function _typeof(o) {
|
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
//#endregion
|
|
393
|
-
//#region \0@oxc-project+runtime@0.
|
|
394
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPrimitive.js
|
|
394
395
|
function toPrimitive(t, r) {
|
|
395
396
|
if ("object" != _typeof(t) || !t) return t;
|
|
396
397
|
var e = t[Symbol.toPrimitive];
|
|
@@ -403,14 +404,14 @@ function toPrimitive(t, r) {
|
|
|
403
404
|
}
|
|
404
405
|
|
|
405
406
|
//#endregion
|
|
406
|
-
//#region \0@oxc-project+runtime@0.
|
|
407
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPropertyKey.js
|
|
407
408
|
function toPropertyKey(t) {
|
|
408
409
|
var i = toPrimitive(t, "string");
|
|
409
410
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
410
411
|
}
|
|
411
412
|
|
|
412
413
|
//#endregion
|
|
413
|
-
//#region \0@oxc-project+runtime@0.
|
|
414
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/defineProperty.js
|
|
414
415
|
function _defineProperty(e, r, t) {
|
|
415
416
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
416
417
|
value: t,
|
|
@@ -421,7 +422,7 @@ function _defineProperty(e, r, t) {
|
|
|
421
422
|
}
|
|
422
423
|
|
|
423
424
|
//#endregion
|
|
424
|
-
//#region \0@oxc-project+runtime@0.
|
|
425
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/decorateParam.js
|
|
425
426
|
function __decorateParam(paramIndex, decorator) {
|
|
426
427
|
return function(target, key) {
|
|
427
428
|
decorator(target, key, paramIndex);
|
|
@@ -429,7 +430,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
429
430
|
}
|
|
430
431
|
|
|
431
432
|
//#endregion
|
|
432
|
-
//#region \0@oxc-project+runtime@0.
|
|
433
|
+
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/decorate.js
|
|
433
434
|
function __decorate(decorators, target, key, desc) {
|
|
434
435
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
435
436
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -612,10 +613,10 @@ let DocHyperLinkEventRenderController = class DocHyperLinkEventRenderController
|
|
|
612
613
|
}
|
|
613
614
|
_initHover() {
|
|
614
615
|
this.disposeWithMe(this._docEventManagerService.hoverCustomRanges$.subscribe((ranges) => {
|
|
615
|
-
var _link$segmentId;
|
|
616
|
+
var _activeRanges$, _link$segmentId;
|
|
616
617
|
const link = ranges.find((range) => range.range.rangeType === _univerjs_core.CustomRangeType.HYPERLINK);
|
|
617
618
|
const activeRanges = this._docSelectionManagerService.getTextRanges();
|
|
618
|
-
const currentSegmentId = activeRanges === null || activeRanges === void 0 ? void 0 :
|
|
619
|
+
const currentSegmentId = activeRanges === null || activeRanges === void 0 || (_activeRanges$ = activeRanges[0]) === null || _activeRanges$ === void 0 ? void 0 : _activeRanges$.segmentId;
|
|
619
620
|
if (((_link$segmentId = link === null || link === void 0 ? void 0 : link.segmentId) !== null && _link$segmentId !== void 0 ? _link$segmentId : "") !== currentSegmentId) {
|
|
620
621
|
this._hideInfoPopup();
|
|
621
622
|
return;
|
|
@@ -702,8 +703,8 @@ function AddHyperLinkMenuItemFactory(accessor) {
|
|
|
702
703
|
id: ShowDocHyperLinkEditPopupOperation.id,
|
|
703
704
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
704
705
|
icon: DOC_LINK_ICON,
|
|
705
|
-
title: "
|
|
706
|
-
tooltip: "
|
|
706
|
+
title: "docs-hyper-link-ui.menu.tooltip",
|
|
707
|
+
tooltip: "docs-hyper-link-ui.menu.tooltip",
|
|
707
708
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_DOC),
|
|
708
709
|
disabled$: new rxjs.Observable(function(subscribe) {
|
|
709
710
|
const observer = accessor.get(_univerjs_docs.DocSelectionManagerService).textSelection$.pipe((0, rxjs.debounceTime)(16)).subscribe(() => {
|
|
@@ -718,7 +719,7 @@ function AddHyperLinkMenuItemFactory(accessor) {
|
|
|
718
719
|
const addLinkShortcut = {
|
|
719
720
|
id: ShowDocHyperLinkEditPopupOperation.id,
|
|
720
721
|
binding: _univerjs_ui.MetaKeys.CTRL_COMMAND | _univerjs_ui.KeyCode.K,
|
|
721
|
-
description: "
|
|
722
|
+
description: "docs-hyper-link-ui.menu.tooltip",
|
|
722
723
|
preconditions: _univerjs_docs_ui.whenDocAndEditorFocused
|
|
723
724
|
};
|
|
724
725
|
|
|
@@ -732,7 +733,17 @@ const menuSchema = {
|
|
|
732
733
|
[_univerjs_ui.ContextMenuPosition.MAIN_AREA]: { [_univerjs_ui.ContextMenuGroup.DATA]: { [ShowDocHyperLinkEditPopupOperation.id]: {
|
|
733
734
|
order: 0,
|
|
734
735
|
menuItemFactory: AddHyperLinkMenuItemFactory
|
|
735
|
-
} } }
|
|
736
|
+
} } },
|
|
737
|
+
[_univerjs_ui.ContextMenuPosition.PARAGRAPH]: {
|
|
738
|
+
[_univerjs_ui.ContextMenuGroup.LAYOUT]: { [_univerjs_docs_ui.INSERT_BELLOW_MENU_ID]: { [ShowDocHyperLinkEditPopupOperation.id]: {
|
|
739
|
+
order: 6,
|
|
740
|
+
menuItemFactory: AddHyperLinkMenuItemFactory
|
|
741
|
+
} } },
|
|
742
|
+
[_univerjs_docs_ui.EMPTY_PARAGRAPH_MENU_ID]: { [_univerjs_ui.ContextMenuGroup.LAYOUT]: { [ShowDocHyperLinkEditPopupOperation.id]: {
|
|
743
|
+
order: 6,
|
|
744
|
+
menuItemFactory: AddHyperLinkMenuItemFactory
|
|
745
|
+
} } }
|
|
746
|
+
}
|
|
736
747
|
};
|
|
737
748
|
|
|
738
749
|
//#endregion
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/ar-SA.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "تأكيد",
|
|
6
|
+
cancel: "إلغاء",
|
|
7
|
+
title: "ارتباط",
|
|
8
|
+
address: "ارتباط",
|
|
9
|
+
placeholder: "يُرجى إدخال عنوان URL للارتباط",
|
|
10
|
+
addressError: "عنوان URL غير قانوني!",
|
|
11
|
+
label: "تسمية",
|
|
12
|
+
labelError: "يُرجى إدخال تسمية الارتباط"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "نسخ",
|
|
16
|
+
edit: "تحرير",
|
|
17
|
+
cancel: "إلغاء الارتباط",
|
|
18
|
+
coped: "تم نسخ الارتباط إلى الحافظة"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "إضافة ارتباط" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/de-DE.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "Bestätigen",
|
|
6
|
+
cancel: "Abbrechen",
|
|
7
|
+
title: "Link",
|
|
8
|
+
address: "Link",
|
|
9
|
+
placeholder: "Bitte eine Link-URL eingeben",
|
|
10
|
+
addressError: "URL ist ungültig!",
|
|
11
|
+
label: "Bezeichnung",
|
|
12
|
+
labelError: "Bitte die Bezeichnung des Links eingeben"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "Kopieren",
|
|
16
|
+
edit: "Bearbeiten",
|
|
17
|
+
cancel: "Link abbrechen",
|
|
18
|
+
coped: "Link in die Zwischenablage kopiert"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "Link hinzufügen" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
package/lib/cjs/locale/es-ES.js
CHANGED
package/lib/cjs/locale/fa-IR.js
CHANGED
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/id-ID.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "Konfirmasi",
|
|
6
|
+
cancel: "Batal",
|
|
7
|
+
title: "Tautan",
|
|
8
|
+
address: "Tautan",
|
|
9
|
+
placeholder: "Silakan masukkan URL tautan",
|
|
10
|
+
addressError: "URL tidak valid!",
|
|
11
|
+
label: "Label",
|
|
12
|
+
labelError: "Silakan masukkan label tautan"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "Salin",
|
|
16
|
+
edit: "Edit",
|
|
17
|
+
cancel: "Batalkan tautan",
|
|
18
|
+
coped: "Tautan disalin ke clipboard"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "Tambah tautan" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/it-IT.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "Conferma",
|
|
6
|
+
cancel: "Annulla",
|
|
7
|
+
title: "Collegamento",
|
|
8
|
+
address: "Collegamento",
|
|
9
|
+
placeholder: "Inserisci un URL di collegamento",
|
|
10
|
+
addressError: "URL non valido!",
|
|
11
|
+
label: "Etichetta",
|
|
12
|
+
labelError: "Inserisci l'etichetta del collegamento"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "Copia",
|
|
16
|
+
edit: "Modifica",
|
|
17
|
+
cancel: "Annulla collegamento",
|
|
18
|
+
coped: "Collegamento copiato negli appunti"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "Aggiungi collegamento" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pl-PL.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "Potwierdź",
|
|
6
|
+
cancel: "Anuluj",
|
|
7
|
+
title: "Łącze",
|
|
8
|
+
address: "Łącze",
|
|
9
|
+
placeholder: "Wprowadź adres URL",
|
|
10
|
+
addressError: "Adres URL jest nieprawidłowy!",
|
|
11
|
+
label: "Etykieta",
|
|
12
|
+
labelError: "Wprowadź etykietę łącza"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "Kopiuj",
|
|
16
|
+
edit: "Edytuj",
|
|
17
|
+
cancel: "Usuń łącze",
|
|
18
|
+
coped: "Łącze skopiowane do schowka"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "Dodaj łącze" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/pt-BR.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "Confirmar",
|
|
6
|
+
cancel: "Cancelar",
|
|
7
|
+
title: "Link",
|
|
8
|
+
address: "Link",
|
|
9
|
+
placeholder: "Insira uma URL de link",
|
|
10
|
+
addressError: "URL inválida!",
|
|
11
|
+
label: "Rótulo",
|
|
12
|
+
labelError: "Insira o rótulo do link"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "Copiar",
|
|
16
|
+
edit: "Editar",
|
|
17
|
+
cancel: "Cancelar link",
|
|
18
|
+
coped: "Link copiado para a área de transferência"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "Adicionar link" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
package/lib/cjs/locale/sk-SK.js
CHANGED
package/lib/cjs/locale/vi-VN.js
CHANGED
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/zh-HK.ts
|
|
3
|
+
const locale = { "docs-hyper-link-ui": {
|
|
4
|
+
edit: {
|
|
5
|
+
confirm: "確認",
|
|
6
|
+
cancel: "取消",
|
|
7
|
+
title: "連結",
|
|
8
|
+
address: "連結",
|
|
9
|
+
label: "文本",
|
|
10
|
+
labelError: "请输入链接文本",
|
|
11
|
+
placeholder: "請輸入合法的連結",
|
|
12
|
+
addressError: "請輸入合法的連結"
|
|
13
|
+
},
|
|
14
|
+
info: {
|
|
15
|
+
copy: "複製",
|
|
16
|
+
edit: "編輯",
|
|
17
|
+
cancel: "取消連結",
|
|
18
|
+
coped: "連結已複製到剪貼板"
|
|
19
|
+
},
|
|
20
|
+
menu: { tooltip: "新增連結" }
|
|
21
|
+
} };
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
module.exports = locale;
|