@atlaskit/editor-common 74.29.2 → 74.30.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/CHANGELOG.md +12 -0
- package/dist/cjs/i18n/cs.js +19 -0
- package/dist/cjs/i18n/da.js +19 -0
- package/dist/cjs/i18n/de.js +19 -0
- package/dist/cjs/i18n/es.js +19 -0
- package/dist/cjs/i18n/fi.js +19 -0
- package/dist/cjs/i18n/fr.js +19 -0
- package/dist/cjs/i18n/hu.js +19 -0
- package/dist/cjs/i18n/it.js +19 -0
- package/dist/cjs/i18n/ja.js +19 -0
- package/dist/cjs/i18n/ko.js +19 -0
- package/dist/cjs/i18n/nb.js +19 -0
- package/dist/cjs/i18n/nl.js +19 -0
- package/dist/cjs/i18n/pl.js +19 -0
- package/dist/cjs/i18n/pt_BR.js +19 -0
- package/dist/cjs/i18n/ru.js +19 -0
- package/dist/cjs/i18n/sv.js +19 -0
- package/dist/cjs/i18n/th.js +19 -0
- package/dist/cjs/i18n/tr.js +19 -0
- package/dist/cjs/i18n/uk.js +19 -0
- package/dist/cjs/i18n/vi.js +19 -0
- package/dist/cjs/i18n/zh.js +19 -0
- package/dist/cjs/i18n/zh_TW.js +19 -0
- package/dist/cjs/mark/commands.js +201 -0
- package/dist/cjs/mark/index.js +30 -0
- package/dist/cjs/messages/full-page.js +25 -0
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Toolbar/index.js +8 -0
- package/dist/cjs/ui/index.js +7 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +16 -2
- package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +219 -0
- package/dist/cjs/ui-menu/index.js +23 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +19 -0
- package/dist/es2019/i18n/da.js +19 -0
- package/dist/es2019/i18n/de.js +19 -0
- package/dist/es2019/i18n/es.js +19 -0
- package/dist/es2019/i18n/fi.js +19 -0
- package/dist/es2019/i18n/fr.js +19 -0
- package/dist/es2019/i18n/hu.js +19 -0
- package/dist/es2019/i18n/it.js +19 -0
- package/dist/es2019/i18n/ja.js +19 -0
- package/dist/es2019/i18n/ko.js +19 -0
- package/dist/es2019/i18n/nb.js +19 -0
- package/dist/es2019/i18n/nl.js +19 -0
- package/dist/es2019/i18n/pl.js +19 -0
- package/dist/es2019/i18n/pt_BR.js +19 -0
- package/dist/es2019/i18n/ru.js +19 -0
- package/dist/es2019/i18n/sv.js +19 -0
- package/dist/es2019/i18n/th.js +19 -0
- package/dist/es2019/i18n/tr.js +19 -0
- package/dist/es2019/i18n/uk.js +19 -0
- package/dist/es2019/i18n/vi.js +19 -0
- package/dist/es2019/i18n/zh.js +19 -0
- package/dist/es2019/i18n/zh_TW.js +19 -0
- package/dist/es2019/mark/commands.js +205 -0
- package/dist/es2019/mark/index.js +1 -0
- package/dist/es2019/messages/full-page.js +18 -0
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Toolbar/index.js +1 -0
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/ui-menu/DropdownMenu/index.js +16 -2
- package/dist/es2019/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +209 -0
- package/dist/es2019/ui-menu/index.js +5 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +19 -0
- package/dist/esm/i18n/da.js +19 -0
- package/dist/esm/i18n/de.js +19 -0
- package/dist/esm/i18n/es.js +19 -0
- package/dist/esm/i18n/fi.js +19 -0
- package/dist/esm/i18n/fr.js +19 -0
- package/dist/esm/i18n/hu.js +19 -0
- package/dist/esm/i18n/it.js +19 -0
- package/dist/esm/i18n/ja.js +19 -0
- package/dist/esm/i18n/ko.js +19 -0
- package/dist/esm/i18n/nb.js +19 -0
- package/dist/esm/i18n/nl.js +19 -0
- package/dist/esm/i18n/pl.js +19 -0
- package/dist/esm/i18n/pt_BR.js +19 -0
- package/dist/esm/i18n/ru.js +19 -0
- package/dist/esm/i18n/sv.js +19 -0
- package/dist/esm/i18n/th.js +19 -0
- package/dist/esm/i18n/tr.js +19 -0
- package/dist/esm/i18n/uk.js +19 -0
- package/dist/esm/i18n/vi.js +19 -0
- package/dist/esm/i18n/zh.js +19 -0
- package/dist/esm/i18n/zh_TW.js +19 -0
- package/dist/esm/mark/commands.js +190 -0
- package/dist/esm/mark/index.js +1 -0
- package/dist/esm/messages/full-page.js +18 -0
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Toolbar/index.js +1 -0
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/ui-menu/DropdownMenu/index.js +15 -2
- package/dist/esm/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +207 -0
- package/dist/esm/ui-menu/index.js +5 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +19 -0
- package/dist/types/i18n/da.d.ts +19 -0
- package/dist/types/i18n/de.d.ts +19 -0
- package/dist/types/i18n/es.d.ts +19 -0
- package/dist/types/i18n/fi.d.ts +19 -0
- package/dist/types/i18n/fr.d.ts +19 -0
- package/dist/types/i18n/hu.d.ts +19 -0
- package/dist/types/i18n/it.d.ts +19 -0
- package/dist/types/i18n/ja.d.ts +19 -0
- package/dist/types/i18n/ko.d.ts +19 -0
- package/dist/types/i18n/nb.d.ts +19 -0
- package/dist/types/i18n/nl.d.ts +19 -0
- package/dist/types/i18n/pl.d.ts +19 -0
- package/dist/types/i18n/pt_BR.d.ts +19 -0
- package/dist/types/i18n/ru.d.ts +19 -0
- package/dist/types/i18n/sv.d.ts +19 -0
- package/dist/types/i18n/th.d.ts +19 -0
- package/dist/types/i18n/tr.d.ts +19 -0
- package/dist/types/i18n/uk.d.ts +19 -0
- package/dist/types/i18n/vi.d.ts +19 -0
- package/dist/types/i18n/zh.d.ts +19 -0
- package/dist/types/i18n/zh_TW.d.ts +19 -0
- package/dist/types/mark/commands.d.ts +18 -0
- package/dist/types/mark/index.d.ts +1 -0
- package/dist/types/messages/full-page.d.ts +17 -0
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/ui/Toolbar/index.d.ts +5 -0
- package/dist/types/ui/index.d.ts +2 -0
- package/dist/types/ui-menu/DropdownMenu/index.d.ts +2 -1
- package/dist/types/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +30 -0
- package/dist/types/ui-menu/index.d.ts +7 -6
- package/dist/types-ts4.5/i18n/cs.d.ts +19 -0
- package/dist/types-ts4.5/i18n/da.d.ts +19 -0
- package/dist/types-ts4.5/i18n/de.d.ts +19 -0
- package/dist/types-ts4.5/i18n/es.d.ts +19 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +19 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +19 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +19 -0
- package/dist/types-ts4.5/i18n/it.d.ts +19 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +19 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +19 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +19 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +19 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +19 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +19 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +19 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +19 -0
- package/dist/types-ts4.5/i18n/th.d.ts +19 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +19 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +19 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +19 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +19 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +19 -0
- package/dist/types-ts4.5/mark/commands.d.ts +18 -0
- package/dist/types-ts4.5/mark/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/full-page.d.ts +17 -0
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/index.d.ts +2 -0
- package/dist/types-ts4.5/ui-menu/DropdownMenu/index.d.ts +2 -1
- package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +30 -0
- package/dist/types-ts4.5/ui-menu/index.d.ts +7 -6
- package/mark/package.json +15 -0
- package/package.json +6 -4
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -23,9 +23,12 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.blockDescription': 'แสดงข้อมูลเพิ่มเติมเกี่ยวกับลิงก์ รวมถึงข้อมูลสรุปและการดำเนินการ',
|
|
24
24
|
'fabric.editor.blockTitle': 'การ์ด',
|
|
25
25
|
'fabric.editor.blockquote': 'ข้อความอ้างอิง',
|
|
26
|
+
'fabric.editor.bug': 'ข้อผิดพลาด',
|
|
26
27
|
'fabric.editor.cancelButton': 'ยกเลิก',
|
|
27
28
|
'fabric.editor.captionPlaceholder': 'เพิ่มคำอธิบาย',
|
|
28
29
|
'fabric.editor.cardFloatingControls': 'ตัวเลือกการ์ด',
|
|
30
|
+
'fabric.editor.clearLink': 'ล้างลิงก์',
|
|
31
|
+
'fabric.editor.clearLinkText': 'ล้างข้อความ',
|
|
29
32
|
'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
|
|
30
33
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'คัดลอกแล้ว!',
|
|
31
34
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'คัดลอกเป็นข้อความ',
|
|
@@ -40,11 +43,13 @@ var _default = {
|
|
|
40
43
|
'fabric.editor.date.description': 'เพิ่มวันที่โดยใช้ปฏิทิน',
|
|
41
44
|
'fabric.editor.decision': 'การตัดสินใจ',
|
|
42
45
|
'fabric.editor.decision.description': 'สร้างกรอบการตัดสินใจเพื่อให้คุณติดตามได้ง่าย',
|
|
46
|
+
'fabric.editor.defaultAltText': 'รายการที่แสดง',
|
|
43
47
|
'fabric.editor.displayBlock': 'แสดงการ์ด',
|
|
44
48
|
'fabric.editor.displayEmbed': 'แสดงลิงก์แบบซ่อน',
|
|
45
49
|
'fabric.editor.displayInline': 'แสดงชื่อลิงก์ในบรรทัดเดียวกัน',
|
|
46
50
|
'fabric.editor.displayLink': 'แสดงเป็นตัวอักษร',
|
|
47
51
|
'fabric.editor.displayOptionUnavailableInParentNode': 'ตัวเลือกการแสดงนี้ไม่พร้อมใช้งานภายใน {node}',
|
|
52
|
+
'fabric.editor.displayText': 'ข้อความที่จะแสดง',
|
|
48
53
|
'fabric.editor.ecombedDescription': 'แสดงตัวอย่างแบบโต้ตอบของลิงก์',
|
|
49
54
|
'fabric.editor.edit.datasource': 'แก้ไขคำถามการค้นหา',
|
|
50
55
|
'fabric.editor.editLink': 'แก้ไขลิงก์',
|
|
@@ -53,6 +58,7 @@ var _default = {
|
|
|
53
58
|
'fabric.editor.emoji': 'เอโมจิ',
|
|
54
59
|
'fabric.editor.emoji.description': 'ใช้เอโมจิเพื่อแสดงไอเดีย 🎉 และอารมณ์ต่าง ๆ 😄',
|
|
55
60
|
'fabric.editor.emptyLink': 'โปรดป้อนลิงก์',
|
|
61
|
+
'fabric.editor.epic': 'โครงงาน',
|
|
56
62
|
'fabric.editor.expand': 'ส่วนขยาย',
|
|
57
63
|
'fabric.editor.expand.description': 'ใส่ส่วนขยาย',
|
|
58
64
|
'fabric.editor.expandDefaultTitle': 'คลิกที่นี่เพื่อขยาย...',
|
|
@@ -60,12 +66,22 @@ var _default = {
|
|
|
60
66
|
'fabric.editor.expandPlaceholder': 'ตั้งชื่อให้ส่วนขยาย...',
|
|
61
67
|
'fabric.editor.feedbackDialog': 'ให้ข้อคิดเห็น',
|
|
62
68
|
'fabric.editor.feedbackDialog.description': 'บอกให้เราทราบเกี่ยวกับประสบการณ์ของคุณในการใช้งานเครื่องมือแก้ไขแบบใหม่',
|
|
69
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'บล็อก',
|
|
70
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'ข้อผิดพลาด',
|
|
71
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'ปัญหา',
|
|
72
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'หน้าข้อมูล',
|
|
73
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'เรื่องราว',
|
|
74
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'งาน',
|
|
63
75
|
'fabric.editor.help': 'ช่วยเหลือ',
|
|
64
76
|
'fabric.editor.help.description': 'เรียกใช้ปุ่มลัดบนคีย์บอร์ดและตัวเลือก markdown ทั้งหมด',
|
|
65
77
|
'fabric.editor.horizontalRule': 'ตัวแบ่งคั่น',
|
|
66
78
|
'fabric.editor.horizontalRule.description': 'แบ่งคั่นเนื้อหาด้วยเส้นแนวนอน',
|
|
79
|
+
'fabric.editor.hyperlink.linkAriaLabel': 'ป้ายลิงก์',
|
|
80
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': 'ข้อเสนอแนะจะปรากฏด้านล่างเมื่อคุณพิมพ์ลงในช่อง',
|
|
81
|
+
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {ไม่พบผลลัพธ์} other {พบผลลัพธ์ {count,number} รายการ}}',
|
|
67
82
|
'fabric.editor.hyperlinkToolbarPlaceholder': 'วางหรือค้นหาลิงก์',
|
|
68
83
|
'fabric.editor.image': 'รูปภาพ',
|
|
84
|
+
'fabric.editor.improvement': 'การปรับปรุง',
|
|
69
85
|
'fabric.editor.inlineDescription': 'แสดงลิงก์เป็นข้อความแบบบรรทัดเดียว',
|
|
70
86
|
'fabric.editor.inlineTitle': 'บรรทัดเดียว',
|
|
71
87
|
'fabric.editor.insertMenu': 'ใส่',
|
|
@@ -91,8 +107,11 @@ var _default = {
|
|
|
91
107
|
'fabric.editor.settingsLinks': 'ไปที่การตั้งค่าลิงก์',
|
|
92
108
|
'fabric.editor.status': 'สถานะ',
|
|
93
109
|
'fabric.editor.status.description': 'เพิ่มป้ายสถานะแบบกำหนดเอง',
|
|
110
|
+
'fabric.editor.story': 'เรื่องราว',
|
|
111
|
+
'fabric.editor.subTask': 'งานย่อย',
|
|
94
112
|
'fabric.editor.table': 'ตาราง',
|
|
95
113
|
'fabric.editor.table.description': 'แทรกตาราง',
|
|
114
|
+
'fabric.editor.task': 'งาน',
|
|
96
115
|
'fabric.editor.time.ago': 'ที่แล้ว',
|
|
97
116
|
'fabric.editor.time.updated': 'อัปเดตแล้ว',
|
|
98
117
|
'fabric.editor.time.viewed': 'ดูแล้ว',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -23,9 +23,12 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.blockDescription': 'Bağlantı hakkında özet ve işlemler de dahil olmak üzere daha fazla bilgi gösterir',
|
|
24
24
|
'fabric.editor.blockTitle': 'Kart',
|
|
25
25
|
'fabric.editor.blockquote': 'alıntı',
|
|
26
|
+
'fabric.editor.bug': 'Hata',
|
|
26
27
|
'fabric.editor.cancelButton': 'İptal',
|
|
27
28
|
'fabric.editor.captionPlaceholder': 'Açıklama yazısı ekleyin',
|
|
28
29
|
'fabric.editor.cardFloatingControls': 'Kart seçenekleri',
|
|
30
|
+
'fabric.editor.clearLink': 'Bağlantıyı temizle',
|
|
31
|
+
'fabric.editor.clearLinkText': 'Metni temizle',
|
|
29
32
|
'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
|
|
30
33
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Kopyalandı!',
|
|
31
34
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Metin olarak kopyala',
|
|
@@ -40,11 +43,13 @@ var _default = {
|
|
|
40
43
|
'fabric.editor.date.description': 'Takvimi kullanarak tarih ekleyin',
|
|
41
44
|
'fabric.editor.decision': 'Karar',
|
|
42
45
|
'fabric.editor.decision.description': 'Takibi kolaylaştırmak için kararları vurgulayın',
|
|
46
|
+
'fabric.editor.defaultAltText': 'Liste öğesi',
|
|
43
47
|
'fabric.editor.displayBlock': 'Kart olarak göster',
|
|
44
48
|
'fabric.editor.displayEmbed': 'Ekli nesne olarak göster',
|
|
45
49
|
'fabric.editor.displayInline': 'Satır içi nesne olarak göster',
|
|
46
50
|
'fabric.editor.displayLink': 'Metin olarak göster',
|
|
47
51
|
'fabric.editor.displayOptionUnavailableInParentNode': '{node} düğümünde bu görüntüleme seçeneği kullanılamıyor',
|
|
52
|
+
'fabric.editor.displayText': 'Görüntülenecek metin',
|
|
48
53
|
'fabric.editor.ecombedDescription': 'Bağlantının etkileşimli önizlemesini gösterir',
|
|
49
54
|
'fabric.editor.edit.datasource': 'Arama sorgusunu düzenle',
|
|
50
55
|
'fabric.editor.editLink': 'Bağlantıyı düzenleyin',
|
|
@@ -53,6 +58,7 @@ var _default = {
|
|
|
53
58
|
'fabric.editor.emoji': 'Emoji',
|
|
54
59
|
'fabric.editor.emoji.description': 'Düşüncelerinizi 🎉 ve duygularınızı 😄 ifade etmek için emojiler kullanın',
|
|
55
60
|
'fabric.editor.emptyLink': 'Lütfen bir bağlantı girin.',
|
|
61
|
+
'fabric.editor.epic': 'Epik',
|
|
56
62
|
'fabric.editor.expand': 'Genişlet',
|
|
57
63
|
'fabric.editor.expand.description': 'Genişletme öğesi ekle',
|
|
58
64
|
'fabric.editor.expandDefaultTitle': 'Genişletmek için buraya tıklayın...',
|
|
@@ -60,12 +66,22 @@ var _default = {
|
|
|
60
66
|
'fabric.editor.expandPlaceholder': 'Bu genişletme öğesine bir ad verin...',
|
|
61
67
|
'fabric.editor.feedbackDialog': 'Geri bildirim verin',
|
|
62
68
|
'fabric.editor.feedbackDialog.description': 'Yeni düzenleyici hakkındaki deneyimlerinizi bizimle paylaşın',
|
|
69
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'Blog',
|
|
70
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Hata',
|
|
71
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Konu',
|
|
72
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'Sayfa',
|
|
73
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'Hikaye',
|
|
74
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'Görev',
|
|
63
75
|
'fabric.editor.help': 'Yardım',
|
|
64
76
|
'fabric.editor.help.description': 'Tüm klavye kısayollarına ve markdown seçeneklerine göz atın',
|
|
65
77
|
'fabric.editor.horizontalRule': 'Ayırıcı',
|
|
66
78
|
'fabric.editor.horizontalRule.description': 'İçeriği yatay çizgiyle ayırın',
|
|
79
|
+
'fabric.editor.hyperlink.linkAriaLabel': 'Bağlantı etiketi',
|
|
80
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': 'Alana yazmaya başladığınızda öneriler aşağıda görünecek',
|
|
81
|
+
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {sonuç bulunamadı} one {{count,number} sonuç bulundu} other {{count,number} sonuç bulundu}}',
|
|
67
82
|
'fabric.editor.hyperlinkToolbarPlaceholder': 'Bağlantıyı yapıştırın veya arayın',
|
|
68
83
|
'fabric.editor.image': 'Görsel',
|
|
84
|
+
'fabric.editor.improvement': 'İyileştirme',
|
|
69
85
|
'fabric.editor.inlineDescription': 'Bağlantıyı satır içi metin olarak gösterir',
|
|
70
86
|
'fabric.editor.inlineTitle': 'Satır içi',
|
|
71
87
|
'fabric.editor.insertMenu': 'Ekle',
|
|
@@ -91,8 +107,11 @@ var _default = {
|
|
|
91
107
|
'fabric.editor.settingsLinks': 'Bağlantı Tercihlerine gidin',
|
|
92
108
|
'fabric.editor.status': 'Durum',
|
|
93
109
|
'fabric.editor.status.description': 'Özel durum etiketi ekleyin',
|
|
110
|
+
'fabric.editor.story': 'Hikaye',
|
|
111
|
+
'fabric.editor.subTask': 'Alt görev',
|
|
94
112
|
'fabric.editor.table': 'Tablo',
|
|
95
113
|
'fabric.editor.table.description': 'Tablo ekleyin',
|
|
114
|
+
'fabric.editor.task': 'Görev',
|
|
96
115
|
'fabric.editor.time.ago': 'önce',
|
|
97
116
|
'fabric.editor.time.updated': 'Güncellendi:',
|
|
98
117
|
'fabric.editor.time.viewed': 'Görüntülendi:',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -23,9 +23,12 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.blockDescription': 'Показати більше інформації про посилання, у тому числі зведені дані й дії',
|
|
24
24
|
'fabric.editor.blockTitle': 'Картка',
|
|
25
25
|
'fabric.editor.blockquote': 'цитата',
|
|
26
|
+
'fabric.editor.bug': 'Несправність',
|
|
26
27
|
'fabric.editor.cancelButton': 'Скасувати',
|
|
27
28
|
'fabric.editor.captionPlaceholder': 'Додати підпис',
|
|
28
29
|
'fabric.editor.cardFloatingControls': 'Параметри картки',
|
|
30
|
+
'fabric.editor.clearLink': 'Видалити посилання',
|
|
31
|
+
'fabric.editor.clearLinkText': 'Видалити текст',
|
|
29
32
|
'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
|
|
30
33
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Скопійовано',
|
|
31
34
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Копіювати як текст',
|
|
@@ -40,11 +43,13 @@ var _default = {
|
|
|
40
43
|
'fabric.editor.date.description': 'Вставити дату через календар',
|
|
41
44
|
'fabric.editor.decision': 'Рішення',
|
|
42
45
|
'fabric.editor.decision.description': 'Зафіксувати рішення, щоб його було легко знайти',
|
|
46
|
+
'fabric.editor.defaultAltText': 'Елемент списку',
|
|
43
47
|
'fabric.editor.displayBlock': 'Показати картку',
|
|
44
48
|
'fabric.editor.displayEmbed': 'Показати вбудований об’єкт',
|
|
45
49
|
'fabric.editor.displayInline': 'Показати лише заголовок',
|
|
46
50
|
'fabric.editor.displayLink': 'Показати як текст',
|
|
47
51
|
'fabric.editor.displayOptionUnavailableInParentNode': 'Цей параметр відображення недоступний для вузла {node}',
|
|
52
|
+
'fabric.editor.displayText': 'Текст для відображення',
|
|
48
53
|
'fabric.editor.ecombedDescription': 'Показати інтерактивний попередній перегляд посилання',
|
|
49
54
|
'fabric.editor.edit.datasource': 'Редагувати пошуковий запит',
|
|
50
55
|
'fabric.editor.editLink': 'Редагування посилання',
|
|
@@ -53,6 +58,7 @@ var _default = {
|
|
|
53
58
|
'fabric.editor.emoji': 'Емодзі',
|
|
54
59
|
'fabric.editor.emoji.description': 'Виразити ідеї 🎉 чи емоції 😄 через емодзі',
|
|
55
60
|
'fabric.editor.emptyLink': 'Введіть посилання.',
|
|
61
|
+
'fabric.editor.epic': 'Епос',
|
|
56
62
|
'fabric.editor.expand': 'Розгортка',
|
|
57
63
|
'fabric.editor.expand.description': 'Вставити розгортку',
|
|
58
64
|
'fabric.editor.expandDefaultTitle': 'Натисніть, щоб розгорнути…',
|
|
@@ -60,12 +66,22 @@ var _default = {
|
|
|
60
66
|
'fabric.editor.expandPlaceholder': 'Назвіть розгорнутий вміст…',
|
|
61
67
|
'fabric.editor.feedbackDialog': 'Залишити відгук',
|
|
62
68
|
'fabric.editor.feedbackDialog.description': 'Поділіться враженнями від нового редактора',
|
|
69
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'Блог',
|
|
70
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Несправність',
|
|
71
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Задача',
|
|
72
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'Сторінка',
|
|
73
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'Історія',
|
|
74
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'Задача',
|
|
63
75
|
'fabric.editor.help': 'Допомога',
|
|
64
76
|
'fabric.editor.help.description': 'Переглянути всі сполучення клавіш і параметри розмітки',
|
|
65
77
|
'fabric.editor.horizontalRule': 'Роздільник',
|
|
66
78
|
'fabric.editor.horizontalRule.description': 'Відокремити інформацію горизонтальною лінією',
|
|
79
|
+
'fabric.editor.hyperlink.linkAriaLabel': 'Мітка посилання',
|
|
80
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': 'Коли ви будете набирати у полі текст, нижче з’явиться список варіантів',
|
|
81
|
+
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {нічого не знайдено} one {{count,number} результат} few {{count,number} результати} many {{count,number} результатів} other {{count,number} результатів}}',
|
|
67
82
|
'fabric.editor.hyperlinkToolbarPlaceholder': 'Вставте або знайдіть посилання',
|
|
68
83
|
'fabric.editor.image': 'зображення',
|
|
84
|
+
'fabric.editor.improvement': 'Покращення',
|
|
69
85
|
'fabric.editor.inlineDescription': 'Показати посилання як вбудований текст',
|
|
70
86
|
'fabric.editor.inlineTitle': 'У рядку',
|
|
71
87
|
'fabric.editor.insertMenu': 'Вставити',
|
|
@@ -91,8 +107,11 @@ var _default = {
|
|
|
91
107
|
'fabric.editor.settingsLinks': 'Перейти до параметрів посилань',
|
|
92
108
|
'fabric.editor.status': 'Стан',
|
|
93
109
|
'fabric.editor.status.description': 'Додати власний стан',
|
|
110
|
+
'fabric.editor.story': 'Історія',
|
|
111
|
+
'fabric.editor.subTask': 'Вкладене завдання',
|
|
94
112
|
'fabric.editor.table': 'Таблиця',
|
|
95
113
|
'fabric.editor.table.description': 'Вставити таблицю',
|
|
114
|
+
'fabric.editor.task': 'Завдання',
|
|
96
115
|
'fabric.editor.time.ago': 'тому',
|
|
97
116
|
'fabric.editor.time.updated': 'Змінено',
|
|
98
117
|
'fabric.editor.time.viewed': 'Переглянуто',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -23,9 +23,12 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.blockDescription': 'Hiển thị thêm thông tin về liên kết, bao gồm bản tóm tắt và các thao tác',
|
|
24
24
|
'fabric.editor.blockTitle': 'Thẻ',
|
|
25
25
|
'fabric.editor.blockquote': 'một dấu ngoặc kép',
|
|
26
|
+
'fabric.editor.bug': 'Lỗi',
|
|
26
27
|
'fabric.editor.cancelButton': 'Hủy',
|
|
27
28
|
'fabric.editor.captionPlaceholder': 'Thêm chú thích',
|
|
28
29
|
'fabric.editor.cardFloatingControls': 'Tùy chọn thẻ',
|
|
30
|
+
'fabric.editor.clearLink': 'Xóa liên kết',
|
|
31
|
+
'fabric.editor.clearLinkText': 'Xóa văn bản',
|
|
29
32
|
'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
|
|
30
33
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Đã sao chép!',
|
|
31
34
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Sao chép dưới dạng văn bản',
|
|
@@ -40,11 +43,13 @@ var _default = {
|
|
|
40
43
|
'fabric.editor.date.description': 'Thêm ngày bằng cách sử dụng lịch',
|
|
41
44
|
'fabric.editor.decision': 'Quyết định',
|
|
42
45
|
'fabric.editor.decision.description': 'Thu thập các quyết định để dễ dàng theo dõi',
|
|
46
|
+
'fabric.editor.defaultAltText': 'Mục danh sách',
|
|
43
47
|
'fabric.editor.displayBlock': 'Hiển thị thẻ',
|
|
44
48
|
'fabric.editor.displayEmbed': 'Hiển thị đối tượng nhúng',
|
|
45
49
|
'fabric.editor.displayInline': 'Hiển thị nội tuyến',
|
|
46
50
|
'fabric.editor.displayLink': 'Hiển thị dạng văn bản',
|
|
47
51
|
'fabric.editor.displayOptionUnavailableInParentNode': 'Tùy chọn hiển thị này không dùng được bên trong {node}',
|
|
52
|
+
'fabric.editor.displayText': 'Văn bản cần hiển thị',
|
|
48
53
|
'fabric.editor.ecombedDescription': 'Hiển thị bản xem trước tương tác của một liên kết',
|
|
49
54
|
'fabric.editor.edit.datasource': 'Sửa truy vấn tìm kiếm',
|
|
50
55
|
'fabric.editor.editLink': 'Chỉnh sửa liên kết',
|
|
@@ -53,6 +58,7 @@ var _default = {
|
|
|
53
58
|
'fabric.editor.emoji': 'Biểu tượng cảm xúc',
|
|
54
59
|
'fabric.editor.emoji.description': 'Sử dụng biểu tượng cảm xúc để thể hiện ý kiến 🎉 và cảm xúc 😄',
|
|
55
60
|
'fabric.editor.emptyLink': 'Vui lòng nhập một liên kết.',
|
|
61
|
+
'fabric.editor.epic': 'Quá trình',
|
|
56
62
|
'fabric.editor.expand': 'Mở rộng',
|
|
57
63
|
'fabric.editor.expand.description': 'Chèn đoạn mở rộng',
|
|
58
64
|
'fabric.editor.expandDefaultTitle': 'Nhấp vào đây để mở rộng...',
|
|
@@ -60,12 +66,22 @@ var _default = {
|
|
|
60
66
|
'fabric.editor.expandPlaceholder': 'Đặt tiêu đề cho phần mở rộng này...',
|
|
61
67
|
'fabric.editor.feedbackDialog': 'Đưa ra phản hồi',
|
|
62
68
|
'fabric.editor.feedbackDialog.description': 'Cho chúng tôi biết về trải nghiệm của bạn khi sử dụng trình chỉnh sửa mới',
|
|
69
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'Blog',
|
|
70
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Lỗi',
|
|
71
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Vấn đề',
|
|
72
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'Trang',
|
|
73
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'Câu chuyện',
|
|
74
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'Tác vụ',
|
|
63
75
|
'fabric.editor.help': 'Trợ giúp',
|
|
64
76
|
'fabric.editor.help.description': 'Duyệt qua tất cả các phím tắt trên bàn phím và các tùy chọn đánh dấu',
|
|
65
77
|
'fabric.editor.horizontalRule': 'Trình phân chia',
|
|
66
78
|
'fabric.editor.horizontalRule.description': 'Chia tách nội dung bằng một đường ngang',
|
|
79
|
+
'fabric.editor.hyperlink.linkAriaLabel': 'Nhãn liên kết',
|
|
80
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': 'Các đề xuất sẽ xuất hiện bên dưới khi bạn nhập thông tin vào trường',
|
|
81
|
+
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {không tìm thấy kết quả} other {Đã tìm thấy {count,number} kết quả}}',
|
|
67
82
|
'fabric.editor.hyperlinkToolbarPlaceholder': 'Dán hoặc tìm kiếm liên kết',
|
|
68
83
|
'fabric.editor.image': 'hình ảnh',
|
|
84
|
+
'fabric.editor.improvement': 'Cải tiến',
|
|
69
85
|
'fabric.editor.inlineDescription': 'Hiển thị liên kết dưới dạng văn bản nội tuyến',
|
|
70
86
|
'fabric.editor.inlineTitle': 'Nội tuyến',
|
|
71
87
|
'fabric.editor.insertMenu': 'Chèn',
|
|
@@ -91,8 +107,11 @@ var _default = {
|
|
|
91
107
|
'fabric.editor.settingsLinks': 'Vào phần Tùy chọn liên kết',
|
|
92
108
|
'fabric.editor.status': 'Trạng thái',
|
|
93
109
|
'fabric.editor.status.description': 'Thêm một nhãn trạng thái tùy chỉnh',
|
|
110
|
+
'fabric.editor.story': 'Câu chuyện',
|
|
111
|
+
'fabric.editor.subTask': 'Tác vụ con',
|
|
94
112
|
'fabric.editor.table': 'Bảng',
|
|
95
113
|
'fabric.editor.table.description': 'Chèn bảng',
|
|
114
|
+
'fabric.editor.task': 'Tác vụ',
|
|
96
115
|
'fabric.editor.time.ago': 'trước',
|
|
97
116
|
'fabric.editor.time.updated': 'Đã cập nhật',
|
|
98
117
|
'fabric.editor.time.viewed': 'Đã xem',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -23,9 +23,12 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.blockDescription': '显示有关链接的更多信息,包括摘要和操作',
|
|
24
24
|
'fabric.editor.blockTitle': '卡片',
|
|
25
25
|
'fabric.editor.blockquote': '引用',
|
|
26
|
+
'fabric.editor.bug': '缺陷',
|
|
26
27
|
'fabric.editor.cancelButton': '取消',
|
|
27
28
|
'fabric.editor.captionPlaceholder': '添加标题',
|
|
28
29
|
'fabric.editor.cardFloatingControls': '卡片选项',
|
|
30
|
+
'fabric.editor.clearLink': '清除链接',
|
|
31
|
+
'fabric.editor.clearLinkText': '清除文本',
|
|
29
32
|
'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
|
|
30
33
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': '已复制!',
|
|
31
34
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': '复制为文本',
|
|
@@ -40,11 +43,13 @@ var _default = {
|
|
|
40
43
|
'fabric.editor.date.description': '使用日历添加日期',
|
|
41
44
|
'fabric.editor.decision': '决定',
|
|
42
45
|
'fabric.editor.decision.description': '捕获决策,以便轻松跟踪',
|
|
46
|
+
'fabric.editor.defaultAltText': '列出项目',
|
|
43
47
|
'fabric.editor.displayBlock': '显示卡片',
|
|
44
48
|
'fabric.editor.displayEmbed': '显示嵌入',
|
|
45
49
|
'fabric.editor.displayInline': '显示内联',
|
|
46
50
|
'fabric.editor.displayLink': '显示为文本',
|
|
47
51
|
'fabric.editor.displayOptionUnavailableInParentNode': '无法在 {node} 内使用此显示选项',
|
|
52
|
+
'fabric.editor.displayText': '待显示的文本',
|
|
48
53
|
'fabric.editor.ecombedDescription': '显示链接的交互式预览',
|
|
49
54
|
'fabric.editor.edit.datasource': '编辑搜索查询',
|
|
50
55
|
'fabric.editor.editLink': '编辑链接',
|
|
@@ -53,6 +58,7 @@ var _default = {
|
|
|
53
58
|
'fabric.editor.emoji': '表情符号',
|
|
54
59
|
'fabric.editor.emoji.description': '使用表情符号传达理念 🎉 和情绪 😄',
|
|
55
60
|
'fabric.editor.emptyLink': '请输入链接。',
|
|
61
|
+
'fabric.editor.epic': '长篇故事',
|
|
56
62
|
'fabric.editor.expand': '扩展',
|
|
57
63
|
'fabric.editor.expand.description': '插入扩展',
|
|
58
64
|
'fabric.editor.expandDefaultTitle': '点击此处展开...',
|
|
@@ -60,12 +66,22 @@ var _default = {
|
|
|
60
66
|
'fabric.editor.expandPlaceholder': '为此展开添加标题......',
|
|
61
67
|
'fabric.editor.feedbackDialog': '提供反馈意见',
|
|
62
68
|
'fabric.editor.feedbackDialog.description': '跟我们讲讲您对新编辑器的使用体验',
|
|
69
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': '博文',
|
|
70
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': '缺陷',
|
|
71
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': '事务',
|
|
72
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': '页面',
|
|
73
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': '故事',
|
|
74
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': '任务',
|
|
63
75
|
'fabric.editor.help': '帮助',
|
|
64
76
|
'fabric.editor.help.description': '浏览所有键盘快捷键和文本标记选项',
|
|
65
77
|
'fabric.editor.horizontalRule': '分隔条',
|
|
66
78
|
'fabric.editor.horizontalRule.description': '使用水平线分隔内容',
|
|
79
|
+
'fabric.editor.hyperlink.linkAriaLabel': '链接标签',
|
|
80
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': '在字段中输入内容时,下方会显示建议内容',
|
|
81
|
+
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {未找到结果} other {找到 {count,number} 个结果}}',
|
|
67
82
|
'fabric.editor.hyperlinkToolbarPlaceholder': '粘贴或搜索链接',
|
|
68
83
|
'fabric.editor.image': '图片',
|
|
84
|
+
'fabric.editor.improvement': '改进',
|
|
69
85
|
'fabric.editor.inlineDescription': '以内联文本显示链接',
|
|
70
86
|
'fabric.editor.inlineTitle': '内联',
|
|
71
87
|
'fabric.editor.insertMenu': '插入',
|
|
@@ -91,8 +107,11 @@ var _default = {
|
|
|
91
107
|
'fabric.editor.settingsLinks': '转到“链接首选项”',
|
|
92
108
|
'fabric.editor.status': '状态',
|
|
93
109
|
'fabric.editor.status.description': '添加自定义状态标签',
|
|
110
|
+
'fabric.editor.story': '故事',
|
|
111
|
+
'fabric.editor.subTask': '子任务',
|
|
94
112
|
'fabric.editor.table': '表格',
|
|
95
113
|
'fabric.editor.table.description': '插入表格',
|
|
114
|
+
'fabric.editor.task': '任务',
|
|
96
115
|
'fabric.editor.time.ago': '前',
|
|
97
116
|
'fabric.editor.time.updated': '上次更新时间',
|
|
98
117
|
'fabric.editor.time.viewed': '上次查看时间',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -23,9 +23,12 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.blockDescription': '顯示有關連結的更多資訊,包括摘要和動作',
|
|
24
24
|
'fabric.editor.blockTitle': '卡片',
|
|
25
25
|
'fabric.editor.blockquote': '引述',
|
|
26
|
+
'fabric.editor.bug': '錯誤',
|
|
26
27
|
'fabric.editor.cancelButton': '取消',
|
|
27
28
|
'fabric.editor.captionPlaceholder': '新增標題',
|
|
28
29
|
'fabric.editor.cardFloatingControls': '卡片選項',
|
|
30
|
+
'fabric.editor.clearLink': '清除連結',
|
|
31
|
+
'fabric.editor.clearLinkText': '清除文字',
|
|
29
32
|
'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
|
|
30
33
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': '已複製!',
|
|
31
34
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': '複製文字',
|
|
@@ -40,11 +43,13 @@ var _default = {
|
|
|
40
43
|
'fabric.editor.date.description': '使用日曆新增日期',
|
|
41
44
|
'fabric.editor.decision': '決定',
|
|
42
45
|
'fabric.editor.decision.description': '擷取決定以便追蹤',
|
|
46
|
+
'fabric.editor.defaultAltText': '清單項目',
|
|
43
47
|
'fabric.editor.displayBlock': '顯示卡片',
|
|
44
48
|
'fabric.editor.displayEmbed': '顯示嵌入',
|
|
45
49
|
'fabric.editor.displayInline': '顯示內嵌',
|
|
46
50
|
'fabric.editor.displayLink': '以文字顯示',
|
|
47
51
|
'fabric.editor.displayOptionUnavailableInParentNode': '{node} 內無法使用此顯示選項',
|
|
52
|
+
'fabric.editor.displayText': '要顯示的文字',
|
|
48
53
|
'fabric.editor.ecombedDescription': '顯示連結的互動式預覽',
|
|
49
54
|
'fabric.editor.edit.datasource': '編輯搜尋查詢',
|
|
50
55
|
'fabric.editor.editLink': '編輯連結',
|
|
@@ -53,6 +58,7 @@ var _default = {
|
|
|
53
58
|
'fabric.editor.emoji': '表情符號',
|
|
54
59
|
'fabric.editor.emoji.description': '使用表情符號來傳達想法 🎉 和情緒 😄',
|
|
55
60
|
'fabric.editor.emptyLink': '請輸入連結。',
|
|
61
|
+
'fabric.editor.epic': '大型工作',
|
|
56
62
|
'fabric.editor.expand': '擴充',
|
|
57
63
|
'fabric.editor.expand.description': '插入擴充',
|
|
58
64
|
'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
|
|
@@ -60,12 +66,22 @@ var _default = {
|
|
|
60
66
|
'fabric.editor.expandPlaceholder': '為此展開設定標題...',
|
|
61
67
|
'fabric.editor.feedbackDialog': '提供意見回饋',
|
|
62
68
|
'fabric.editor.feedbackDialog.description': '請說明您對於新編輯器的使用體驗',
|
|
69
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': '部落格',
|
|
70
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': '錯誤',
|
|
71
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': '問題',
|
|
72
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': '頁面',
|
|
73
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': '故事',
|
|
74
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': '任務',
|
|
63
75
|
'fabric.editor.help': '說明',
|
|
64
76
|
'fabric.editor.help.description': '瀏覽所有鍵盤快速鍵和 Markdown 選項',
|
|
65
77
|
'fabric.editor.horizontalRule': '分隔線',
|
|
66
78
|
'fabric.editor.horizontalRule.description': '使用水平線來區隔內容',
|
|
79
|
+
'fabric.editor.hyperlink.linkAriaLabel': '連結標籤',
|
|
80
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': '當您在欄位中輸入內容時,建議會顯示在下方',
|
|
81
|
+
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {沒有找到任何結果} other {找到 {count,number} 個結果}}',
|
|
67
82
|
'fabric.editor.hyperlinkToolbarPlaceholder': '貼上或搜尋連結',
|
|
68
83
|
'fabric.editor.image': '影像',
|
|
84
|
+
'fabric.editor.improvement': '改善',
|
|
69
85
|
'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
|
|
70
86
|
'fabric.editor.inlineTitle': '內嵌',
|
|
71
87
|
'fabric.editor.insertMenu': '插入',
|
|
@@ -91,8 +107,11 @@ var _default = {
|
|
|
91
107
|
'fabric.editor.settingsLinks': '前往連結偏好設定',
|
|
92
108
|
'fabric.editor.status': '狀態',
|
|
93
109
|
'fabric.editor.status.description': '新增自訂狀態標籤',
|
|
110
|
+
'fabric.editor.story': '故事',
|
|
111
|
+
'fabric.editor.subTask': '子任務',
|
|
94
112
|
'fabric.editor.table': '表格',
|
|
95
113
|
'fabric.editor.table.description': '插入表格',
|
|
114
|
+
'fabric.editor.task': '任務',
|
|
96
115
|
'fabric.editor.time.ago': '前',
|
|
97
116
|
'fabric.editor.time.updated': '已更新',
|
|
98
117
|
'fabric.editor.time.viewed': '已檢視',
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.applyMarkOnRange = void 0;
|
|
7
|
+
exports.filterChildrenBetween = filterChildrenBetween;
|
|
8
|
+
exports.transformSmartCharsMentionsAndEmojis = exports.toggleMark = void 0;
|
|
9
|
+
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
10
|
+
var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
|
|
11
|
+
// eslint-disable-next-line no-duplicate-imports
|
|
12
|
+
|
|
13
|
+
var SMART_TO_ASCII = {
|
|
14
|
+
'…': '...',
|
|
15
|
+
'→': '->',
|
|
16
|
+
'←': '<-',
|
|
17
|
+
'–': '--',
|
|
18
|
+
'“': '"',
|
|
19
|
+
'”': '"',
|
|
20
|
+
'‘': "'",
|
|
21
|
+
'’': "'"
|
|
22
|
+
};
|
|
23
|
+
var FIND_SMART_CHAR = new RegExp("[".concat(Object.keys(SMART_TO_ASCII).join(''), "]"), 'g');
|
|
24
|
+
var isNodeTextBlock = function isNodeTextBlock(schema) {
|
|
25
|
+
var _schema$nodes = schema.nodes,
|
|
26
|
+
mention = _schema$nodes.mention,
|
|
27
|
+
text = _schema$nodes.text,
|
|
28
|
+
emoji = _schema$nodes.emoji;
|
|
29
|
+
return function (node, _, parent) {
|
|
30
|
+
if (node.type === mention || node.type === emoji || node.type === text) {
|
|
31
|
+
return parent === null || parent === void 0 ? void 0 : parent.isTextblock;
|
|
32
|
+
}
|
|
33
|
+
return;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
var replaceSmartCharsToAscii = function replaceSmartCharsToAscii(position, textContent, tr) {
|
|
37
|
+
var schema = tr.doc.type.schema;
|
|
38
|
+
var match;
|
|
39
|
+
while (match = FIND_SMART_CHAR.exec(textContent)) {
|
|
40
|
+
var _match = match,
|
|
41
|
+
smartChar = _match[0],
|
|
42
|
+
offset = _match.index;
|
|
43
|
+
var replacePos = tr.mapping.map(position + offset);
|
|
44
|
+
var replacementText = schema.text(SMART_TO_ASCII[smartChar]);
|
|
45
|
+
tr.replaceWith(replacePos, replacePos + smartChar.length, replacementText);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var replaceMentionOrEmojiForTextContent = function replaceMentionOrEmojiForTextContent(position, nodeSize, textContent, tr) {
|
|
49
|
+
var currentPos = tr.mapping.map(position);
|
|
50
|
+
var schema = tr.doc.type.schema;
|
|
51
|
+
tr.replaceWith(currentPos, currentPos + nodeSize, schema.text(textContent));
|
|
52
|
+
};
|
|
53
|
+
function filterChildrenBetween(doc, from, to, predicate) {
|
|
54
|
+
var results = [];
|
|
55
|
+
doc.nodesBetween(from, to, function (node, pos, parent) {
|
|
56
|
+
if (predicate(node, pos, parent)) {
|
|
57
|
+
results.push({
|
|
58
|
+
node: node,
|
|
59
|
+
pos: pos
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
return results;
|
|
64
|
+
}
|
|
65
|
+
var transformSmartCharsMentionsAndEmojis = function transformSmartCharsMentionsAndEmojis(from, to, tr) {
|
|
66
|
+
var schema = tr.doc.type.schema;
|
|
67
|
+
var _schema$nodes2 = schema.nodes,
|
|
68
|
+
mention = _schema$nodes2.mention,
|
|
69
|
+
text = _schema$nodes2.text,
|
|
70
|
+
emoji = _schema$nodes2.emoji;
|
|
71
|
+
// Traverse through all the nodes within the range and replace them with their plaintext counterpart
|
|
72
|
+
var children = filterChildrenBetween(tr.doc, from, to, isNodeTextBlock(schema));
|
|
73
|
+
children.forEach(function (_ref) {
|
|
74
|
+
var node = _ref.node,
|
|
75
|
+
pos = _ref.pos;
|
|
76
|
+
if (node.type === mention || node.type === emoji) {
|
|
77
|
+
// Convert gracefully when no text found, ProseMirror will blow up if you try to create a node with an empty string or undefined
|
|
78
|
+
var replacementText = node.attrs.text;
|
|
79
|
+
if (typeof replacementText === 'undefined' || replacementText === '') {
|
|
80
|
+
replacementText = "".concat(node.type.name, " text missing");
|
|
81
|
+
}
|
|
82
|
+
replaceMentionOrEmojiForTextContent(pos, node.nodeSize, replacementText, tr);
|
|
83
|
+
} else if (node.type === text && node.text) {
|
|
84
|
+
var replacePosition = pos > from ? pos : from;
|
|
85
|
+
var textToReplace = pos > from ? node.text : node.text.substr(from - pos);
|
|
86
|
+
replaceSmartCharsToAscii(replacePosition, textToReplace, tr);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
exports.transformSmartCharsMentionsAndEmojis = transformSmartCharsMentionsAndEmojis;
|
|
91
|
+
var applyMarkOnRange = function applyMarkOnRange(from, to, removeMark, mark, tr) {
|
|
92
|
+
var schema = tr.doc.type.schema;
|
|
93
|
+
var code = schema.marks.code;
|
|
94
|
+
if (mark.type === code) {
|
|
95
|
+
transformSmartCharsMentionsAndEmojis(from, to, tr);
|
|
96
|
+
}
|
|
97
|
+
tr.doc.nodesBetween(tr.mapping.map(from), tr.mapping.map(to), function (node, pos) {
|
|
98
|
+
if (!node.isText) {
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// This is an issue when the user selects some text.
|
|
103
|
+
// We need to check if the current node position is less than the range selection from.
|
|
104
|
+
// If it’s true, that means we should apply the mark using the range selection,
|
|
105
|
+
// not the current node position.
|
|
106
|
+
var nodeBetweenFrom = Math.max(pos, tr.mapping.map(from));
|
|
107
|
+
var nodeBetweenTo = Math.min(pos + node.nodeSize, tr.mapping.map(to));
|
|
108
|
+
if (removeMark) {
|
|
109
|
+
tr.removeMark(nodeBetweenFrom, nodeBetweenTo, mark);
|
|
110
|
+
} else {
|
|
111
|
+
tr.addMark(nodeBetweenFrom, nodeBetweenTo, mark);
|
|
112
|
+
}
|
|
113
|
+
return true;
|
|
114
|
+
});
|
|
115
|
+
return tr;
|
|
116
|
+
};
|
|
117
|
+
exports.applyMarkOnRange = applyMarkOnRange;
|
|
118
|
+
var entireSelectionContainsMark = function entireSelectionContainsMark(mark, doc, fromPos, toPos) {
|
|
119
|
+
var onlyContainsMark = true;
|
|
120
|
+
doc.nodesBetween(fromPos, toPos, function (node) {
|
|
121
|
+
// Skip recursion once we've found text which doesn't include the mark
|
|
122
|
+
if (!onlyContainsMark) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
if (node.isText) {
|
|
126
|
+
onlyContainsMark && (onlyContainsMark = mark.isInSet(node.marks));
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
return onlyContainsMark;
|
|
130
|
+
};
|
|
131
|
+
var toggleMarkInRange = function toggleMarkInRange(mark) {
|
|
132
|
+
return function (state, dispatch) {
|
|
133
|
+
var tr = state.tr;
|
|
134
|
+
if (state.selection instanceof _cellSelection.CellSelection) {
|
|
135
|
+
var removeMark = true;
|
|
136
|
+
var cells = [];
|
|
137
|
+
state.selection.forEachCell(function (cell, cellPos) {
|
|
138
|
+
cells.push({
|
|
139
|
+
node: cell,
|
|
140
|
+
pos: cellPos
|
|
141
|
+
});
|
|
142
|
+
var from = cellPos;
|
|
143
|
+
var to = cellPos + cell.nodeSize;
|
|
144
|
+
removeMark && (removeMark = entireSelectionContainsMark(mark, state.doc, from, to));
|
|
145
|
+
});
|
|
146
|
+
for (var i = cells.length - 1; i >= 0; i--) {
|
|
147
|
+
var cell = cells[i];
|
|
148
|
+
var from = cell.pos;
|
|
149
|
+
var to = from + cell.node.nodeSize;
|
|
150
|
+
applyMarkOnRange(from, to, removeMark, mark, tr);
|
|
151
|
+
}
|
|
152
|
+
} else {
|
|
153
|
+
var _state$selection = state.selection,
|
|
154
|
+
$from = _state$selection.$from,
|
|
155
|
+
$to = _state$selection.$to;
|
|
156
|
+
// We decide to remove the mark only if the entire selection contains the mark
|
|
157
|
+
// Examples with *bold* text
|
|
158
|
+
// Scenario 1: Selection contains both bold and non-bold text -> bold entire selection
|
|
159
|
+
// Scenario 2: Selection contains only bold text -> un-bold entire selection
|
|
160
|
+
// Scenario 3: Selection contains no bold text -> bold entire selection
|
|
161
|
+
var _removeMark = entireSelectionContainsMark(mark, state.doc, $from.pos, $to.pos);
|
|
162
|
+
applyMarkOnRange($from.pos, $to.pos, _removeMark, mark, tr);
|
|
163
|
+
}
|
|
164
|
+
if (tr.docChanged) {
|
|
165
|
+
if (dispatch) {
|
|
166
|
+
dispatch(tr);
|
|
167
|
+
}
|
|
168
|
+
return true;
|
|
169
|
+
}
|
|
170
|
+
return false;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* A wrapper over the default toggleMark, except when we have a selection
|
|
176
|
+
* we only toggle marks on text nodes rather than inline nodes.
|
|
177
|
+
* @param markType
|
|
178
|
+
* @param attrs
|
|
179
|
+
*/
|
|
180
|
+
var toggleMark = function toggleMark(markType, attrs) {
|
|
181
|
+
return function (state, dispatch) {
|
|
182
|
+
var mark = markType.create(attrs);
|
|
183
|
+
|
|
184
|
+
// For cursor selections we can use the default behaviour.
|
|
185
|
+
if (state.selection instanceof _state.TextSelection && state.selection.$cursor) {
|
|
186
|
+
var tr = state.tr;
|
|
187
|
+
if (mark.isInSet(state.storedMarks || state.selection.$cursor.marks())) {
|
|
188
|
+
tr.removeStoredMark(mark);
|
|
189
|
+
} else {
|
|
190
|
+
tr.addStoredMark(mark);
|
|
191
|
+
}
|
|
192
|
+
if (dispatch) {
|
|
193
|
+
dispatch(tr);
|
|
194
|
+
return true;
|
|
195
|
+
}
|
|
196
|
+
return false;
|
|
197
|
+
}
|
|
198
|
+
return toggleMarkInRange(mark)(state, dispatch);
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
exports.toggleMark = toggleMark;
|