@ckeditor/ckeditor5-media-embed 0.0.0-internal-20241017.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/CHANGELOG.md +4 -0
- package/LICENSE.md +17 -0
- package/README.md +26 -0
- package/build/media-embed.js +5 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/az.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/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.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/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.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/sk.js +1 -0
- package/build/translations/sq.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/tk.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/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +89 -0
- package/dist/augmentation.d.ts +29 -0
- package/dist/automediaembed.d.ts +59 -0
- package/dist/converters.d.ts +42 -0
- package/dist/index-content.css +10 -0
- package/dist/index-editor.css +96 -0
- package/dist/index.css +154 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1127 -0
- package/dist/index.js.map +1 -0
- package/dist/mediaembed.d.ts +42 -0
- package/dist/mediaembedcommand.d.ts +40 -0
- package/dist/mediaembedconfig.d.ts +282 -0
- package/dist/mediaembedediting.d.ts +39 -0
- package/dist/mediaembedtoolbar.d.ts +38 -0
- package/dist/mediaembedui.d.ts +42 -0
- package/dist/mediaregistry.d.ts +70 -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/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/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/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/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/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/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/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/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/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/ui/mediaformview.d.ts +93 -0
- package/dist/utils.d.ts +71 -0
- package/lang/contexts.json +12 -0
- package/lang/translations/ar.po +58 -0
- package/lang/translations/az.po +58 -0
- package/lang/translations/bg.po +58 -0
- package/lang/translations/bn.po +58 -0
- package/lang/translations/ca.po +58 -0
- package/lang/translations/cs.po +58 -0
- package/lang/translations/da.po +58 -0
- package/lang/translations/de-ch.po +58 -0
- package/lang/translations/de.po +58 -0
- package/lang/translations/el.po +58 -0
- package/lang/translations/en-au.po +58 -0
- package/lang/translations/en-gb.po +58 -0
- package/lang/translations/en.po +58 -0
- package/lang/translations/es.po +58 -0
- package/lang/translations/et.po +58 -0
- package/lang/translations/fa.po +58 -0
- package/lang/translations/fi.po +58 -0
- package/lang/translations/fr.po +58 -0
- package/lang/translations/gl.po +58 -0
- package/lang/translations/he.po +58 -0
- package/lang/translations/hi.po +58 -0
- package/lang/translations/hr.po +58 -0
- package/lang/translations/hu.po +58 -0
- package/lang/translations/id.po +58 -0
- package/lang/translations/it.po +58 -0
- package/lang/translations/ja.po +58 -0
- package/lang/translations/ko.po +58 -0
- package/lang/translations/ku.po +58 -0
- package/lang/translations/lt.po +58 -0
- package/lang/translations/lv.po +58 -0
- package/lang/translations/ms.po +58 -0
- package/lang/translations/ne.po +58 -0
- package/lang/translations/nl.po +58 -0
- package/lang/translations/no.po +58 -0
- package/lang/translations/pl.po +58 -0
- package/lang/translations/pt-br.po +58 -0
- package/lang/translations/pt.po +58 -0
- package/lang/translations/ro.po +58 -0
- package/lang/translations/ru.po +58 -0
- package/lang/translations/sk.po +58 -0
- package/lang/translations/sq.po +58 -0
- package/lang/translations/sr-latn.po +58 -0
- package/lang/translations/sr.po +58 -0
- package/lang/translations/sv.po +58 -0
- package/lang/translations/th.po +58 -0
- package/lang/translations/tk.po +58 -0
- package/lang/translations/tr.po +58 -0
- package/lang/translations/uk.po +58 -0
- package/lang/translations/ur.po +58 -0
- package/lang/translations/uz.po +58 -0
- package/lang/translations/vi.po +58 -0
- package/lang/translations/zh-cn.po +58 -0
- package/lang/translations/zh.po +58 -0
- package/package.json +46 -0
- package/src/augmentation.d.ts +25 -0
- package/src/augmentation.js +5 -0
- package/src/automediaembed.d.ts +55 -0
- package/src/automediaembed.js +137 -0
- package/src/converters.d.ts +38 -0
- package/src/converters.js +53 -0
- package/src/index.d.ts +15 -0
- package/src/index.js +13 -0
- package/src/mediaembed.d.ts +38 -0
- package/src/mediaembed.js +44 -0
- package/src/mediaembedcommand.d.ts +36 -0
- package/src/mediaembedcommand.js +71 -0
- package/src/mediaembedconfig.d.ts +278 -0
- package/src/mediaembedconfig.js +5 -0
- package/src/mediaembedediting.d.ts +35 -0
- package/src/mediaembedediting.js +247 -0
- package/src/mediaembedtoolbar.d.ts +34 -0
- package/src/mediaembedtoolbar.js +50 -0
- package/src/mediaembedui.d.ts +38 -0
- package/src/mediaembedui.js +132 -0
- package/src/mediaregistry.d.ts +66 -0
- package/src/mediaregistry.js +232 -0
- package/src/ui/mediaformview.d.ts +89 -0
- package/src/ui/mediaformview.js +132 -0
- package/src/utils.d.ts +67 -0
- package/src/utils.js +85 -0
- package/theme/icons/media/twitter.svg +20 -0
- package/theme/icons/media-placeholder.svg +1 -0
- package/theme/icons/media.svg +1 -0
- package/theme/mediaembed.css +23 -0
- package/theme/mediaembedediting.css +48 -0
- package/theme/mediaform.css +39 -0
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"sr-latn":{"dictionary":{"media widget":"Media widget","Media URL":"Media URL","Paste the media URL in the input.":" Nalepi medijski URL u polje za unos.","Tip: Paste the URL into the content to embed faster.":"Savet: Zalepite URL u sadržaj da bi ste ga brže ugradili.","The URL must not be empty.":"URL ne sme biti prazan.","This media URL is not supported.":"Ovaj media URL tip nije podržan.","Insert media":"Dodaj media","Media":"","Media toolbar":"Mediji traka sa alatkama","Open media in new tab":"Otvorite medije u novoj kartici"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'sr-latn' ]: { dictionary, getPluralForm } } = {"sr-latn":{"dictionary":{"media widget":"Media widget","Media URL":"Media URL","Paste the media URL in the input.":" Nalepi medijski URL u polje za unos.","Tip: Paste the URL into the content to embed faster.":"Savet: Zalepite URL u sadržaj da bi ste ga brže ugradili.","The URL must not be empty.":"URL ne sme biti prazan.","This media URL is not supported.":"Ovaj media URL tip nije podržan.","Insert media":"Dodaj media","Media":"","Media toolbar":"Mediji traka sa alatkama","Open media in new tab":"Otvorite medije u novoj kartici"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}};
|
|
8
|
+
e[ 'sr-latn' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'sr-latn' ].dictionary = Object.assign( e[ 'sr-latn' ].dictionary, dictionary );
|
|
10
|
+
e[ 'sr-latn' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"sr":{"dictionary":{"media widget":"Медиа wидгет","Media URL":"Mедиа УРЛ","Paste the media URL in the input.":"Налепи медијски УРЛ у поље за унос","Tip: Paste the URL into the content to embed faster.":"Савет: Залепите УРЛ у садржај да би сте га брже уградили.","The URL must not be empty.":"УРЛ не сме бити празан.","This media URL is not supported.":"Овај медиа УРЛ тип није подржан.","Insert media":"Додај медиа","Media":"Medijski sadržaj","Media toolbar":"Медији трака са алаткама","Open media in new tab":"Отворите медије у новој картици"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'sr' ]: { dictionary, getPluralForm } } = {"sr":{"dictionary":{"media widget":"Медиа wидгет","Media URL":"Mедиа УРЛ","Paste the media URL in the input.":"Налепи медијски УРЛ у поље за унос","Tip: Paste the URL into the content to embed faster.":"Савет: Залепите УРЛ у садржај да би сте га брже уградили.","The URL must not be empty.":"УРЛ не сме бити празан.","This media URL is not supported.":"Овај медиа УРЛ тип није подржан.","Insert media":"Додај медиа","Media":"Medijski sadržaj","Media toolbar":"Медији трака са алаткама","Open media in new tab":"Отворите медије у новој картици"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}};
|
|
8
|
+
e[ 'sr' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'sr' ].dictionary = Object.assign( e[ 'sr' ].dictionary, dictionary );
|
|
10
|
+
e[ 'sr' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"sv":{"dictionary":{"media widget":"mediewidget","Media URL":"Medie-URL","Paste the media URL in the input.":"Klistra in medie-URL:en i indata.","Tip: Paste the URL into the content to embed faster.":"Tips: Klistra in URL:en i innehållet för snabbare inbäddning.","The URL must not be empty.":"URL:en får inte vara tom.","This media URL is not supported.":"Medie-URL:en stöds inte.","Insert media":"Lägg in media","Media":"Media","Media toolbar":"Medieverktygsfält","Open media in new tab":"Öppna media i ny flik"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'sv' ]: { dictionary, getPluralForm } } = {"sv":{"dictionary":{"media widget":"mediewidget","Media URL":"Medie-URL","Paste the media URL in the input.":"Klistra in medie-URL:en i indata.","Tip: Paste the URL into the content to embed faster.":"Tips: Klistra in URL:en i innehållet för snabbare inbäddning.","The URL must not be empty.":"URL:en får inte vara tom.","This media URL is not supported.":"Medie-URL:en stöds inte.","Insert media":"Lägg in media","Media":"Media","Media toolbar":"Medieverktygsfält","Open media in new tab":"Öppna media i ny flik"},getPluralForm(n){return (n != 1);}}};
|
|
8
|
+
e[ 'sv' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'sv' ].dictionary = Object.assign( e[ 'sv' ].dictionary, dictionary );
|
|
10
|
+
e[ 'sv' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"th":{"dictionary":{"media widget":"วิดเจ็ตสื่อ","Media URL":"URL สื่อ","Paste the media URL in the input.":"วาง URL สื่อในอินพุต","Tip: Paste the URL into the content to embed faster.":"เคล็ดลับ: การวาง URL ลงในเนื้อหาจะช่วยให้ฝังได้เร็วขึ้น","The URL must not be empty.":"URL ต้องไม่ว่างเปล่า","This media URL is not supported.":"ไม่รองรับ URL ของสื่อนี้","Insert media":"แทรกสื่อ","Media":"สื่อ","Media toolbar":"แถบเครื่องมือสื่อ","Open media in new tab":"เปิดสื่อในแท็บใหม่"},getPluralForm(n){return 0;}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'th' ]: { dictionary, getPluralForm } } = {"th":{"dictionary":{"media widget":"วิดเจ็ตสื่อ","Media URL":"URL สื่อ","Paste the media URL in the input.":"วาง URL สื่อในอินพุต","Tip: Paste the URL into the content to embed faster.":"เคล็ดลับ: การวาง URL ลงในเนื้อหาจะช่วยให้ฝังได้เร็วขึ้น","The URL must not be empty.":"URL ต้องไม่ว่างเปล่า","This media URL is not supported.":"ไม่รองรับ URL ของสื่อนี้","Insert media":"แทรกสื่อ","Media":"สื่อ","Media toolbar":"แถบเครื่องมือสื่อ","Open media in new tab":"เปิดสื่อในแท็บใหม่"},getPluralForm(n){return 0;}}};
|
|
8
|
+
e[ 'th' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'th' ].dictionary = Object.assign( e[ 'th' ].dictionary, dictionary );
|
|
10
|
+
e[ 'th' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"tk":{"dictionary":{"media widget":"media widjeti","Media URL":"Media URL","Paste the media URL in the input.":"Media URL-ni girişde goýuň.","Tip: Paste the URL into the content to embed faster.":"Maslahat: Has çalt ýerleşdirmek üçin URL-i mazmuna goýuň.","The URL must not be empty.":"URL boş bolmaly däldir.","This media URL is not supported.":"Bu media URL goldanok.","Insert media":"Mediýa goýuň","Media":"","Media toolbar":"Mediýa gurallar paneli","Open media in new tab":""},getPluralForm(n){return (n != 1);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'tk' ]: { dictionary, getPluralForm } } = {"tk":{"dictionary":{"media widget":"media widjeti","Media URL":"Media URL","Paste the media URL in the input.":"Media URL-ni girişde goýuň.","Tip: Paste the URL into the content to embed faster.":"Maslahat: Has çalt ýerleşdirmek üçin URL-i mazmuna goýuň.","The URL must not be empty.":"URL boş bolmaly däldir.","This media URL is not supported.":"Bu media URL goldanok.","Insert media":"Mediýa goýuň","Media":"","Media toolbar":"Mediýa gurallar paneli","Open media in new tab":""},getPluralForm(n){return (n != 1);}}};
|
|
8
|
+
e[ 'tk' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'tk' ].dictionary = Object.assign( e[ 'tk' ].dictionary, dictionary );
|
|
10
|
+
e[ 'tk' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"tr":{"dictionary":{"media widget":"medya aracı","Media URL":"Medya URL'si","Paste the media URL in the input.":"Medya URL'siini metin kutusuna yapıştırınız.","Tip: Paste the URL into the content to embed faster.":"İpucu: İçeriği daha hızlı yerleştirmek için URL'yi yapıştırın.","The URL must not be empty.":"URL boş olamaz.","This media URL is not supported.":"Desteklenmeyen Medya URL'si.","Insert media":"Medya Ekle","Media":"Medya","Media toolbar":"Medya araç çubuğu","Open media in new tab":"Medyayı yeni sekmede aç"},getPluralForm(n){return (n > 1);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'tr' ]: { dictionary, getPluralForm } } = {"tr":{"dictionary":{"media widget":"medya aracı","Media URL":"Medya URL'si","Paste the media URL in the input.":"Medya URL'siini metin kutusuna yapıştırınız.","Tip: Paste the URL into the content to embed faster.":"İpucu: İçeriği daha hızlı yerleştirmek için URL'yi yapıştırın.","The URL must not be empty.":"URL boş olamaz.","This media URL is not supported.":"Desteklenmeyen Medya URL'si.","Insert media":"Medya Ekle","Media":"Medya","Media toolbar":"Medya araç çubuğu","Open media in new tab":"Medyayı yeni sekmede aç"},getPluralForm(n){return (n > 1);}}};
|
|
8
|
+
e[ 'tr' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'tr' ].dictionary = Object.assign( e[ 'tr' ].dictionary, dictionary );
|
|
10
|
+
e[ 'tr' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"uk":{"dictionary":{"media widget":"медіа віджет","Media URL":"Медіа URL","Paste the media URL in the input.":"Вставте URL на медіа в інпут.","Tip: Paste the URL into the content to embed faster.":"Вставте URL у вміст для швидкого перекладу.","The URL must not be empty.":"URL не повинен бути порожнім.","This media URL is not supported.":"Даний медіа URL не підтримується.","Insert media":"Вставити медіа","Media":"Медіа","Media toolbar":"Панель інструментів медіа","Open media in new tab":"Відкрити медіа у новій вкладці"},getPluralForm(n){return (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);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'uk' ]: { dictionary, getPluralForm } } = {"uk":{"dictionary":{"media widget":"медіа віджет","Media URL":"Медіа URL","Paste the media URL in the input.":"Вставте URL на медіа в інпут.","Tip: Paste the URL into the content to embed faster.":"Вставте URL у вміст для швидкого перекладу.","The URL must not be empty.":"URL не повинен бути порожнім.","This media URL is not supported.":"Даний медіа URL не підтримується.","Insert media":"Вставити медіа","Media":"Медіа","Media toolbar":"Панель інструментів медіа","Open media in new tab":"Відкрити медіа у новій вкладці"},getPluralForm(n){return (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);}}};
|
|
8
|
+
e[ 'uk' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'uk' ].dictionary = Object.assign( e[ 'uk' ].dictionary, dictionary );
|
|
10
|
+
e[ 'uk' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"ur":{"dictionary":{"media widget":"آلۂ میڈیا","Media URL":"میڈیا یو آر ایل","Paste the media URL in the input.":"میڈیا یو آر ایل کو چسپاں کریں","Tip: Paste the URL into the content to embed faster.":"نکتہ : یو آر ایل کو جلد ضم کرنے کے لیے ربط مواد میں چسپاں کریں","The URL must not be empty.":"یو آر ایل خالی نہیں ہونا چاہیے۔","This media URL is not supported.":"میڈیا یو آر ایل معاونت یافتہ نہیں","Insert media":"میڈیا نصب کریں","Media":"","Media toolbar":"آلہ جات برائے میڈیا","Open media in new tab":""},getPluralForm(n){return (n != 1);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'ur' ]: { dictionary, getPluralForm } } = {"ur":{"dictionary":{"media widget":"آلۂ میڈیا","Media URL":"میڈیا یو آر ایل","Paste the media URL in the input.":"میڈیا یو آر ایل کو چسپاں کریں","Tip: Paste the URL into the content to embed faster.":"نکتہ : یو آر ایل کو جلد ضم کرنے کے لیے ربط مواد میں چسپاں کریں","The URL must not be empty.":"یو آر ایل خالی نہیں ہونا چاہیے۔","This media URL is not supported.":"میڈیا یو آر ایل معاونت یافتہ نہیں","Insert media":"میڈیا نصب کریں","Media":"","Media toolbar":"آلہ جات برائے میڈیا","Open media in new tab":""},getPluralForm(n){return (n != 1);}}};
|
|
8
|
+
e[ 'ur' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'ur' ].dictionary = Object.assign( e[ 'ur' ].dictionary, dictionary );
|
|
10
|
+
e[ 'ur' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"uz":{"dictionary":{"media widget":"media vidjeti","Media URL":"Media URL manzili","Paste the media URL in the input.":"Media URL manzilini kiritish maydoniga joylashtiring.","Tip: Paste the URL into the content to embed faster.":"Maslahat: Tez kiritish uchun URL manzilini kontentga joylashtiring.","The URL must not be empty.":"URL bo'sh bo'lmasligi kerak.","This media URL is not supported.":"Ushbu media URL manzili qo‘llab-quvvatlanmaydi.","Insert media":"Mediani joylashtiring","Media":"","Media toolbar":"Media asboblar paneli","Open media in new tab":""},getPluralForm(n){return 0;}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'uz' ]: { dictionary, getPluralForm } } = {"uz":{"dictionary":{"media widget":"media vidjeti","Media URL":"Media URL manzili","Paste the media URL in the input.":"Media URL manzilini kiritish maydoniga joylashtiring.","Tip: Paste the URL into the content to embed faster.":"Maslahat: Tez kiritish uchun URL manzilini kontentga joylashtiring.","The URL must not be empty.":"URL bo'sh bo'lmasligi kerak.","This media URL is not supported.":"Ushbu media URL manzili qo‘llab-quvvatlanmaydi.","Insert media":"Mediani joylashtiring","Media":"","Media toolbar":"Media asboblar paneli","Open media in new tab":""},getPluralForm(n){return 0;}}};
|
|
8
|
+
e[ 'uz' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'uz' ].dictionary = Object.assign( e[ 'uz' ].dictionary, dictionary );
|
|
10
|
+
e[ 'uz' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"vi":{"dictionary":{"media widget":"tiện ích đa phương tiện","Media URL":"Đường dẫn đa phương tiện","Paste the media URL in the input.":"Dán đường dẫn đa phương tiện vào trường","Tip: Paste the URL into the content to embed faster.":"Mẹo: Dán đường dẫn vào nội dung để nhúng ngay","The URL must not be empty.":"Đường dẫn không được để trống","This media URL is not supported.":"Đường dẫn đa phương tiện không hỗ trợ","Insert media":"Chèn đa phương tiện","Media":"Phương tiện","Media toolbar":"Thanh công cụ đa phương tiện","Open media in new tab":"Mở nội dung nghe nhìn trong tab mới"},getPluralForm(n){return 0;}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'vi' ]: { dictionary, getPluralForm } } = {"vi":{"dictionary":{"media widget":"tiện ích đa phương tiện","Media URL":"Đường dẫn đa phương tiện","Paste the media URL in the input.":"Dán đường dẫn đa phương tiện vào trường","Tip: Paste the URL into the content to embed faster.":"Mẹo: Dán đường dẫn vào nội dung để nhúng ngay","The URL must not be empty.":"Đường dẫn không được để trống","This media URL is not supported.":"Đường dẫn đa phương tiện không hỗ trợ","Insert media":"Chèn đa phương tiện","Media":"Phương tiện","Media toolbar":"Thanh công cụ đa phương tiện","Open media in new tab":"Mở nội dung nghe nhìn trong tab mới"},getPluralForm(n){return 0;}}};
|
|
8
|
+
e[ 'vi' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'vi' ].dictionary = Object.assign( e[ 'vi' ].dictionary, dictionary );
|
|
10
|
+
e[ 'vi' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"zh-cn":{"dictionary":{"media widget":"媒体小部件","Media URL":"媒体URL","Paste the media URL in the input.":"在输入中粘贴媒体URL","Tip: Paste the URL into the content to embed faster.":"提示:将URL粘贴到内容中可更快地嵌入","The URL must not be empty.":"URL不可以为空。","This media URL is not supported.":"不支持此媒体URL。","Insert media":"插入媒体","Media":"媒体","Media toolbar":"媒体工具栏","Open media in new tab":"在新标签页打开媒体"},getPluralForm(n){return 0;}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'zh-cn' ]: { dictionary, getPluralForm } } = {"zh-cn":{"dictionary":{"media widget":"媒体小部件","Media URL":"媒体URL","Paste the media URL in the input.":"在输入中粘贴媒体URL","Tip: Paste the URL into the content to embed faster.":"提示:将URL粘贴到内容中可更快地嵌入","The URL must not be empty.":"URL不可以为空。","This media URL is not supported.":"不支持此媒体URL。","Insert media":"插入媒体","Media":"媒体","Media toolbar":"媒体工具栏","Open media in new tab":"在新标签页打开媒体"},getPluralForm(n){return 0;}}};
|
|
8
|
+
e[ 'zh-cn' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'zh-cn' ].dictionary = Object.assign( e[ 'zh-cn' ].dictionary, dictionary );
|
|
10
|
+
e[ 'zh-cn' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"zh":{"dictionary":{"media widget":"影音小工具","Media URL":"影音網址","Paste the media URL in the input.":"在輸入框貼上影音網址。","Tip: Paste the URL into the content to embed faster.":"提示:在內容貼上網址更快崁入。","The URL must not be empty.":"網址不能空白。","This media URL is not supported.":"不支援此影音網址。","Insert media":"插入影音","Media":"媒體","Media toolbar":"影音工具","Open media in new tab":"在新分頁打開媒體"},getPluralForm(n){return 0;}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'zh' ]: { dictionary, getPluralForm } } = {"zh":{"dictionary":{"media widget":"影音小工具","Media URL":"影音網址","Paste the media URL in the input.":"在輸入框貼上影音網址。","Tip: Paste the URL into the content to embed faster.":"提示:在內容貼上網址更快崁入。","The URL must not be empty.":"網址不能空白。","This media URL is not supported.":"不支援此影音網址。","Insert media":"插入影音","Media":"媒體","Media toolbar":"影音工具","Open media in new tab":"在新分頁打開媒體"},getPluralForm(n){return 0;}}};
|
|
8
|
+
e[ 'zh' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'zh' ].dictionary = Object.assign( e[ 'zh' ].dictionary, dictionary );
|
|
10
|
+
e[ 'zh' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,93 @@
|
|
|
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 media-embed/ui/mediaformview
|
|
11
|
+
*/
|
|
12
|
+
import { type InputTextView, LabeledFieldView, View } from 'ckeditor5/src/ui.js';
|
|
13
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
14
|
+
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
|
15
|
+
import '../../theme/mediaform.css';
|
|
16
|
+
/**
|
|
17
|
+
* The media form view controller class.
|
|
18
|
+
*
|
|
19
|
+
* See {@link module:media-embed/ui/mediaformview~MediaFormView}.
|
|
20
|
+
*/
|
|
21
|
+
export default class MediaFormView extends View {
|
|
22
|
+
/**
|
|
23
|
+
* Tracks information about the DOM focus in the form.
|
|
24
|
+
*/
|
|
25
|
+
readonly focusTracker: FocusTracker;
|
|
26
|
+
/**
|
|
27
|
+
* An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
|
|
28
|
+
*/
|
|
29
|
+
readonly keystrokes: KeystrokeHandler;
|
|
30
|
+
/**
|
|
31
|
+
* The value of the URL input.
|
|
32
|
+
*/
|
|
33
|
+
mediaURLInputValue: string;
|
|
34
|
+
/**
|
|
35
|
+
* The URL input view.
|
|
36
|
+
*/
|
|
37
|
+
urlInputView: LabeledFieldView<InputTextView>;
|
|
38
|
+
/**
|
|
39
|
+
* An array of form validators used by {@link #isValid}.
|
|
40
|
+
*/
|
|
41
|
+
private readonly _validators;
|
|
42
|
+
/**
|
|
43
|
+
* The default info text for the {@link #urlInputView}.
|
|
44
|
+
*/
|
|
45
|
+
private _urlInputViewInfoDefault?;
|
|
46
|
+
/**
|
|
47
|
+
* The info text with an additional tip for the {@link #urlInputView},
|
|
48
|
+
* displayed when the input has some value.
|
|
49
|
+
*/
|
|
50
|
+
private _urlInputViewInfoTip?;
|
|
51
|
+
/**
|
|
52
|
+
* @param validators Form validators used by {@link #isValid}.
|
|
53
|
+
* @param locale The localization services instance.
|
|
54
|
+
*/
|
|
55
|
+
constructor(validators: Array<(v: MediaFormView) => string | undefined>, locale: Locale);
|
|
56
|
+
/**
|
|
57
|
+
* @inheritDoc
|
|
58
|
+
*/
|
|
59
|
+
render(): void;
|
|
60
|
+
/**
|
|
61
|
+
* @inheritDoc
|
|
62
|
+
*/
|
|
63
|
+
destroy(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Focuses the {@link #urlInputView}.
|
|
66
|
+
*/
|
|
67
|
+
focus(): void;
|
|
68
|
+
/**
|
|
69
|
+
* The native DOM `value` of the {@link #urlInputView} element.
|
|
70
|
+
*
|
|
71
|
+
* **Note**: Do not confuse it with the {@link module:ui/inputtext/inputtextview~InputTextView#value}
|
|
72
|
+
* which works one way only and may not represent the actual state of the component in the DOM.
|
|
73
|
+
*/
|
|
74
|
+
get url(): string;
|
|
75
|
+
set url(url: string);
|
|
76
|
+
/**
|
|
77
|
+
* Validates the form and returns `false` when some fields are invalid.
|
|
78
|
+
*/
|
|
79
|
+
isValid(): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Cleans up the supplementary error and information text of the {@link #urlInputView}
|
|
82
|
+
* bringing them back to the state when the form has been displayed for the first time.
|
|
83
|
+
*
|
|
84
|
+
* See {@link #isValid}.
|
|
85
|
+
*/
|
|
86
|
+
resetFormStatus(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Creates a labeled input view.
|
|
89
|
+
*
|
|
90
|
+
* @returns Labeled input view instance.
|
|
91
|
+
*/
|
|
92
|
+
private _createUrlInput;
|
|
93
|
+
}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
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 media-embed/utils
|
|
11
|
+
*/
|
|
12
|
+
import type { ViewContainerElement, Element, Model, Selectable, Selection, DowncastWriter, ViewDocumentSelection, ViewElement, DocumentSelection } from 'ckeditor5/src/engine.js';
|
|
13
|
+
import type MediaRegistry from './mediaregistry.js';
|
|
14
|
+
/**
|
|
15
|
+
* Converts a given {@link module:engine/view/element~Element} to a media embed widget:
|
|
16
|
+
* * Adds a {@link module:engine/view/element~Element#_setCustomProperty custom property} allowing to recognize the media widget element.
|
|
17
|
+
* * Calls the {@link module:widget/utils~toWidget} function with the proper element's label creator.
|
|
18
|
+
*
|
|
19
|
+
* @param writer An instance of the view writer.
|
|
20
|
+
* @param label The element's label.
|
|
21
|
+
*/
|
|
22
|
+
export declare function toMediaWidget(viewElement: ViewElement, writer: DowncastWriter, label: string): ViewElement;
|
|
23
|
+
/**
|
|
24
|
+
* Returns a media widget editing view element if one is selected.
|
|
25
|
+
*/
|
|
26
|
+
export declare function getSelectedMediaViewWidget(selection: ViewDocumentSelection): ViewElement | null;
|
|
27
|
+
/**
|
|
28
|
+
* Checks if a given view element is a media widget.
|
|
29
|
+
*/
|
|
30
|
+
export declare function isMediaWidget(viewElement: ViewElement): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a view element representing the media. Either a "semantic" one for the data pipeline:
|
|
33
|
+
*
|
|
34
|
+
* ```html
|
|
35
|
+
* <figure class="media">
|
|
36
|
+
* <oembed url="foo"></oembed>
|
|
37
|
+
* </figure>
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* or a "non-semantic" (for the editing view pipeline):
|
|
41
|
+
*
|
|
42
|
+
* ```html
|
|
43
|
+
* <figure class="media">
|
|
44
|
+
* <div data-oembed-url="foo">[ non-semantic media preview for "foo" ]</div>
|
|
45
|
+
* </figure>
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare function createMediaFigureElement(writer: DowncastWriter, registry: MediaRegistry, url: string, options: MediaOptions): ViewContainerElement;
|
|
49
|
+
/**
|
|
50
|
+
* Returns a selected media element in the model, if any.
|
|
51
|
+
*/
|
|
52
|
+
export declare function getSelectedMediaModelWidget(selection: Selection | DocumentSelection): Element | null;
|
|
53
|
+
/**
|
|
54
|
+
* Creates a media element and inserts it into the model.
|
|
55
|
+
*
|
|
56
|
+
* **Note**: This method will use {@link module:engine/model/model~Model#insertContent `model.insertContent()`} logic of inserting content
|
|
57
|
+
* if no `insertPosition` is passed.
|
|
58
|
+
*
|
|
59
|
+
* @param url An URL of an embeddable media.
|
|
60
|
+
* @param findOptimalPosition If true it will try to find optimal position to insert media without breaking content
|
|
61
|
+
* in which a selection is.
|
|
62
|
+
*/
|
|
63
|
+
export declare function insertMedia(model: Model, url: string, selectable: Selectable, findOptimalPosition: boolean): void;
|
|
64
|
+
/**
|
|
65
|
+
* Type for commonly grouped function parameters across this package.
|
|
66
|
+
*/
|
|
67
|
+
export type MediaOptions = {
|
|
68
|
+
elementName: string;
|
|
69
|
+
renderMediaPreview?: boolean;
|
|
70
|
+
renderForEditingView?: boolean;
|
|
71
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"media widget": "Label for the media widget.",
|
|
3
|
+
"Media URL": "Label for the URL input in the Media Embed URL editing balloon.",
|
|
4
|
+
"Paste the media URL in the input.": "The help text displayed under the media URL input helping users to discover the interface.",
|
|
5
|
+
"Tip: Paste the URL into the content to embed faster.": "The tip displayed next to the media URL input informing about an easier way of embedding.",
|
|
6
|
+
"The URL must not be empty.": "An error message that informs about an empty value in the URL input.",
|
|
7
|
+
"This media URL is not supported.": "An error message that informs about unsupported media URL.",
|
|
8
|
+
"Insert media": "Toolbar button tooltip for the Media Embed feature.",
|
|
9
|
+
"Media": "Label describing type of the inserted content (e.g. 'insert media').",
|
|
10
|
+
"Media toolbar": "The label used by assistive technologies describing an image toolbar attached to an image widget.",
|
|
11
|
+
"Open media in new tab": "A tooltip displayed when the user hovers a non-previewable media URL in the editor content."
|
|
12
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, 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: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
|
|
16
|
+
"Language: ar\n"
|
|
17
|
+
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Label for the media widget."
|
|
21
|
+
msgid "media widget"
|
|
22
|
+
msgstr "أداة الوسائط"
|
|
23
|
+
|
|
24
|
+
msgctxt "Label for the URL input in the Media Embed URL editing balloon."
|
|
25
|
+
msgid "Media URL"
|
|
26
|
+
msgstr "عنوان URL الوسائط"
|
|
27
|
+
|
|
28
|
+
msgctxt "The help text displayed under the media URL input helping users to discover the interface."
|
|
29
|
+
msgid "Paste the media URL in the input."
|
|
30
|
+
msgstr "ألصق عنوان URL الوسائط في موضع الإدخال."
|
|
31
|
+
|
|
32
|
+
msgctxt "The tip displayed next to the media URL input informing about an easier way of embedding."
|
|
33
|
+
msgid "Tip: Paste the URL into the content to embed faster."
|
|
34
|
+
msgstr "نصيحة: ألصق عنوان URL داخل المحتوى؛ لتسريع عملية التضمين."
|
|
35
|
+
|
|
36
|
+
msgctxt "An error message that informs about an empty value in the URL input."
|
|
37
|
+
msgid "The URL must not be empty."
|
|
38
|
+
msgstr "لا يمكن ترك بيان عنوان URL فارغاً."
|
|
39
|
+
|
|
40
|
+
msgctxt "An error message that informs about unsupported media URL."
|
|
41
|
+
msgid "This media URL is not supported."
|
|
42
|
+
msgstr "عنوان URL الوسائط هذا غير مدعوم."
|
|
43
|
+
|
|
44
|
+
msgctxt "Toolbar button tooltip for the Media Embed feature."
|
|
45
|
+
msgid "Insert media"
|
|
46
|
+
msgstr "أدخل الوسائط"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label describing type of the inserted content (e.g. 'insert media')."
|
|
49
|
+
msgid "Media"
|
|
50
|
+
msgstr "وسائط"
|
|
51
|
+
|
|
52
|
+
msgctxt "The label used by assistive technologies describing an image toolbar attached to an image widget."
|
|
53
|
+
msgid "Media toolbar"
|
|
54
|
+
msgstr "شريط أدوات الوسائط"
|
|
55
|
+
|
|
56
|
+
msgctxt "A tooltip displayed when the user hovers a non-previewable media URL in the editor content."
|
|
57
|
+
msgid "Open media in new tab"
|
|
58
|
+
msgstr "فتح الوسائط في علامة تبويب جديدة"
|