@ckeditor/ckeditor5-language 38.2.0-alpha.1 → 39.0.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/README.md +0 -1
- package/build/translations/ug.js +1 -0
- package/lang/translations/ug.po +29 -0
- package/package.json +2 -3
- package/src/augmentation.d.ts +1 -1
- package/src/index.d.ts +6 -6
- package/src/index.js +4 -4
- package/src/textpartlanguage.d.ts +3 -3
- package/src/textpartlanguage.js +3 -3
- package/src/textpartlanguagecommand.d.ts +2 -2
- package/src/textpartlanguagecommand.js +2 -2
- package/src/textpartlanguageconfig.d.ts +1 -1
- package/src/textpartlanguageediting.d.ts +1 -1
- package/src/textpartlanguageediting.js +3 -3
- package/src/textpartlanguageui.d.ts +1 -1
- package/src/textpartlanguageui.js +4 -4
- package/src/utils.d.ts +1 -1
- package/src/utils.js +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ CKEditor 5 text part language feature
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-language)
|
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
|
6
6
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
|
7
|
-

|
|
8
7
|
|
|
9
8
|
This package implements text part language support for CKEditor 5 that allows you to define the language for each passage of content written in multiple languages. It helps satisfy the [WCAG Success Criterion 3.1.2 Language of Parts](https://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html).
|
|
10
9
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(n){const a=n.ug=n.ug||{};a.dictionary=Object.assign(a.dictionary||{},{"Choose language":"تىل تاللاش",Language:"تىل","Remove language":"تىلنى چىقىرىۋەت"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, 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: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
|
|
16
|
+
"Language: ug\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the text part language feature."
|
|
20
|
+
msgid "Language"
|
|
21
|
+
msgstr "تىل"
|
|
22
|
+
|
|
23
|
+
msgctxt "Default label for the text part language dropdown."
|
|
24
|
+
msgid "Choose language"
|
|
25
|
+
msgstr "تىل تاللاش"
|
|
26
|
+
|
|
27
|
+
msgctxt "The label of the remove language option for the text part language dropdown."
|
|
28
|
+
msgid "Remove language"
|
|
29
|
+
msgstr "تىلنى چىقىرىۋەت"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-language",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "39.0.0",
|
|
4
4
|
"description": "Text part language feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
"ckeditor5-dll"
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
|
-
"type": "module",
|
|
15
14
|
"dependencies": {
|
|
16
|
-
"ckeditor5": "
|
|
15
|
+
"ckeditor5": "39.0.0"
|
|
17
16
|
},
|
|
18
17
|
"engines": {
|
|
19
18
|
"node": ">=16.0.0",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { TextPartLanguageOption, TextPartLanguage, TextPartLanguageEditing, TextPartLanguageUI, TextPartLanguageCommand } from './index
|
|
5
|
+
import type { TextPartLanguageOption, TextPartLanguage, TextPartLanguageEditing, TextPartLanguageUI, TextPartLanguageCommand } from './index';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface LanguageConfig {
|
|
8
8
|
/**
|
package/src/index.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module language
|
|
7
7
|
*/
|
|
8
|
-
export { default as TextPartLanguage } from './textpartlanguage
|
|
9
|
-
export { default as TextPartLanguageEditing } from './textpartlanguageediting
|
|
10
|
-
export { default as TextPartLanguageUI } from './textpartlanguageui
|
|
11
|
-
export type { TextPartLanguageOption } from './textpartlanguageconfig
|
|
12
|
-
export type { default as TextPartLanguageCommand } from './textpartlanguagecommand
|
|
13
|
-
import './augmentation
|
|
8
|
+
export { default as TextPartLanguage } from './textpartlanguage';
|
|
9
|
+
export { default as TextPartLanguageEditing } from './textpartlanguageediting';
|
|
10
|
+
export { default as TextPartLanguageUI } from './textpartlanguageui';
|
|
11
|
+
export type { TextPartLanguageOption } from './textpartlanguageconfig';
|
|
12
|
+
export type { default as TextPartLanguageCommand } from './textpartlanguagecommand';
|
|
13
|
+
import './augmentation';
|
package/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module language
|
|
7
7
|
*/
|
|
8
|
-
export { default as TextPartLanguage } from './textpartlanguage
|
|
9
|
-
export { default as TextPartLanguageEditing } from './textpartlanguageediting
|
|
10
|
-
export { default as TextPartLanguageUI } from './textpartlanguageui
|
|
11
|
-
import './augmentation
|
|
8
|
+
export { default as TextPartLanguage } from './textpartlanguage';
|
|
9
|
+
export { default as TextPartLanguageEditing } from './textpartlanguageediting';
|
|
10
|
+
export { default as TextPartLanguageUI } from './textpartlanguageui';
|
|
11
|
+
import './augmentation';
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module language/textpartlanguage
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TextPartLanguageEditing from './textpartlanguageediting
|
|
10
|
-
import TextPartLanguageUI from './textpartlanguageui
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TextPartLanguageEditing from './textpartlanguageediting';
|
|
10
|
+
import TextPartLanguageUI from './textpartlanguageui';
|
|
11
11
|
/**
|
|
12
12
|
* The text part language feature.
|
|
13
13
|
*
|
package/src/textpartlanguage.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module language/textpartlanguage
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TextPartLanguageEditing from './textpartlanguageediting
|
|
10
|
-
import TextPartLanguageUI from './textpartlanguageui
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TextPartLanguageEditing from './textpartlanguageediting';
|
|
10
|
+
import TextPartLanguageUI from './textpartlanguageui';
|
|
11
11
|
/**
|
|
12
12
|
* The text part language feature.
|
|
13
13
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module language/textpartlanguagecommand
|
|
7
7
|
*/
|
|
8
|
-
import type { LanguageDirection } from 'ckeditor5/src/utils
|
|
9
|
-
import { Command } from 'ckeditor5/src/core
|
|
8
|
+
import type { LanguageDirection } from 'ckeditor5/src/utils';
|
|
9
|
+
import { Command } from 'ckeditor5/src/core';
|
|
10
10
|
/**
|
|
11
11
|
* The text part language command plugin.
|
|
12
12
|
*/
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Command } from 'ckeditor5/src/core
|
|
6
|
-
import { stringifyLanguageAttribute } from './utils
|
|
5
|
+
import { Command } from 'ckeditor5/src/core';
|
|
6
|
+
import { stringifyLanguageAttribute } from './utils';
|
|
7
7
|
/**
|
|
8
8
|
* The text part language command plugin.
|
|
9
9
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core
|
|
5
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
6
6
|
/**
|
|
7
7
|
* The text part language editing.
|
|
8
8
|
*
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
6
|
-
import TextPartLanguageCommand from './textpartlanguagecommand
|
|
7
|
-
import { stringifyLanguageAttribute, parseLanguageAttribute } from './utils
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
+
import TextPartLanguageCommand from './textpartlanguagecommand';
|
|
7
|
+
import { stringifyLanguageAttribute, parseLanguageAttribute } from './utils';
|
|
8
8
|
/**
|
|
9
9
|
* The text part language editing.
|
|
10
10
|
*
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module language/textpartlanguageui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import { Model, createDropdown, addListToDropdown } from 'ckeditor5/src/ui
|
|
10
|
-
import { Collection } from 'ckeditor5/src/utils
|
|
11
|
-
import { stringifyLanguageAttribute } from './utils
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { Model, createDropdown, addListToDropdown } from 'ckeditor5/src/ui';
|
|
10
|
+
import { Collection } from 'ckeditor5/src/utils';
|
|
11
|
+
import { stringifyLanguageAttribute } from './utils';
|
|
12
12
|
/**
|
|
13
13
|
* The text part language UI plugin.
|
|
14
14
|
*
|
package/src/utils.d.ts
CHANGED
package/src/utils.js
CHANGED