@ckeditor/ckeditor5-export-word 34.0.0 → 35.0.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/CHANGELOG.md +4 -0
- package/LICENSE.md +2 -2
- package/README.md +2 -2
- package/build/export-word.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/lang/translations/ar.po +25 -0
- package/lang/translations/bg.po +25 -0
- package/lang/translations/bn.po +25 -0
- package/lang/translations/ca.po +25 -0
- package/lang/translations/da.po +25 -0
- package/lang/translations/es.po +25 -0
- package/lang/translations/et.po +25 -0
- package/lang/translations/fi.po +25 -0
- package/lang/translations/fr.po +1 -1
- package/lang/translations/he.po +25 -0
- package/lang/translations/hi.po +25 -0
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +25 -0
- package/lang/translations/ko.po +25 -0
- package/lang/translations/lt.po +25 -0
- package/lang/translations/lv.po +25 -0
- package/lang/translations/ms.po +25 -0
- package/lang/translations/nl.po +25 -0
- package/lang/translations/no.po +25 -0
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +25 -0
- package/lang/translations/ro.po +25 -0
- package/lang/translations/ru.po +25 -0
- package/lang/translations/sr-latn.po +25 -0
- package/lang/translations/sr.po +25 -0
- package/lang/translations/sv.po +25 -0
- package/lang/translations/th.po +25 -0
- package/lang/translations/tr.po +25 -0
- package/lang/translations/uk.po +25 -0
- package/lang/translations/ur.po +25 -0
- package/lang/translations/vi.po +25 -0
- package/lang/translations/zh-cn.po +25 -0
- package/lang/translations/zh.po +25 -0
- package/package.json +27 -26
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/utils.js +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Malay (https://www.transifex.com/ckeditor/teams/11143/ms/)\n"
|
|
16
|
+
"Language: ms\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Eksport ke Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Berlaku ralat semasa mencipta fail Word."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Dutch (https://www.transifex.com/ckeditor/teams/11143/nl/)\n"
|
|
16
|
+
"Language: nl\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Naar Word exporteren"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Er is een fout opgetreden bij het genereren van het Word-bestand."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Norwegian (https://www.transifex.com/ckeditor/teams/11143/no/)\n"
|
|
16
|
+
"Language: no\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Eksporter til Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Det oppstod en feil under opprettelse av Word-filen."
|
|
@@ -14,7 +14,7 @@ msgid ""
|
|
|
14
14
|
msgstr ""
|
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
|
16
16
|
"Language: pt_BR\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
18
|
|
|
19
19
|
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
20
|
msgid "Export to Word"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
|
|
16
|
+
"Language: pt\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Exportar para Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Ocorreu um erro ao gerar o ficheiro Word."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Romanian (https://www.transifex.com/ckeditor/teams/11143/ro/)\n"
|
|
16
|
+
"Language: ro\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Exportare în Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "A avut loc o eroare în timpul generării fișierului Word."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Russian (https://www.transifex.com/ckeditor/teams/11143/ru/)\n"
|
|
16
|
+
"Language: ru\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Экспорт в Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "При создании файла Word произошла ошибка."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Serbian (Latin) (https://www.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
|
|
16
|
+
"Language: sr@latin\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Eksportuj u Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Došlo je do greške pri generisanju Word datoteke."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Serbian (https://www.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
|
+
"Language: sr\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Експортуј у Ворд"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Дошло је до грешке при генерисању Ворд датотеке."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
|
+
"Language: sv\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Exportera till Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Ett fel uppstod medan Wordfilen skapades."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Thai (https://www.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
|
+
"Language: th\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "ส่งออกไปที่ Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "เกิดข้อผิดพลาดขณะสร้างไฟล์ Word"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Turkish (https://www.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
|
+
"Language: tr\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Word'e çıkar"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Word dosyası oluşturulurken bir hata oluştu."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
|
+
"Language: uk\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Експортувати в Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Під час створення Word файлу сталася помилка."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
|
+
"Language: ur\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "ورڈ دستاویز برآمد"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "ورڈ دستاویز بناننے میں نقص واقع ہوا۔"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Vietnamese (https://www.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
|
+
"Language: vi\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "Xuất ra định dạng Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "Đã xảy ra lỗi khi tạo tệp Word."
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
|
+
"Language: zh_CN\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "导出Word文档"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "生成Word文档时发生了异常。"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
|
+
"Language: zh_TW\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a Word export feature."
|
|
20
|
+
msgid "Export to Word"
|
|
21
|
+
msgstr "匯出到 Word"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
24
|
+
msgid "An error occurred while generating the Word file."
|
|
25
|
+
msgstr "產生 Word 檔案時出錯。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.1",
|
|
4
4
|
"description": "Export to Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -29,33 +29,33 @@
|
|
|
29
29
|
],
|
|
30
30
|
"main": "src/index.js",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"ckeditor5": "^
|
|
32
|
+
"ckeditor5": "^35.0.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@ckeditor/ckeditor5-alignment": "^
|
|
36
|
-
"@ckeditor/ckeditor5-autoformat": "^
|
|
37
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
|
38
|
-
"@ckeditor/ckeditor5-cloud-services": "^
|
|
39
|
-
"@ckeditor/ckeditor5-code-block": "^
|
|
40
|
-
"@ckeditor/ckeditor5-collaboration-core": "^
|
|
41
|
-
"@ckeditor/ckeditor5-comments": "^
|
|
42
|
-
"@ckeditor/ckeditor5-core": "^
|
|
35
|
+
"@ckeditor/ckeditor5-alignment": "^35.0.1",
|
|
36
|
+
"@ckeditor/ckeditor5-autoformat": "^35.0.1",
|
|
37
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.0.1",
|
|
38
|
+
"@ckeditor/ckeditor5-cloud-services": "^35.0.1",
|
|
39
|
+
"@ckeditor/ckeditor5-code-block": "^35.0.1",
|
|
40
|
+
"@ckeditor/ckeditor5-collaboration-core": "^35.0.1",
|
|
41
|
+
"@ckeditor/ckeditor5-comments": "^35.0.1",
|
|
42
|
+
"@ckeditor/ckeditor5-core": "^35.0.1",
|
|
43
43
|
"@ckeditor/ckeditor5-dev-utils": "^30.0.0",
|
|
44
|
-
"@ckeditor/ckeditor5-easy-image": "^
|
|
45
|
-
"@ckeditor/ckeditor5-editor-decoupled": "^
|
|
46
|
-
"@ckeditor/ckeditor5-font": "^
|
|
47
|
-
"@ckeditor/ckeditor5-heading": "^
|
|
48
|
-
"@ckeditor/ckeditor5-horizontal-line": "^
|
|
49
|
-
"@ckeditor/ckeditor5-image": "^
|
|
50
|
-
"@ckeditor/ckeditor5-indent": "^
|
|
51
|
-
"@ckeditor/ckeditor5-list": "^
|
|
52
|
-
"@ckeditor/ckeditor5-page-break": "^
|
|
53
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
54
|
-
"@ckeditor/ckeditor5-table": "^
|
|
55
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
|
56
|
-
"@ckeditor/ckeditor5-track-changes": "^
|
|
57
|
-
"@ckeditor/ckeditor5-ui": "^
|
|
58
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
44
|
+
"@ckeditor/ckeditor5-easy-image": "^35.0.1",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-decoupled": "^35.0.1",
|
|
46
|
+
"@ckeditor/ckeditor5-font": "^35.0.1",
|
|
47
|
+
"@ckeditor/ckeditor5-heading": "^35.0.1",
|
|
48
|
+
"@ckeditor/ckeditor5-horizontal-line": "^35.0.1",
|
|
49
|
+
"@ckeditor/ckeditor5-image": "^35.0.1",
|
|
50
|
+
"@ckeditor/ckeditor5-indent": "^35.0.1",
|
|
51
|
+
"@ckeditor/ckeditor5-list": "^35.0.1",
|
|
52
|
+
"@ckeditor/ckeditor5-page-break": "^35.0.1",
|
|
53
|
+
"@ckeditor/ckeditor5-paragraph": "^35.0.1",
|
|
54
|
+
"@ckeditor/ckeditor5-table": "^35.0.1",
|
|
55
|
+
"@ckeditor/ckeditor5-theme-lark": "^35.0.1",
|
|
56
|
+
"@ckeditor/ckeditor5-track-changes": "^35.0.1",
|
|
57
|
+
"@ckeditor/ckeditor5-ui": "^35.0.1",
|
|
58
|
+
"@ckeditor/ckeditor5-utils": "^35.0.1",
|
|
59
59
|
"webpack": "^5.58.1",
|
|
60
60
|
"webpack-cli": "^4.9.0"
|
|
61
61
|
},
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"src",
|
|
73
73
|
"theme",
|
|
74
74
|
"build",
|
|
75
|
-
"ckeditor5-metadata.json"
|
|
75
|
+
"ckeditor5-metadata.json",
|
|
76
|
+
"CHANGELOG.md"
|
|
76
77
|
],
|
|
77
78
|
"scripts": {
|
|
78
79
|
"dll:build": "webpack"
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1edfa2}from'ckeditor5/src/core';import{ButtonView as _0x348c3a,View as _0x5b941d,Notification as _0x11b9b2}from'ckeditor5/src/ui';import _0x34b0ff from'./exportwordcommand';import _0x523525 from'../theme/icons/exportword.svg';import'../theme/exportword.css';export default class c extends _0x1edfa2{static get['pluginName'](){return'ExportWord';}static get['requires'](){return['CloudServices',_0x11b9b2];}['init'](){const _0x27b5a7=this['editor'],t=_0x27b5a7['t'],_0x1a7285=_0x27b5a7['config']['get']('exportWord')||{};_0x27b5a7['commands']['add']('exportWord',new _0x34b0ff(_0x27b5a7)),_0x27b5a7['ui']['componentFactory']['add']('exportWord',_0x261e2f=>{const _0x2f37a2=_0x27b5a7['commands']['get']('exportWord'),_0x40983b=new _0x348c3a(_0x261e2f);_0x40983b['set']({'label':t('Export\x20to\x20Word'),'icon':_0x523525,'tooltip':!0x0}),_0x40983b['bind']('isOn','isEnabled')['to'](_0x2f37a2,'isBusy','isEnabled'),_0x40983b['extendTemplate']({'attributes':{'class':[_0x40983b['bindTemplate']['if']('isOn','ck-exportword_status-pending')]}});const _0x242e0c=new _0x5b941d();return _0x242e0c['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-exportword__spinner-container']},'children':[{'tag':'span','attributes':{'class':['ck','ck-exportword__spinner']}}]}),_0x40983b['children']['add'](_0x242e0c),this['listenTo'](_0x40983b,'execute',()=>{_0x27b5a7['execute']('exportWord',_0x1a7285),_0x27b5a7['editing']['view']['focus']();}),_0x40983b;});const _0x522870=_0x27b5a7['plugins']['get']('CloudServices');if(!0x1===_0x1a7285['tokenUrl'])this['_token']=null;else{if(_0x1a7285['tokenUrl'])return _0x522870['registerTokenUrl'](_0x1a7285['tokenUrl'])['then'](_0x16a325=>{this['_token']=_0x16a325;});this['_token']=_0x522870['token'];}}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x5751a6}from'ckeditor5/src/core';import{getStyles as _0x1cf1a7,getConverterOptions as _0x222bb7}from'./utils';export default class i extends _0x5751a6{constructor(_0x55b2b9){super(_0x55b2b9),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x195982={}){const _0x207ef8=this['editor'],t=_0x207ef8['t'],_0x3bd380=_0x195982['converterUrl']||'https://docx-converter.cke-cs.com/v1/convert',_0x4ecbfd=_0x195982['converterOptions']||{},_0x2f7f0e=_0x207ef8['plugins']['get']('ExportWord'),_0x241df5=_0x195982['token']||_0x2f7f0e['_token'],_0x4c5017=!0x1!==_0x4ecbfd['auto_pagination'],_0x2137e1=_0x195982['dataCallback']||(_0x315612=>_0x315612['getData']({'pagination':_0x4c5017}));return this['isBusy']=!0x0,this['refresh'](),_0x1cf1a7(_0x195982['stylesheets']||['EDITOR_STYLES'])['then'](_0x31d4f5=>{const _0x421228=_0x2137e1(_0x207ef8),_0x475e93={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x207ef8['locale']['contentLanguageDirection']+'\x22>'+_0x421228+'</div>','css':_0x31d4f5,'options':{..._0x4ecbfd,..._0x222bb7(_0x207ef8)}},_0x50510c={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x241df5?{'Authorization':_0x241df5['value']}:null},'body':JSON['stringify'](_0x475e93)};return window['fetch'](_0x3bd380,_0x50510c)['then'](_0x48509a=>{if(0xc8!==_0x48509a['status'])throw _0x48509a;return _0x48509a['blob']();})['then'](_0x42428c=>{this['o'](_0x42428c,_0x195982['fileName']||'document.docx');});})['catch'](_0x286d43=>{throw _0x207ef8['plugins']['get']('Notification')['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x286d43;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['o'](_0x39fa14,_0x44a24e){const _0xd4b1dc=document['createElement']('a');_0xd4b1dc['href']=window['URL']['createObjectURL'](_0x39fa14),_0xd4b1dc['download']=_0x44a24e,_0xd4b1dc['click'](),_0xd4b1dc['remove']();}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4119=['cssText','suggestions','fetch','cssRules','get','CommentsRepository','join','ownerNode','warn','trim','Users','text','resolvedOptions','push','EDITOR_STYLES','author','getCommentThreads','timezone','name','length',':root','getSuggestions','has','comments','indexOf','authorId','then','timeZone','createdAt','.ck-content','TrackChanges','users','keys','styleSheets','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','plugins','DateTimeFormat'];(function(_0xffac94,_0x4119fa){const _0x5622ca=function(_0x5b4071){while(--_0x5b4071){_0xffac94['push'](_0xffac94['shift']());}};_0x5622ca(++_0x4119fa);}(_0x4119,0xa7));const _0x5622=function(_0xffac94,_0x4119fa){_0xffac94=_0xffac94-0x0;let _0x5622ca=_0x4119[_0xffac94];return _0x5622ca;};export function getStyles(_0x41b065){if(!_0x41b065)return new Promise(_0x484440=>_0x484440(''));const _0x3812b4=[];for(const _0x332085 of _0x41b065)_0x5622('0x20')!==_0x332085?_0x3812b4[_0x5622('0x1f')](window[_0x5622('0x14')](_0x332085)['then'](_0x2ebfc0=>_0x2ebfc0[_0x5622('0x1d')]())):_0x3812b4[_0x5622('0x1f')](u());return Promise['all'](_0x3812b4)[_0x5622('0x7')](_0x586a38=>_0x586a38[_0x5622('0x18')]('\x20')[_0x5622('0x1b')]());}function u(){const _0x14498d=[],_0x4c5baa=[];for(const _0x4c122d of document[_0x5622('0xe')])if(_0x4c122d[_0x5622('0x19')]['hasAttribute']('data-cke'))for(const _0x200e72 of _0x4c122d[_0x5622('0x15')])-0x1!==_0x200e72['cssText']['indexOf'](_0x5622('0xa'))?_0x14498d['push'](_0x200e72[_0x5622('0x12')]):-0x1!==_0x200e72['cssText'][_0x5622('0x5')](_0x5622('0x1'))&&_0x4c5baa[_0x5622('0x1f')](_0x200e72['cssText']);return _0x14498d[_0x5622('0x0')]||console[_0x5622('0x1a')](_0x5622('0xf')),[..._0x4c5baa,..._0x14498d][_0x5622('0x18')]('\x20')['trim']();}export function getConverterOptions(_0xfeea15){const _0x595f12=_0xfeea15[_0x5622('0x10')][_0x5622('0x3')](_0x5622('0x1c')),_0x552b11=_0xfeea15[_0x5622('0x10')][_0x5622('0x3')]('CommentsRepository'),_0xe1ef18=_0xfeea15[_0x5622('0x10')]['has'](_0x5622('0xb')),_0x4f876c={};if(_0x595f12&&_0x552b11){const _0x4e0e0f=getComments(_0xfeea15[_0x5622('0x10')]['get'](_0x5622('0x17'))[_0x5622('0x22')]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5622('0xd')](_0x4e0e0f)['length']&&(_0x4f876c[_0x5622('0x4')]=_0x4e0e0f);}if(_0x595f12&&_0xe1ef18){const _0x21f158=_0xfeea15[_0x5622('0x10')]['get'](_0x5622('0xb')),_0x38cae6=_0xfeea15['plugins'][_0x5622('0x16')](_0x5622('0x1c')),_0x5bf226=getSuggestions(_0x21f158[_0x5622('0x2')]({'toJSON':!0x0}),_0x38cae6[_0x5622('0xc')]);Object[_0x5622('0xd')](_0x5bf226)[_0x5622('0x0')]&&(_0x4f876c[_0x5622('0x13')]=_0x5bf226);}return(_0x4f876c[_0x5622('0x13')]||_0x4f876c[_0x5622('0x4')])&&(_0x4f876c[_0x5622('0x23')]=new Intl[(_0x5622('0x11'))]()[_0x5622('0x1e')]()[_0x5622('0x8')]),_0x4f876c;}export function getComments(_0x512570){const _0x19b115={};if(!_0x512570[_0x5622('0x0')])return _0x19b115;for(const _0x2a9382 of _0x512570)_0x2a9382['comments']['map'](_0x1b7509=>{void 0x0===_0x19b115[_0x2a9382['id']]&&(_0x19b115[_0x2a9382['id']]=[]),_0x19b115[_0x2a9382['id']]['push']({'author':_0x1b7509[_0x5622('0x21')]['name'],'content':_0x1b7509['content'],'created':_0x1b7509[_0x5622('0x9')]});});return _0x19b115;}export function getSuggestions(_0xf72106,_0x44fe06){const _0x1c6341={};if(!_0xf72106['length']||!_0x44fe06[_0x5622('0x0')])return _0x1c6341;for(const _0x2a027a of _0xf72106)_0x1c6341[_0x2a027a['id']]={'author':_0x44fe06[_0x5622('0x16')](_0x2a027a[_0x5622('0x6')])[_0x5622('0x24')],'created':_0x2a027a[_0x5622('0x9')]};return _0x1c6341;}
|