@ckeditor/ckeditor5-export-pdf 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-pdf.js +1 -1
- package/build/translations/af.js +1 -0
- 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/lang/translations/af.po +25 -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/package.json +25 -24
- package/src/exportpdf.js +1 -1
- package/src/exportpdfcommand.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: Latvian (https://www.transifex.com/ckeditor/teams/11143/lv/)\n"
|
|
16
|
+
"Language: lv\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for a PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Eksportēt uz PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Notika kļūda veidojot PDF failu."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Eksport ke PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Berlaku ralat semasa mencipta PDF."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Naar pdf exporteren"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Er is een fout opgetreden bij het genereren van het pdf-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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Eksporter til PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Det oppstod en feil under opprettelse av PDF-en."
|
|
@@ -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 PDF export feature."
|
|
20
20
|
msgid "Export to PDF"
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Exportar para PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Ocorreu um erro ao gerar o PDF."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Exportare în PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "A avut loc o eroare în timpul generării fișierului PDF."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Экспорт в PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "При создании PDF-файла произошла ошибка."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Eksportuj u PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Došlo je do greške pri generisanju PDF-a."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Експортуј у ПДФ"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Exportera till PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Ett fel uppstod medan PDF:en 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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "ส่งออกเป็น PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "เกิดข้อผิดพลาดขณะสร้าง PDF"
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "PDF'ye çıkar"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "PDF'i 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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Експортувати в PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Під час створення PDF-файлу сталася помилка."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "پی ڈی ایف برآمد"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "Xuất ra định dạng PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "Đã xảy ra lỗi khi tạo tệp PDF."
|
|
@@ -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 PDF export feature."
|
|
20
|
+
msgid "Export to PDF"
|
|
21
|
+
msgstr "导出为PDF"
|
|
22
|
+
|
|
23
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
24
|
+
msgid "An error occurred while generating the PDF."
|
|
25
|
+
msgstr "生成PDF时发生了异常。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-pdf",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.1",
|
|
4
4
|
"description": "Export to PDF feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -29,31 +29,31 @@
|
|
|
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-basic-styles": "^
|
|
37
|
-
"@ckeditor/ckeditor5-cloud-services": "^
|
|
38
|
-
"@ckeditor/ckeditor5-code-block": "^
|
|
39
|
-
"@ckeditor/ckeditor5-core": "^
|
|
35
|
+
"@ckeditor/ckeditor5-alignment": "^35.0.1",
|
|
36
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.0.1",
|
|
37
|
+
"@ckeditor/ckeditor5-cloud-services": "^35.0.1",
|
|
38
|
+
"@ckeditor/ckeditor5-code-block": "^35.0.1",
|
|
39
|
+
"@ckeditor/ckeditor5-core": "^35.0.1",
|
|
40
40
|
"@ckeditor/ckeditor5-dev-utils": "^30.0.0",
|
|
41
|
-
"@ckeditor/ckeditor5-easy-image": "^
|
|
42
|
-
"@ckeditor/ckeditor5-editor-decoupled": "^
|
|
43
|
-
"@ckeditor/ckeditor5-font": "^
|
|
44
|
-
"@ckeditor/ckeditor5-heading": "^
|
|
45
|
-
"@ckeditor/ckeditor5-highlight": "^
|
|
46
|
-
"@ckeditor/ckeditor5-horizontal-line": "^
|
|
47
|
-
"@ckeditor/ckeditor5-image": "^
|
|
48
|
-
"@ckeditor/ckeditor5-indent": "^
|
|
49
|
-
"@ckeditor/ckeditor5-media-embed": "^
|
|
50
|
-
"@ckeditor/ckeditor5-page-break": "^
|
|
51
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
52
|
-
"@ckeditor/ckeditor5-paste-from-office": "^
|
|
53
|
-
"@ckeditor/ckeditor5-table": "^
|
|
54
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
|
55
|
-
"@ckeditor/ckeditor5-ui": "^
|
|
56
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
41
|
+
"@ckeditor/ckeditor5-easy-image": "^35.0.1",
|
|
42
|
+
"@ckeditor/ckeditor5-editor-decoupled": "^35.0.1",
|
|
43
|
+
"@ckeditor/ckeditor5-font": "^35.0.1",
|
|
44
|
+
"@ckeditor/ckeditor5-heading": "^35.0.1",
|
|
45
|
+
"@ckeditor/ckeditor5-highlight": "^35.0.1",
|
|
46
|
+
"@ckeditor/ckeditor5-horizontal-line": "^35.0.1",
|
|
47
|
+
"@ckeditor/ckeditor5-image": "^35.0.1",
|
|
48
|
+
"@ckeditor/ckeditor5-indent": "^35.0.1",
|
|
49
|
+
"@ckeditor/ckeditor5-media-embed": "^35.0.1",
|
|
50
|
+
"@ckeditor/ckeditor5-page-break": "^35.0.1",
|
|
51
|
+
"@ckeditor/ckeditor5-paragraph": "^35.0.1",
|
|
52
|
+
"@ckeditor/ckeditor5-paste-from-office": "^35.0.1",
|
|
53
|
+
"@ckeditor/ckeditor5-table": "^35.0.1",
|
|
54
|
+
"@ckeditor/ckeditor5-theme-lark": "^35.0.1",
|
|
55
|
+
"@ckeditor/ckeditor5-ui": "^35.0.1",
|
|
56
|
+
"@ckeditor/ckeditor5-utils": "^35.0.1",
|
|
57
57
|
"webpack": "^5.58.1",
|
|
58
58
|
"webpack-cli": "^4.9.0"
|
|
59
59
|
},
|
|
@@ -70,7 +70,8 @@
|
|
|
70
70
|
"src",
|
|
71
71
|
"theme",
|
|
72
72
|
"build",
|
|
73
|
-
"ckeditor5-metadata.json"
|
|
73
|
+
"ckeditor5-metadata.json",
|
|
74
|
+
"CHANGELOG.md"
|
|
74
75
|
],
|
|
75
76
|
"scripts": {
|
|
76
77
|
"dll:build": "webpack"
|
package/src/exportpdf.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3307ba}from'ckeditor5/src/core';import{ButtonView as _0x2cb63f,View as _0x5969e5,Notification as _0x45884c}from'ckeditor5/src/ui';import _0x17c15 from'./exportpdfcommand';import _0x3f6473 from'../theme/icons/exportpdf.svg';import'../theme/exportpdf.css';export default class p extends _0x3307ba{static get['pluginName'](){return'ExportPdf';}static get['requires'](){return['CloudServices',_0x45884c];}['init'](){const _0x113b64=this['editor'],t=_0x113b64['t'],_0x4e1869=_0x113b64['config']['get']('exportPdf')||{};_0x113b64['commands']['add']('exportPdf',new _0x17c15(_0x113b64)),_0x113b64['ui']['componentFactory']['add']('exportPdf',_0x7bd5ac=>{const _0x28c414=_0x113b64['commands']['get']('exportPdf'),_0x23cd7e=new _0x2cb63f(_0x7bd5ac);_0x23cd7e['set']({'label':t('Export\x20to\x20PDF'),'icon':_0x3f6473,'tooltip':!0x0}),_0x23cd7e['bind']('isOn','isEnabled')['to'](_0x28c414,'isBusy','isEnabled'),_0x23cd7e['extendTemplate']({'attributes':{'class':[_0x23cd7e['bindTemplate']['if']('isOn','ck-exportpdf_status-pending')]}});const _0xf6bd75=new _0x5969e5();return _0xf6bd75['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-exportpdf__spinner-container']},'children':[{'tag':'span','attributes':{'class':['ck','ck-exportpdf__spinner']}}]}),_0x23cd7e['children']['add'](_0xf6bd75),this['listenTo'](_0x23cd7e,'execute',()=>{_0x113b64['execute']('exportPdf',_0x4e1869),_0x113b64['editing']['view']['focus']();}),_0x23cd7e;});const _0x238d7e=_0x113b64['plugins']['get']('CloudServices');if(!0x1===_0x4e1869['tokenUrl'])this['_token']=null;else{if(_0x4e1869['tokenUrl'])return _0x238d7e['registerTokenUrl'](_0x4e1869['tokenUrl'])['then'](_0x3bf989=>{this['_token']=_0x3bf989;});this['_token']=_0x238d7e['token'];}}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0xa94cf3}from'ckeditor5/src/core';import{getStyles as _0x413cd0}from'./utils';export default class o extends _0xa94cf3{constructor(_0x558f73){super(_0x558f73),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x23cb52={}){const _0x291335=this['editor'],t=_0x291335['t'],_0x428e64=_0x23cb52['converterUrl']||'https://pdf-converter.cke-cs.com/v1/convert/',_0x5d83bf=_0x23cb52['dataCallback']||(_0x1696ac=>_0x1696ac['getData']()),_0x1aa4a7=_0x291335['plugins']['get']('ExportPdf'),_0x3a15e5=_0x23cb52['token']||_0x1aa4a7['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x413cd0(_0x23cb52['stylesheets']||['EDITOR_STYLES'])['then'](_0x1ec30d=>{const _0x2cbb0c={'html':'<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x291335['locale']['contentLanguageDirection']+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+_0x5d83bf(_0x291335)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09</html>','css':_0x1ec30d,'options':_0x23cb52['converterOptions']},_0x512aa0={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x3a15e5?{'Authorization':_0x3a15e5['value']}:null,'x-cs-app-id':_0x23cb52['appID']||'cke5'},'body':JSON['stringify'](_0x2cbb0c)};return window['fetch'](_0x428e64,_0x512aa0)['then'](_0x4c8bef=>{if(0xc8!==_0x4c8bef['status'])throw _0x4c8bef;return _0x4c8bef['blob']();})['then'](_0x1186ad=>{this['o'](_0x1186ad,_0x23cb52['fileName']||'document.pdf');});})['catch'](_0x2b46cd=>{throw _0x291335['plugins']['get']('Notification')['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x2b46cd;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['o'](_0x3abf32,_0x47c0ad){const _0x5ae14b=document['createElement']('a');_0x5ae14b['href']=window['URL']['createObjectURL'](_0x3abf32),_0x5ae14b['download']=_0x47c0ad,_0x5ae14b['click'](),_0x5ae14b['remove']();}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd792=['cssText','fetch','ownerNode','styleSheets','.ck-content','join','cssRules','push',':root','then','indexOf','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.','trim'];(function(_0x54c105,_0xd7920c){const _0x224ec8=function(_0xf7c242){while(--_0xf7c242){_0x54c105['push'](_0x54c105['shift']());}};_0x224ec8(++_0xd7920c);}(_0xd792,0x1c8));const _0x224e=function(_0x54c105,_0xd7920c){_0x54c105=_0x54c105-0x0;let _0x224ec8=_0xd792[_0x54c105];return _0x224ec8;};export function getStyles(_0x2268d2){if(!_0x2268d2)return new Promise(_0x54b052=>_0x54b052(''));const _0x50cfbf=[];for(const _0x18d6c7 of _0x2268d2)'EDITOR_STYLES'!==_0x18d6c7?_0x50cfbf[_0x224e('0x6')](window[_0x224e('0x0')](_0x18d6c7)[_0x224e('0x8')](_0x3ac8e5=>_0x3ac8e5['text']())):_0x50cfbf[_0x224e('0x6')](u());return Promise['all'](_0x50cfbf)[_0x224e('0x8')](_0x5dd114=>_0x5dd114[_0x224e('0x4')]('\x20')['trim']());}function u(){const _0x2d8895=[],_0x54641c=[];for(const _0x158482 of document[_0x224e('0x2')])if(_0x158482[_0x224e('0x1')]['hasAttribute']('data-cke'))for(const _0x435d4f of _0x158482[_0x224e('0x5')])-0x1!==_0x435d4f[_0x224e('0xc')][_0x224e('0x9')](_0x224e('0x3'))?_0x2d8895[_0x224e('0x6')](_0x435d4f[_0x224e('0xc')]):-0x1!==_0x435d4f['cssText'][_0x224e('0x9')](_0x224e('0x7'))&&_0x54641c[_0x224e('0x6')](_0x435d4f[_0x224e('0xc')]);return _0x2d8895['length']||console['warn'](_0x224e('0xa')),[..._0x54641c,..._0x2d8895]['join']('\x20')[_0x224e('0xb')]();}
|