@ckeditor/ckeditor5-track-changes 35.0.1 → 35.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -0
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -0
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -1
- package/lang/translations/ar.po +4 -0
- package/lang/translations/az.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/ko.po +27 -23
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sr-latn.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tk.po +4 -0
- package/lang/translations/tr.po +4 -0
- package/lang/translations/tt.po +383 -0
- package/lang/translations/uk.po +4 -0
- package/lang/translations/ur.po +401 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- package/package.json +4 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/importword.js +23 -0
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, 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: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
|
+
"Language: ur\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
|
+
msgid "*Change to:* %0"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
msgctxt "A suggestion for checking a to-do list item."
|
|
28
|
+
msgid "*Check item*"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
msgctxt "A suggestion for setting inline formatting."
|
|
32
|
+
msgid "*Format:* %0"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
msgctxt "A suggestion for indenting an item."
|
|
36
|
+
msgid "*Indent:* %0"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
msgctxt "A suggestion for inserting an item."
|
|
40
|
+
msgid "*Insert:* %0"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "A suggestion for merging cells."
|
|
44
|
+
msgid "*Merge cells*"
|
|
45
|
+
msgstr ""
|
|
46
|
+
|
|
47
|
+
msgctxt "A suggestion for merging items."
|
|
48
|
+
msgid "*Merge:* %0"
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
51
|
+
msgctxt "A suggestion for outdenting an item."
|
|
52
|
+
msgid "*Outdent:* %0"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
msgctxt "A suggestion for removing all formatting."
|
|
56
|
+
msgid "*Remove all formatting*"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
msgctxt "A suggestion for removing an inline format."
|
|
60
|
+
msgid "*Remove format:* %0"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgctxt "A suggestion for removing the highlight."
|
|
64
|
+
msgid "*Remove highlight*"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
msgctxt "A suggestion for removing image text alternative."
|
|
68
|
+
msgid "*Remove image text alternative*"
|
|
69
|
+
msgstr ""
|
|
70
|
+
|
|
71
|
+
msgctxt "A suggestion for removing the link."
|
|
72
|
+
msgid "*Remove link*"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
msgctxt "A suggestion for removing an item."
|
|
76
|
+
msgid "*Remove:* %0"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
msgctxt "A suggestion for replacing table cells (table pasting)."
|
|
80
|
+
msgid "*Replace table cells*"
|
|
81
|
+
msgstr ""
|
|
82
|
+
|
|
83
|
+
msgctxt "A suggestion for resetting the font background color."
|
|
84
|
+
msgid "*Reset font background color*"
|
|
85
|
+
msgstr ""
|
|
86
|
+
|
|
87
|
+
msgctxt "A suggestion for resetting the font color."
|
|
88
|
+
msgid "*Reset font color*"
|
|
89
|
+
msgstr ""
|
|
90
|
+
|
|
91
|
+
msgctxt "A suggestion for resetting the font family."
|
|
92
|
+
msgid "*Reset font family*"
|
|
93
|
+
msgstr ""
|
|
94
|
+
|
|
95
|
+
msgctxt "A suggestion for resetting the font size."
|
|
96
|
+
msgid "*Reset font size*"
|
|
97
|
+
msgstr ""
|
|
98
|
+
|
|
99
|
+
msgctxt "A suggestion for resetting image width."
|
|
100
|
+
msgid "*Reset image width*"
|
|
101
|
+
msgstr ""
|
|
102
|
+
|
|
103
|
+
msgctxt "A suggestion for setting the font background color to %0."
|
|
104
|
+
msgid "*Set font background color:* %0"
|
|
105
|
+
msgstr ""
|
|
106
|
+
|
|
107
|
+
msgctxt "A suggestion for setting the font color to %0."
|
|
108
|
+
msgid "*Set font color:* %0"
|
|
109
|
+
msgstr ""
|
|
110
|
+
|
|
111
|
+
msgctxt "A suggestion for setting the font family to %0."
|
|
112
|
+
msgid "*Set font family:* %0"
|
|
113
|
+
msgstr ""
|
|
114
|
+
|
|
115
|
+
msgctxt "A suggestion for setting the font size to %0."
|
|
116
|
+
msgid "*Set font size:* %0"
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
119
|
+
msgctxt "A suggestion for highlighting text."
|
|
120
|
+
msgid "*Set highlight:* %0"
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
msgctxt "A suggestion for setting image text alternative to %0."
|
|
124
|
+
msgid "*Set image text alternative:* %0"
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
msgctxt "A suggestion for setting the image width to %0."
|
|
128
|
+
msgid "*Set image width:* %0"
|
|
129
|
+
msgstr ""
|
|
130
|
+
|
|
131
|
+
msgctxt "A suggestion for setting the link URL."
|
|
132
|
+
msgid "*Set link:* %0"
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
msgctxt "A suggestion for splitting cells horizontally."
|
|
136
|
+
msgid "*Split cell:* horizontally"
|
|
137
|
+
msgstr ""
|
|
138
|
+
|
|
139
|
+
msgctxt "A suggestion for splitting cells vertically."
|
|
140
|
+
msgid "*Split cell:* vertically"
|
|
141
|
+
msgstr ""
|
|
142
|
+
|
|
143
|
+
msgctxt "A suggestion for splitting the item."
|
|
144
|
+
msgid "*Split:* %0"
|
|
145
|
+
msgstr ""
|
|
146
|
+
|
|
147
|
+
msgctxt "A suggestion for unchecking a to-do list item."
|
|
148
|
+
msgid "*Uncheck item*"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
msgctxt "The label for the button which accepts all selected suggestions."
|
|
152
|
+
msgid "Accept all selected suggestions"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
msgctxt "The label for the button which accepts all suggestions."
|
|
156
|
+
msgid "Accept all suggestions"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
msgctxt "The label for the accept suggestion button."
|
|
160
|
+
msgid "Accept suggestion"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
msgctxt "The label for the button which discards all selected suggestions."
|
|
164
|
+
msgid "Discard all selected suggestions"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
msgctxt "The label for the button which discards all suggestions."
|
|
168
|
+
msgid "Discard all suggestions"
|
|
169
|
+
msgstr ""
|
|
170
|
+
|
|
171
|
+
msgctxt "The label for the discard suggestion button."
|
|
172
|
+
msgid "Discard suggestion"
|
|
173
|
+
msgstr ""
|
|
174
|
+
|
|
175
|
+
msgctxt "The block quote element name displayed in the suggestion."
|
|
176
|
+
msgid "ELEMENT_BLOCK_QUOTE"
|
|
177
|
+
msgstr "کوڈ خانہ"
|
|
178
|
+
|
|
179
|
+
msgctxt "The bulleted list element name displayed in the suggestion."
|
|
180
|
+
msgid "ELEMENT_BULLETED_LIST"
|
|
181
|
+
msgstr ""
|
|
182
|
+
|
|
183
|
+
msgctxt "The caption element name displayed in the suggestion."
|
|
184
|
+
msgid "ELEMENT_CAPTION"
|
|
185
|
+
msgstr ""
|
|
186
|
+
|
|
187
|
+
msgctxt "The code block element name displayed in the suggestion."
|
|
188
|
+
msgid "ELEMENT_CODE_BLOCK"
|
|
189
|
+
msgid_plural "%0 code blocks"
|
|
190
|
+
msgstr[0] "کوڈ خانہ"
|
|
191
|
+
msgstr[1] "%0 کوڈ خانے"
|
|
192
|
+
|
|
193
|
+
msgctxt "The heading element name displayed in the suggestion."
|
|
194
|
+
msgid "ELEMENT_HEADING"
|
|
195
|
+
msgid_plural "%0 headings (level %1)"
|
|
196
|
+
msgstr[0] ""
|
|
197
|
+
msgstr[1] ""
|
|
198
|
+
|
|
199
|
+
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
200
|
+
msgid "ELEMENT_HEADING_CUSTOM"
|
|
201
|
+
msgid_plural "%0 headings (%1)"
|
|
202
|
+
msgstr[0] ""
|
|
203
|
+
msgstr[1] ""
|
|
204
|
+
|
|
205
|
+
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
206
|
+
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
207
|
+
msgid_plural "%0 horizontal lines"
|
|
208
|
+
msgstr[0] ""
|
|
209
|
+
msgstr[1] ""
|
|
210
|
+
|
|
211
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
212
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
213
|
+
msgid_plural "%0 HTML embeds"
|
|
214
|
+
msgstr[0] ""
|
|
215
|
+
msgstr[1] ""
|
|
216
|
+
|
|
217
|
+
msgctxt "The image element name displayed in the suggestion."
|
|
218
|
+
msgid "ELEMENT_IMAGE"
|
|
219
|
+
msgid_plural "%0 images"
|
|
220
|
+
msgstr[0] ""
|
|
221
|
+
msgstr[1] ""
|
|
222
|
+
|
|
223
|
+
msgctxt "The inline image element name displayed in the suggestion."
|
|
224
|
+
msgid "ELEMENT_INLINE_IMAGE"
|
|
225
|
+
msgid_plural "%0 images"
|
|
226
|
+
msgstr[0] ""
|
|
227
|
+
msgstr[1] ""
|
|
228
|
+
|
|
229
|
+
msgctxt "The line break element name displayed in the suggestion."
|
|
230
|
+
msgid "ELEMENT_LINE_BREAK"
|
|
231
|
+
msgid_plural "%0 line breaks"
|
|
232
|
+
msgstr[0] ""
|
|
233
|
+
msgstr[1] ""
|
|
234
|
+
|
|
235
|
+
msgctxt "The list item element name displayed in the suggestion."
|
|
236
|
+
msgid "ELEMENT_LIST_ITEM"
|
|
237
|
+
msgid_plural "%0 list items"
|
|
238
|
+
msgstr[0] ""
|
|
239
|
+
msgstr[1] ""
|
|
240
|
+
|
|
241
|
+
msgctxt "The media element name displayed in the suggestion."
|
|
242
|
+
msgid "ELEMENT_MEDIA"
|
|
243
|
+
msgid_plural "%0 media items"
|
|
244
|
+
msgstr[0] ""
|
|
245
|
+
msgstr[1] ""
|
|
246
|
+
|
|
247
|
+
msgctxt "The numbered list element name displayed in the suggestion."
|
|
248
|
+
msgid "ELEMENT_NUMBERED_LIST"
|
|
249
|
+
msgstr ""
|
|
250
|
+
|
|
251
|
+
msgctxt "The page break element name displayed in the suggestion."
|
|
252
|
+
msgid "ELEMENT_PAGE_BREAK"
|
|
253
|
+
msgid_plural "%0 page breaks"
|
|
254
|
+
msgstr[0] ""
|
|
255
|
+
msgstr[1] ""
|
|
256
|
+
|
|
257
|
+
msgctxt "The paragraph element name displayed in the suggestion."
|
|
258
|
+
msgid "ELEMENT_PARAGRAPH"
|
|
259
|
+
msgid_plural "%0 paragraphs"
|
|
260
|
+
msgstr[0] ""
|
|
261
|
+
msgstr[1] ""
|
|
262
|
+
|
|
263
|
+
msgctxt "The space element name displayed in the suggestion."
|
|
264
|
+
msgid "ELEMENT_SPACE"
|
|
265
|
+
msgid_plural "%0 spaces"
|
|
266
|
+
msgstr[0] ""
|
|
267
|
+
msgstr[1] ""
|
|
268
|
+
|
|
269
|
+
msgctxt "The table element name displayed in the suggestion."
|
|
270
|
+
msgid "ELEMENT_TABLE"
|
|
271
|
+
msgid_plural "%0 tables"
|
|
272
|
+
msgstr[0] ""
|
|
273
|
+
msgstr[1] ""
|
|
274
|
+
|
|
275
|
+
msgctxt "The table column element name displayed in the suggestion."
|
|
276
|
+
msgid "ELEMENT_TABLE_COLUMN"
|
|
277
|
+
msgid_plural "%0 table columns"
|
|
278
|
+
msgstr[0] ""
|
|
279
|
+
msgstr[1] ""
|
|
280
|
+
|
|
281
|
+
msgctxt "The table column with text element name displayed in the suggestion."
|
|
282
|
+
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
283
|
+
msgid_plural "%0 table columns *with text* %1"
|
|
284
|
+
msgstr[0] ""
|
|
285
|
+
msgstr[1] ""
|
|
286
|
+
|
|
287
|
+
msgctxt "The table row element name displayed in the suggestion."
|
|
288
|
+
msgid "ELEMENT_TABLE_ROW"
|
|
289
|
+
msgid_plural "%0 table rows"
|
|
290
|
+
msgstr[0] ""
|
|
291
|
+
msgstr[1] ""
|
|
292
|
+
|
|
293
|
+
msgctxt "The table row with text element name displayed in the suggestion."
|
|
294
|
+
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
295
|
+
msgid_plural "%0 table rows *with text* %1"
|
|
296
|
+
msgstr[0] ""
|
|
297
|
+
msgstr[1] ""
|
|
298
|
+
|
|
299
|
+
msgctxt "The table with text element name displayed in the suggestion."
|
|
300
|
+
msgid "ELEMENT_TABLE_WITH_TEXT"
|
|
301
|
+
msgstr ""
|
|
302
|
+
|
|
303
|
+
msgctxt "The title element name displayed in the suggestion."
|
|
304
|
+
msgid "ELEMENT_TITLE"
|
|
305
|
+
msgstr ""
|
|
306
|
+
|
|
307
|
+
msgctxt "The to-do list element name displayed in the suggestion."
|
|
308
|
+
msgid "ELEMENT_TODO_LIST"
|
|
309
|
+
msgstr ""
|
|
310
|
+
|
|
311
|
+
msgctxt "The align to center format name displayed in a format suggestion."
|
|
312
|
+
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
313
|
+
msgstr ""
|
|
314
|
+
|
|
315
|
+
msgctxt "The align to left format name displayed in a format suggestion."
|
|
316
|
+
msgid "FORMAT_ALIGN_TO_LEFT"
|
|
317
|
+
msgstr ""
|
|
318
|
+
|
|
319
|
+
msgctxt "The align to right format name displayed in a format suggestion."
|
|
320
|
+
msgid "FORMAT_ALIGN_TO_RIGHT"
|
|
321
|
+
msgstr ""
|
|
322
|
+
|
|
323
|
+
msgctxt "The bold format name displayed in a format suggestion."
|
|
324
|
+
msgid "FORMAT_BOLD"
|
|
325
|
+
msgstr ""
|
|
326
|
+
|
|
327
|
+
msgctxt "The code format name displayed in a format suggestion."
|
|
328
|
+
msgid "FORMAT_CODE"
|
|
329
|
+
msgstr ""
|
|
330
|
+
|
|
331
|
+
msgctxt "The header column format name displayed in a format suggestion."
|
|
332
|
+
msgid "FORMAT_HEADER_COLUMN"
|
|
333
|
+
msgstr ""
|
|
334
|
+
|
|
335
|
+
msgctxt "The header row format name displayed in a format suggestion."
|
|
336
|
+
msgid "FORMAT_HEADER_ROW"
|
|
337
|
+
msgstr ""
|
|
338
|
+
|
|
339
|
+
msgctxt "The highlight format name displayed in a format suggestion."
|
|
340
|
+
msgid "FORMAT_HIGHLIGHT"
|
|
341
|
+
msgstr ""
|
|
342
|
+
|
|
343
|
+
msgctxt "The italic format name displayed in a format suggestion."
|
|
344
|
+
msgid "FORMAT_ITALIC"
|
|
345
|
+
msgstr ""
|
|
346
|
+
|
|
347
|
+
msgctxt "The justify text format name displayed in a format suggestion."
|
|
348
|
+
msgid "FORMAT_JUSTIFY_TEXT"
|
|
349
|
+
msgstr ""
|
|
350
|
+
|
|
351
|
+
msgctxt "The regular column format name displayed in a format suggestion."
|
|
352
|
+
msgid "FORMAT_REGULAR_COLUMN"
|
|
353
|
+
msgstr ""
|
|
354
|
+
|
|
355
|
+
msgctxt "The regular row format name displayed in a format suggestion."
|
|
356
|
+
msgid "FORMAT_REGULAR_ROW"
|
|
357
|
+
msgstr ""
|
|
358
|
+
|
|
359
|
+
msgctxt "The label for area disabled in restricted editing area in a format suggestion."
|
|
360
|
+
msgid "FORMAT_RESTRICTED_DISABLED"
|
|
361
|
+
msgstr ""
|
|
362
|
+
|
|
363
|
+
msgctxt "The label for area enabled in restricted editing area in a format suggestion."
|
|
364
|
+
msgid "FORMAT_RESTRICTED_ENABLED"
|
|
365
|
+
msgstr ""
|
|
366
|
+
|
|
367
|
+
msgctxt "The side image format name displayed in a format suggestion."
|
|
368
|
+
msgid "FORMAT_SIDE_IMAGE"
|
|
369
|
+
msgstr ""
|
|
370
|
+
|
|
371
|
+
msgctxt "The strikethrough format name displayed in a format suggestion."
|
|
372
|
+
msgid "FORMAT_STRIKETHROUGH"
|
|
373
|
+
msgstr ""
|
|
374
|
+
|
|
375
|
+
msgctxt "The subscript format name displayed in a format suggestion."
|
|
376
|
+
msgid "FORMAT_SUBSCRIPT"
|
|
377
|
+
msgstr ""
|
|
378
|
+
|
|
379
|
+
msgctxt "The superscript format name displayed in a format suggestion."
|
|
380
|
+
msgid "FORMAT_SUPERSCRIPT"
|
|
381
|
+
msgstr ""
|
|
382
|
+
|
|
383
|
+
msgctxt "The underline format name displayed in a format suggestion."
|
|
384
|
+
msgid "FORMAT_UNDERLINE"
|
|
385
|
+
msgstr ""
|
|
386
|
+
|
|
387
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
388
|
+
msgid "PENDING_ACTION_SUGGESTION"
|
|
389
|
+
msgstr ""
|
|
390
|
+
|
|
391
|
+
msgctxt "A suggestion for replacing one text with another."
|
|
392
|
+
msgid "REPLACE_TEXT"
|
|
393
|
+
msgstr ""
|
|
394
|
+
|
|
395
|
+
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
396
|
+
msgid "Track changes"
|
|
397
|
+
msgstr ""
|
|
398
|
+
|
|
399
|
+
msgctxt "The additional information that suggestion comes from external source."
|
|
400
|
+
msgid "EXTERNAL_SUGGESTION"
|
|
401
|
+
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -377,3 +377,7 @@ msgstr "*Thay thế:* %0 *bằng* %1"
|
|
|
377
377
|
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
378
378
|
msgid "Track changes"
|
|
379
379
|
msgstr "Theo dõi nội dung thay đổi"
|
|
380
|
+
|
|
381
|
+
msgctxt "The additional information that suggestion comes from external source."
|
|
382
|
+
msgid "EXTERNAL_SUGGESTION"
|
|
383
|
+
msgstr "Đề xuất này đến từ một nguồn bên ngoài."
|
|
@@ -377,3 +377,7 @@ msgstr "*用* %1 *替换:* %0 "
|
|
|
377
377
|
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
378
378
|
msgid "Track changes"
|
|
379
379
|
msgstr "跟踪更改"
|
|
380
|
+
|
|
381
|
+
msgctxt "The additional information that suggestion comes from external source."
|
|
382
|
+
msgid "EXTERNAL_SUGGESTION"
|
|
383
|
+
msgstr "此建议来自外部来源。"
|
package/lang/translations/zh.po
CHANGED
|
@@ -377,3 +377,7 @@ msgstr "*取代:*%0 *變更為* %1"
|
|
|
377
377
|
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
378
378
|
msgid "Track changes"
|
|
379
379
|
msgstr "追蹤變更"
|
|
380
|
+
|
|
381
|
+
msgctxt "The additional information that suggestion comes from external source."
|
|
382
|
+
msgid "EXTERNAL_SUGGESTION"
|
|
383
|
+
msgstr "此建議來自外部來源。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "35.0
|
|
3
|
+
"version": "35.2.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^35.0
|
|
31
|
-
"ckeditor5-collaboration": "^35.0
|
|
30
|
+
"ckeditor5": "^35.2.0",
|
|
31
|
+
"ckeditor5-collaboration": "^35.2.0",
|
|
32
32
|
"lodash-es": "^4.17.11",
|
|
33
|
-
"@ckeditor/ckeditor5-style": "^35.0
|
|
33
|
+
"@ckeditor/ckeditor5-style": "^35.2.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x338d=['execute','_suggestions','isInContent','from','refresh','model','_acceptSuggestionCommand','values','change','some','isEnabled'];(function(_0x16c3f3,_0x338dc5){const _0x2cf65d=function(_0x21780b){while(--_0x21780b){_0x16c3f3['push'](_0x16c3f3['shift']());}};_0x2cf65d(++_0x338dc5);}(_0x338d,0xc3));const _0x2cf6=function(_0x16c3f3,_0x338dc5){_0x16c3f3=_0x16c3f3-0x0;let _0x2cf65d=_0x338d[_0x16c3f3];return _0x2cf65d;};import{Command as _0x4d2abd}from'ckeditor5/src/core';import _0x3a06b8 from'../utils/sortsuggestions';export default class R extends _0x4d2abd{constructor(_0x536c78,_0x34ee3c,_0xbda61){super(_0x536c78),this[_0x2cf6('0x9')]=_0x34ee3c,this[_0x2cf6('0x4')]=_0xbda61,this[_0x2cf6('0x7')]();}[_0x2cf6('0x7')](){const _0x39270f=this[_0x2cf6('0x9')];this[_0x2cf6('0x2')]=_0x39270f[_0x2cf6('0x2')]&&Array[_0x2cf6('0x6')](this[_0x2cf6('0x4')][_0x2cf6('0xa')]())[_0x2cf6('0x1')](_0x387e03=>_0x387e03[_0x2cf6('0x5')]);}['execute'](){this['editor'][_0x2cf6('0x8')][_0x2cf6('0x0')](()=>{const _0x1a60b3=_0x3a06b8(Array[_0x2cf6('0x6')](this[_0x2cf6('0x4')][_0x2cf6('0xa')]()));for(const _0x3dcf75 of _0x1a60b3)_0x3dcf75[_0x2cf6('0x5')]&&this['_acceptSuggestionCommand'][_0x2cf6('0x3')](_0x3dcf75['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33f0=['_selectedSuggestions','change','document','isEnabled','values','model','editor','selection','execute','refresh','_suggestions','from','_acceptSuggestionCommand'];(function(_0x43f91f,_0x33f00e){const _0x3caefc=function(_0x14dd8f){while(--_0x14dd8f){_0x43f91f['push'](_0x43f91f['shift']());}};_0x3caefc(++_0x33f00e);}(_0x33f0,0x181));const _0x3cae=function(_0x43f91f,_0x33f00e){_0x43f91f=_0x43f91f-0x0;let _0x3caefc=_0x33f0[_0x43f91f];return _0x3caefc;};import{Command as _0xe736be}from'ckeditor5/src/core';import _0x140236 from'../utils/sortsuggestions';import _0x2d947e from'../utils/getselectedsuggestions';export default class j extends _0xe736be{constructor(_0x115456,_0x132123,_0x328311){super(_0x115456),this[_0x3cae('0x4')]=_0x132123,this[_0x3cae('0x2')]=_0x328311,this[_0x3cae('0x5')]=new Set(),this['refresh']();}[_0x3cae('0x1')](){const _0x118343=this[_0x3cae('0x4')],_0x262b2e=this[_0x3cae('0xb')][_0x3cae('0xa')][_0x3cae('0x7')][_0x3cae('0xc')],_0x4e63eb=Array[_0x3cae('0x3')](this[_0x3cae('0x2')][_0x3cae('0x9')]());this[_0x3cae('0x5')]=_0x2d947e(_0x262b2e,_0x4e63eb),this[_0x3cae('0x8')]=_0x118343['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){this[_0x3cae('0xb')][_0x3cae('0xa')][_0x3cae('0x6')](()=>{const _0x59b4e9=_0x140236(Array[_0x3cae('0x3')](this['_selectedSuggestions']));for(const _0x1d7f03 of _0x59b4e9)this[_0x3cae('0x4')][_0x3cae('0x0')](_0x1d7f03['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2669=['TrackChangesEditing','_suggestions','get','refresh','execute','track-changes-accept-suggestion-not-found','plugins','isEnabled','editor'];(function(_0x2828f3,_0x266940){const _0x2e1299=function(_0x2c6ecd){while(--_0x2c6ecd){_0x2828f3['push'](_0x2828f3['shift']());}};_0x2e1299(++_0x266940);}(_0x2669,0x10c));const _0x2e12=function(_0x2828f3,_0x266940){_0x2828f3=_0x2828f3-0x0;let _0x2e1299=_0x2669[_0x2828f3];return _0x2e1299;};import{Command as _0x366cbd}from'ckeditor5/src/core';import{CKEditorError as _0xfa25d5}from'ckeditor5/src/utils';export default class $ extends _0x366cbd{constructor(_0x5a5276,_0x4ad431){super(_0x5a5276),this[_0x2e12('0x3')]=_0x4ad431,this[_0x2e12('0x5')]();}[_0x2e12('0x5')](){this[_0x2e12('0x0')]=!0x0;}[_0x2e12('0x6')](_0x239829){const _0x5ea631=this[_0x2e12('0x3')]['get'](_0x239829);if(!_0x5ea631)throw new _0xfa25d5(_0x2e12('0x7'),this);this[_0x2e12('0x1')][_0x2e12('0x8')][_0x2e12('0x4')](_0x2e12('0x2'))['acceptSuggestion'](_0x5ea631);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13a8=['execute','model','refresh','_suggestions','_discardSuggestionCommand','isEnabled','from','change','values','isInContent','some'];(function(_0x2ff4df,_0x13a8a3){const _0x209ac0=function(_0x908c64){while(--_0x908c64){_0x2ff4df['push'](_0x2ff4df['shift']());}};_0x209ac0(++_0x13a8a3);}(_0x13a8,0x12d));const _0x209a=function(_0x2ff4df,_0x13a8a3){_0x2ff4df=_0x2ff4df-0x0;let _0x209ac0=_0x13a8[_0x2ff4df];return _0x209ac0;};import{Command as _0x850f45}from'ckeditor5/src/core';export default class x extends _0x850f45{constructor(_0x5bcb42,_0x3a1419,_0xa52f34){super(_0x5bcb42),this['_discardSuggestionCommand']=_0x3a1419,this[_0x209a('0xa')]=_0xa52f34,this[_0x209a('0x9')]();}[_0x209a('0x9')](){const _0x4a7d7e=this['_discardSuggestionCommand'];this[_0x209a('0x1')]=_0x4a7d7e['isEnabled']&&Array[_0x209a('0x2')](this[_0x209a('0xa')][_0x209a('0x4')]())[_0x209a('0x6')](_0x5f11d7=>_0x5f11d7[_0x209a('0x5')]);}[_0x209a('0x7')](){this['editor'][_0x209a('0x8')][_0x209a('0x3')](()=>{for(const _0x5ade1b of this['_suggestions'][_0x209a('0x4')]())_0x5ade1b[_0x209a('0x5')]&&this[_0x209a('0x0')][_0x209a('0x7')](_0x5ade1b['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x138f=['_suggestions','refresh','from','size','model','isEnabled','_discardSuggestionCommand','document','selection','execute','editor','change','values','_selectedSuggestions'];(function(_0x42c06c,_0x138f8d){const _0xcb676e=function(_0x3e86c3){while(--_0x3e86c3){_0x42c06c['push'](_0x42c06c['shift']());}};_0xcb676e(++_0x138f8d);}(_0x138f,0x17c));const _0xcb67=function(_0x42c06c,_0x138f8d){_0x42c06c=_0x42c06c-0x0;let _0xcb676e=_0x138f[_0x42c06c];return _0xcb676e;};import{Command as _0x491943}from'ckeditor5/src/core';import _0x534b83 from'../utils/getselectedsuggestions';export default class U extends _0x491943{constructor(_0x2e37d7,_0x32d712,_0x5a2687){super(_0x2e37d7),this[_0xcb67('0x4')]=_0x32d712,this[_0xcb67('0xc')]=_0x5a2687,this[_0xcb67('0xb')]=new Set(),this[_0xcb67('0xd')]();}['refresh'](){const _0x304145=this[_0xcb67('0x4')],_0x54b9bb=this[_0xcb67('0x8')]['model'][_0xcb67('0x5')][_0xcb67('0x6')],_0x5cf057=Array[_0xcb67('0x0')](this[_0xcb67('0xc')][_0xcb67('0xa')]());this['_selectedSuggestions']=_0x534b83(_0x54b9bb,_0x5cf057),this['isEnabled']=_0x304145[_0xcb67('0x3')]&&!!this['_selectedSuggestions'][_0xcb67('0x1')];}[_0xcb67('0x7')](){this['editor'][_0xcb67('0x2')][_0xcb67('0x9')](()=>{for(const _0x228615 of this['_selectedSuggestions'])this[_0xcb67('0x4')]['execute'](_0x228615['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21e3=['execute','plugins','discardSuggestion','get','track-changes-discard-suggestion-not-found','TrackChangesEditing','_suggestions','refresh'];(function(_0x22bb28,_0x21e3e0){const _0x31d186=function(_0x810f3f){while(--_0x810f3f){_0x22bb28['push'](_0x22bb28['shift']());}};_0x31d186(++_0x21e3e0);}(_0x21e3,0xf6));const _0x31d1=function(_0x22bb28,_0x21e3e0){_0x22bb28=_0x22bb28-0x0;let _0x31d186=_0x21e3[_0x22bb28];return _0x31d186;};import{Command as _0x530d4f}from'ckeditor5/src/core';import{CKEditorError as _0x1494af}from'ckeditor5/src/utils';export default class N extends _0x530d4f{constructor(_0x67aaff,_0x31da6f){super(_0x67aaff),this[_0x31d1('0x0')]=_0x31da6f,this[_0x31d1('0x1')]();}[_0x31d1('0x1')](){this['isEnabled']=!0x0;}[_0x31d1('0x2')](_0xbfc46){const _0x4eebab=this['_suggestions']['get'](_0xbfc46);if(!_0x4eebab)throw new _0x1494af(_0x31d1('0x6'),this);this['editor'][_0x31d1('0x3')][_0x31d1('0x5')](_0x31d1('0x7'))[_0x31d1('0x4')](_0x4eebab);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dd5=['_enableCommands','commands','value','affectsData','forceDisabled','editor','has','_disableUnsupportedCommands','TrackChangesCommand','clearForceDisabled','refresh','_enabledCommands'];(function(_0x2b44d9,_0x1dd518){const _0xa48519=function(_0x3722f9){while(--_0x3722f9){_0x2b44d9['push'](_0x2b44d9['shift']());}};_0xa48519(++_0x1dd518);}(_0x1dd5,0x119));const _0xa485=function(_0x2b44d9,_0x1dd518){_0x2b44d9=_0x2b44d9-0x0;let _0xa48519=_0x1dd5[_0x2b44d9];return _0xa48519;};import{Command as _0x5f30e5}from'ckeditor5/src/core';export default class M extends _0x5f30e5{constructor(_0x565747,_0x1bc42b){super(_0x565747),this[_0xa485('0x6')]=_0x1bc42b,this[_0xa485('0x9')]=!0x1,this[_0xa485('0x5')]();}[_0xa485('0x5')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0xa485('0x9')],this['value']?this[_0xa485('0x2')]():this[_0xa485('0x7')]();}[_0xa485('0x2')](){for(const _0x2cf23b of this[_0xa485('0x0')][_0xa485('0x8')]['commands']())_0x2cf23b[_0xa485('0xa')]&&!this[_0xa485('0x6')][_0xa485('0x1')](_0x2cf23b)&&_0x2cf23b[_0xa485('0xb')](_0xa485('0x3'));}[_0xa485('0x7')](){for(const _0x46392c of this[_0xa485('0x0')][_0xa485('0x8')][_0xa485('0x8')]())_0x46392c[_0xa485('0xa')]&&!this['_enabledCommands']['has'](_0x46392c)&&_0x46392c[_0xa485('0x4')](_0xa485('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5054=['contentLanguageDirection','afterInit','format','center','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','*Format:*\x20%0','has','markBlockFormat','locale','FORMAT_ALIGN_TO_RIGHT','plugins','_descriptionFactory','alignment','change','value','AlignmentEditing','model','editor','checkAttribute','commandName','enableCommand','TrackChangesEditing','right','FORMAT_ALIGN_TO_CENTER','commandParams','document','left'];(function(_0x5883f8,_0x5054b4){const _0x8e1bc4=function(_0x5a01f9){while(--_0x5a01f9){_0x5883f8['push'](_0x5883f8['shift']());}};_0x8e1bc4(++_0x5054b4);}(_0x5054,0x1d8));const _0x8e1b=function(_0x5883f8,_0x5054b4){_0x5883f8=_0x5883f8-0x0;let _0x8e1bc4=_0x5054[_0x5883f8];return _0x8e1bc4;};import{Plugin as _0x28ad39}from'ckeditor5/src/core';import{getTranslation as _0xb02b29}from'../utils/common-translations';export default class E extends _0x28ad39{[_0x8e1b('0x5')](){const _0x17c9d2=this[_0x8e1b('0x16')],_0x4436fb=_0x17c9d2[_0x8e1b('0xd')];if(!_0x17c9d2[_0x8e1b('0xf')][_0x8e1b('0xb')](_0x8e1b('0x14')))return;const _0x295da7=_0x17c9d2[_0x8e1b('0xf')]['get'](_0x8e1b('0x1a'));_0x295da7[_0x8e1b('0x19')]('alignment',(_0x35e756,_0xff9e54={})=>{let _0x3ac341=_0xff9e54[_0x8e1b('0x13')];_0xff9e54[_0x8e1b('0x13')]||(_0x3ac341='ltr'===_0x17c9d2[_0x8e1b('0xd')][_0x8e1b('0x4')]?'left':_0x8e1b('0x1b'));const _0x2a226b=Array['from'](this[_0x8e1b('0x16')][_0x8e1b('0x15')][_0x8e1b('0x2')]['selection']['getSelectedBlocks']())['filter'](_0x35f435=>function(_0xb91517,_0x5d6e39,_0x329ea4){const _0x49ba35=_0xb91517['getAttribute'](_0x8e1b('0x11'))||null;return _0x5d6e39[_0x8e1b('0x17')](_0xb91517,_0x8e1b('0x11'))&&_0x329ea4!=_0x49ba35;}(_0x35f435,this[_0x8e1b('0x16')][_0x8e1b('0x15')]['schema'],_0x3ac341));_0x17c9d2['model'][_0x8e1b('0x12')](()=>{for(const _0x1206ae of _0x2a226b)_0x295da7[_0x8e1b('0xc')](_0x1206ae,{'commandName':_0x8e1b('0x11'),'commandParams':[{'value':_0x3ac341}]});});}),_0x295da7[_0x8e1b('0x10')][_0x8e1b('0x8')](_0x2c56c1=>{const {data:_0x358329}=_0x2c56c1;if(_0x358329&&_0x8e1b('0x11')==_0x358329[_0x8e1b('0x18')]){const _0x4b95e1=_0x358329[_0x8e1b('0x1')][0x0]['value'];return{'type':_0x8e1b('0x6'),'content':_0xb02b29(_0x4436fb,_0x8e1b('0xa'),function(_0x4e2d3a){switch(_0x4e2d3a){case _0x8e1b('0x3'):return _0xb02b29(_0x4436fb,_0x8e1b('0x9'));case _0x8e1b('0x1b'):return _0xb02b29(_0x4436fb,_0x8e1b('0xe'));case _0x8e1b('0x7'):return _0xb02b29(_0x4436fb,_0x8e1b('0x0'));case'justify':return _0xb02b29(_0x4436fb,'FORMAT_JUSTIFY_TEXT');}}(_0x4b95e1))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x145c=['_descriptionFactory','italic','value','has','selection','from','getRanges','CodeEditing','superscript','forceValue','enableCommand','registerDescriptionCallback','SubscriptEditing','underline','isCollapsed','SuperscriptEditing','locale','TrackChangesEditing','format','commandName','bold','subscript','afterInit','FORMAT_SUPERSCRIPT','FORMAT_UNDERLINE','FORMAT_STRIKETHROUGH','plugins','BoldEditing','*Format:*\x20%0','FORMAT_ITALIC','*Remove\x20format:*\x20%0','get','UnderlineEditing','StrikethroughEditing'];(function(_0x22562a,_0x145c22){const _0xf0918c=function(_0x30ae92){while(--_0x30ae92){_0x22562a['push'](_0x22562a['shift']());}};_0xf0918c(++_0x145c22);}(_0x145c,0xf4));const _0xf091=function(_0x22562a,_0x145c22){_0x22562a=_0x22562a-0x0;let _0xf0918c=_0x145c[_0x22562a];return _0xf0918c;};import{Plugin as _0x527ab0}from'ckeditor5/src/core';import{getTranslation as _0x165dd9}from'../utils/common-translations';import{getRangesWithAttribute as _0x341ced}from'./utils';const Ft=[_0xf091('0x15'),'ItalicEditing',_0xf091('0x1a'),_0xf091('0x1'),_0xf091('0x1b'),_0xf091('0x6'),_0xf091('0x9')];export default class O extends _0x527ab0{[_0xf091('0x10')](){const _0x313233=this['editor'],_0x5e36d9=_0x313233['model'],_0x4dee9e=_0x313233[_0xf091('0x14')][_0xf091('0x19')](_0xf091('0xb')),_0x2fbc22=_0x313233[_0xf091('0xa')];for(const _0x2eac9c of Ft){if(!_0x313233[_0xf091('0x14')][_0xf091('0x1f')](_0x2eac9c))continue;const _0x25dd01=_0x2eac9c['slice'](0x0,-0x7)['toLowerCase'](),_0x26cc7c=_0x313233['commands']['get'](_0x25dd01);_0x4dee9e[_0xf091('0x4')](_0x25dd01,(_0x3aa381,_0xd03c88={})=>{const _0x1e5b6c=_0x5e36d9['document'][_0xf091('0x20')];if(_0x1e5b6c[_0xf091('0x8')])return void _0x3aa381(_0xd03c88);const _0x51cea3=void 0x0!==_0xd03c88['forceValue']?_0xd03c88[_0xf091('0x3')]:!_0x26cc7c[_0xf091('0x1e')];_0x5e36d9['change'](()=>{const _0x3c886a=Array[_0xf091('0x21')](_0x1e5b6c[_0xf091('0x0')]());for(const _0x55be1b of _0x3c886a){const _0x54e8bc=_0x51cea3?[_0x55be1b]:_0x341ced(_0x25dd01,_0x55be1b,_0x5e36d9);for(const _0x28d772 of _0x54e8bc)_0x4dee9e['markInlineFormat'](_0x28d772,{'commandName':_0x25dd01,'commandParams':[{'forceValue':_0x51cea3}]});}});});}function _0x40e1c7(_0x45bd7d,_0x3334d1){_0x4dee9e[_0xf091('0x1c')][_0xf091('0x5')](_0x1bb579=>{const {data:_0x1eaab7}=_0x1bb579;if(_0x1eaab7&&_0x1eaab7[_0xf091('0xd')]===_0x45bd7d)return _0x1eaab7['commandParams'][0x0][_0xf091('0x3')]?{'type':'format','content':_0x165dd9(_0x2fbc22,_0xf091('0x16'),_0x3334d1)}:{'type':_0xf091('0xc'),'content':_0x165dd9(_0x2fbc22,_0xf091('0x18'),_0x3334d1)};});}_0x40e1c7(_0xf091('0xe'),_0x165dd9(_0x2fbc22,'FORMAT_BOLD')),_0x40e1c7(_0xf091('0x1d'),_0x165dd9(_0x2fbc22,_0xf091('0x17'))),_0x40e1c7(_0xf091('0x7'),_0x165dd9(_0x2fbc22,_0xf091('0x12'))),_0x40e1c7('code',_0x165dd9(_0x2fbc22,'FORMAT_CODE')),_0x40e1c7('strikethrough',_0x165dd9(_0x2fbc22,_0xf091('0x13'))),_0x40e1c7(_0xf091('0xf'),_0x165dd9(_0x2fbc22,'FORMAT_SUBSCRIPT')),_0x40e1c7(_0xf091('0x2'),_0x165dd9(_0x2fbc22,_0xf091('0x11')));}}
|