@ckeditor/ckeditor5-font 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 +23 -0
- package/README.md +31 -0
- package/build/font.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/bs.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-co.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/jv.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/nb.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/sl.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/ug.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 +111 -0
- package/dist/augmentation.d.ts +62 -0
- package/dist/font.d.ts +41 -0
- package/dist/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +30 -0
- package/dist/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +34 -0
- package/dist/fontbackgroundcolor/fontbackgroundcolorui.d.ts +26 -0
- package/dist/fontbackgroundcolor.d.ts +38 -0
- package/dist/fontcolor/fontcolorcommand.d.ts +29 -0
- package/dist/fontcolor/fontcolorediting.d.ts +34 -0
- package/dist/fontcolor/fontcolorui.d.ts +26 -0
- package/dist/fontcolor.d.ts +37 -0
- package/dist/fontcommand.d.ts +52 -0
- package/dist/fontconfig.d.ts +377 -0
- package/dist/fontfamily/fontfamilycommand.d.ts +29 -0
- package/dist/fontfamily/fontfamilyediting.d.ts +47 -0
- package/dist/fontfamily/fontfamilyui.d.ts +38 -0
- package/dist/fontfamily/utils.d.ts +19 -0
- package/dist/fontfamily.d.ts +37 -0
- package/dist/fontsize/fontsizecommand.d.ts +29 -0
- package/dist/fontsize/fontsizeediting.d.ts +52 -0
- package/dist/fontsize/fontsizeui.d.ts +39 -0
- package/dist/fontsize/utils.d.ts +16 -0
- package/dist/fontsize.d.ts +45 -0
- package/dist/index-content.css +16 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +27 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +1634 -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/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/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/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/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/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sk.umd.js +11 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +5 -0
- package/dist/translations/sl.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/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/ui/colorui.d.ts +67 -0
- package/dist/utils.d.ts +84 -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/bs.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-co.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/jv.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/nb.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/sl.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/ug.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 +42 -0
- package/src/augmentation.d.ts +58 -0
- package/src/augmentation.js +5 -0
- package/src/font.d.ts +37 -0
- package/src/font.js +43 -0
- package/src/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +26 -0
- package/src/fontbackgroundcolor/fontbackgroundcolorcommand.js +25 -0
- package/src/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +30 -0
- package/src/fontbackgroundcolor/fontbackgroundcolorediting.js +129 -0
- package/src/fontbackgroundcolor/fontbackgroundcolorui.d.ts +22 -0
- package/src/fontbackgroundcolor/fontbackgroundcolorui.js +33 -0
- package/src/fontbackgroundcolor.d.ts +34 -0
- package/src/fontbackgroundcolor.js +40 -0
- package/src/fontcolor/fontcolorcommand.d.ts +25 -0
- package/src/fontcolor/fontcolorcommand.js +24 -0
- package/src/fontcolor/fontcolorediting.d.ts +30 -0
- package/src/fontcolor/fontcolorediting.js +140 -0
- package/src/fontcolor/fontcolorui.d.ts +22 -0
- package/src/fontcolor/fontcolorui.js +33 -0
- package/src/fontcolor.d.ts +33 -0
- package/src/fontcolor.js +39 -0
- package/src/fontcommand.d.ts +48 -0
- package/src/fontcommand.js +79 -0
- package/src/fontconfig.d.ts +373 -0
- package/src/fontconfig.js +5 -0
- package/src/fontfamily/fontfamilycommand.d.ts +25 -0
- package/src/fontfamily/fontfamilycommand.js +24 -0
- package/src/fontfamily/fontfamilyediting.d.ts +43 -0
- package/src/fontfamily/fontfamilyediting.js +121 -0
- package/src/fontfamily/fontfamilyui.d.ts +34 -0
- package/src/fontfamily/fontfamilyui.js +150 -0
- package/src/fontfamily/utils.d.ts +15 -0
- package/src/fontfamily/utils.js +80 -0
- package/src/fontfamily.d.ts +33 -0
- package/src/fontfamily.js +39 -0
- package/src/fontsize/fontsizecommand.d.ts +25 -0
- package/src/fontsize/fontsizecommand.js +24 -0
- package/src/fontsize/fontsizeediting.d.ts +48 -0
- package/src/fontsize/fontsizeediting.js +171 -0
- package/src/fontsize/fontsizeui.d.ts +35 -0
- package/src/fontsize/fontsizeui.js +158 -0
- package/src/fontsize/utils.d.ts +12 -0
- package/src/fontsize/utils.js +166 -0
- package/src/fontsize.d.ts +41 -0
- package/src/fontsize.js +49 -0
- package/src/index.d.ts +27 -0
- package/src/index.js +21 -0
- package/src/ui/colorui.d.ts +63 -0
- package/src/ui/colorui.js +179 -0
- package/src/utils.d.ts +80 -0
- package/src/utils.js +97 -0
- package/theme/fontsize.css +26 -0
- package/theme/icons/font-background.svg +1 -0
- package/theme/icons/font-color.svg +1 -0
- package/theme/icons/font-family.svg +1 -0
- package/theme/icons/font-size.svg +1 -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":{"Font Size":"字体大小","Tiny":"极小","Small":"小","Big":"大","Huge":"极大","Font Family":"字体","Default":"默认","Font Color":"字体颜色","Font Background Color":"字体背景色","Document colors":"文档中的颜色"},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":{"Font Size":"字體大小","Tiny":"特小","Small":"小","Big":"大","Huge":"特大","Font Family":"字型","Default":"預設","Font Color":"字體顏色","Font Background Color":"前景顏色","Document colors":"文件顏色"},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":{"Font Size":"字體大小","Tiny":"特小","Small":"小","Big":"大","Huge":"特大","Font Family":"字型","Default":"預設","Font Color":"字體顏色","Font Background Color":"前景顏色","Document colors":"文件顏色"},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,67 @@
|
|
|
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 font/ui/colorui
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
13
|
+
import { type FONT_BACKGROUND_COLOR, type FONT_COLOR } from '../utils.js';
|
|
14
|
+
/**
|
|
15
|
+
* The color UI plugin which isolates the common logic responsible for displaying dropdowns with color grids.
|
|
16
|
+
*
|
|
17
|
+
* It is used to create the `'fontBackgroundColor'` and `'fontColor'` dropdowns, each hosting
|
|
18
|
+
* a {@link module:ui/colorselector/colorselectorview~ColorSelectorView}.
|
|
19
|
+
*/
|
|
20
|
+
export default class ColorUI extends Plugin {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the command which will be executed when a color tile is clicked.
|
|
23
|
+
*/
|
|
24
|
+
commandName: typeof FONT_BACKGROUND_COLOR | typeof FONT_COLOR;
|
|
25
|
+
/**
|
|
26
|
+
* The name of this component in the {@link module:ui/componentfactory~ComponentFactory}.
|
|
27
|
+
* Also the configuration scope name in `editor.config`.
|
|
28
|
+
*/
|
|
29
|
+
componentName: typeof FONT_BACKGROUND_COLOR | typeof FONT_COLOR;
|
|
30
|
+
/**
|
|
31
|
+
* The SVG icon used by the dropdown.
|
|
32
|
+
*/
|
|
33
|
+
icon: string;
|
|
34
|
+
/**
|
|
35
|
+
* The label used by the dropdown.
|
|
36
|
+
*/
|
|
37
|
+
dropdownLabel: string;
|
|
38
|
+
/**
|
|
39
|
+
* The number of columns in the color grid.
|
|
40
|
+
*/
|
|
41
|
+
columns: number;
|
|
42
|
+
/**
|
|
43
|
+
* Keeps all changes in color picker in one batch while dropdown is open.
|
|
44
|
+
*/
|
|
45
|
+
private _undoStepBatch;
|
|
46
|
+
/**
|
|
47
|
+
* Creates a plugin which introduces a dropdown with a pre–configured
|
|
48
|
+
* {@link module:ui/colorselector/colorselectorview~ColorSelectorView}.
|
|
49
|
+
*
|
|
50
|
+
* @param config The configuration object.
|
|
51
|
+
* @param config.commandName The name of the command which will be executed when a color tile is clicked.
|
|
52
|
+
* @param config.componentName The name of the dropdown in the {@link module:ui/componentfactory~ComponentFactory}
|
|
53
|
+
* and the configuration scope name in `editor.config`.
|
|
54
|
+
* @param config.icon The SVG icon used by the dropdown.
|
|
55
|
+
* @param config.dropdownLabel The label used by the dropdown.
|
|
56
|
+
*/
|
|
57
|
+
constructor(editor: Editor, { commandName, componentName, icon, dropdownLabel }: {
|
|
58
|
+
commandName: typeof FONT_BACKGROUND_COLOR | typeof FONT_COLOR;
|
|
59
|
+
componentName: typeof FONT_BACKGROUND_COLOR | typeof FONT_COLOR;
|
|
60
|
+
icon: string;
|
|
61
|
+
dropdownLabel: string;
|
|
62
|
+
});
|
|
63
|
+
/**
|
|
64
|
+
* @inheritDoc
|
|
65
|
+
*/
|
|
66
|
+
init(): void;
|
|
67
|
+
}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
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 font/utils
|
|
11
|
+
*/
|
|
12
|
+
import type { FontFamilyOption, FontSizeOption } from './fontconfig.js';
|
|
13
|
+
import { ColorSelectorView, type ColorDefinition, type ColorPickerViewConfig, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
14
|
+
import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
|
|
15
|
+
import type { ViewAttributeElement, ViewElement, MatcherPattern, ViewElementDefinition, DowncastConversionApi } from 'ckeditor5/src/engine.js';
|
|
16
|
+
/**
|
|
17
|
+
* The name of the font size plugin.
|
|
18
|
+
*/
|
|
19
|
+
export declare const FONT_SIZE = "fontSize";
|
|
20
|
+
/**
|
|
21
|
+
* The name of the font family plugin.
|
|
22
|
+
*/
|
|
23
|
+
export declare const FONT_FAMILY = "fontFamily";
|
|
24
|
+
/**
|
|
25
|
+
* The name of the font color plugin.
|
|
26
|
+
*/
|
|
27
|
+
export declare const FONT_COLOR = "fontColor";
|
|
28
|
+
/**
|
|
29
|
+
* The name of the font background color plugin.
|
|
30
|
+
*/
|
|
31
|
+
export declare const FONT_BACKGROUND_COLOR = "fontBackgroundColor";
|
|
32
|
+
/**
|
|
33
|
+
* Builds a proper converter definition out of input data.
|
|
34
|
+
*/
|
|
35
|
+
export declare function buildDefinition(modelAttributeKey: string, options: Array<FontFamilyOption> | Array<FontSizeOption>): FontConverterDefinition;
|
|
36
|
+
export type FontConverterDefinition = {
|
|
37
|
+
model: {
|
|
38
|
+
key: string;
|
|
39
|
+
values: Array<string>;
|
|
40
|
+
};
|
|
41
|
+
view: Record<string, ViewElementDefinition>;
|
|
42
|
+
upcastAlso: Record<string, ArrayOrItem<MatcherPattern>>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* A {@link module:font/fontcolor~FontColor font color} and
|
|
46
|
+
* {@link module:font/fontbackgroundcolor~FontBackgroundColor font background color} helper
|
|
47
|
+
* responsible for upcasting data to the model.
|
|
48
|
+
*
|
|
49
|
+
* **Note**: The `styleAttr` parameter should be either `'color'` or `'background-color'`.
|
|
50
|
+
*/
|
|
51
|
+
export declare function renderUpcastAttribute(styleAttr: string): (viewElement: ViewElement) => string;
|
|
52
|
+
/**
|
|
53
|
+
* A {@link module:font/fontcolor~FontColor font color} and
|
|
54
|
+
* {@link module:font/fontbackgroundcolor~FontBackgroundColor font background color} helper
|
|
55
|
+
* responsible for downcasting a color attribute to a `<span>` element.
|
|
56
|
+
*
|
|
57
|
+
* **Note**: The `styleAttr` parameter should be either `'color'` or `'background-color'`.
|
|
58
|
+
*/
|
|
59
|
+
export declare function renderDowncastElement(styleAttr: string): (modelAttributeValue: string, { writer }: DowncastConversionApi) => ViewAttributeElement;
|
|
60
|
+
/**
|
|
61
|
+
* A helper that adds {@link module:ui/colorselector/colorselectorview~ColorSelectorView} to the color dropdown with proper initial values.
|
|
62
|
+
*
|
|
63
|
+
* @param config.dropdownView The dropdown view to which a {@link module:ui/colorselector/colorselectorview~ColorSelectorView}
|
|
64
|
+
* will be added.
|
|
65
|
+
* @param config.colors An array with definitions representing colors to be displayed in the color selector.
|
|
66
|
+
* @param config.removeButtonLabel The label for the button responsible for removing the color.
|
|
67
|
+
* @param config.documentColorsLabel The label for the section with document colors.
|
|
68
|
+
* @param config.documentColorsCount The number of document colors inside the dropdown.
|
|
69
|
+
* @param config.colorPickerViewConfig Configuration of the color picker view.
|
|
70
|
+
* @returns The new color selector view.
|
|
71
|
+
*/
|
|
72
|
+
export declare function addColorSelectorToDropdown({ dropdownView, colors, columns, removeButtonLabel, colorPickerLabel, documentColorsLabel, documentColorsCount, colorPickerViewConfig }: {
|
|
73
|
+
dropdownView: ColorSelectorDropdownView;
|
|
74
|
+
colors: Array<ColorDefinition>;
|
|
75
|
+
columns: number;
|
|
76
|
+
removeButtonLabel: string;
|
|
77
|
+
colorPickerLabel: string;
|
|
78
|
+
documentColorsLabel?: string;
|
|
79
|
+
documentColorsCount?: number;
|
|
80
|
+
colorPickerViewConfig: ColorPickerViewConfig | false;
|
|
81
|
+
}): ColorSelectorView;
|
|
82
|
+
export type ColorSelectorDropdownView = DropdownView & {
|
|
83
|
+
colorSelectorView?: ColorSelectorView;
|
|
84
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Font Size": "Tooltip for the font size dropdown.",
|
|
3
|
+
"Tiny": "Dropdown option label for the 'tiny' font size preset.",
|
|
4
|
+
"Small": "Dropdown option label for the 'small' font size preset.",
|
|
5
|
+
"Big": "Dropdown option label for the 'big' font size preset.",
|
|
6
|
+
"Huge": "Dropdown option label for the 'huge' font size preset.",
|
|
7
|
+
"Font Family": "Tooltip for the font family dropdown.",
|
|
8
|
+
"Default": "Dropdown option label for the default font family.",
|
|
9
|
+
"Font Color": "Label of a button that allows selecting a font color.",
|
|
10
|
+
"Font Background Color": "Label of a button that allows selecting a font background color.",
|
|
11
|
+
"Document colors": "Title of a color picker section containing the colors currently used in the document."
|
|
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 "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "حجم الخط"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr "ضئيل"
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr "صغير"
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr "كبير"
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr "ضخم"
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "نوع الخط"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "افتراضي"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "لون الخط"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "لون خلفية الخط"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr "ألوان المستند"
|
|
@@ -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: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n"
|
|
16
|
+
"Language: az\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "Şrift ölçüsü"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr "Miniatür"
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr "Kiçik"
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr "Böyük"
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr "Nəhəng"
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "Şrift ailəsi"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "Default"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "Şrift Rəngi"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "Şrift Fonunun Rəngi"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr "Rənglər"
|
|
@@ -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: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
|
|
16
|
+
"Language: bg\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "Размер на шрифта"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr "Много малък"
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr "Малък"
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr "Едър"
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr "Много едър"
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "Семейство шрифтове"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "По подразбиране"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "Цвят на шрифта"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "Цвят на шрифтовия фон"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr "Цвят на документа"
|
|
@@ -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: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
|
|
16
|
+
"Language: bn\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "অক্ষরের আকার"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr "ক্ষুদ্র"
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr "ছোট"
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr "বড়"
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr "অনেক বড়"
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "ফন্ট পরিবার"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "ডিফল্ট"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "ফন্টের রং"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "ফন্ট ব্যাকগ্রাউন্ডের রং"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr "নথির রং"
|
|
@@ -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: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n"
|
|
16
|
+
"Language: bs\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "Veličina fonta"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr ""
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr ""
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "Font"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "Zadani"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "Boja"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "Boja pozadine"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr ""
|
|
@@ -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: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
|
|
16
|
+
"Language: ca\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "Mida de la font"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr "Molt petita"
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr "Peita"
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr "Gran"
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr "Molt gran"
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "Font"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "Predeterminada"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "Color del tipus de lletra"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "Color de fons del tipus de lletra"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr "Colors del document"
|
|
@@ -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: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
|
|
16
|
+
"Language: cs\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the font size dropdown."
|
|
21
|
+
msgid "Font Size"
|
|
22
|
+
msgstr "Velikost písma"
|
|
23
|
+
|
|
24
|
+
msgctxt "Dropdown option label for the 'tiny' font size preset."
|
|
25
|
+
msgid "Tiny"
|
|
26
|
+
msgstr "Drobné"
|
|
27
|
+
|
|
28
|
+
msgctxt "Dropdown option label for the 'small' font size preset."
|
|
29
|
+
msgid "Small"
|
|
30
|
+
msgstr "Malé"
|
|
31
|
+
|
|
32
|
+
msgctxt "Dropdown option label for the 'big' font size preset."
|
|
33
|
+
msgid "Big"
|
|
34
|
+
msgstr "Velké"
|
|
35
|
+
|
|
36
|
+
msgctxt "Dropdown option label for the 'huge' font size preset."
|
|
37
|
+
msgid "Huge"
|
|
38
|
+
msgstr "Obrovské"
|
|
39
|
+
|
|
40
|
+
msgctxt "Tooltip for the font family dropdown."
|
|
41
|
+
msgid "Font Family"
|
|
42
|
+
msgstr "Typ písma"
|
|
43
|
+
|
|
44
|
+
msgctxt "Dropdown option label for the default font family."
|
|
45
|
+
msgid "Default"
|
|
46
|
+
msgstr "Výchozí"
|
|
47
|
+
|
|
48
|
+
msgctxt "Label of a button that allows selecting a font color."
|
|
49
|
+
msgid "Font Color"
|
|
50
|
+
msgstr "Barva písma"
|
|
51
|
+
|
|
52
|
+
msgctxt "Label of a button that allows selecting a font background color."
|
|
53
|
+
msgid "Font Background Color"
|
|
54
|
+
msgstr "Barva pozadí písma"
|
|
55
|
+
|
|
56
|
+
msgctxt "Title of a color picker section containing the colors currently used in the document."
|
|
57
|
+
msgid "Document colors"
|
|
58
|
+
msgstr "Barvy dokumentu"
|