@ckeditor/ckeditor5-bookmark 0.0.1 → 44.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +4 -5
- package/README.md +31 -3
- package/build/bookmark.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.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/eo.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/eu.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/gu.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/hy.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/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.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/oc.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/si.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/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.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 +24 -0
- package/dist/augmentation.d.ts +28 -0
- package/dist/bookmark.d.ts +34 -0
- package/dist/bookmarkconfig.d.ts +52 -0
- package/dist/bookmarkediting.d.ts +55 -0
- package/dist/bookmarkui.d.ts +170 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +150 -0
- package/dist/index.css +195 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1320 -0
- package/dist/index.js.map +1 -0
- package/dist/insertbookmarkcommand.d.ts +42 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +5 -0
- package/dist/translations/af.umd.js +11 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +5 -0
- package/dist/translations/ar.umd.js +11 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +5 -0
- package/dist/translations/ast.umd.js +11 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +5 -0
- package/dist/translations/az.umd.js +11 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +5 -0
- package/dist/translations/bg.umd.js +11 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +5 -0
- package/dist/translations/bn.umd.js +11 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +5 -0
- package/dist/translations/bs.umd.js +11 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +5 -0
- package/dist/translations/ca.umd.js +11 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +5 -0
- package/dist/translations/cs.umd.js +11 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +5 -0
- package/dist/translations/da.umd.js +11 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +5 -0
- package/dist/translations/de-ch.umd.js +11 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +5 -0
- package/dist/translations/de.umd.js +11 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +5 -0
- package/dist/translations/el.umd.js +11 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +5 -0
- package/dist/translations/en-au.umd.js +11 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en-gb.umd.js +11 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +5 -0
- package/dist/translations/en.umd.js +11 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +5 -0
- package/dist/translations/eo.umd.js +11 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +5 -0
- package/dist/translations/es-co.umd.js +11 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +5 -0
- package/dist/translations/es.umd.js +11 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +5 -0
- package/dist/translations/et.umd.js +11 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +5 -0
- package/dist/translations/eu.umd.js +11 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +5 -0
- package/dist/translations/fa.umd.js +11 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +5 -0
- package/dist/translations/fi.umd.js +11 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +5 -0
- package/dist/translations/fr.umd.js +11 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +5 -0
- package/dist/translations/gl.umd.js +11 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +5 -0
- package/dist/translations/gu.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/hy.d.ts +8 -0
- package/dist/translations/hy.js +5 -0
- package/dist/translations/hy.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/kk.d.ts +8 -0
- package/dist/translations/kk.js +5 -0
- package/dist/translations/kk.umd.js +11 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +5 -0
- package/dist/translations/km.umd.js +11 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +5 -0
- package/dist/translations/kn.umd.js +11 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +5 -0
- package/dist/translations/ko.umd.js +11 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +5 -0
- package/dist/translations/ku.umd.js +11 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +5 -0
- package/dist/translations/lt.umd.js +11 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +5 -0
- package/dist/translations/lv.umd.js +11 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +5 -0
- package/dist/translations/ms.umd.js +11 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +5 -0
- package/dist/translations/nb.umd.js +11 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/ne.umd.js +11 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +5 -0
- package/dist/translations/nl.umd.js +11 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +5 -0
- package/dist/translations/no.umd.js +11 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +5 -0
- package/dist/translations/oc.umd.js +11 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +5 -0
- package/dist/translations/pl.umd.js +11 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +5 -0
- package/dist/translations/pt-br.umd.js +11 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +5 -0
- package/dist/translations/pt.umd.js +11 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +5 -0
- package/dist/translations/ro.umd.js +11 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +5 -0
- package/dist/translations/ru.umd.js +11 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +5 -0
- package/dist/translations/si.umd.js +11 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +5 -0
- package/dist/translations/sk.umd.js +11 -0
- package/dist/translations/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/ti.d.ts +8 -0
- package/dist/translations/ti.js +5 -0
- package/dist/translations/ti.umd.js +11 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +5 -0
- package/dist/translations/tk.umd.js +11 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +5 -0
- package/dist/translations/tr.umd.js +11 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +5 -0
- package/dist/translations/tt.umd.js +11 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +5 -0
- package/dist/translations/ug.umd.js +11 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +5 -0
- package/dist/translations/uk.umd.js +11 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +5 -0
- package/dist/translations/ur.umd.js +11 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +5 -0
- package/dist/translations/uz.umd.js +11 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +5 -0
- package/dist/translations/vi.umd.js +11 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +5 -0
- package/dist/translations/zh-cn.umd.js +11 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +5 -0
- package/dist/translations/zh.umd.js +11 -0
- package/dist/ui/bookmarkactionsview.d.ts +106 -0
- package/dist/ui/bookmarkformview.d.ts +122 -0
- package/dist/updatebookmarkcommand.d.ts +46 -0
- package/dist/utils.d.ts +15 -0
- package/lang/contexts.json +13 -0
- package/lang/translations/af.po +56 -0
- package/lang/translations/ar.po +56 -0
- package/lang/translations/ast.po +56 -0
- package/lang/translations/az.po +56 -0
- package/lang/translations/bg.po +56 -0
- package/lang/translations/bn.po +56 -0
- package/lang/translations/bs.po +56 -0
- package/lang/translations/ca.po +56 -0
- package/lang/translations/cs.po +56 -0
- package/lang/translations/da.po +56 -0
- package/lang/translations/de-ch.po +56 -0
- package/lang/translations/de.po +56 -0
- package/lang/translations/el.po +56 -0
- package/lang/translations/en-au.po +56 -0
- package/lang/translations/en-gb.po +56 -0
- package/lang/translations/en.po +56 -0
- package/lang/translations/eo.po +56 -0
- package/lang/translations/es-co.po +56 -0
- package/lang/translations/es.po +56 -0
- package/lang/translations/et.po +56 -0
- package/lang/translations/eu.po +56 -0
- package/lang/translations/fa.po +56 -0
- package/lang/translations/fi.po +56 -0
- package/lang/translations/fr.po +56 -0
- package/lang/translations/gl.po +56 -0
- package/lang/translations/gu.po +56 -0
- package/lang/translations/he.po +56 -0
- package/lang/translations/hi.po +56 -0
- package/lang/translations/hr.po +56 -0
- package/lang/translations/hu.po +56 -0
- package/lang/translations/hy.po +56 -0
- package/lang/translations/id.po +56 -0
- package/lang/translations/it.po +56 -0
- package/lang/translations/ja.po +56 -0
- package/lang/translations/jv.po +56 -0
- package/lang/translations/kk.po +56 -0
- package/lang/translations/km.po +56 -0
- package/lang/translations/kn.po +56 -0
- package/lang/translations/ko.po +56 -0
- package/lang/translations/ku.po +56 -0
- package/lang/translations/lt.po +56 -0
- package/lang/translations/lv.po +56 -0
- package/lang/translations/ms.po +56 -0
- package/lang/translations/nb.po +56 -0
- package/lang/translations/ne.po +56 -0
- package/lang/translations/nl.po +56 -0
- package/lang/translations/no.po +56 -0
- package/lang/translations/oc.po +56 -0
- package/lang/translations/pl.po +56 -0
- package/lang/translations/pt-br.po +56 -0
- package/lang/translations/pt.po +56 -0
- package/lang/translations/ro.po +56 -0
- package/lang/translations/ru.po +56 -0
- package/lang/translations/si.po +56 -0
- package/lang/translations/sk.po +56 -0
- package/lang/translations/sl.po +56 -0
- package/lang/translations/sq.po +56 -0
- package/lang/translations/sr-latn.po +56 -0
- package/lang/translations/sr.po +56 -0
- package/lang/translations/sv.po +56 -0
- package/lang/translations/th.po +56 -0
- package/lang/translations/ti.po +56 -0
- package/lang/translations/tk.po +56 -0
- package/lang/translations/tr.po +56 -0
- package/lang/translations/tt.po +56 -0
- package/lang/translations/ug.po +56 -0
- package/lang/translations/uk.po +56 -0
- package/lang/translations/ur.po +56 -0
- package/lang/translations/uz.po +56 -0
- package/lang/translations/vi.po +56 -0
- package/lang/translations/zh-cn.po +56 -0
- package/lang/translations/zh.po +56 -0
- package/package.json +32 -3
- package/src/augmentation.d.ts +24 -0
- package/src/augmentation.js +5 -0
- package/src/bookmark.d.ts +30 -0
- package/src/bookmark.js +36 -0
- package/src/bookmarkconfig.d.ts +48 -0
- package/src/bookmarkconfig.js +5 -0
- package/src/bookmarkediting.d.ts +51 -0
- package/src/bookmarkediting.js +211 -0
- package/src/bookmarkui.d.ts +166 -0
- package/src/bookmarkui.js +582 -0
- package/src/index.d.ts +14 -0
- package/src/index.js +13 -0
- package/src/insertbookmarkcommand.d.ts +38 -0
- package/src/insertbookmarkcommand.js +113 -0
- package/src/ui/bookmarkactionsview.d.ts +102 -0
- package/src/ui/bookmarkactionsview.js +154 -0
- package/src/ui/bookmarkformview.d.ts +118 -0
- package/src/ui/bookmarkformview.js +203 -0
- package/src/updatebookmarkcommand.d.ts +42 -0
- package/src/updatebookmarkcommand.js +75 -0
- package/src/utils.d.ts +11 -0
- package/src/utils.js +19 -0
- package/theme/bookmark.css +50 -0
- package/theme/bookmarkactions.css +44 -0
- package/theme/bookmarkform.css +42 -0
@@ -0,0 +1,106 @@
|
|
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 bookmark/ui/bookmarkactionsview
|
11
|
+
*/
|
12
|
+
import { LabelView, ButtonView, View } from 'ckeditor5/src/ui.js';
|
13
|
+
import { FocusTracker, KeystrokeHandler, type LocaleTranslate, type Locale } from 'ckeditor5/src/utils.js';
|
14
|
+
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
15
|
+
import '../../theme/bookmarkactions.css';
|
16
|
+
/**
|
17
|
+
* The bookmark actions view class. This view displays the bookmark preview, allows
|
18
|
+
* removing or editing the bookmark.
|
19
|
+
*/
|
20
|
+
export default class BookmarkActionsView extends View {
|
21
|
+
/**
|
22
|
+
* Tracks information about DOM focus in the actions.
|
23
|
+
*/
|
24
|
+
readonly focusTracker: FocusTracker;
|
25
|
+
/**
|
26
|
+
* An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
|
27
|
+
*/
|
28
|
+
readonly keystrokes: KeystrokeHandler;
|
29
|
+
/**
|
30
|
+
* The bookmark preview view.
|
31
|
+
*/
|
32
|
+
bookmarkPreviewView: LabelView;
|
33
|
+
/**
|
34
|
+
* The remove button view.
|
35
|
+
*/
|
36
|
+
removeButtonView: ButtonView;
|
37
|
+
/**
|
38
|
+
* The edit bookmark button view.
|
39
|
+
*/
|
40
|
+
editButtonView: ButtonView;
|
41
|
+
/**
|
42
|
+
* The id preview view.
|
43
|
+
*
|
44
|
+
* @observable
|
45
|
+
*/
|
46
|
+
id: string | undefined;
|
47
|
+
/**
|
48
|
+
* A collection of views that can be focused in the view.
|
49
|
+
*/
|
50
|
+
private readonly _focusables;
|
51
|
+
/**
|
52
|
+
* Helps cycling over {@link #_focusables} in the view.
|
53
|
+
*/
|
54
|
+
private readonly _focusCycler;
|
55
|
+
t: LocaleTranslate;
|
56
|
+
/**
|
57
|
+
* @inheritDoc
|
58
|
+
*/
|
59
|
+
constructor(locale: Locale);
|
60
|
+
/**
|
61
|
+
* @inheritDoc
|
62
|
+
*/
|
63
|
+
render(): void;
|
64
|
+
/**
|
65
|
+
* @inheritDoc
|
66
|
+
*/
|
67
|
+
destroy(): void;
|
68
|
+
/**
|
69
|
+
* Focuses the fist {@link #_focusables} in the actions.
|
70
|
+
*/
|
71
|
+
focus(): void;
|
72
|
+
/**
|
73
|
+
* Creates a button view.
|
74
|
+
*
|
75
|
+
* @param label The button label.
|
76
|
+
* @param icon The button icon.
|
77
|
+
* @param eventName An event name that the `ButtonView#execute` event will be delegated to.
|
78
|
+
* @param additionalLabel An additional label outside the button.
|
79
|
+
* @returns The button view instance.
|
80
|
+
*/
|
81
|
+
private _createButton;
|
82
|
+
/**
|
83
|
+
* Creates a bookmark name preview label.
|
84
|
+
*
|
85
|
+
* @returns The label view instance.
|
86
|
+
*/
|
87
|
+
private _createBookmarkPreviewView;
|
88
|
+
}
|
89
|
+
/**
|
90
|
+
* Fired when the {@link ~BookmarkActionsView#editButtonView} is clicked.
|
91
|
+
*
|
92
|
+
* @eventName ~BookmarkActionsView#edit
|
93
|
+
*/
|
94
|
+
export type EditEvent = {
|
95
|
+
name: 'edit';
|
96
|
+
args: [];
|
97
|
+
};
|
98
|
+
/**
|
99
|
+
* Fired when the {@link ~BookmarkActionsView#removeButtonView} is clicked.
|
100
|
+
*
|
101
|
+
* @eventName ~BookmarkActionsView#remove
|
102
|
+
*/
|
103
|
+
export type RemoveEvent = {
|
104
|
+
name: 'remove';
|
105
|
+
args: [];
|
106
|
+
};
|
@@ -0,0 +1,122 @@
|
|
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 bookmark/ui/bookmarkformview
|
11
|
+
*/
|
12
|
+
import { ButtonView, LabeledFieldView, View, ViewCollection, type InputTextView } 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/bookmarkform.css';
|
16
|
+
/**
|
17
|
+
* The bookmark form view controller class.
|
18
|
+
*
|
19
|
+
* See {@link module:bookmark/ui/bookmarkformview~BookmarkFormView}.
|
20
|
+
*/
|
21
|
+
export default class BookmarkFormView extends View {
|
22
|
+
/**
|
23
|
+
* Tracks information about 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 ID input view.
|
32
|
+
*/
|
33
|
+
idInputView: LabeledFieldView<InputTextView>;
|
34
|
+
/**
|
35
|
+
* The Submit button view.
|
36
|
+
*/
|
37
|
+
buttonView: ButtonView;
|
38
|
+
/**
|
39
|
+
* A collection of form child views in the form.
|
40
|
+
*/
|
41
|
+
readonly children: ViewCollection;
|
42
|
+
/**
|
43
|
+
* An array of form validators used by {@link #isValid}.
|
44
|
+
*/
|
45
|
+
private readonly _validators;
|
46
|
+
/**
|
47
|
+
* A collection of views that can be focused in the form.
|
48
|
+
*/
|
49
|
+
private readonly _focusables;
|
50
|
+
/**
|
51
|
+
* Helps cycling over {@link #_focusables} in the form.
|
52
|
+
*/
|
53
|
+
private readonly _focusCycler;
|
54
|
+
/**
|
55
|
+
* Creates an instance of the {@link module:bookmark/ui/bookmarkformview~BookmarkFormView} class.
|
56
|
+
*
|
57
|
+
* Also see {@link #render}.
|
58
|
+
*
|
59
|
+
* @param locale The localization services instance.
|
60
|
+
* @param validators Form validators used by {@link #isValid}.
|
61
|
+
*/
|
62
|
+
constructor(locale: Locale, validators: Array<BookmarkFormValidatorCallback>);
|
63
|
+
/**
|
64
|
+
* @inheritDoc
|
65
|
+
*/
|
66
|
+
render(): void;
|
67
|
+
/**
|
68
|
+
* @inheritDoc
|
69
|
+
*/
|
70
|
+
destroy(): void;
|
71
|
+
/**
|
72
|
+
* Focuses the fist {@link #_focusables} in the form.
|
73
|
+
*/
|
74
|
+
focus(): void;
|
75
|
+
/**
|
76
|
+
* Validates the form and returns `false` when some fields are invalid.
|
77
|
+
*/
|
78
|
+
isValid(): boolean;
|
79
|
+
/**
|
80
|
+
* Cleans up the supplementary error and information text of the {@link #idInputView}
|
81
|
+
* bringing them back to the state when the form has been displayed for the first time.
|
82
|
+
*
|
83
|
+
* See {@link #isValid}.
|
84
|
+
*/
|
85
|
+
resetFormStatus(): void;
|
86
|
+
/**
|
87
|
+
* Creates header and form view.
|
88
|
+
*/
|
89
|
+
private _createViewChildren;
|
90
|
+
/**
|
91
|
+
* Creates form content view with input and button.
|
92
|
+
*/
|
93
|
+
private _createFormContentView;
|
94
|
+
/**
|
95
|
+
* Creates a labeled input view.
|
96
|
+
*
|
97
|
+
* @returns Labeled field view instance.
|
98
|
+
*/
|
99
|
+
private _createIdInput;
|
100
|
+
/**
|
101
|
+
* Creates a button view.
|
102
|
+
*
|
103
|
+
* @param label The button label.
|
104
|
+
* @param className The additional button CSS class name.
|
105
|
+
* @returns The button view instance.
|
106
|
+
*/
|
107
|
+
private _createButton;
|
108
|
+
/**
|
109
|
+
* The native DOM `value` of the {@link #idInputView} element.
|
110
|
+
*
|
111
|
+
* **Note**: Do not confuse it with the {@link module:ui/inputtext/inputtextview~InputTextView#value}
|
112
|
+
* which works one way only and may not represent the actual state of the component in the DOM.
|
113
|
+
*/
|
114
|
+
get id(): string | null;
|
115
|
+
}
|
116
|
+
/**
|
117
|
+
* Callback used by {@link ~BookmarkFormView} to check if passed form value is valid.
|
118
|
+
*
|
119
|
+
* If `undefined` is returned, it is assumed that the form value is correct and there is no error.
|
120
|
+
* If string is returned, it is assumed that the form value is incorrect and the returned string is displayed in the error label
|
121
|
+
*/
|
122
|
+
export type BookmarkFormValidatorCallback = (form: BookmarkFormView) => string | undefined;
|
@@ -0,0 +1,46 @@
|
|
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 bookmark/updatebookmarkcommand
|
11
|
+
*/
|
12
|
+
import { Command } from 'ckeditor5/src/core.js';
|
13
|
+
/**
|
14
|
+
* The update bookmark command.
|
15
|
+
*
|
16
|
+
* The command is registered by {@link module:bookmark/bookmarkediting~BookmarkEditing} as `'updateBookmark'`.
|
17
|
+
*
|
18
|
+
* To update the `bookmarkId` of current selected bookmark element, execute the command passing the bookmark id as a parameter:
|
19
|
+
*
|
20
|
+
* ```ts
|
21
|
+
* editor.execute( 'updateBookmark', { bookmarkId: 'newId' } );
|
22
|
+
* ```
|
23
|
+
*/
|
24
|
+
export default class UpdateBookmarkCommand extends Command {
|
25
|
+
/**
|
26
|
+
* The value of the `'bookmarkId'` attribute.
|
27
|
+
*
|
28
|
+
* @observable
|
29
|
+
* @readonly
|
30
|
+
*/
|
31
|
+
value: string | undefined;
|
32
|
+
/**
|
33
|
+
* @inheritDoc
|
34
|
+
*/
|
35
|
+
refresh(): void;
|
36
|
+
/**
|
37
|
+
* Executes the command.
|
38
|
+
*
|
39
|
+
* @fires execute
|
40
|
+
* @param options Command options.
|
41
|
+
* @param options.bookmarkId The new value of the `bookmarkId` attribute to set.
|
42
|
+
*/
|
43
|
+
execute(options: {
|
44
|
+
bookmarkId: string;
|
45
|
+
}): void;
|
46
|
+
}
|
package/dist/utils.d.ts
ADDED
@@ -0,0 +1,15 @@
|
|
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 bookmark/utils
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* Returns `true` if the bookmark id is valid; otherwise, returns `false`.
|
14
|
+
*/
|
15
|
+
export declare function isBookmarkIdValid(id: string): boolean;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"Bookmark": "The label of the bookmark toolbar button. Also, a bookmark form header.",
|
3
|
+
"Insert": "The button in the bookmark insert form.",
|
4
|
+
"Update": "The button in the bookmark update form.",
|
5
|
+
"Edit bookmark": "Button opening the Bookmark editing balloon.",
|
6
|
+
"Remove bookmark": "Toolbar button tooltip for bookmark remove button.",
|
7
|
+
"Bookmark name": "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview.",
|
8
|
+
"Enter the bookmark name without spaces.": "The description of bookmark input in the bookmark insert form.",
|
9
|
+
"Bookmark must not be empty.": "The error message. Displayed when the bookmark name is empty.",
|
10
|
+
"Bookmark name cannot contain space characters.": "The error message. Displayed when provided name includes spaces.",
|
11
|
+
"Bookmark name already exists.": "The error message. Displayed when provided name already exists.",
|
12
|
+
"bookmark widget": "The label for the bookmark widget."
|
13
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
4
|
+
#
|
5
|
+
# Check out the official contributor's guide:
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
7
|
+
#
|
8
|
+
msgid ""
|
9
|
+
msgstr ""
|
10
|
+
"Language: af\n"
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13
|
+
|
14
|
+
msgctxt "The label of the bookmark toolbar button. Also, a bookmark form header."
|
15
|
+
msgid "Bookmark"
|
16
|
+
msgstr ""
|
17
|
+
|
18
|
+
msgctxt "The button in the bookmark insert form."
|
19
|
+
msgid "Insert"
|
20
|
+
msgstr ""
|
21
|
+
|
22
|
+
msgctxt "The button in the bookmark update form."
|
23
|
+
msgid "Update"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgctxt "Button opening the Bookmark editing balloon."
|
27
|
+
msgid "Edit bookmark"
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
msgctxt "Toolbar button tooltip for bookmark remove button."
|
31
|
+
msgid "Remove bookmark"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
msgctxt "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview."
|
35
|
+
msgid "Bookmark name"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgctxt "The description of bookmark input in the bookmark insert form."
|
39
|
+
msgid "Enter the bookmark name without spaces."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
msgctxt "The error message. Displayed when the bookmark name is empty."
|
43
|
+
msgid "Bookmark must not be empty."
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
msgctxt "The error message. Displayed when provided name includes spaces."
|
47
|
+
msgid "Bookmark name cannot contain space characters."
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgctxt "The error message. Displayed when provided name already exists."
|
51
|
+
msgid "Bookmark name already exists."
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
msgctxt "The label for the bookmark widget."
|
55
|
+
msgid "bookmark widget"
|
56
|
+
msgstr ""
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
4
|
+
#
|
5
|
+
# Check out the official contributor's guide:
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
7
|
+
#
|
8
|
+
msgid ""
|
9
|
+
msgstr ""
|
10
|
+
"Language: ar\n"
|
11
|
+
"Plural-Forms: nplurals=6; plural=(n == 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5);\n"
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13
|
+
|
14
|
+
msgctxt "The label of the bookmark toolbar button. Also, a bookmark form header."
|
15
|
+
msgid "Bookmark"
|
16
|
+
msgstr ""
|
17
|
+
|
18
|
+
msgctxt "The button in the bookmark insert form."
|
19
|
+
msgid "Insert"
|
20
|
+
msgstr ""
|
21
|
+
|
22
|
+
msgctxt "The button in the bookmark update form."
|
23
|
+
msgid "Update"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgctxt "Button opening the Bookmark editing balloon."
|
27
|
+
msgid "Edit bookmark"
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
msgctxt "Toolbar button tooltip for bookmark remove button."
|
31
|
+
msgid "Remove bookmark"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
msgctxt "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview."
|
35
|
+
msgid "Bookmark name"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgctxt "The description of bookmark input in the bookmark insert form."
|
39
|
+
msgid "Enter the bookmark name without spaces."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
msgctxt "The error message. Displayed when the bookmark name is empty."
|
43
|
+
msgid "Bookmark must not be empty."
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
msgctxt "The error message. Displayed when provided name includes spaces."
|
47
|
+
msgid "Bookmark name cannot contain space characters."
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgctxt "The error message. Displayed when provided name already exists."
|
51
|
+
msgid "Bookmark name already exists."
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
msgctxt "The label for the bookmark widget."
|
55
|
+
msgid "bookmark widget"
|
56
|
+
msgstr ""
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
4
|
+
#
|
5
|
+
# Check out the official contributor's guide:
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
7
|
+
#
|
8
|
+
msgid ""
|
9
|
+
msgstr ""
|
10
|
+
"Language: ast\n"
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13
|
+
|
14
|
+
msgctxt "The label of the bookmark toolbar button. Also, a bookmark form header."
|
15
|
+
msgid "Bookmark"
|
16
|
+
msgstr ""
|
17
|
+
|
18
|
+
msgctxt "The button in the bookmark insert form."
|
19
|
+
msgid "Insert"
|
20
|
+
msgstr ""
|
21
|
+
|
22
|
+
msgctxt "The button in the bookmark update form."
|
23
|
+
msgid "Update"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgctxt "Button opening the Bookmark editing balloon."
|
27
|
+
msgid "Edit bookmark"
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
msgctxt "Toolbar button tooltip for bookmark remove button."
|
31
|
+
msgid "Remove bookmark"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
msgctxt "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview."
|
35
|
+
msgid "Bookmark name"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgctxt "The description of bookmark input in the bookmark insert form."
|
39
|
+
msgid "Enter the bookmark name without spaces."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
msgctxt "The error message. Displayed when the bookmark name is empty."
|
43
|
+
msgid "Bookmark must not be empty."
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
msgctxt "The error message. Displayed when provided name includes spaces."
|
47
|
+
msgid "Bookmark name cannot contain space characters."
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgctxt "The error message. Displayed when provided name already exists."
|
51
|
+
msgid "Bookmark name already exists."
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
msgctxt "The label for the bookmark widget."
|
55
|
+
msgid "bookmark widget"
|
56
|
+
msgstr ""
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
4
|
+
#
|
5
|
+
# Check out the official contributor's guide:
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
7
|
+
#
|
8
|
+
msgid ""
|
9
|
+
msgstr ""
|
10
|
+
"Language: az\n"
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13
|
+
|
14
|
+
msgctxt "The label of the bookmark toolbar button. Also, a bookmark form header."
|
15
|
+
msgid "Bookmark"
|
16
|
+
msgstr ""
|
17
|
+
|
18
|
+
msgctxt "The button in the bookmark insert form."
|
19
|
+
msgid "Insert"
|
20
|
+
msgstr ""
|
21
|
+
|
22
|
+
msgctxt "The button in the bookmark update form."
|
23
|
+
msgid "Update"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgctxt "Button opening the Bookmark editing balloon."
|
27
|
+
msgid "Edit bookmark"
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
msgctxt "Toolbar button tooltip for bookmark remove button."
|
31
|
+
msgid "Remove bookmark"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
msgctxt "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview."
|
35
|
+
msgid "Bookmark name"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgctxt "The description of bookmark input in the bookmark insert form."
|
39
|
+
msgid "Enter the bookmark name without spaces."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
msgctxt "The error message. Displayed when the bookmark name is empty."
|
43
|
+
msgid "Bookmark must not be empty."
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
msgctxt "The error message. Displayed when provided name includes spaces."
|
47
|
+
msgid "Bookmark name cannot contain space characters."
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgctxt "The error message. Displayed when provided name already exists."
|
51
|
+
msgid "Bookmark name already exists."
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
msgctxt "The label for the bookmark widget."
|
55
|
+
msgid "bookmark widget"
|
56
|
+
msgstr ""
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
4
|
+
#
|
5
|
+
# Check out the official contributor's guide:
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
7
|
+
#
|
8
|
+
msgid ""
|
9
|
+
msgstr ""
|
10
|
+
"Language: bg\n"
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13
|
+
|
14
|
+
msgctxt "The label of the bookmark toolbar button. Also, a bookmark form header."
|
15
|
+
msgid "Bookmark"
|
16
|
+
msgstr ""
|
17
|
+
|
18
|
+
msgctxt "The button in the bookmark insert form."
|
19
|
+
msgid "Insert"
|
20
|
+
msgstr ""
|
21
|
+
|
22
|
+
msgctxt "The button in the bookmark update form."
|
23
|
+
msgid "Update"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgctxt "Button opening the Bookmark editing balloon."
|
27
|
+
msgid "Edit bookmark"
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
msgctxt "Toolbar button tooltip for bookmark remove button."
|
31
|
+
msgid "Remove bookmark"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
msgctxt "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview."
|
35
|
+
msgid "Bookmark name"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgctxt "The description of bookmark input in the bookmark insert form."
|
39
|
+
msgid "Enter the bookmark name without spaces."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
msgctxt "The error message. Displayed when the bookmark name is empty."
|
43
|
+
msgid "Bookmark must not be empty."
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
msgctxt "The error message. Displayed when provided name includes spaces."
|
47
|
+
msgid "Bookmark name cannot contain space characters."
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgctxt "The error message. Displayed when provided name already exists."
|
51
|
+
msgid "Bookmark name already exists."
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
msgctxt "The label for the bookmark widget."
|
55
|
+
msgid "bookmark widget"
|
56
|
+
msgstr ""
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
4
|
+
#
|
5
|
+
# Check out the official contributor's guide:
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
7
|
+
#
|
8
|
+
msgid ""
|
9
|
+
msgstr ""
|
10
|
+
"Language: bn\n"
|
11
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13
|
+
|
14
|
+
msgctxt "The label of the bookmark toolbar button. Also, a bookmark form header."
|
15
|
+
msgid "Bookmark"
|
16
|
+
msgstr ""
|
17
|
+
|
18
|
+
msgctxt "The button in the bookmark insert form."
|
19
|
+
msgid "Insert"
|
20
|
+
msgstr ""
|
21
|
+
|
22
|
+
msgctxt "The button in the bookmark update form."
|
23
|
+
msgid "Update"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgctxt "Button opening the Bookmark editing balloon."
|
27
|
+
msgid "Edit bookmark"
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
msgctxt "Toolbar button tooltip for bookmark remove button."
|
31
|
+
msgid "Remove bookmark"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
msgctxt "The label of the input in the bookmark insert and update form. Also, the tooltip for the bookmark name in the bookmark preview."
|
35
|
+
msgid "Bookmark name"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgctxt "The description of bookmark input in the bookmark insert form."
|
39
|
+
msgid "Enter the bookmark name without spaces."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
msgctxt "The error message. Displayed when the bookmark name is empty."
|
43
|
+
msgid "Bookmark must not be empty."
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
msgctxt "The error message. Displayed when provided name includes spaces."
|
47
|
+
msgid "Bookmark name cannot contain space characters."
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgctxt "The error message. Displayed when provided name already exists."
|
51
|
+
msgid "Bookmark name already exists."
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
msgctxt "The label for the bookmark widget."
|
55
|
+
msgid "bookmark widget"
|
56
|
+
msgstr ""
|