@ckeditor/ckeditor5-ai 41.3.0-alpha.4 → 41.3.1
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/build/ai.js +6 -6
- package/build/translations/es-co.js +1 -1
- package/lang/translations/es-co.po +53 -53
- package/package.json +4 -5
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.d.ts +1 -0
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.d.ts +3 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/ui/aiassistantcontroller.js +1 -1
- package/src/ui/dropdown/aicommandslistview.js +1 -1
- package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
- package/src/ui/dropdown/labelwithhighlightview.js +1 -1
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/dist/content-index.css +0 -332
- package/dist/editor-index.css +0 -573
- package/dist/index.css +0 -1344
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -23
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/uz.d.ts +0 -8
- package/dist/translations/uz.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/adapters/aiadapter.d.ts +0 -52
- package/dist/types/adapters/aitextadapter.d.ts +0 -150
- package/dist/types/adapters/awstextadapter.d.ts +0 -182
- package/dist/types/adapters/openaitextadapter.d.ts +0 -185
- package/dist/types/aiassistant.d.ts +0 -390
- package/dist/types/aiassistantediting.d.ts +0 -50
- package/dist/types/aiassistantui.d.ts +0 -57
- package/dist/types/aiconfig.d.ts +0 -73
- package/dist/types/augmentation.d.ts +0 -31
- package/dist/types/index.d.ts +0 -17
- package/dist/types/ui/aiassistantcontroller.d.ts +0 -113
- package/dist/types/ui/dropdown/aicommandslistview.d.ts +0 -37
- package/dist/types/ui/dropdown/buttonlabelwithhighlightview.d.ts +0 -33
- package/dist/types/ui/dropdown/labelwithhighlightview.d.ts +0 -29
- package/dist/types/ui/form/aiformcontentarea.d.ts +0 -52
- package/dist/types/ui/form/aiformerrorview.d.ts +0 -30
- package/dist/types/ui/form/aiformpromptview.d.ts +0 -50
- package/dist/types/ui/form/aiformtoolbarview.d.ts +0 -62
- package/dist/types/ui/form/aiformview.d.ts +0 -145
- package/dist/types/ui/form/aihistorylistitemview.d.ts +0 -22
- package/dist/types/ui/form/aihistorylistview.d.ts +0 -39
- package/dist/types/ui/form/prompthistory.d.ts +0 -24
- package/dist/types/ui/showaiassistantcommand.d.ts +0 -44
- package/dist/types/utils/common-translations.d.ts +0 -13
package/dist/translations/th.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'th':{'dictionary':{'Edit\x20or\x20review':'แก้ไขหรือทบทวน','Improve\x20writing':'ปรับปรุงการเขียน','Make\x20shorter':'ทำให้สั้นลง','Make\x20longer':'ทำให้ยาวขึ้น','Simplify\x20language':'ลดความซับซ้อนของภาษา','Generate\x20from\x20selection':'สร้างจากสิ่งที่เลือก','Summarize':'สรุป','Continue':'ดำเนินการต่อ','Change\x20tone':'เปลี่ยนโทน','Professional':'มืออาชีพ','Casual':'ไม่เป็นทางการ','Direct':'โดยตรง','Confident':'มั่นใจ','Friendly':'เป็นกันเอง','Change\x20style':'เปลี่ยนสไตล์','Business':'ธุรกิจ','Legal':'กฎหมาย','Journalism':'วารสารศาสตร์','Poetic':'บทกวี','Translate':'แปล','Translate\x20to\x20%0':'แปลเป็น\x20%0','English':'ภาษาอังกฤษ','Spanish':'ภาษาสเปน','German':'ภาษาเยอรมัน','Portuguese':'ภาษาโปรตุเกส','French':'ภาษาฝรั่งเศส','Simplified\x20Chinese':'ภาษาจีนตัวย่อ','Hindi':'ภาษาฮินดู','Arabic':'ภาษาอารบิก','AI\x20Assistant':'ผู้ช่วย\x20AI','AI\x20Commands':'คำสั่ง\x20AI','Ask\x20AI\x20to\x20edit\x20or\x20generate':'ขอให้\x20AI\x20แก้ไขหรือสร้าง','Ask\x20AI\x20to\x20improve\x20generated\x20text':'ขอให้\x20AI\x20ปรับปรุงข้อความที่สร้างขึ้น','Copy':'คัดลอก','Submit':'ส่ง','Insert\x20below':'ใส่ด้านล่าง','Try\x20again':'ลองอีกครั้ง','Stop':'หยุด','AI\x20is\x20writing...':'AI\x20กำลังเขียน...','History':'ประวัติ','Empty\x20history':'ล้างประวัติ','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'ถาม\x20AI\x20แล้วพรอมต์ของคุณจะแสดงอยู่ที่นี่เพื่อให้คุณใช้ในภายหลัง','Prompt\x20history':'ประวัติพรอมต์','Search\x20AI\x20command':'ค้นหาคำสั่ง\x20AI','No\x20commands\x20found':'ไม่พบคำสั่ง','No\x20commands\x20available':'ไม่มีคำสั่งให้ใช้','AI_REPLACE_CONTENT':'แทนที่','AI_INSERT_CONTENT':'แทรก','AI_ERROR_GET_HEADERS':'การเตรียมส่วนหัวของคำขอล้มเหลว','AI_ERROR_GET_PARAMETERS':'การเตรียมพารามิเตอร์คำขอล้มเหลว','AI_ERROR_UNSUPPORTED_MODEL':'ไม่รองรับโมเดล\x20AI\x20(\x22%0\x22)\x20ที่ร้องขอ','AI_ERROR_CONTEXT_LENGTH':'เนื้อหาที่เลือกยาวเกินไป','AI_ERROR_MODERATION':'ข้อความค้นหาที่ร้องขอไม่ผ่านกฎการกลั่นกรอง','AI_ERROR_FAILED':'สื่อสารกับบริการ\x20AI\x20ไม่สำเร็จ'},'getPluralForm':_0x406cb1=>0x0}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/tk.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'tk':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','Translate\x20to\x20%0':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'Iberiň','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','AI_REPLACE_CONTENT':'','AI_INSERT_CONTENT':'','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':''},'getPluralForm':_0x5db4d3=>0x1!=_0x5db4d3}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/tr.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'tr':{'dictionary':{'Edit\x20or\x20review':'Düzenle\x20veya\x20gözden\x20geçir','Improve\x20writing':'Yazımı\x20geliştir','Make\x20shorter':'Kısalt','Make\x20longer':'Uzat','Simplify\x20language':'Dili\x20basitleştir','Generate\x20from\x20selection':'Seçimden\x20oluştur','Summarize':'Özetle','Continue':'Devam\x20et','Change\x20tone':'Tarzı\x20değiştir','Professional':'Profesyonel','Casual':'Gündelik','Direct':'Doğrudan','Confident':'Öz\x20güvenli','Friendly':'Samimi','Change\x20style':'Stili\x20değiştir','Business':'Ticari','Legal':'Yasal','Journalism':'Gazetecilik','Poetic':'Şiirsel','Translate':'Çevir','Translate\x20to\x20%0':'%0\x20diline\x20çevir','English':'İngilizce','Spanish':'İspanyolca','German':'Almanca','Portuguese':'Portekizce','French':'Fransızca','Simplified\x20Chinese':'Basitleştirilmiş\x20Çince','Hindi':'Hintçe','Arabic':'Arapça','AI\x20Assistant':'Yapay\x20Zekâlı\x20Yardımcı','AI\x20Commands':'Yapay\x20Zekâ\x20Komutları','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Yapay\x20Zekâdan\x20düzenlemesini\x20veya\x20oluşturmasını\x20iste','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Yapay\x20Zekâdan\x20oluşturulan\x20metni\x20geliştirmesini\x20iste','Copy':'Kopyala','Submit':'Gönder','Insert\x20below':'Aşağıya\x20ekle','Try\x20again':'Tekrar\x20dene','Stop':'Dur','AI\x20is\x20writing...':'Yapay\x20Zekâ\x20yazıyor...','History':'Geçmiş','Empty\x20history':'Boş\x20geçmiş','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Yapay\x20Zekâya\x20soru\x20sorduğunuzda\x20istemleriniz\x20daha\x20sonra\x20kullanılmak\x20üzere\x20sizin\x20için\x20burada\x20listelenir.','Prompt\x20history':'İstem\x20geçmişi','Search\x20AI\x20command':'Yapay\x20Zekâ\x20komutunu\x20ara','No\x20commands\x20found':'Hiç\x20komut\x20bulunamadı','No\x20commands\x20available':'Kullanılabilir\x20komut\x20yok','AI_REPLACE_CONTENT':'Değiştir','AI_INSERT_CONTENT':'Ekle','AI_ERROR_GET_HEADERS':'İstek\x20başlıklarının\x20hazırlanması\x20başarısız\x20oldu.','AI_ERROR_GET_PARAMETERS':'İstek\x20parametreleri\x20hazırlanamadı','AI_ERROR_UNSUPPORTED_MODEL':'İstenen\x20yapay\x20zeka\x20modeli\x20(\x22%0\x22)\x20desteklenmiyor','AI_ERROR_CONTEXT_LENGTH':'Seçilen\x20içerik\x20çok\x20uzun','AI_ERROR_MODERATION':'İstenen\x20sorgu,\x20moderasyon\x20kurallarını\x20geçmiyor','AI_ERROR_FAILED':'Yapay\x20Zekâ\x20hizmetiyle\x20iletişim\x20kurulamadı'},'getPluralForm':_0x39be53=>_0x39be53>0x1}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ug.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'ug':{'dictionary':{'Edit\x20or\x20review':'تەھرىر\x20ياكى\x20تەكشۈر','Improve\x20writing':'يازمىنى\x20ياخشىلا','Make\x20shorter':'قىسقارت','Make\x20longer':'ئۇزارت','Simplify\x20language':'ئاددى\x20تىل','Generate\x20from\x20selection':'تاللىغاندىن\x20ھاسىللا','Summarize':'خۇلاسە','Continue':'داۋاملاشتۇر','Change\x20tone':'ئورانىنى\x20ئۆزگەرت','Professional':'كەسپىي','Casual':'ئىختىيارىي','Direct':'بىۋاسىتە','Confident':'ئىشەنچلىك','Friendly':'دوستانە','Change\x20style':'ئۇسلۇب\x20ئۆزگەرت','Business':'سودا','Legal':'قانۇن','Journalism':'ئاخباراتچىلىق','Poetic':'شېئىرىي','Translate':'تەرجىمە','Translate\x20to\x20%0':'%0\x20غا\x20تەرجىمە\x20قىل','English':'ئىنگلىزچە','Spanish':'ئىسپانچە','German':'گېرمانچە','Portuguese':'پورتۇگالچە','French':'فىرانسۇزچە','Simplified\x20Chinese':'ئاددى\x20خەنچە','Hindi':'ھىندىچە','Arabic':'ئەرەبچە','AI\x20Assistant':'AI\x20ياردەمچى','AI\x20Commands':'AI\x20بۇيرۇقلار','Ask\x20AI\x20to\x20edit\x20or\x20generate':'AI\x20دىن\x20تەھرىرلەش\x20ياكى\x20ھاسىللاشنى\x20تەلەپ\x20قىل','Ask\x20AI\x20to\x20improve\x20generated\x20text':'AI\x20دىن\x20ھاسىللىغان\x20تېكىستنى\x20ياخشىلاشنى\x20تەلەپ\x20قىل','Copy':'كۆچۈر','Submit':'يوللا','Insert\x20below':'تۆۋەنگە\x20قىستۇر','Try\x20again':'قايتا\x20سىنا','Stop':'توختا','AI\x20is\x20writing...':'AI\x20يېزىۋاتىدۇ','History':'تارىخ','Empty\x20history':'تارىخ\x20بوش','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'AI\x20دىن\x20سوراڭ،\x20كېيىن\x20ئىشلىتىش\x20ئۈچۈن\x20ئەسكەرتىشىڭىز\x20بۇ\x20جايدا\x20تىزىلىدۇ.','Prompt\x20history':'ئەسكەرتىش\x20تارىخى','Search\x20AI\x20command':'AI\x20بۇيرۇقى\x20ئىزدە','No\x20commands\x20found':'ھېچقانداق\x20بۇيرۇق\x20تېپىلمىدى','No\x20commands\x20available':'ھېچقانداق\x20بۇيرۇق\x20يوق','AI_REPLACE_CONTENT':'ئالماشتۇر','AI_INSERT_CONTENT':'قىستۇر','AI_ERROR_GET_HEADERS':'ئىلتىماس\x20بېشىنى\x20تەييارلىيالمىدى','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'تاللانغان\x20مەزمۇن\x20بەك\x20ئۇزۇن','AI_ERROR_MODERATION':'ئىلتىماس\x20قىلغان\x20سۈرۈشتۈرۈش\x20تەكشۈرۈش\x20قائىدىسىگە\x20ماس\x20كەلمەيدۇ','AI_ERROR_FAILED':'AI\x20مۇلازىمىتى\x20بىلەن\x20ئالاقە\x20قىلالمىدى'},'getPluralForm':_0x69df20=>0x1!=_0x69df20}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/uk.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'uk':{'dictionary':{'Edit\x20or\x20review':'Редагувати\x20або\x20внести\x20зміни','Improve\x20writing':'Покращити\x20письмо','Make\x20shorter':'Зробити\x20коротшим','Make\x20longer':'Зробити\x20довшим','Simplify\x20language':'Спростити\x20мову','Generate\x20from\x20selection':'Генерувати\x20з\x20вибраного','Summarize':'Підсумувати','Continue':'Продовжити','Change\x20tone':'Змінити\x20тон','Professional':'Професійний','Casual':'Повсякденний','Direct':'Прямий','Confident':'Впевнений','Friendly':'Дружній','Change\x20style':'Змінити\x20стиль','Business':'Бізнесовий','Legal':'Юридичний','Journalism':'Журналізм','Poetic':'Поетичний','Translate':'Перекласти','Translate\x20to\x20%0':'Перекласти\x20%0','English':'Англійською','Spanish':'Іспанською','German':'Німецькою','Portuguese':'Португальською','French':'Французькою','Simplified\x20Chinese':'Спрощеною\x20китайською','Hindi':'Гінді','Arabic':'Арабською','AI\x20Assistant':'ШІ-помічник','AI\x20Commands':'ШІ\x20команди','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Попросіть\x20ШІ\x20редагувати\x20або\x20генерувати','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Попросіть\x20ШІ\x20покращити\x20згенерований\x20текст','Copy':'Копіювати','Submit':'Відправити','Insert\x20below':'Вставити\x20нижче','Try\x20again':'Спробувати\x20ще\x20раз','Stop':'Стоп','AI\x20is\x20writing...':'ШІ\x20пише...','History':'Історія','Empty\x20history':'Порожня\x20історія','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Попросіть\x20ШІ\x20та\x20ваші\x20підказки\x20будуть\x20відображені\x20тут,\x20щоб\x20ви\x20могли\x20використовувати\x20їх\x20пізніше.','Prompt\x20history':'Історія\x20підказок','Search\x20AI\x20command':'Пошук\x20команди\x20ШІ','No\x20commands\x20found':'Жодних\x20команд\x20не\x20знайдено','No\x20commands\x20available':'Немає\x20доступних\x20команд','AI_REPLACE_CONTENT':'Замінити','AI_INSERT_CONTENT':'Вставити','AI_ERROR_GET_HEADERS':'Не\x20вдалося\x20підготувати\x20заголовки\x20запиту','AI_ERROR_GET_PARAMETERS':'Не\x20вдалось\x20підготувати\x20параметри\x20запиту','AI_ERROR_UNSUPPORTED_MODEL':'Запитувана\x20модель\x20ШІ\x20(\x22%0\x22)\x20не\x20підтримується','AI_ERROR_CONTEXT_LENGTH':'Обраний\x20контент\x20задовгий','AI_ERROR_MODERATION':'Створений\x20запит\x20не\x20відповідає\x20правилам\x20модерації','AI_ERROR_FAILED':'Не\x20вдалось\x20зв\x27язатись\x20з\x20сервісом\x20ШІ'},'getPluralForm':_0x363456=>_0x363456%0x1==0x0&&_0x363456%0xa==0x1&&_0x363456%0x64!=0xb?0x0:_0x363456%0x1==0x0&&_0x363456%0xa>=0x2&&_0x363456%0xa<=0x4&&(_0x363456%0x64<0xc||_0x363456%0x64>0xe)?0x1:_0x363456%0x1==0x0&&(_0x363456%0xa==0x0||_0x363456%0xa>=0x5&&_0x363456%0xa<=0x9||_0x363456%0x64>=0xb&&_0x363456%0x64<=0xe)?0x2:0x3}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ur.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'ur':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','Translate\x20to\x20%0':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'داخل\x20کریں','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','AI_REPLACE_CONTENT':'بدل\x20دیں','AI_INSERT_CONTENT':'','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':''},'getPluralForm':_0x4bb6b5=>0x1!=_0x4bb6b5}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/uz.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'uz':{'dictionary':{'Edit\x20or\x20review':'','Improve\x20writing':'','Make\x20shorter':'','Make\x20longer':'','Simplify\x20language':'','Generate\x20from\x20selection':'','Summarize':'','Continue':'','Change\x20tone':'','Professional':'','Casual':'','Direct':'','Confident':'','Friendly':'','Change\x20style':'','Business':'','Legal':'','Journalism':'','Poetic':'','Translate':'','Translate\x20to\x20%0':'','English':'','Spanish':'','German':'','Portuguese':'','French':'','Simplified\x20Chinese':'','Hindi':'','Arabic':'','AI\x20Assistant':'','AI\x20Commands':'','Ask\x20AI\x20to\x20edit\x20or\x20generate':'','Ask\x20AI\x20to\x20improve\x20generated\x20text':'','Copy':'','Submit':'','Insert\x20below':'','Try\x20again':'','Stop':'','AI\x20is\x20writing...':'','History':'','Empty\x20history':'','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'','Prompt\x20history':'','Search\x20AI\x20command':'','No\x20commands\x20found':'','No\x20commands\x20available':'','AI_REPLACE_CONTENT':'','AI_INSERT_CONTENT':'Kiritish','AI_ERROR_GET_HEADERS':'','AI_ERROR_GET_PARAMETERS':'','AI_ERROR_UNSUPPORTED_MODEL':'','AI_ERROR_CONTEXT_LENGTH':'','AI_ERROR_MODERATION':'','AI_ERROR_FAILED':''},'getPluralForm':_0x33e580=>0x0}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/vi.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Edit\x20or\x20review':'Sửa\x20hoặc\x20xem\x20lại','Improve\x20writing':'Cải\x20thiện\x20văn\x20bản','Make\x20shorter':'Viết\x20ngắn\x20hơn','Make\x20longer':'Viết\x20dài\x20hơn','Simplify\x20language':'Đơn\x20giản\x20hóa\x20ngôn\x20ngữ','Generate\x20from\x20selection':'Tạo\x20từ\x20lựa\x20chọn','Summarize':'Tóm\x20tắt','Continue':'Tiếp\x20tục','Change\x20tone':'Thay\x20đổi\x20giọng\x20văn','Professional':'Chuyên\x20nghiệp','Casual':'Đời\x20thường','Direct':'Trực\x20tiếp','Confident':'Tự\x20tin','Friendly':'Thân\x20thiện','Change\x20style':'Thay\x20đổi\x20văn\x20phong','Business':'Kinh\x20doanh','Legal':'Pháp\x20luật','Journalism':'Báo\x20chí','Poetic':'Thơ\x20ca','Translate':'Dịch','Translate\x20to\x20%0':'Dịch\x20sang\x20%0','English':'Tiếng\x20Anh','Spanish':'Tiếng\x20Tây\x20Ban\x20Nha','German':'Tiếng\x20Đức','Portuguese':'Tiếng\x20Bồ\x20Đào\x20Nha','French':'Tiếng\x20Pháp','Simplified\x20Chinese':'Tiếng\x20Trung\x20giản\x20thể','Hindi':'Tiếng\x20Hindi','Arabic':'Tiếng\x20Ả\x20Rập','AI\x20Assistant':'Trợ\x20lí\x20AI','AI\x20Commands':'Lệnh\x20AI','Ask\x20AI\x20to\x20edit\x20or\x20generate':'Bảo\x20AI\x20sửa\x20hoặc\x20tạo\x20mới','Ask\x20AI\x20to\x20improve\x20generated\x20text':'Bảo\x20AI\x20cải\x20thiện\x20văn\x20bản\x20đã\x20tạo','Copy':'Sao\x20chép','Submit':'Gửi','Insert\x20below':'Chèn\x20vào\x20bên\x20dưới','Try\x20again':'Thử\x20lại','Stop':'Dừng','AI\x20is\x20writing...':'AI\x20đang\x20viết...','History':'Lịch\x20sử','Empty\x20history':'Lịch\x20sử\x20trống','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'Hãy\x20bảo\x20AI\x20và\x20lời\x20nhắc\x20của\x20bạn\x20sẽ\x20được\x20liệt\x20kê\x20ở\x20đây\x20để\x20sử\x20dụng\x20sau.','Prompt\x20history':'Lịch\x20sử\x20lời\x20nhắc','Search\x20AI\x20command':'Tìm\x20kiếm\x20lệnh\x20AI','No\x20commands\x20found':'Không\x20tìm\x20thấy\x20lệnh\x20nào','No\x20commands\x20available':'Không\x20có\x20lệnh\x20nào\x20khả\x20dụng','AI_REPLACE_CONTENT':'Thay\x20thế','AI_INSERT_CONTENT':'Chèn','AI_ERROR_GET_HEADERS':'Chuẩn\x20bị\x20tiêu\x20đề\x20yêu\x20cầu\x20không\x20thành\x20công','AI_ERROR_GET_PARAMETERS':'Không\x20thể\x20chuẩn\x20bị\x20tham\x20số\x20yêu\x20cầu','AI_ERROR_UNSUPPORTED_MODEL':'Không\x20hỗ\x20trợ\x20mô\x20hình\x20AI\x20được\x20yêu\x20cầu\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'Nội\x20dung\x20đã\x20chọn\x20quá\x20dài','AI_ERROR_MODERATION':'Truy\x20vấn\x20được\x20yêu\x20cầu\x20không\x20tuân\x20thủ\x20quy\x20tắc\x20kiểm\x20duyệt','AI_ERROR_FAILED':'Không\x20kết\x20nối\x20được\x20với\x20dịch\x20vụ\x20AI'},'getPluralForm':_0x44104d=>0x0}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Edit\x20or\x20review':'编辑或审核','Improve\x20writing':'改进写作','Make\x20shorter':'缩短','Make\x20longer':'加长','Simplify\x20language':'简化语言','Generate\x20from\x20selection':'根据选择内容生成','Summarize':'摘要','Continue':'继续','Change\x20tone':'更改基调','Professional':'专业','Casual':'随意','Direct':'直接','Confident':'自信','Friendly':'友好','Change\x20style':'更改风格','Business':'商务','Legal':'法律','Journalism':'旅游','Poetic':'诗意','Translate':'翻译','Translate\x20to\x20%0':'翻译为%0','English':'英语','Spanish':'西班牙语','German':'德语','Portuguese':'葡萄牙语','French':'法语','Simplified\x20Chinese':'简体中文','Hindi':'印地语','Arabic':'阿拉伯语','AI\x20Assistant':'AI\x20助手','AI\x20Commands':'AI\x20命令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20编辑或生成','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改进生成的文本','Copy':'复制','Submit':'提交','Insert\x20below':'在下面插入','Try\x20again':'重试','Stop':'停止','AI\x20is\x20writing...':'AI\x20正在撰写……','History':'历史记录','Empty\x20history':'空历史记录','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'向\x20AI\x20提问,您的提示词将在此处列出,供您以后使用。','Prompt\x20history':'提示词历史记录','Search\x20AI\x20command':'搜索\x20AI\x20命令','No\x20commands\x20found':'未找到命令','No\x20commands\x20available':'没有可用的命令','AI_REPLACE_CONTENT':'替换','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'准备请求头失败','AI_ERROR_GET_PARAMETERS':'请求参数准备失败','AI_ERROR_UNSUPPORTED_MODEL':'不支持请求的\x20AI\x20模型\x20(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'选择的内容过长','AI_ERROR_MODERATION':'请求的查询不符合审查规则','AI_ERROR_FAILED':'跟\x20AI\x20服务通信失败'},'getPluralForm':_0x59e7a1=>0x0}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/zh.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Edit\x20or\x20review':'編輯或檢閱','Improve\x20writing':'改善寫作','Make\x20shorter':'短一點','Make\x20longer':'長一點','Simplify\x20language':'簡化用語','Generate\x20from\x20selection':'依選擇範圍生成','Summarize':'總結','Continue':'繼續','Change\x20tone':'改變語調','Professional':'專業','Casual':'非正式','Direct':'直接','Confident':'自信','Friendly':'友善','Change\x20style':'改變風格','Business':'業務','Legal':'法務','Journalism':'報導','Poetic':'詩意','Translate':'翻譯','Translate\x20to\x20%0':'翻譯為%0','English':'英文','Spanish':'西班牙文','German':'德文','Portuguese':'葡萄牙文','French':'法文','Simplified\x20Chinese':'簡體中文','Hindi':'印地文','Arabic':'阿拉伯文','AI\x20Assistant':'AI\x20助理','AI\x20Commands':'AI\x20指令','Ask\x20AI\x20to\x20edit\x20or\x20generate':'要求\x20AI\x20編輯或生成內容','Ask\x20AI\x20to\x20improve\x20generated\x20text':'要求\x20AI\x20改善生成的文字','Copy':'複製','Submit':'送出','Insert\x20below':'在下方插入','Try\x20again':'重試','Stop':'停止','AI\x20is\x20writing...':'AI\x20撰寫中...','History':'紀錄','Empty\x20history':'無紀錄','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':'要求\x20AI\x20和您的提示詞會列出在此處,供您稍後使用。','Prompt\x20history':'提示詞紀錄','Search\x20AI\x20command':'搜尋\x20AI\x20指令','No\x20commands\x20found':'找不到指令','No\x20commands\x20available':'無可用指令','AI_REPLACE_CONTENT':'取代','AI_INSERT_CONTENT':'插入','AI_ERROR_GET_HEADERS':'要求標頭準備失敗','AI_ERROR_GET_PARAMETERS':'要求參數準備失敗','AI_ERROR_UNSUPPORTED_MODEL':'不支援要求的\x20AI\x20模型(\x22%0\x22)','AI_ERROR_CONTEXT_LENGTH':'選取內容過長','AI_ERROR_MODERATION':'提交的要求未通過審核規則','AI_ERROR_FAILED':'與\x20AI\x20服務通訊失敗'},'getPluralForm':_0x42a5a2=>0x0}};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module ai/adapters/aiadapter
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
import type AITextAdapter from './aitextadapter.js';
|
|
15
|
-
/**
|
|
16
|
-
* Main adapter plugin that is a common interface between AI features and AI adapters.
|
|
17
|
-
*
|
|
18
|
-
* Various AI features require to make calls to AI services. On the other hand, there are various AI adapters that can be
|
|
19
|
-
* loaded, which provide access to different AI service providers.
|
|
20
|
-
*
|
|
21
|
-
* `AIAdapter` brings both parties together. Features use the `AIAdapter` API that is known to them. On the other hand, a concrete adapter
|
|
22
|
-
* implementation can inject itself into `AIAdapter`. This way features and adapters are decoupled.
|
|
23
|
-
*
|
|
24
|
-
* For example:
|
|
25
|
-
*
|
|
26
|
-
* * `AIAssistant` feature needs to make text AI requests, so it uses `AIAdapter#textAdapter`.
|
|
27
|
-
* * `OpenAITextAdapter` plugin, when loaded, sets itself as `AIAdapter#textAdapter`, so features can use it.
|
|
28
|
-
*/
|
|
29
|
-
export default class AIAdapter extends Plugin {
|
|
30
|
-
/**
|
|
31
|
-
* The instance of the loaded AI text adapter instance.
|
|
32
|
-
*
|
|
33
|
-
* The adapter is provided by a different plugin that has to be additionally loaded.
|
|
34
|
-
*/
|
|
35
|
-
textAdapter: AITextAdapter;
|
|
36
|
-
/**
|
|
37
|
-
* @inheritDoc
|
|
38
|
-
*/
|
|
39
|
-
static get pluginName(): "AIAdapter";
|
|
40
|
-
/**
|
|
41
|
-
* @inheritDoc
|
|
42
|
-
*/
|
|
43
|
-
afterInit(): void;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Error which may be thrown by various AI adapters.
|
|
47
|
-
*
|
|
48
|
-
* When this error is thrown it should be handled by the feature which used the adapter.
|
|
49
|
-
*/
|
|
50
|
-
export declare class AIRequestError extends Error {
|
|
51
|
-
constructor(message: string);
|
|
52
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module ai/adapters/aitextadapter
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
import { default as AIAdapter } from './aiadapter.js';
|
|
15
|
-
/**
|
|
16
|
-
* Abstract base class for AI adapters that perform text-related requests.
|
|
17
|
-
*
|
|
18
|
-
* Concrete AI text adapter implementation plugin, after loaded by the editor, will set itself as
|
|
19
|
-
* {@link module:ai/adapters/aiadapter~AIAdapter#textAdapter `AIAdapter#textAdapter`}.
|
|
20
|
-
*
|
|
21
|
-
* Then, features making text-related AI requests will use that concrete adapter through
|
|
22
|
-
* {@link module:ai/adapters/aitextadapter~AITextAdapter#makeRequest `AIAdapter#textAdapter#makeRequest()`}.
|
|
23
|
-
*
|
|
24
|
-
* You can create your own adapter that may connect to any model by extending this abstract class.
|
|
25
|
-
*/
|
|
26
|
-
export default abstract class AITextAdapter extends Plugin {
|
|
27
|
-
/**
|
|
28
|
-
* Abort controller instance.
|
|
29
|
-
*
|
|
30
|
-
* It is used by {@link ~AITextAdapter#abort `abort()`}.
|
|
31
|
-
*
|
|
32
|
-
* It should be passed to the mechanism that performs the request (e.g. `fetch()`).
|
|
33
|
-
*/
|
|
34
|
-
abortController: AbortController;
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
static get requires(): readonly [typeof AIAdapter];
|
|
39
|
-
/**
|
|
40
|
-
* @inheritDoc
|
|
41
|
-
*/
|
|
42
|
-
init(): void;
|
|
43
|
-
/**
|
|
44
|
-
* The method that stops the current request and then recreates the abort controller instance.
|
|
45
|
-
*
|
|
46
|
-
* It should be called when the currently processed request should be aborted (e.g. when the user closes the UI as the request is
|
|
47
|
-
* processed).
|
|
48
|
-
*/
|
|
49
|
-
abort(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Makes the AI request to the AI API service and processes the response from the service.
|
|
52
|
-
*
|
|
53
|
-
* Internally, it uses {@link ~AITextAdapter#sendRequest `sendRequest()`}.
|
|
54
|
-
*
|
|
55
|
-
* If you are creating a custom adapter, implement `sendRequest()` rather than extending this method.
|
|
56
|
-
*
|
|
57
|
-
* Implements basic error handling for errors thrown by `sendRequest()`:
|
|
58
|
-
*
|
|
59
|
-
* * {@link module:ai/adapters/aiadapter~AIRequestError `AIRequestError`} is re-thrown, and it is expected to be handled by the feature
|
|
60
|
-
* that made the request (e.g. by displaying some error notification).
|
|
61
|
-
* * {@link module:utils/ckeditorerror~CKEditorError `CKEditorError`} is unexpected, is logged to the console, and re-thrown.
|
|
62
|
-
* * `'AbortError'` is expected and is silenced. It is thrown when the request is aborted and does not need to be handled.
|
|
63
|
-
*
|
|
64
|
-
* @returns A Promise that resolves with the AI-generated response.
|
|
65
|
-
*/
|
|
66
|
-
makeRequest(requestData: AITextAdapterRequestData): Promise<void>;
|
|
67
|
-
/**
|
|
68
|
-
* Abstract method.
|
|
69
|
-
*
|
|
70
|
-
* Creates the request using provided `requestData`. Makes the request to the AI service endpoint. Handles the AI service response.
|
|
71
|
-
*
|
|
72
|
-
* If you want to extend an existing adapter, you can overload this method to do some additional processing or make an external call.
|
|
73
|
-
*
|
|
74
|
-
* If you want to create a custom adapter, the main logic related to making and handling the request should be implemented here.
|
|
75
|
-
* Make sure to properly implement {@link ~AITextAdapterRequestData#onData `onData()`} callback handling.
|
|
76
|
-
*/
|
|
77
|
-
abstract sendRequest(requestData: AITextAdapterRequestData): Promise<void>;
|
|
78
|
-
}
|
|
79
|
-
export type AITextAdapterRequestData = {
|
|
80
|
-
/**
|
|
81
|
-
* The user's query.
|
|
82
|
-
*/
|
|
83
|
-
query: string;
|
|
84
|
-
/**
|
|
85
|
-
* The context on which the query is used.
|
|
86
|
-
*
|
|
87
|
-
* May be empty. In such case, it is assumed that the user wanted to create new textual content.
|
|
88
|
-
*/
|
|
89
|
-
context: string;
|
|
90
|
-
/**
|
|
91
|
-
* A callback that is called whenever the data received by the adapter is updated.
|
|
92
|
-
*
|
|
93
|
-
* If the adapter does not use streaming, and receives the whole answer at once, it should call `onData()` once, when the data is
|
|
94
|
-
* received.
|
|
95
|
-
*
|
|
96
|
-
* If the adapter uses streaming, the adapter should internally build the whole received data and fire `onData()` callback with the
|
|
97
|
-
* full update data each time. For example, if during streaming, the adapter receives following chunks: `'<p>T'`, `'his is an'`, and
|
|
98
|
-
* `' example</p>'`, then it should fire `onData()` with: `'<p>T'`, `'<p>This is an'`, and `'<p>This is an example</p>'`.
|
|
99
|
-
*/
|
|
100
|
-
onData: AITextAdapterDataCallback;
|
|
101
|
-
/**
|
|
102
|
-
* ID of the performed action. This is a unique ID for each feature and each action that triggers the AI request.
|
|
103
|
-
*
|
|
104
|
-
* The main role for `actionId` is to distinguish which feature made the call. The action ID can be used in extended and custom adapters
|
|
105
|
-
* to customize the request.
|
|
106
|
-
*
|
|
107
|
-
* Each AI feature describes what action IDs it creates and uses. For example, the AI Assistant feature uses `actionId` values like
|
|
108
|
-
* `'aiAssistant:custom'`, or `'aiAssistant:command:improveWriting'`.
|
|
109
|
-
*/
|
|
110
|
-
actionId: string;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Object with headers to set in the request to the AI service.
|
|
114
|
-
*
|
|
115
|
-
* If the provided value is an `object`, it is simply used as provided.
|
|
116
|
-
*
|
|
117
|
-
* If the provided value is a function, it should be a function that returns a `Promise` which resolves with the headers object.
|
|
118
|
-
* This way, you can perform an authorization request to your application and receive the authorization token (and also implement
|
|
119
|
-
* any custom logic on the back-end side). The headers object is then used to make the actual call to the AI service.
|
|
120
|
-
*
|
|
121
|
-
* The function is passed {@link module:ai/adapters/aitextadapter~AITextAdapterRequestData#actionId `actionId`} parameter to make it
|
|
122
|
-
* possible to further customize the headers.
|
|
123
|
-
*
|
|
124
|
-
* If the function fails for any reason, the promise should be rejected. In this case, a feature that made the request should display
|
|
125
|
-
* an error notification.
|
|
126
|
-
*/
|
|
127
|
-
export type RequestHeaders = Record<string, string> | ((actionId: string) => Promise<Record<string, string>>);
|
|
128
|
-
/**
|
|
129
|
-
* Additional configuration parameters for the AI request. Use it to customize how the AI service generates responses.
|
|
130
|
-
*
|
|
131
|
-
* See the reference for the AI service of your choice to learn what parameters can be used with that service or model.
|
|
132
|
-
*
|
|
133
|
-
* If the provided value is an `object`, it is passed to the request as provided.
|
|
134
|
-
*
|
|
135
|
-
* If the provided value is a function, it should be a function that returns a `Promise` which resolves with the request parameters
|
|
136
|
-
* object. This gives you more flexibility to provide parameters for the AI model.
|
|
137
|
-
*
|
|
138
|
-
* The function is passed {@link module:ai/adapters/aitextadapter~AITextAdapterRequestData#actionId `actionId`} parameter to make it
|
|
139
|
-
* possible to further customize the parameters.
|
|
140
|
-
*
|
|
141
|
-
* If the function fails for any reason, the promise should be rejected. In this case, the feature that made the request should display
|
|
142
|
-
* an error notification.
|
|
143
|
-
*/
|
|
144
|
-
export type RequestParameters = Record<string, any> | ((actionId: string) => Promise<Record<string, any>>);
|
|
145
|
-
/**
|
|
146
|
-
* Callback called each time the AI text adapter receives data.
|
|
147
|
-
*
|
|
148
|
-
* @params content The received data.
|
|
149
|
-
*/
|
|
150
|
-
export type AITextAdapterDataCallback = (content: string) => any;
|