@ckeditor/ckeditor5-image 43.1.0 → 43.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/image.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/ug.js +1 -1
- package/dist/image/insertimagecommand.d.ts +2 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/ug.po +33 -33
- package/package.json +11 -11
- package/src/image/insertimagecommand.d.ts +2 -0
- package/src/image/insertimagecommand.js +3 -2
package/dist/translations/ca.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
export default {"ca":{"dictionary":{"image widget":"giny d'imatge","Wrap text":"Embolcallar el text","Break text":"
|
|
5
|
+
export default {"ca":{"dictionary":{"image widget":"giny d'imatge","Wrap text":"Embolcallar el text","Break text":"Parteix el text","In line":"A la línia","Side image":"Imatge lateral","Full size image":"Imatge a mida completa","Left aligned image":"Imatge alineada a l'esquerra","Centered image":"Imatge centrada","Right aligned image":"Imatge alineada a la dreta","Change image text alternative":"Canviar l'alternativa del text de la imatge","Text alternative":"Alternativa de text","Enter image caption":"Introduir el peu de foto de la imatge","Insert image":"Introduir la imatge","Replace image":"Substitueix la imatge","Upload from computer":"Puja-ho des de l'ordinador","Replace from computer":"Substitueix-ho des de l'ordinador","Upload image from computer":"Puja la imatge des de l'ordinador","Image from computer":"Imatge des de l'ordinador","From computer":"Des de l'ordinador","Replace image from computer":"Substitueix la imatge des de l'ordinador","Upload failed":"No s'ha pogut carregar","You have no image upload permissions.":"No tens permisos per pujar imatges.","Image toolbar":"Barra d'eines d'imatge","Resize image":"Redimensionar la imatge","Resize image to %0":"Redimensiona la imatge a %0","Resize image to the original size":"Redimensiona la imatge a la mida original","Resize image (in %0)":"Canvia la mida de la imatge (a %0)","Original":"Original","Custom image size":"Mida de la imatge personalitzada","Custom":"Personalitzat","Image resize list":"Llista de redimensionament de la imatge","Insert image via URL":"Introduir la imatge mitjançant l'URL","Insert via URL":"Insereix mitjançant un URL","Image via URL":"Imatge mitjançant un URL","Via URL":"Mitjançant un URL","Update image URL":"Actualitzar l'URL de la imatge","Caption for the image":"Peu de foto","Caption for image: %0":"Peu de foto: %0","The value must not be empty.":"El valor no pot estar buit.","The value should be a plain number.":"El valor ha de ser un nombre senzill.","Uploading image":"S'està pujant la imatge","Image upload complete":"S'ha completat la pujada de la imatge","Error during image upload":"Error durant la càrrega de la imatge","Image":"Imatge"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'ca' ]: { dictionary, getPluralForm } } = {"ca":{"dictionary":{"image widget":"giny d'imatge","Wrap text":"Embolcallar el text","Break text":"
|
|
7
|
+
const { [ 'ca' ]: { dictionary, getPluralForm } } = {"ca":{"dictionary":{"image widget":"giny d'imatge","Wrap text":"Embolcallar el text","Break text":"Parteix el text","In line":"A la línia","Side image":"Imatge lateral","Full size image":"Imatge a mida completa","Left aligned image":"Imatge alineada a l'esquerra","Centered image":"Imatge centrada","Right aligned image":"Imatge alineada a la dreta","Change image text alternative":"Canviar l'alternativa del text de la imatge","Text alternative":"Alternativa de text","Enter image caption":"Introduir el peu de foto de la imatge","Insert image":"Introduir la imatge","Replace image":"Substitueix la imatge","Upload from computer":"Puja-ho des de l'ordinador","Replace from computer":"Substitueix-ho des de l'ordinador","Upload image from computer":"Puja la imatge des de l'ordinador","Image from computer":"Imatge des de l'ordinador","From computer":"Des de l'ordinador","Replace image from computer":"Substitueix la imatge des de l'ordinador","Upload failed":"No s'ha pogut carregar","You have no image upload permissions.":"No tens permisos per pujar imatges.","Image toolbar":"Barra d'eines d'imatge","Resize image":"Redimensionar la imatge","Resize image to %0":"Redimensiona la imatge a %0","Resize image to the original size":"Redimensiona la imatge a la mida original","Resize image (in %0)":"Canvia la mida de la imatge (a %0)","Original":"Original","Custom image size":"Mida de la imatge personalitzada","Custom":"Personalitzat","Image resize list":"Llista de redimensionament de la imatge","Insert image via URL":"Introduir la imatge mitjançant l'URL","Insert via URL":"Insereix mitjançant un URL","Image via URL":"Imatge mitjançant un URL","Via URL":"Mitjançant un URL","Update image URL":"Actualitzar l'URL de la imatge","Caption for the image":"Peu de foto","Caption for image: %0":"Peu de foto: %0","The value must not be empty.":"El valor no pot estar buit.","The value should be a plain number.":"El valor ha de ser un nombre senzill.","Uploading image":"S'està pujant la imatge","Image upload complete":"S'ha completat la pujada de la imatge","Error during image upload":"Error durant la càrrega de la imatge","Image":"Imatge"},getPluralForm(n){return (n != 1);}}};
|
|
8
8
|
e[ 'ca' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
9
|
e[ 'ca' ].dictionary = Object.assign( e[ 'ca' ].dictionary, dictionary );
|
|
10
10
|
e[ 'ca' ].getPluralForm = getPluralForm;
|
package/dist/translations/ug.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
export default {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"","Break text":"","In line":"","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","You have no image upload permissions.":"","Image toolbar":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert image via URL":"","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return (n != 1);}}}
|
|
5
|
+
export default {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"تېكىست چۆرىدەت","Break text":"تېكىست ئۈز","In line":"قۇردا","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"سۈرەت ئالماشتۇر","Upload from computer":"كومپيۇتېردىن يۈكلە","Replace from computer":"كومپيۇتېردىن ئالماشتۇر","Upload image from computer":"سۈرەتنى كومپيۇتېردىن يۈكلە","Image from computer":"كومپيۇتېردىن سۈرەت تاللاڭ","From computer":"كومپيۇتېردىن","Replace image from computer":"سۈرەتنى كومپيۇتېردىن ئالماشتۇرىدۇ","Upload failed":"چىقىرىش مەغلۇپ بولدى","You have no image upload permissions.":"سۈرەت يۈكلەش ئىجازىتىڭىز يوق.","Image toolbar":"سۈرەت قورال بالداق","Resize image":"سۈرەت چوڭلۇقىنى تەڭشە","Resize image to %0":"سۈرەت چوڭلۇقىنى %0 كە تەڭشە","Resize image to the original size":"سۈرەت چوڭلۇقىنى ئەسلى چوڭلۇقىغا تەڭشەيدۇ","Resize image (in %0)":"سۈرەت چوڭلۇقىنى تەڭشە (بىرلىكى %0)","Original":"ئەسلى","Custom image size":"ئىختىيارى سۈرەت چوڭلۇقى","Custom":"ئىختىيارى","Image resize list":"سۈرەت چوڭلۇقىنى تەڭشەش تىزىمى","Insert image via URL":"سۈرەتنى تور ئادرېسىدىن قىستۇر","Insert via URL":"تور ئادرېسىدىن قىستۇر","Image via URL":"تور ئادرېسىدىن كەلگەن سۈرەت","Via URL":"تور ئادرېسى ئارقىلىق","Update image URL":"سۈرەت تور ئادرېسىنى يېڭىلا","Caption for the image":"سۈرەت چۈشەندۈرۈشى","Caption for image: %0":"سۈرەت چۈشەندۈرۈشى: %0","The value must not be empty.":"قىممىتى بوش قالدۇرۇلمايدۇ.","The value should be a plain number.":"مەزكۇر قىممەت سان بولۇشى كېرەك.","Uploading image":"سۈرەت يۈكلەۋاتىدۇ","Image upload complete":"سۈرەت يۈكلەش تامام","Error during image upload":"سۈرەت يۈكلەشتە خاتالىق كۆرۈلدى","Image":"سۈرەت"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'ug' ]: { dictionary, getPluralForm } } = {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"","Break text":"","In line":"","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"","Upload from computer":"","Replace from computer":"","Upload image from computer":"","Image from computer":"","From computer":"","Replace image from computer":"","Upload failed":"چىقىرىش مەغلۇپ بولدى","You have no image upload permissions.":"","Image toolbar":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Resize image (in %0)":"","Original":"","Custom image size":"","Custom":"","Image resize list":"","Insert image via URL":"","Insert via URL":"","Image via URL":"","Via URL":"","Update image URL":"","Caption for the image":"","Caption for image: %0":"","The value must not be empty.":"","The value should be a plain number.":"","Uploading image":"","Image upload complete":"","Error during image upload":"","Image":""},getPluralForm(n){return (n != 1);}}};
|
|
7
|
+
const { [ 'ug' ]: { dictionary, getPluralForm } } = {"ug":{"dictionary":{"image widget":"رەسىمچىك","Wrap text":"تېكىست چۆرىدەت","Break text":"تېكىست ئۈز","In line":"قۇردا","Side image":"يان رەسىم","Full size image":"ئەسلى چوڭلۇقتىكى رەسىم","Left aligned image":"سولغا توغۇرلانغان رەسىم","Centered image":"ئوتتۇردىكى رەسىم","Right aligned image":"ئوڭغا توغۇرلانغان رەسىم","Change image text alternative":"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش","Text alternative":"تېكىست ئاملاشتۇرۇش","Enter image caption":"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ","Insert image":"رەسىم قىستۇرۇش","Replace image":"سۈرەت ئالماشتۇر","Upload from computer":"كومپيۇتېردىن يۈكلە","Replace from computer":"كومپيۇتېردىن ئالماشتۇر","Upload image from computer":"سۈرەتنى كومپيۇتېردىن يۈكلە","Image from computer":"كومپيۇتېردىن سۈرەت تاللاڭ","From computer":"كومپيۇتېردىن","Replace image from computer":"سۈرەتنى كومپيۇتېردىن ئالماشتۇرىدۇ","Upload failed":"چىقىرىش مەغلۇپ بولدى","You have no image upload permissions.":"سۈرەت يۈكلەش ئىجازىتىڭىز يوق.","Image toolbar":"سۈرەت قورال بالداق","Resize image":"سۈرەت چوڭلۇقىنى تەڭشە","Resize image to %0":"سۈرەت چوڭلۇقىنى %0 كە تەڭشە","Resize image to the original size":"سۈرەت چوڭلۇقىنى ئەسلى چوڭلۇقىغا تەڭشەيدۇ","Resize image (in %0)":"سۈرەت چوڭلۇقىنى تەڭشە (بىرلىكى %0)","Original":"ئەسلى","Custom image size":"ئىختىيارى سۈرەت چوڭلۇقى","Custom":"ئىختىيارى","Image resize list":"سۈرەت چوڭلۇقىنى تەڭشەش تىزىمى","Insert image via URL":"سۈرەتنى تور ئادرېسىدىن قىستۇر","Insert via URL":"تور ئادرېسىدىن قىستۇر","Image via URL":"تور ئادرېسىدىن كەلگەن سۈرەت","Via URL":"تور ئادرېسى ئارقىلىق","Update image URL":"سۈرەت تور ئادرېسىنى يېڭىلا","Caption for the image":"سۈرەت چۈشەندۈرۈشى","Caption for image: %0":"سۈرەت چۈشەندۈرۈشى: %0","The value must not be empty.":"قىممىتى بوش قالدۇرۇلمايدۇ.","The value should be a plain number.":"مەزكۇر قىممەت سان بولۇشى كېرەك.","Uploading image":"سۈرەت يۈكلەۋاتىدۇ","Image upload complete":"سۈرەت يۈكلەش تامام","Error during image upload":"سۈرەت يۈكلەشتە خاتالىق كۆرۈلدى","Image":"سۈرەت"},getPluralForm(n){return (n != 1);}}};
|
|
8
8
|
e[ 'ug' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
9
|
e[ 'ug' ].dictionary = Object.assign( e[ 'ug' ].dictionary, dictionary );
|
|
10
10
|
e[ 'ug' ].getPluralForm = getPluralForm;
|
package/lang/translations/ca.po
CHANGED
|
@@ -27,7 +27,7 @@ msgstr "Embolcallar el text"
|
|
|
27
27
|
|
|
28
28
|
msgctxt "The label for the image style button that breaks the text around the image."
|
|
29
29
|
msgid "Break text"
|
|
30
|
-
msgstr "
|
|
30
|
+
msgstr "Parteix el text"
|
|
31
31
|
|
|
32
32
|
msgctxt "The label for the image style button that places the image inside the line of text."
|
|
33
33
|
msgid "In line"
|
package/lang/translations/ug.po
CHANGED
|
@@ -23,15 +23,15 @@ msgstr "رەسىمچىك"
|
|
|
23
23
|
|
|
24
24
|
msgctxt "The label for the image style button that wraps text around the image."
|
|
25
25
|
msgid "Wrap text"
|
|
26
|
-
msgstr ""
|
|
26
|
+
msgstr "تېكىست چۆرىدەت"
|
|
27
27
|
|
|
28
28
|
msgctxt "The label for the image style button that breaks the text around the image."
|
|
29
29
|
msgid "Break text"
|
|
30
|
-
msgstr ""
|
|
30
|
+
msgstr "تېكىست ئۈز"
|
|
31
31
|
|
|
32
32
|
msgctxt "The label for the image style button that places the image inside the line of text."
|
|
33
33
|
msgid "In line"
|
|
34
|
-
msgstr ""
|
|
34
|
+
msgstr "قۇردا"
|
|
35
35
|
|
|
36
36
|
msgctxt "The label for the Side image option."
|
|
37
37
|
msgid "Side image"
|
|
@@ -71,31 +71,31 @@ msgstr "رەسىم قىستۇرۇش"
|
|
|
71
71
|
|
|
72
72
|
msgctxt "The label for the replace image toolbar button."
|
|
73
73
|
msgid "Replace image"
|
|
74
|
-
msgstr ""
|
|
74
|
+
msgstr "سۈرەت ئالماشتۇر"
|
|
75
75
|
|
|
76
76
|
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
77
|
msgid "Upload from computer"
|
|
78
|
-
msgstr ""
|
|
78
|
+
msgstr "كومپيۇتېردىن يۈكلە"
|
|
79
79
|
|
|
80
80
|
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
81
|
msgid "Replace from computer"
|
|
82
|
-
msgstr ""
|
|
82
|
+
msgstr "كومپيۇتېردىن ئالماشتۇر"
|
|
83
83
|
|
|
84
84
|
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
85
|
msgid "Upload image from computer"
|
|
86
|
-
msgstr ""
|
|
86
|
+
msgstr "سۈرەتنى كومپيۇتېردىن يۈكلە"
|
|
87
87
|
|
|
88
88
|
msgctxt "The label for the upload image from computer menu bar button (standalone button)."
|
|
89
89
|
msgid "Image from computer"
|
|
90
|
-
msgstr ""
|
|
90
|
+
msgstr "كومپيۇتېردىن سۈرەت تاللاڭ"
|
|
91
91
|
|
|
92
92
|
msgctxt "The label for the upload image from computer menu bar button (inside 'Image' menu)."
|
|
93
93
|
msgid "From computer"
|
|
94
|
-
msgstr ""
|
|
94
|
+
msgstr "كومپيۇتېردىن"
|
|
95
95
|
|
|
96
96
|
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
97
97
|
msgid "Replace image from computer"
|
|
98
|
-
msgstr ""
|
|
98
|
+
msgstr "سۈرەتنى كومپيۇتېردىن ئالماشتۇرىدۇ"
|
|
99
99
|
|
|
100
100
|
msgctxt "The title of the notification displayed when upload fails."
|
|
101
101
|
msgid "Upload failed"
|
|
@@ -103,92 +103,92 @@ msgstr "چىقىرىش مەغلۇپ بولدى"
|
|
|
103
103
|
|
|
104
104
|
msgctxt "The title of the notification displayed when there is no permission to upload assets."
|
|
105
105
|
msgid "You have no image upload permissions."
|
|
106
|
-
msgstr ""
|
|
106
|
+
msgstr "سۈرەت يۈكلەش ئىجازىتىڭىز يوق."
|
|
107
107
|
|
|
108
108
|
msgctxt "The label used by assistive technologies describing an image toolbar attached to an image widget."
|
|
109
109
|
msgid "Image toolbar"
|
|
110
|
-
msgstr ""
|
|
110
|
+
msgstr "سۈرەت قورال بالداق"
|
|
111
111
|
|
|
112
112
|
msgctxt "The label used for the dropdown in the image toolbar containing defined resize options."
|
|
113
113
|
msgid "Resize image"
|
|
114
|
-
msgstr ""
|
|
114
|
+
msgstr "سۈرەت چوڭلۇقىنى تەڭشە"
|
|
115
115
|
|
|
116
116
|
msgctxt "The label used for the standalone resize options buttons in the image toolbar."
|
|
117
117
|
msgid "Resize image to %0"
|
|
118
|
-
msgstr ""
|
|
118
|
+
msgstr "سۈرەت چوڭلۇقىنى %0 كە تەڭشە"
|
|
119
119
|
|
|
120
120
|
msgctxt "The accessibility label of the standalone image resize reset option button in the image toolbar for screen readers."
|
|
121
121
|
msgid "Resize image to the original size"
|
|
122
|
-
msgstr ""
|
|
122
|
+
msgstr "سۈرەت چوڭلۇقىنى ئەسلى چوڭلۇقىغا تەڭشەيدۇ"
|
|
123
123
|
|
|
124
124
|
msgctxt "The label for image resize balloon input."
|
|
125
125
|
msgid "Resize image (in %0)"
|
|
126
|
-
msgstr ""
|
|
126
|
+
msgstr "سۈرەت چوڭلۇقىنى تەڭشە (بىرلىكى %0)"
|
|
127
127
|
|
|
128
128
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
129
129
|
msgid "Original"
|
|
130
|
-
msgstr ""
|
|
130
|
+
msgstr "ئەسلى"
|
|
131
131
|
|
|
132
132
|
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
133
133
|
msgid "Custom image size"
|
|
134
|
-
msgstr ""
|
|
134
|
+
msgstr "ئىختىيارى سۈرەت چوڭلۇقى"
|
|
135
135
|
|
|
136
136
|
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
137
137
|
msgid "Custom"
|
|
138
|
-
msgstr ""
|
|
138
|
+
msgstr "ئىختىيارى"
|
|
139
139
|
|
|
140
140
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
141
141
|
msgid "Image resize list"
|
|
142
|
-
msgstr ""
|
|
142
|
+
msgstr "سۈرەت چوڭلۇقىنى تەڭشەش تىزىمى"
|
|
143
143
|
|
|
144
144
|
msgctxt "The input label for the Insert image via URL form."
|
|
145
145
|
msgid "Insert image via URL"
|
|
146
|
-
msgstr ""
|
|
146
|
+
msgstr "سۈرەتنى تور ئادرېسىدىن قىستۇر"
|
|
147
147
|
|
|
148
148
|
msgctxt "The label for the insert image via url dropdown button."
|
|
149
149
|
msgid "Insert via URL"
|
|
150
|
-
msgstr ""
|
|
150
|
+
msgstr "تور ئادرېسىدىن قىستۇر"
|
|
151
151
|
|
|
152
152
|
msgctxt "The label for the insert image via url menu bar button (standalone button)."
|
|
153
153
|
msgid "Image via URL"
|
|
154
|
-
msgstr ""
|
|
154
|
+
msgstr "تور ئادرېسىدىن كەلگەن سۈرەت"
|
|
155
155
|
|
|
156
156
|
msgctxt "The label for the insert image via url menu bar button (inside 'Image' menu)."
|
|
157
157
|
msgid "Via URL"
|
|
158
|
-
msgstr ""
|
|
158
|
+
msgstr "تور ئادرېسى ئارقىلىق"
|
|
159
159
|
|
|
160
160
|
msgctxt "The input label for the Insert image via URL form for a pre-existing image."
|
|
161
161
|
msgid "Update image URL"
|
|
162
|
-
msgstr ""
|
|
162
|
+
msgstr "سۈرەت تور ئادرېسىنى يېڭىلا"
|
|
163
163
|
|
|
164
164
|
msgctxt "Text used by screen readers do describe an image when the image has no text alternative."
|
|
165
165
|
msgid "Caption for the image"
|
|
166
|
-
msgstr ""
|
|
166
|
+
msgstr "سۈرەت چۈشەندۈرۈشى"
|
|
167
167
|
|
|
168
168
|
msgctxt "Text used by screen readers do describe an image when there is a text alternative available, e.g. 'Caption for image: this is a description of the image.'"
|
|
169
169
|
msgid "Caption for image: %0"
|
|
170
|
-
msgstr ""
|
|
170
|
+
msgstr "سۈرەت چۈشەندۈرۈشى: %0"
|
|
171
171
|
|
|
172
172
|
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
173
173
|
msgid "The value must not be empty."
|
|
174
|
-
msgstr ""
|
|
174
|
+
msgstr "قىممىتى بوش قالدۇرۇلمايدۇ."
|
|
175
175
|
|
|
176
176
|
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
177
177
|
msgid "The value should be a plain number."
|
|
178
|
-
msgstr ""
|
|
178
|
+
msgstr "مەزكۇر قىممەت سان بولۇشى كېرەك."
|
|
179
179
|
|
|
180
180
|
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
181
181
|
msgid "Uploading image"
|
|
182
|
-
msgstr ""
|
|
182
|
+
msgstr "سۈرەت يۈكلەۋاتىدۇ"
|
|
183
183
|
|
|
184
184
|
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
185
185
|
msgid "Image upload complete"
|
|
186
|
-
msgstr ""
|
|
186
|
+
msgstr "سۈرەت يۈكلەش تامام"
|
|
187
187
|
|
|
188
188
|
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
189
189
|
msgid "Error during image upload"
|
|
190
|
-
msgstr ""
|
|
190
|
+
msgstr "سۈرەت يۈكلەشتە خاتالىق كۆرۈلدى"
|
|
191
191
|
|
|
192
192
|
msgctxt "Label for the widget inserted by the image feature (as in 'insert image')"
|
|
193
193
|
msgid "Image"
|
|
194
|
-
msgstr ""
|
|
194
|
+
msgstr "سۈرەت"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-image",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.2.0-alpha.0",
|
|
4
4
|
"description": "Image feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-clipboard": "43.
|
|
17
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
18
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
19
|
-
"@ckeditor/ckeditor5-typing": "43.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "43.
|
|
21
|
-
"@ckeditor/ckeditor5-undo": "43.
|
|
22
|
-
"@ckeditor/ckeditor5-upload": "43.
|
|
23
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
24
|
-
"@ckeditor/ckeditor5-widget": "43.
|
|
25
|
-
"ckeditor5": "43.
|
|
16
|
+
"@ckeditor/ckeditor5-clipboard": "43.2.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-typing": "43.2.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-undo": "43.2.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-upload": "43.2.0-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.0",
|
|
24
|
+
"@ckeditor/ckeditor5-widget": "43.2.0-alpha.0",
|
|
25
|
+
"ckeditor5": "43.2.0-alpha.0",
|
|
26
26
|
"lodash-es": "4.17.21"
|
|
27
27
|
},
|
|
28
28
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -57,10 +57,12 @@ export default class InsertImageCommand extends Command {
|
|
|
57
57
|
*
|
|
58
58
|
* @fires execute
|
|
59
59
|
* @param options Options for the executed command.
|
|
60
|
+
* @param options.imageType The type of the image to insert. If not specified, the type will be determined automatically.
|
|
60
61
|
* @param options.source The image source or an array of image sources to insert.
|
|
61
62
|
* See the documentation of the command to learn more about accepted formats.
|
|
62
63
|
*/
|
|
63
64
|
execute(options: {
|
|
64
65
|
source: ArrayOrItem<string | Record<string, unknown>>;
|
|
66
|
+
imageType?: 'imageBlock' | 'imageInline' | null;
|
|
65
67
|
}): void;
|
|
66
68
|
}
|
|
@@ -85,6 +85,7 @@ export default class InsertImageCommand extends Command {
|
|
|
85
85
|
*
|
|
86
86
|
* @fires execute
|
|
87
87
|
* @param options Options for the executed command.
|
|
88
|
+
* @param options.imageType The type of the image to insert. If not specified, the type will be determined automatically.
|
|
88
89
|
* @param options.source The image source or an array of image sources to insert.
|
|
89
90
|
* See the documentation of the command to learn more about accepted formats.
|
|
90
91
|
*/
|
|
@@ -110,10 +111,10 @@ export default class InsertImageCommand extends Command {
|
|
|
110
111
|
// Therefore inserting multiple inline images requires creating position after each element.
|
|
111
112
|
if (index && selectedElement && imageUtils.isImage(selectedElement)) {
|
|
112
113
|
const position = this.editor.model.createPositionAfter(selectedElement);
|
|
113
|
-
imageUtils.insertImage({ ...sourceDefinition, ...selectionAttributes }, position);
|
|
114
|
+
imageUtils.insertImage({ ...sourceDefinition, ...selectionAttributes }, position, options.imageType);
|
|
114
115
|
}
|
|
115
116
|
else {
|
|
116
|
-
imageUtils.insertImage({ ...sourceDefinition, ...selectionAttributes });
|
|
117
|
+
imageUtils.insertImage({ ...sourceDefinition, ...selectionAttributes }, null, options.imageType);
|
|
117
118
|
}
|
|
118
119
|
});
|
|
119
120
|
}
|