@ckeditor/ckeditor5-image 41.3.1 → 41.4.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 +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index-content.css +105 -0
- package/dist/index-editor.css +129 -0
- package/dist/index.css +562 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +5637 -0
- package/dist/index.js.map +1 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +5 -0
- package/dist/translations/ar.umd.js +11 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +5 -0
- package/dist/translations/ast.umd.js +11 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +5 -0
- package/dist/translations/az.umd.js +11 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +5 -0
- package/dist/translations/bg.umd.js +11 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +5 -0
- package/dist/translations/bn.umd.js +11 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +5 -0
- package/dist/translations/bs.umd.js +11 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +5 -0
- package/dist/translations/ca.umd.js +11 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +5 -0
- package/dist/translations/cs.umd.js +11 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +5 -0
- package/dist/translations/da.umd.js +11 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +5 -0
- package/dist/translations/de-ch.umd.js +11 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +5 -0
- package/dist/translations/de.umd.js +11 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +5 -0
- package/dist/translations/el.umd.js +11 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +5 -0
- package/dist/translations/en-au.umd.js +11 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en-gb.umd.js +11 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +5 -0
- package/dist/translations/en.umd.js +11 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +5 -0
- package/dist/translations/eo.umd.js +11 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +5 -0
- package/dist/translations/es-co.umd.js +11 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +5 -0
- package/dist/translations/es.umd.js +11 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +5 -0
- package/dist/translations/et.umd.js +11 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +5 -0
- package/dist/translations/eu.umd.js +11 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +5 -0
- package/dist/translations/fa.umd.js +11 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +5 -0
- package/dist/translations/fi.umd.js +11 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +5 -0
- package/dist/translations/fr.umd.js +11 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +5 -0
- package/dist/translations/gl.umd.js +11 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +5 -0
- package/dist/translations/he.umd.js +11 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +5 -0
- package/dist/translations/hi.umd.js +11 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +5 -0
- package/dist/translations/hr.umd.js +11 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +5 -0
- package/dist/translations/hu.umd.js +11 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +5 -0
- package/dist/translations/id.umd.js +11 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +5 -0
- package/dist/translations/it.umd.js +11 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +5 -0
- package/dist/translations/ja.umd.js +11 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +5 -0
- package/dist/translations/jv.umd.js +11 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +5 -0
- package/dist/translations/km.umd.js +11 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +5 -0
- package/dist/translations/kn.umd.js +11 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +5 -0
- package/dist/translations/ko.umd.js +11 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +5 -0
- package/dist/translations/ku.umd.js +11 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +5 -0
- package/dist/translations/lt.umd.js +11 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +5 -0
- package/dist/translations/lv.umd.js +11 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +5 -0
- package/dist/translations/ms.umd.js +11 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +5 -0
- package/dist/translations/nb.umd.js +11 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/ne.umd.js +11 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +5 -0
- package/dist/translations/nl.umd.js +11 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +5 -0
- package/dist/translations/no.umd.js +11 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +5 -0
- package/dist/translations/pl.umd.js +11 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +5 -0
- package/dist/translations/pt-br.umd.js +11 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +5 -0
- package/dist/translations/pt.umd.js +11 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +5 -0
- package/dist/translations/ro.umd.js +11 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +5 -0
- package/dist/translations/ru.umd.js +11 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +5 -0
- package/dist/translations/si.umd.js +11 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sk.umd.js +11 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +5 -0
- package/dist/translations/sq.umd.js +11 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +5 -0
- package/dist/translations/sr-latn.umd.js +11 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +5 -0
- package/dist/translations/sr.umd.js +11 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +5 -0
- package/dist/translations/sv.umd.js +11 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +5 -0
- package/dist/translations/th.umd.js +11 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +5 -0
- package/dist/translations/ti.umd.js +11 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +5 -0
- package/dist/translations/tk.umd.js +11 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +5 -0
- package/dist/translations/tr.umd.js +11 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +5 -0
- package/dist/translations/tt.umd.js +11 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +5 -0
- package/dist/translations/ug.umd.js +11 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +5 -0
- package/dist/translations/uk.umd.js +11 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +5 -0
- package/dist/translations/ur.umd.js +11 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +5 -0
- package/dist/translations/uz.umd.js +11 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +5 -0
- package/dist/translations/vi.umd.js +11 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +5 -0
- package/dist/translations/zh-cn.umd.js +11 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +5 -0
- package/dist/translations/zh.umd.js +11 -0
- package/dist/types/augmentation.d.ts +61 -0
- package/dist/types/autoimage.d.ts +56 -0
- package/dist/types/image/converters.d.ts +70 -0
- package/dist/types/image/imageblockediting.d.ts +63 -0
- package/dist/types/image/imageediting.d.ts +34 -0
- package/dist/types/image/imageinlineediting.d.ts +64 -0
- package/dist/types/image/imageloadobserver.d.ts +52 -0
- package/dist/types/image/imageplaceholder.d.ts +43 -0
- package/dist/types/image/imagetypecommand.d.ts +48 -0
- package/dist/types/image/insertimagecommand.d.ts +70 -0
- package/dist/types/image/replaceimagesourcecommand.d.ts +55 -0
- package/dist/types/image/ui/utils.d.ts +29 -0
- package/dist/types/image/utils.d.ts +68 -0
- package/dist/types/image.d.ts +38 -0
- package/dist/types/imageblock.d.ts +38 -0
- package/dist/types/imagecaption/imagecaptionediting.d.ts +93 -0
- package/dist/types/imagecaption/imagecaptionui.d.ts +30 -0
- package/dist/types/imagecaption/imagecaptionutils.d.ts +42 -0
- package/dist/types/imagecaption/toggleimagecaptioncommand.d.ts +70 -0
- package/dist/types/imagecaption.d.ts +30 -0
- package/dist/types/imageconfig.d.ts +716 -0
- package/dist/types/imageinline.d.ts +38 -0
- package/dist/types/imageinsert/imageinsertui.d.ts +78 -0
- package/dist/types/imageinsert/imageinsertviaurlui.d.ts +48 -0
- package/dist/types/imageinsert/ui/imageinsertformview.d.ts +60 -0
- package/dist/types/imageinsert/ui/imageinserturlview.d.ts +111 -0
- package/dist/types/imageinsert.d.ts +37 -0
- package/dist/types/imageinsertviaurl.d.ts +35 -0
- package/dist/types/imageresize/imagecustomresizeui.d.ts +65 -0
- package/dist/types/imageresize/imageresizebuttons.d.ts +68 -0
- package/dist/types/imageresize/imageresizeediting.d.ts +45 -0
- package/dist/types/imageresize/imageresizehandles.d.ts +35 -0
- package/dist/types/imageresize/resizeimagecommand.d.ts +46 -0
- package/dist/types/imageresize/ui/imagecustomresizeformview.d.ts +133 -0
- package/dist/types/imageresize/utils/getselectedimageeditornodes.d.ts +28 -0
- package/dist/types/imageresize/utils/getselectedimagepossibleresizerange.d.ts +28 -0
- package/dist/types/imageresize/utils/getselectedimagewidthinunits.d.ts +22 -0
- package/dist/types/imageresize/utils/tryparsedimensionwithunit.d.ts +41 -0
- package/dist/types/imageresize.d.ts +32 -0
- package/dist/types/imagesizeattributes.d.ts +38 -0
- package/dist/types/imagestyle/converters.d.ts +28 -0
- package/dist/types/imagestyle/imagestylecommand.d.ts +72 -0
- package/dist/types/imagestyle/imagestyleediting.d.ts +54 -0
- package/dist/types/imagestyle/imagestyleui.d.ts +60 -0
- package/dist/types/imagestyle/utils.d.ts +105 -0
- package/dist/types/imagestyle.d.ts +36 -0
- package/dist/types/imagetextalternative/imagetextalternativecommand.d.ts +38 -0
- package/dist/types/imagetextalternative/imagetextalternativeediting.d.ts +32 -0
- package/dist/types/imagetextalternative/imagetextalternativeui.d.ts +72 -0
- package/dist/types/imagetextalternative/ui/textalternativeformview.d.ts +94 -0
- package/dist/types/imagetextalternative.d.ts +33 -0
- package/dist/types/imagetoolbar.d.ts +39 -0
- package/dist/types/imageupload/imageuploadediting.d.ts +115 -0
- package/dist/types/imageupload/imageuploadprogress.d.ts +46 -0
- package/dist/types/imageupload/imageuploadui.d.ts +34 -0
- package/dist/types/imageupload/uploadimagecommand.d.ts +64 -0
- package/dist/types/imageupload/utils.d.ts +37 -0
- package/dist/types/imageupload.d.ts +36 -0
- package/dist/types/imageutils.d.ts +129 -0
- package/dist/types/index.d.ts +53 -0
- package/dist/types/pictureediting.d.ts +92 -0
- package/lang/contexts.json +9 -1
- package/lang/translations/ar.po +32 -0
- package/lang/translations/ast.po +32 -0
- package/lang/translations/az.po +32 -0
- package/lang/translations/bg.po +32 -0
- package/lang/translations/bn.po +32 -0
- package/lang/translations/bs.po +32 -0
- package/lang/translations/ca.po +32 -0
- package/lang/translations/cs.po +32 -0
- package/lang/translations/da.po +32 -0
- package/lang/translations/de-ch.po +32 -0
- package/lang/translations/de.po +32 -0
- package/lang/translations/el.po +32 -0
- package/lang/translations/en-au.po +32 -0
- package/lang/translations/en-gb.po +32 -0
- package/lang/translations/en.po +32 -0
- package/lang/translations/eo.po +32 -0
- package/lang/translations/es-co.po +32 -0
- package/lang/translations/es.po +32 -0
- package/lang/translations/et.po +32 -0
- package/lang/translations/eu.po +32 -0
- package/lang/translations/fa.po +32 -0
- package/lang/translations/fi.po +32 -0
- package/lang/translations/fr.po +32 -0
- package/lang/translations/gl.po +32 -0
- package/lang/translations/he.po +32 -0
- package/lang/translations/hi.po +32 -0
- package/lang/translations/hr.po +32 -0
- package/lang/translations/hu.po +32 -0
- package/lang/translations/id.po +32 -0
- package/lang/translations/it.po +32 -0
- package/lang/translations/ja.po +32 -0
- package/lang/translations/jv.po +32 -0
- package/lang/translations/km.po +32 -0
- package/lang/translations/kn.po +32 -0
- package/lang/translations/ko.po +32 -0
- package/lang/translations/ku.po +32 -0
- package/lang/translations/lt.po +32 -0
- package/lang/translations/lv.po +32 -0
- package/lang/translations/ms.po +32 -0
- package/lang/translations/nb.po +32 -0
- package/lang/translations/ne.po +32 -0
- package/lang/translations/nl.po +32 -0
- package/lang/translations/no.po +32 -0
- package/lang/translations/pl.po +32 -0
- package/lang/translations/pt-br.po +32 -0
- package/lang/translations/pt.po +32 -0
- package/lang/translations/ro.po +32 -0
- package/lang/translations/ru.po +32 -0
- package/lang/translations/si.po +32 -0
- package/lang/translations/sk.po +32 -0
- package/lang/translations/sq.po +32 -0
- package/lang/translations/sr-latn.po +32 -0
- package/lang/translations/sr.po +32 -0
- package/lang/translations/sv.po +32 -0
- package/lang/translations/th.po +32 -0
- package/lang/translations/ti.po +178 -0
- package/lang/translations/tk.po +32 -0
- package/lang/translations/tr.po +32 -0
- package/lang/translations/tt.po +32 -0
- package/lang/translations/ug.po +32 -0
- package/lang/translations/uk.po +32 -0
- package/lang/translations/ur.po +32 -0
- package/lang/translations/uz.po +32 -0
- package/lang/translations/vi.po +32 -0
- package/lang/translations/zh-cn.po +32 -0
- package/lang/translations/zh.po +32 -0
- package/package.json +4 -3
- package/src/augmentation.d.ts +2 -1
- package/src/imageresize/imagecustomresizeui.d.ts +61 -0
- package/src/imageresize/imagecustomresizeui.js +168 -0
- package/src/imageresize/imageresizebuttons.d.ts +0 -3
- package/src/imageresize/imageresizebuttons.js +95 -23
- package/src/imageresize/imageresizeediting.js +9 -2
- package/src/imageresize/imageresizehandles.js +1 -2
- package/src/imageresize/ui/imagecustomresizeformview.d.ts +129 -0
- package/src/imageresize/ui/imagecustomresizeformview.js +186 -0
- package/src/imageresize/utils/getselectedimageeditornodes.d.ts +24 -0
- package/src/imageresize/utils/getselectedimageeditornodes.js +24 -0
- package/src/imageresize/utils/getselectedimagepossibleresizerange.d.ts +24 -0
- package/src/imageresize/utils/getselectedimagepossibleresizerange.js +32 -0
- package/src/imageresize/utils/getselectedimagewidthinunits.d.ts +18 -0
- package/src/imageresize/utils/getselectedimagewidthinunits.js +41 -0
- package/src/imageresize/utils/tryparsedimensionwithunit.d.ts +37 -0
- package/src/imageresize/utils/tryparsedimensionwithunit.js +56 -0
- package/src/imageresize.d.ts +2 -1
- package/src/imageresize.js +2 -1
- package/src/imageupload/imageuploadediting.js +9 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/theme/imagecaption.css +15 -1
- package/theme/imagecustomresizeform.css +33 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module image/imageupload
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
+
import ImageUploadUI from './imageupload/imageuploadui.js';
|
|
14
|
+
import ImageUploadProgress from './imageupload/imageuploadprogress.js';
|
|
15
|
+
import ImageUploadEditing from './imageupload/imageuploadediting.js';
|
|
16
|
+
/**
|
|
17
|
+
* The image upload plugin.
|
|
18
|
+
*
|
|
19
|
+
* For a detailed overview, check the {@glink features/images/image-upload/image-upload image upload feature} documentation.
|
|
20
|
+
*
|
|
21
|
+
* This plugin does not do anything directly, but it loads a set of specific plugins to enable image uploading:
|
|
22
|
+
*
|
|
23
|
+
* * {@link module:image/imageupload/imageuploadediting~ImageUploadEditing},
|
|
24
|
+
* * {@link module:image/imageupload/imageuploadui~ImageUploadUI},
|
|
25
|
+
* * {@link module:image/imageupload/imageuploadprogress~ImageUploadProgress}.
|
|
26
|
+
*/
|
|
27
|
+
export default class ImageUpload extends Plugin {
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
static get pluginName(): "ImageUpload";
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
static get requires(): readonly [typeof ImageUploadEditing, typeof ImageUploadUI, typeof ImageUploadProgress];
|
|
36
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module image/imageutils
|
|
11
|
+
*/
|
|
12
|
+
import type { Element, ViewElement, DocumentSelection, ViewDocumentSelection, Selection, ViewSelection, DowncastWriter, Position, ViewContainerElement } from 'ckeditor5/src/engine.js';
|
|
13
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
+
/**
|
|
15
|
+
* A set of helpers related to images.
|
|
16
|
+
*/
|
|
17
|
+
export default class ImageUtils extends Plugin {
|
|
18
|
+
/**
|
|
19
|
+
* DOM Emitter.
|
|
20
|
+
*/
|
|
21
|
+
private _domEmitter;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "ImageUtils";
|
|
26
|
+
/**
|
|
27
|
+
* Checks if the provided model element is an `image` or `imageInline`.
|
|
28
|
+
*/
|
|
29
|
+
isImage(modelElement?: Element | null): modelElement is Element & {
|
|
30
|
+
name: 'imageInline' | 'imageBlock';
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Checks if the provided view element represents an inline image.
|
|
34
|
+
*
|
|
35
|
+
* Also, see {@link module:image/imageutils~ImageUtils#isImageWidget}.
|
|
36
|
+
*/
|
|
37
|
+
isInlineImageView(element?: ViewElement | null): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Checks if the provided view element represents a block image.
|
|
40
|
+
*
|
|
41
|
+
* Also, see {@link module:image/imageutils~ImageUtils#isImageWidget}.
|
|
42
|
+
*/
|
|
43
|
+
isBlockImageView(element?: ViewElement | null): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Handles inserting single file. This method unifies image insertion using {@link module:widget/utils~findOptimalInsertionRange}
|
|
46
|
+
* method.
|
|
47
|
+
*
|
|
48
|
+
* ```ts
|
|
49
|
+
* const imageUtils = editor.plugins.get( 'ImageUtils' );
|
|
50
|
+
*
|
|
51
|
+
* imageUtils.insertImage( { src: 'path/to/image.jpg' } );
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param attributes Attributes of the inserted image.
|
|
55
|
+
* This method filters out the attributes which are disallowed by the {@link module:engine/model/schema~Schema}.
|
|
56
|
+
* @param selectable Place to insert the image. If not specified,
|
|
57
|
+
* the {@link module:widget/utils~findOptimalInsertionRange} logic will be applied for the block images
|
|
58
|
+
* and `model.document.selection` for the inline images.
|
|
59
|
+
*
|
|
60
|
+
* **Note**: If `selectable` is passed, this helper will not be able to set selection attributes (such as `linkHref`)
|
|
61
|
+
* and apply them to the new image. In this case, make sure all selection attributes are passed in `attributes`.
|
|
62
|
+
*
|
|
63
|
+
* @param imageType Image type of inserted image. If not specified,
|
|
64
|
+
* it will be determined automatically depending of editor config or place of the insertion.
|
|
65
|
+
* @param options.setImageSizes Specifies whether the image `width` and `height` attributes should be set automatically.
|
|
66
|
+
* The default is `true`.
|
|
67
|
+
* @return The inserted model image element.
|
|
68
|
+
*/
|
|
69
|
+
insertImage(attributes?: Record<string, unknown>, selectable?: Selection | Position | null, imageType?: ('imageBlock' | 'imageInline' | null), options?: {
|
|
70
|
+
setImageSizes?: boolean;
|
|
71
|
+
}): Element | null;
|
|
72
|
+
/**
|
|
73
|
+
* Reads original image sizes and sets them as `width` and `height`.
|
|
74
|
+
*
|
|
75
|
+
* The `src` attribute may not be available if the user is using an upload adapter. In such a case,
|
|
76
|
+
* this method is called again after the upload process is complete and the `src` attribute is available.
|
|
77
|
+
*/
|
|
78
|
+
setImageNaturalSizeAttributes(imageElement: Element): void;
|
|
79
|
+
/**
|
|
80
|
+
* Returns an image widget editing view element if one is selected or is among the selection's ancestors.
|
|
81
|
+
*/
|
|
82
|
+
getClosestSelectedImageWidget(selection: ViewSelection | ViewDocumentSelection): ViewElement | null;
|
|
83
|
+
/**
|
|
84
|
+
* Returns a image model element if one is selected or is among the selection's ancestors.
|
|
85
|
+
*/
|
|
86
|
+
getClosestSelectedImageElement(selection: Selection | DocumentSelection): Element | null;
|
|
87
|
+
/**
|
|
88
|
+
* Returns an image widget editing view based on the passed image view.
|
|
89
|
+
*/
|
|
90
|
+
getImageWidgetFromImageView(imageView: ViewElement): ViewContainerElement | null;
|
|
91
|
+
/**
|
|
92
|
+
* Checks if image can be inserted at current model selection.
|
|
93
|
+
*
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
isImageAllowed(): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Converts a given {@link module:engine/view/element~Element} to an image widget:
|
|
99
|
+
* * Adds a {@link module:engine/view/element~Element#_setCustomProperty custom property} allowing to recognize the image widget
|
|
100
|
+
* element.
|
|
101
|
+
* * Calls the {@link module:widget/utils~toWidget} function with the proper element's label creator.
|
|
102
|
+
*
|
|
103
|
+
* @param writer An instance of the view writer.
|
|
104
|
+
* @param label The element's label. It will be concatenated with the image `alt` attribute if one is present.
|
|
105
|
+
*/
|
|
106
|
+
toImageWidget(viewElement: ViewElement, writer: DowncastWriter, label: string): ViewElement;
|
|
107
|
+
/**
|
|
108
|
+
* Checks if a given view element is an image widget.
|
|
109
|
+
*/
|
|
110
|
+
protected isImageWidget(viewElement: ViewElement): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Checks if the provided model element is an `image`.
|
|
113
|
+
*/
|
|
114
|
+
isBlockImage(modelElement?: Element | null): boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Checks if the provided model element is an `imageInline`.
|
|
117
|
+
*/
|
|
118
|
+
isInlineImage(modelElement?: Element | null): boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Get the view `<img>` from another view element, e.g. a widget (`<figure class="image">`), a link (`<a>`).
|
|
121
|
+
*
|
|
122
|
+
* The `<img>` can be located deep in other elements, so this helper performs a deep tree search.
|
|
123
|
+
*/
|
|
124
|
+
findViewImgElement(figureView: ViewElement): ViewElement | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @inheritDoc
|
|
127
|
+
*/
|
|
128
|
+
destroy(): void;
|
|
129
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module image
|
|
11
|
+
*/
|
|
12
|
+
export { default as AutoImage } from './autoimage.js';
|
|
13
|
+
export { default as Image } from './image.js';
|
|
14
|
+
export { default as ImageEditing } from './image/imageediting.js';
|
|
15
|
+
export { default as ImageCaptionUtils } from './imagecaption/imagecaptionutils.js';
|
|
16
|
+
export { default as ImageCaption } from './imagecaption.js';
|
|
17
|
+
export { default as ImageCaptionEditing } from './imagecaption/imagecaptionediting.js';
|
|
18
|
+
export { default as ImageInsert } from './imageinsert.js';
|
|
19
|
+
export { default as ImageInsertUI } from './imageinsert/imageinsertui.js';
|
|
20
|
+
export { default as ImageResize } from './imageresize.js';
|
|
21
|
+
export { default as ImageResizeButtons } from './imageresize/imageresizebuttons.js';
|
|
22
|
+
export { default as ImageResizeEditing } from './imageresize/imageresizeediting.js';
|
|
23
|
+
export { default as ImageResizeHandles } from './imageresize/imageresizehandles.js';
|
|
24
|
+
export { default as ImageCustomResizeUI } from './imageresize/imagecustomresizeui.js';
|
|
25
|
+
export { default as ImageSizeAttributes } from './imagesizeattributes.js';
|
|
26
|
+
export { default as ImageStyle } from './imagestyle.js';
|
|
27
|
+
export { default as ImageStyleEditing } from './imagestyle/imagestyleediting.js';
|
|
28
|
+
export { default as ImageStyleUI } from './imagestyle/imagestyleui.js';
|
|
29
|
+
export { default as ImageTextAlternative } from './imagetextalternative.js';
|
|
30
|
+
export { default as ImageTextAlternativeEditing } from './imagetextalternative/imagetextalternativeediting.js';
|
|
31
|
+
export { default as ImageTextAlternativeUI } from './imagetextalternative/imagetextalternativeui.js';
|
|
32
|
+
export { default as ImageToolbar } from './imagetoolbar.js';
|
|
33
|
+
export { default as ImageUpload } from './imageupload.js';
|
|
34
|
+
export { default as ImageUploadEditing, type ImageUploadCompleteEvent } from './imageupload/imageuploadediting.js';
|
|
35
|
+
export { default as ImageUploadProgress } from './imageupload/imageuploadprogress.js';
|
|
36
|
+
export { default as ImageUploadUI } from './imageupload/imageuploadui.js';
|
|
37
|
+
export { default as PictureEditing } from './pictureediting.js';
|
|
38
|
+
export { default as ImageBlock } from './imageblock.js';
|
|
39
|
+
export { default as ImageInline } from './imageinline.js';
|
|
40
|
+
export { default as ImageInsertViaUrl } from './imageinsertviaurl.js';
|
|
41
|
+
export { default as ImageUtils } from './imageutils.js';
|
|
42
|
+
export { default as ImageBlockEditing } from './image/imageblockediting.js';
|
|
43
|
+
export { default as ImageCaptionUI } from './imagecaption/imagecaptionui.js';
|
|
44
|
+
export type { ImageConfig } from './imageconfig.js';
|
|
45
|
+
export type { default as ImageTypeCommand } from './image/imagetypecommand.js';
|
|
46
|
+
export type { default as InsertImageCommand } from './image/insertimagecommand.js';
|
|
47
|
+
export type { default as ReplaceImageSourceCommand } from './image/replaceimagesourcecommand.js';
|
|
48
|
+
export type { default as ToggleImageCaptionCommand } from './imagecaption/toggleimagecaptioncommand.js';
|
|
49
|
+
export type { default as ResizeImageCommand } from './imageresize/resizeimagecommand.js';
|
|
50
|
+
export type { default as ImageStyleCommand } from './imagestyle/imagestylecommand.js';
|
|
51
|
+
export type { default as ImageTextAlternativeCommand } from './imagetextalternative/imagetextalternativecommand.js';
|
|
52
|
+
export type { default as UploadImageCommand } from './imageupload/uploadimagecommand.js';
|
|
53
|
+
import './augmentation.js';
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module image/pictureediting
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
+
import ImageEditing from './image/imageediting.js';
|
|
14
|
+
import ImageUtils from './imageutils.js';
|
|
15
|
+
/**
|
|
16
|
+
* This plugin enables the [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture) element support in the editor.
|
|
17
|
+
*
|
|
18
|
+
* * It enables the `sources` model attribute on `imageBlock` and `imageInline` model elements
|
|
19
|
+
* (brought by {@link module:image/imageblock~ImageBlock} and {@link module:image/imageinline~ImageInline}, respectively).
|
|
20
|
+
* * It translates the `sources` model element to the view (also: data) structure that may look as follows:
|
|
21
|
+
*
|
|
22
|
+
* ```html
|
|
23
|
+
* <p>Inline image using picture:
|
|
24
|
+
* <picture>
|
|
25
|
+
* <source media="(min-width: 800px)" srcset="image-large.webp" type="image/webp">
|
|
26
|
+
* <source media="(max-width: 800px)" srcset="image-small.webp" type="image/webp">
|
|
27
|
+
* <!-- Other sources as specified in the "sources" model attribute... -->
|
|
28
|
+
* <img src="image.png" alt="An image using picture" />
|
|
29
|
+
* </picture>
|
|
30
|
+
* </p>
|
|
31
|
+
*
|
|
32
|
+
* <p>Block image using picture:</p>
|
|
33
|
+
* <figure class="image">
|
|
34
|
+
* <picture>
|
|
35
|
+
* <source media="(min-width: 800px)" srcset="image-large.webp" type="image/webp">
|
|
36
|
+
* <source media="(max-width: 800px)" srcset="image-small.webp" type="image/webp">
|
|
37
|
+
* <!-- Other sources as specified in the "sources" model attribute... -->
|
|
38
|
+
* <img src="image.png" alt="An image using picture" />
|
|
39
|
+
* </picture>
|
|
40
|
+
* <figcaption>Caption of the image</figcaption>
|
|
41
|
+
* </figure>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* **Note:** The value of the `sources` {@glink framework/architecture/editing-engine#changing-the-model model attribute}
|
|
45
|
+
* in both examples equals:
|
|
46
|
+
*
|
|
47
|
+
* ```css
|
|
48
|
+
* [
|
|
49
|
+
* {
|
|
50
|
+
* media: '(min-width: 800px)',
|
|
51
|
+
* srcset: 'image-large.webp',
|
|
52
|
+
* type: 'image/webp'
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* media: '(max-width: 800px)',
|
|
56
|
+
* srcset: 'image-small.webp',
|
|
57
|
+
* type: 'image/webp'
|
|
58
|
+
* }
|
|
59
|
+
* ]
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* * It integrates with the {@link module:image/imageupload~ImageUpload} plugin so images uploaded in the editor
|
|
63
|
+
* automatically render using `<picture>` if the {@glink features/images/image-upload/image-upload upload adapter}
|
|
64
|
+
* supports image sources and provides neccessary data.
|
|
65
|
+
*
|
|
66
|
+
* @private
|
|
67
|
+
*/
|
|
68
|
+
export default class PictureEditing extends Plugin {
|
|
69
|
+
/**
|
|
70
|
+
* @inheritDoc
|
|
71
|
+
*/
|
|
72
|
+
static get requires(): readonly [typeof ImageEditing, typeof ImageUtils];
|
|
73
|
+
/**
|
|
74
|
+
* @inheritDoc
|
|
75
|
+
*/
|
|
76
|
+
static get pluginName(): "PictureEditing";
|
|
77
|
+
/**
|
|
78
|
+
* @inheritDoc
|
|
79
|
+
*/
|
|
80
|
+
afterInit(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Configures conversion pipelines to support upcasting and downcasting images using the `<picture>` view element
|
|
83
|
+
* and the model `sources` attribute.
|
|
84
|
+
*/
|
|
85
|
+
private _setupConversion;
|
|
86
|
+
/**
|
|
87
|
+
* Makes it possible for uploaded images to get the `sources` model attribute and the `<picture>...</picture>`
|
|
88
|
+
* view structure out-of-the-box if relevant data is provided along the
|
|
89
|
+
* {@link module:image/imageupload/imageuploadediting~ImageUploadEditing#event:uploadComplete} event.
|
|
90
|
+
*/
|
|
91
|
+
private _setupImageUploadEditingIntegration;
|
|
92
|
+
}
|
package/lang/contexts.json
CHANGED
|
@@ -23,12 +23,20 @@
|
|
|
23
23
|
"Resize image": "The label used for the dropdown in the image toolbar containing defined resize options.",
|
|
24
24
|
"Resize image to %0": "The label used for the standalone resize options buttons in the image toolbar.",
|
|
25
25
|
"Resize image to the original size": "The accessibility label of the standalone image resize reset option button in the image toolbar for screen readers.",
|
|
26
|
+
"Resize image (in %0)": "The label for image resize balloon input.",
|
|
26
27
|
"Original": "The default label for the resize option that resets the size of the image.",
|
|
28
|
+
"Custom image size": "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers.",
|
|
29
|
+
"Custom": "The label for the resize option that allows user to enter custom size of the image.",
|
|
27
30
|
"Image resize list": "The accessibility label of the image resize dropdown for screen readers.",
|
|
28
31
|
"Insert": "The label of the form submit button if the image source URL input has no value.",
|
|
29
32
|
"Update": "The label of the form submit button if the image source URL input has a value.",
|
|
30
33
|
"Insert image via URL": "The input label for the Insert image via URL form.",
|
|
31
34
|
"Update image URL": "The input label for the Insert image via URL form for a pre-existing image.",
|
|
32
35
|
"Caption for the image": "Text used by screen readers do describe an image when the image has no text alternative.",
|
|
33
|
-
"Caption for image: %0": "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.'"
|
|
36
|
+
"Caption for image: %0": "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.'",
|
|
37
|
+
"The value must not be empty.": "Text used as error label when user submitted custom image resize form with blank value.",
|
|
38
|
+
"The value should be a plain number.": "Text used as error label when user submitted custom image resize form with incorrect value.",
|
|
39
|
+
"Uploading image": "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'.",
|
|
40
|
+
"Image upload complete": "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'.",
|
|
41
|
+
"Error during image upload": "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
34
42
|
}
|
package/lang/translations/ar.po
CHANGED
|
@@ -113,10 +113,22 @@ msgctxt "The accessibility label of the standalone image resize reset option but
|
|
|
113
113
|
msgid "Resize image to the original size"
|
|
114
114
|
msgstr "تغيير حجم الصورة إلى الحجم الأصلي"
|
|
115
115
|
|
|
116
|
+
msgctxt "The label for image resize balloon input."
|
|
117
|
+
msgid "Resize image (in %0)"
|
|
118
|
+
msgstr "تغيير حجم الصورة (في %0 )"
|
|
119
|
+
|
|
116
120
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
117
121
|
msgid "Original"
|
|
118
122
|
msgstr "الحجم الأصلي"
|
|
119
123
|
|
|
124
|
+
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
125
|
+
msgid "Custom image size"
|
|
126
|
+
msgstr "حجم مخصص للصورة"
|
|
127
|
+
|
|
128
|
+
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
129
|
+
msgid "Custom"
|
|
130
|
+
msgstr "مخصص"
|
|
131
|
+
|
|
120
132
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
121
133
|
msgid "Image resize list"
|
|
122
134
|
msgstr "قائمة تغيير حجم الصورة"
|
|
@@ -144,3 +156,23 @@ msgstr "التسمية التوضيحية للصورة"
|
|
|
144
156
|
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.'"
|
|
145
157
|
msgid "Caption for image: %0"
|
|
146
158
|
msgstr "التسمية التوضيحية للصورة: %0"
|
|
159
|
+
|
|
160
|
+
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
161
|
+
msgid "The value must not be empty."
|
|
162
|
+
msgstr "يجب ألا تكون القيمة فارغة."
|
|
163
|
+
|
|
164
|
+
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
165
|
+
msgid "The value should be a plain number."
|
|
166
|
+
msgstr "يجب أن تكون القيمة رقماً عادياً."
|
|
167
|
+
|
|
168
|
+
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
169
|
+
msgid "Uploading image"
|
|
170
|
+
msgstr "جارٍ تحميل الصورة"
|
|
171
|
+
|
|
172
|
+
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
173
|
+
msgid "Image upload complete"
|
|
174
|
+
msgstr "اكتمل تحميل الصورة"
|
|
175
|
+
|
|
176
|
+
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
177
|
+
msgid "Error during image upload"
|
|
178
|
+
msgstr "حدث خطأ أثناء رفع الصورة"
|
package/lang/translations/ast.po
CHANGED
|
@@ -113,10 +113,22 @@ msgctxt "The accessibility label of the standalone image resize reset option but
|
|
|
113
113
|
msgid "Resize image to the original size"
|
|
114
114
|
msgstr ""
|
|
115
115
|
|
|
116
|
+
msgctxt "The label for image resize balloon input."
|
|
117
|
+
msgid "Resize image (in %0)"
|
|
118
|
+
msgstr ""
|
|
119
|
+
|
|
116
120
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
117
121
|
msgid "Original"
|
|
118
122
|
msgstr ""
|
|
119
123
|
|
|
124
|
+
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
125
|
+
msgid "Custom image size"
|
|
126
|
+
msgstr ""
|
|
127
|
+
|
|
128
|
+
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
129
|
+
msgid "Custom"
|
|
130
|
+
msgstr ""
|
|
131
|
+
|
|
120
132
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
121
133
|
msgid "Image resize list"
|
|
122
134
|
msgstr ""
|
|
@@ -144,3 +156,23 @@ msgstr ""
|
|
|
144
156
|
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.'"
|
|
145
157
|
msgid "Caption for image: %0"
|
|
146
158
|
msgstr ""
|
|
159
|
+
|
|
160
|
+
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
161
|
+
msgid "The value must not be empty."
|
|
162
|
+
msgstr ""
|
|
163
|
+
|
|
164
|
+
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
165
|
+
msgid "The value should be a plain number."
|
|
166
|
+
msgstr ""
|
|
167
|
+
|
|
168
|
+
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
169
|
+
msgid "Uploading image"
|
|
170
|
+
msgstr ""
|
|
171
|
+
|
|
172
|
+
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
173
|
+
msgid "Image upload complete"
|
|
174
|
+
msgstr ""
|
|
175
|
+
|
|
176
|
+
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
177
|
+
msgid "Error during image upload"
|
|
178
|
+
msgstr ""
|
package/lang/translations/az.po
CHANGED
|
@@ -113,10 +113,22 @@ msgctxt "The accessibility label of the standalone image resize reset option but
|
|
|
113
113
|
msgid "Resize image to the original size"
|
|
114
114
|
msgstr ""
|
|
115
115
|
|
|
116
|
+
msgctxt "The label for image resize balloon input."
|
|
117
|
+
msgid "Resize image (in %0)"
|
|
118
|
+
msgstr ""
|
|
119
|
+
|
|
116
120
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
117
121
|
msgid "Original"
|
|
118
122
|
msgstr ""
|
|
119
123
|
|
|
124
|
+
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
125
|
+
msgid "Custom image size"
|
|
126
|
+
msgstr ""
|
|
127
|
+
|
|
128
|
+
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
129
|
+
msgid "Custom"
|
|
130
|
+
msgstr ""
|
|
131
|
+
|
|
120
132
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
121
133
|
msgid "Image resize list"
|
|
122
134
|
msgstr ""
|
|
@@ -144,3 +156,23 @@ msgstr ""
|
|
|
144
156
|
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.'"
|
|
145
157
|
msgid "Caption for image: %0"
|
|
146
158
|
msgstr ""
|
|
159
|
+
|
|
160
|
+
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
161
|
+
msgid "The value must not be empty."
|
|
162
|
+
msgstr ""
|
|
163
|
+
|
|
164
|
+
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
165
|
+
msgid "The value should be a plain number."
|
|
166
|
+
msgstr ""
|
|
167
|
+
|
|
168
|
+
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
169
|
+
msgid "Uploading image"
|
|
170
|
+
msgstr ""
|
|
171
|
+
|
|
172
|
+
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
173
|
+
msgid "Image upload complete"
|
|
174
|
+
msgstr ""
|
|
175
|
+
|
|
176
|
+
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
177
|
+
msgid "Error during image upload"
|
|
178
|
+
msgstr ""
|
package/lang/translations/bg.po
CHANGED
|
@@ -113,10 +113,22 @@ msgctxt "The accessibility label of the standalone image resize reset option but
|
|
|
113
113
|
msgid "Resize image to the original size"
|
|
114
114
|
msgstr "Възстанови оригиналния размер на изображението"
|
|
115
115
|
|
|
116
|
+
msgctxt "The label for image resize balloon input."
|
|
117
|
+
msgid "Resize image (in %0)"
|
|
118
|
+
msgstr "Промени размера на изображението (in %0)"
|
|
119
|
+
|
|
116
120
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
117
121
|
msgid "Original"
|
|
118
122
|
msgstr "Оригинал"
|
|
119
123
|
|
|
124
|
+
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
125
|
+
msgid "Custom image size"
|
|
126
|
+
msgstr "Потребителски размер на изображението"
|
|
127
|
+
|
|
128
|
+
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
129
|
+
msgid "Custom"
|
|
130
|
+
msgstr "Потребителски"
|
|
131
|
+
|
|
120
132
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
121
133
|
msgid "Image resize list"
|
|
122
134
|
msgstr "Списък с промените на размера на изображението"
|
|
@@ -144,3 +156,23 @@ msgstr "Заглавие на изображението"
|
|
|
144
156
|
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.'"
|
|
145
157
|
msgid "Caption for image: %0"
|
|
146
158
|
msgstr "Заглавие на изображението: %0"
|
|
159
|
+
|
|
160
|
+
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
161
|
+
msgid "The value must not be empty."
|
|
162
|
+
msgstr "Стойността не трябва да е празна."
|
|
163
|
+
|
|
164
|
+
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
165
|
+
msgid "The value should be a plain number."
|
|
166
|
+
msgstr "Стойността трябва да бъде просто число."
|
|
167
|
+
|
|
168
|
+
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
169
|
+
msgid "Uploading image"
|
|
170
|
+
msgstr "Качване на изображение"
|
|
171
|
+
|
|
172
|
+
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
173
|
+
msgid "Image upload complete"
|
|
174
|
+
msgstr "Качването на изображение е завършено"
|
|
175
|
+
|
|
176
|
+
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
177
|
+
msgid "Error during image upload"
|
|
178
|
+
msgstr "Грешка по време на качването на изображение"
|
package/lang/translations/bn.po
CHANGED
|
@@ -113,10 +113,22 @@ msgctxt "The accessibility label of the standalone image resize reset option but
|
|
|
113
113
|
msgid "Resize image to the original size"
|
|
114
114
|
msgstr "মূল আকারে ছবির আকার পরিবর্তন করুন"
|
|
115
115
|
|
|
116
|
+
msgctxt "The label for image resize balloon input."
|
|
117
|
+
msgid "Resize image (in %0)"
|
|
118
|
+
msgstr "(%0 এ) ইমেজ রিসাইজ করুন"
|
|
119
|
+
|
|
116
120
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
117
121
|
msgid "Original"
|
|
118
122
|
msgstr "মূল"
|
|
119
123
|
|
|
124
|
+
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
125
|
+
msgid "Custom image size"
|
|
126
|
+
msgstr "কাস্টম ইমেজ সাইজ"
|
|
127
|
+
|
|
128
|
+
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
129
|
+
msgid "Custom"
|
|
130
|
+
msgstr "কাস্টম"
|
|
131
|
+
|
|
120
132
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
121
133
|
msgid "Image resize list"
|
|
122
134
|
msgstr "ছবির আকার পরিবর্তনের তালিকা"
|
|
@@ -144,3 +156,23 @@ msgstr "ছবির জন্য ক্যাপশন"
|
|
|
144
156
|
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.'"
|
|
145
157
|
msgid "Caption for image: %0"
|
|
146
158
|
msgstr "ছবির জন্য ক্যাপশন: %0"
|
|
159
|
+
|
|
160
|
+
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
161
|
+
msgid "The value must not be empty."
|
|
162
|
+
msgstr "মানটি খালি রাখা যাবে না।"
|
|
163
|
+
|
|
164
|
+
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
165
|
+
msgid "The value should be a plain number."
|
|
166
|
+
msgstr "মানটি একটি সরল সংখ্যা হতে হবে।"
|
|
167
|
+
|
|
168
|
+
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
169
|
+
msgid "Uploading image"
|
|
170
|
+
msgstr "ইমেজ আপলোড হচ্ছে"
|
|
171
|
+
|
|
172
|
+
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
173
|
+
msgid "Image upload complete"
|
|
174
|
+
msgstr "ইমেজ আপলোড সম্পূর্ণ হয়েছে"
|
|
175
|
+
|
|
176
|
+
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
177
|
+
msgid "Error during image upload"
|
|
178
|
+
msgstr "ইমেজ আপলোডের সময় ত্রুটি"
|
package/lang/translations/bs.po
CHANGED
|
@@ -113,10 +113,22 @@ msgctxt "The accessibility label of the standalone image resize reset option but
|
|
|
113
113
|
msgid "Resize image to the original size"
|
|
114
114
|
msgstr "Postavi originalnu veličinu slike"
|
|
115
115
|
|
|
116
|
+
msgctxt "The label for image resize balloon input."
|
|
117
|
+
msgid "Resize image (in %0)"
|
|
118
|
+
msgstr ""
|
|
119
|
+
|
|
116
120
|
msgctxt "The default label for the resize option that resets the size of the image."
|
|
117
121
|
msgid "Original"
|
|
118
122
|
msgstr "Original"
|
|
119
123
|
|
|
124
|
+
msgctxt "The accessibility label of the standalone image resize custom option button in the image toolbar for screen readers."
|
|
125
|
+
msgid "Custom image size"
|
|
126
|
+
msgstr ""
|
|
127
|
+
|
|
128
|
+
msgctxt "The label for the resize option that allows user to enter custom size of the image."
|
|
129
|
+
msgid "Custom"
|
|
130
|
+
msgstr ""
|
|
131
|
+
|
|
120
132
|
msgctxt "The accessibility label of the image resize dropdown for screen readers."
|
|
121
133
|
msgid "Image resize list"
|
|
122
134
|
msgstr "Lista veličina slike"
|
|
@@ -144,3 +156,23 @@ msgstr ""
|
|
|
144
156
|
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.'"
|
|
145
157
|
msgid "Caption for image: %0"
|
|
146
158
|
msgstr ""
|
|
159
|
+
|
|
160
|
+
msgctxt "Text used as error label when user submitted custom image resize form with blank value."
|
|
161
|
+
msgid "The value must not be empty."
|
|
162
|
+
msgstr ""
|
|
163
|
+
|
|
164
|
+
msgctxt "Text used as error label when user submitted custom image resize form with incorrect value."
|
|
165
|
+
msgid "The value should be a plain number."
|
|
166
|
+
msgstr ""
|
|
167
|
+
|
|
168
|
+
msgctxt "Aria status message indicating that the image is being uploaded. Example: 'Uploading image'."
|
|
169
|
+
msgid "Uploading image"
|
|
170
|
+
msgstr ""
|
|
171
|
+
|
|
172
|
+
msgctxt "Aria status message indicating that the image has been uploaded successfully. Example: 'Image upload complete'."
|
|
173
|
+
msgid "Image upload complete"
|
|
174
|
+
msgstr ""
|
|
175
|
+
|
|
176
|
+
msgctxt "Aria status message indicating that an error has occurred during image upload. Example: 'Error during image upload'."
|
|
177
|
+
msgid "Error during image upload"
|
|
178
|
+
msgstr ""
|