@ckeditor/ckeditor5-track-changes 31.0.0 → 33.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/LICENSE.md +2 -2
- package/README.md +2 -2
- package/build/track-changes.js +5 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.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/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +3 -0
- package/lang/contexts.json +8 -7
- package/lang/translations/cs.po +28 -24
- package/lang/translations/da.po +387 -0
- package/lang/translations/de.po +28 -24
- package/lang/translations/el.po +387 -0
- package/lang/translations/en-au.po +28 -24
- package/lang/translations/en.po +28 -24
- package/lang/translations/es.po +62 -58
- package/lang/translations/et.po +27 -23
- package/lang/translations/fr.po +28 -24
- package/lang/translations/gl.po +28 -24
- package/lang/translations/hi.po +28 -24
- package/lang/translations/hr.po +28 -24
- package/lang/translations/it.po +28 -24
- package/lang/translations/nl.po +27 -23
- package/lang/translations/pl.po +28 -24
- package/lang/translations/pt-br.po +50 -46
- package/lang/translations/sk.po +28 -24
- package/lang/translations/sr-latn.po +28 -24
- package/lang/translations/sr.po +28 -24
- package/lang/translations/tk.po +28 -24
- package/lang/translations/tr.po +28 -24
- package/lang/translations/zh-cn.po +28 -24
- package/lang/translations/zh.po +370 -0
- package/package.json +4 -7
- package/src/commands/acceptallsuggestionscommand.js +2 -2
- package/src/commands/acceptselectedsuggestionscommand.js +2 -2
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardallsuggestionscommand.js +2 -2
- package/src/commands/discardselectedsuggestionscommand.js +2 -2
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.js +23 -0
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/font.js +2 -2
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/image.js +2 -2
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.js +2 -2
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.js +2 -2
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/table.js +2 -2
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.js +2 -2
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.js +2 -2
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/utils/getselectedsuggestions.js +2 -2
- package/src/utils/hashobject.js +2 -2
- package/src/utils/normalizedescription.js +2 -2
- package/src/utils/sortsuggestions.js +2 -2
- package/theme/icons/track-changes-accept.svg +1 -1
- package/theme/icons/track-changes-discard.svg +1 -1
- package/theme/icons/track-changes.svg +1 -1
- package/theme/suggestion.css +10 -0
- package/theme/suggestionmarker.css +1 -1
|
@@ -0,0 +1,370 @@
|
|
|
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: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
|
+
"Language: zh_TW\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
|
+
msgid "*Change to:* %0"
|
|
21
|
+
msgstr "*更改成:*%0"
|
|
22
|
+
|
|
23
|
+
msgctxt "A suggestion for checking a to-do list item."
|
|
24
|
+
msgid "*Check item*"
|
|
25
|
+
msgstr "*勾選項目*"
|
|
26
|
+
|
|
27
|
+
msgctxt "A suggestion for setting inline formatting."
|
|
28
|
+
msgid "*Format:* %0"
|
|
29
|
+
msgstr "*格式:*%0"
|
|
30
|
+
|
|
31
|
+
msgctxt "A suggestion for indenting an item."
|
|
32
|
+
msgid "*Indent:* %0"
|
|
33
|
+
msgstr "*縮排:*%0"
|
|
34
|
+
|
|
35
|
+
msgctxt "A suggestion for inserting an item."
|
|
36
|
+
msgid "*Insert:* %0"
|
|
37
|
+
msgstr "*插入:*%0"
|
|
38
|
+
|
|
39
|
+
msgctxt "A suggestion for merging cells."
|
|
40
|
+
msgid "*Merge cells*"
|
|
41
|
+
msgstr "*合併儲存格*"
|
|
42
|
+
|
|
43
|
+
msgctxt "A suggestion for merging items."
|
|
44
|
+
msgid "*Merge:* %0"
|
|
45
|
+
msgstr "*合併:*%0"
|
|
46
|
+
|
|
47
|
+
msgctxt "A suggestion for outdenting an item."
|
|
48
|
+
msgid "*Outdent:* %0"
|
|
49
|
+
msgstr "*凸排:*%0"
|
|
50
|
+
|
|
51
|
+
msgctxt "A suggestion for removing all formatting."
|
|
52
|
+
msgid "*Remove all formatting*"
|
|
53
|
+
msgstr "*清除格式設定*"
|
|
54
|
+
|
|
55
|
+
msgctxt "A suggestion for removing an inline format."
|
|
56
|
+
msgid "*Remove format:* %0"
|
|
57
|
+
msgstr "*移除格式:*%0"
|
|
58
|
+
|
|
59
|
+
msgctxt "A suggestion for removing the highlight."
|
|
60
|
+
msgid "*Remove highlight*"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgctxt "A suggestion for removing image text alternative."
|
|
64
|
+
msgid "*Remove image text alternative*"
|
|
65
|
+
msgstr "*移除圖片替代文字*"
|
|
66
|
+
|
|
67
|
+
msgctxt "A suggestion for removing the link."
|
|
68
|
+
msgid "*Remove link*"
|
|
69
|
+
msgstr "*移除連結*"
|
|
70
|
+
|
|
71
|
+
msgctxt "A suggestion for removing an item."
|
|
72
|
+
msgid "*Remove:* %0"
|
|
73
|
+
msgstr "*移除:*%0"
|
|
74
|
+
|
|
75
|
+
msgctxt "A suggestion for replacing table cells (table pasting)."
|
|
76
|
+
msgid "*Replace table cells*"
|
|
77
|
+
msgstr "*取代儲存格*"
|
|
78
|
+
|
|
79
|
+
msgctxt "A suggestion for resetting the font background color."
|
|
80
|
+
msgid "*Reset font background color*"
|
|
81
|
+
msgstr "*重設文字背景顏色*"
|
|
82
|
+
|
|
83
|
+
msgctxt "A suggestion for resetting the font color."
|
|
84
|
+
msgid "*Reset font color*"
|
|
85
|
+
msgstr "*重設文字顏色*"
|
|
86
|
+
|
|
87
|
+
msgctxt "A suggestion for resetting the font family."
|
|
88
|
+
msgid "*Reset font family*"
|
|
89
|
+
msgstr "*重設字型*"
|
|
90
|
+
|
|
91
|
+
msgctxt "A suggestion for resetting the font size."
|
|
92
|
+
msgid "*Reset font size*"
|
|
93
|
+
msgstr "*重設字體大小*"
|
|
94
|
+
|
|
95
|
+
msgctxt "A suggestion for resetting image width."
|
|
96
|
+
msgid "*Reset image width*"
|
|
97
|
+
msgstr "*重設圖片寬度*"
|
|
98
|
+
|
|
99
|
+
msgctxt "A suggestion for setting the font background color to %0."
|
|
100
|
+
msgid "*Set font background color:* %0"
|
|
101
|
+
msgstr "*設定文字背景顏色:*%0"
|
|
102
|
+
|
|
103
|
+
msgctxt "A suggestion for setting the font color to %0."
|
|
104
|
+
msgid "*Set font color:* %0"
|
|
105
|
+
msgstr ""
|
|
106
|
+
|
|
107
|
+
msgctxt "A suggestion for setting the font family to %0."
|
|
108
|
+
msgid "*Set font family:* %0"
|
|
109
|
+
msgstr ""
|
|
110
|
+
|
|
111
|
+
msgctxt "A suggestion for setting the font size to %0."
|
|
112
|
+
msgid "*Set font size:* %0"
|
|
113
|
+
msgstr ""
|
|
114
|
+
|
|
115
|
+
msgctxt "A suggestion for highlighting text."
|
|
116
|
+
msgid "*Set highlight:* %0"
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
119
|
+
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
|
+
msgid "*Set image text alternative:* %0"
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
msgctxt "A suggestion for setting the image width to %0."
|
|
124
|
+
msgid "*Set image width:* %0"
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
msgctxt "A suggestion for setting the link URL."
|
|
128
|
+
msgid "*Set link:* %0"
|
|
129
|
+
msgstr ""
|
|
130
|
+
|
|
131
|
+
msgctxt "A suggestion for splitting cells horizontally."
|
|
132
|
+
msgid "*Split cell:* horizontally"
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
msgctxt "A suggestion for splitting cells vertically."
|
|
136
|
+
msgid "*Split cell:* vertically"
|
|
137
|
+
msgstr ""
|
|
138
|
+
|
|
139
|
+
msgctxt "A suggestion for splitting the item."
|
|
140
|
+
msgid "*Split:* %0"
|
|
141
|
+
msgstr ""
|
|
142
|
+
|
|
143
|
+
msgctxt "A suggestion for unchecking a to-do list item."
|
|
144
|
+
msgid "*Uncheck item*"
|
|
145
|
+
msgstr ""
|
|
146
|
+
|
|
147
|
+
msgctxt "The label for the button which accepts all selected suggestions."
|
|
148
|
+
msgid "Accept all selected suggestions"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
msgctxt "The label for the button which accepts all suggestions."
|
|
152
|
+
msgid "Accept all suggestions"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
msgctxt "The label for the accept suggestion button."
|
|
156
|
+
msgid "Accept suggestion"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
msgctxt "The label for the button which discards all selected suggestions."
|
|
160
|
+
msgid "Discard all selected suggestions"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
msgctxt "The label for the button which discards all suggestions."
|
|
164
|
+
msgid "Discard all suggestions"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
msgctxt "The label for the discard suggestion button."
|
|
168
|
+
msgid "Discard suggestion"
|
|
169
|
+
msgstr ""
|
|
170
|
+
|
|
171
|
+
msgctxt "The block quote element name displayed in the suggestion."
|
|
172
|
+
msgid "ELEMENT_BLOCK_QUOTE"
|
|
173
|
+
msgstr ""
|
|
174
|
+
|
|
175
|
+
msgctxt "The bulleted list element name displayed in the suggestion."
|
|
176
|
+
msgid "ELEMENT_BULLETED_LIST"
|
|
177
|
+
msgstr ""
|
|
178
|
+
|
|
179
|
+
msgctxt "The caption element name displayed in the suggestion."
|
|
180
|
+
msgid "ELEMENT_CAPTION"
|
|
181
|
+
msgstr ""
|
|
182
|
+
|
|
183
|
+
msgctxt "The code block element name displayed in the suggestion."
|
|
184
|
+
msgid "ELEMENT_CODE_BLOCK"
|
|
185
|
+
msgid_plural "%0 code blocks"
|
|
186
|
+
msgstr[0] ""
|
|
187
|
+
|
|
188
|
+
msgctxt "The heading element name displayed in the suggestion."
|
|
189
|
+
msgid "ELEMENT_HEADING"
|
|
190
|
+
msgid_plural "%0 headings (level %1)"
|
|
191
|
+
msgstr[0] ""
|
|
192
|
+
|
|
193
|
+
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
194
|
+
msgid "ELEMENT_HEADING_CUSTOM"
|
|
195
|
+
msgid_plural "%0 headings (%1)"
|
|
196
|
+
msgstr[0] ""
|
|
197
|
+
|
|
198
|
+
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
199
|
+
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
200
|
+
msgid_plural "%0 horizontal lines"
|
|
201
|
+
msgstr[0] ""
|
|
202
|
+
|
|
203
|
+
msgctxt "The image element name displayed in the suggestion."
|
|
204
|
+
msgid "ELEMENT_IMAGE"
|
|
205
|
+
msgid_plural "%0 images"
|
|
206
|
+
msgstr[0] ""
|
|
207
|
+
|
|
208
|
+
msgctxt "The inline image element name displayed in the suggestion."
|
|
209
|
+
msgid "ELEMENT_INLINE_IMAGE"
|
|
210
|
+
msgid_plural "%0 images"
|
|
211
|
+
msgstr[0] ""
|
|
212
|
+
|
|
213
|
+
msgctxt "The line break element name displayed in the suggestion."
|
|
214
|
+
msgid "ELEMENT_LINE_BREAK"
|
|
215
|
+
msgid_plural "%0 line breaks"
|
|
216
|
+
msgstr[0] ""
|
|
217
|
+
|
|
218
|
+
msgctxt "The list item element name displayed in the suggestion."
|
|
219
|
+
msgid "ELEMENT_LIST_ITEM"
|
|
220
|
+
msgid_plural "%0 list items"
|
|
221
|
+
msgstr[0] ""
|
|
222
|
+
|
|
223
|
+
msgctxt "The media element name displayed in the suggestion."
|
|
224
|
+
msgid "ELEMENT_MEDIA"
|
|
225
|
+
msgid_plural "%0 media items"
|
|
226
|
+
msgstr[0] ""
|
|
227
|
+
|
|
228
|
+
msgctxt "The numbered list element name displayed in the suggestion."
|
|
229
|
+
msgid "ELEMENT_NUMBERED_LIST"
|
|
230
|
+
msgstr ""
|
|
231
|
+
|
|
232
|
+
msgctxt "The page break element name displayed in the suggestion."
|
|
233
|
+
msgid "ELEMENT_PAGE_BREAK"
|
|
234
|
+
msgid_plural "%0 page breaks"
|
|
235
|
+
msgstr[0] ""
|
|
236
|
+
|
|
237
|
+
msgctxt "The paragraph element name displayed in the suggestion."
|
|
238
|
+
msgid "ELEMENT_PARAGRAPH"
|
|
239
|
+
msgid_plural "%0 paragraphs"
|
|
240
|
+
msgstr[0] ""
|
|
241
|
+
|
|
242
|
+
msgctxt "The space element name displayed in the suggestion."
|
|
243
|
+
msgid "ELEMENT_SPACE"
|
|
244
|
+
msgid_plural "%0 spaces"
|
|
245
|
+
msgstr[0] ""
|
|
246
|
+
|
|
247
|
+
msgctxt "The table element name displayed in the suggestion."
|
|
248
|
+
msgid "ELEMENT_TABLE"
|
|
249
|
+
msgid_plural "%0 tables"
|
|
250
|
+
msgstr[0] ""
|
|
251
|
+
|
|
252
|
+
msgctxt "The table column element name displayed in the suggestion."
|
|
253
|
+
msgid "ELEMENT_TABLE_COLUMN"
|
|
254
|
+
msgid_plural "%0 table columns"
|
|
255
|
+
msgstr[0] ""
|
|
256
|
+
|
|
257
|
+
msgctxt "The table column with text element name displayed in the suggestion."
|
|
258
|
+
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
259
|
+
msgid_plural "%0 table columns *with text* %1"
|
|
260
|
+
msgstr[0] ""
|
|
261
|
+
|
|
262
|
+
msgctxt "The table row element name displayed in the suggestion."
|
|
263
|
+
msgid "ELEMENT_TABLE_ROW"
|
|
264
|
+
msgid_plural "%0 table rows"
|
|
265
|
+
msgstr[0] ""
|
|
266
|
+
|
|
267
|
+
msgctxt "The table row with text element name displayed in the suggestion."
|
|
268
|
+
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
269
|
+
msgid_plural "%0 table rows *with text* %1"
|
|
270
|
+
msgstr[0] ""
|
|
271
|
+
|
|
272
|
+
msgctxt "The table with text element name displayed in the suggestion."
|
|
273
|
+
msgid "ELEMENT_TABLE_WITH_TEXT"
|
|
274
|
+
msgstr ""
|
|
275
|
+
|
|
276
|
+
msgctxt "The title element name displayed in the suggestion."
|
|
277
|
+
msgid "ELEMENT_TITLE"
|
|
278
|
+
msgstr ""
|
|
279
|
+
|
|
280
|
+
msgctxt "The to-do list element name displayed in the suggestion."
|
|
281
|
+
msgid "ELEMENT_TODO_LIST"
|
|
282
|
+
msgstr ""
|
|
283
|
+
|
|
284
|
+
msgctxt "The align to center format name displayed in a format suggestion."
|
|
285
|
+
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
286
|
+
msgstr ""
|
|
287
|
+
|
|
288
|
+
msgctxt "The align to left format name displayed in a format suggestion."
|
|
289
|
+
msgid "FORMAT_ALIGN_TO_LEFT"
|
|
290
|
+
msgstr ""
|
|
291
|
+
|
|
292
|
+
msgctxt "The align to right format name displayed in a format suggestion."
|
|
293
|
+
msgid "FORMAT_ALIGN_TO_RIGHT"
|
|
294
|
+
msgstr ""
|
|
295
|
+
|
|
296
|
+
msgctxt "The bold format name displayed in a format suggestion."
|
|
297
|
+
msgid "FORMAT_BOLD"
|
|
298
|
+
msgstr ""
|
|
299
|
+
|
|
300
|
+
msgctxt "The code format name displayed in a format suggestion."
|
|
301
|
+
msgid "FORMAT_CODE"
|
|
302
|
+
msgstr ""
|
|
303
|
+
|
|
304
|
+
msgctxt "The header column format name displayed in a format suggestion."
|
|
305
|
+
msgid "FORMAT_HEADER_COLUMN"
|
|
306
|
+
msgstr ""
|
|
307
|
+
|
|
308
|
+
msgctxt "The header row format name displayed in a format suggestion."
|
|
309
|
+
msgid "FORMAT_HEADER_ROW"
|
|
310
|
+
msgstr ""
|
|
311
|
+
|
|
312
|
+
msgctxt "The highlight format name displayed in a format suggestion."
|
|
313
|
+
msgid "FORMAT_HIGHLIGHT"
|
|
314
|
+
msgstr ""
|
|
315
|
+
|
|
316
|
+
msgctxt "The italic format name displayed in a format suggestion."
|
|
317
|
+
msgid "FORMAT_ITALIC"
|
|
318
|
+
msgstr ""
|
|
319
|
+
|
|
320
|
+
msgctxt "The justify text format name displayed in a format suggestion."
|
|
321
|
+
msgid "FORMAT_JUSTIFY_TEXT"
|
|
322
|
+
msgstr ""
|
|
323
|
+
|
|
324
|
+
msgctxt "The regular column format name displayed in a format suggestion."
|
|
325
|
+
msgid "FORMAT_REGULAR_COLUMN"
|
|
326
|
+
msgstr ""
|
|
327
|
+
|
|
328
|
+
msgctxt "The regular row format name displayed in a format suggestion."
|
|
329
|
+
msgid "FORMAT_REGULAR_ROW"
|
|
330
|
+
msgstr ""
|
|
331
|
+
|
|
332
|
+
msgctxt "The label for area disabled in restricted editing area in a format suggestion."
|
|
333
|
+
msgid "FORMAT_RESTRICTED_DISABLED"
|
|
334
|
+
msgstr ""
|
|
335
|
+
|
|
336
|
+
msgctxt "The label for area enabled in restricted editing area in a format suggestion."
|
|
337
|
+
msgid "FORMAT_RESTRICTED_ENABLED"
|
|
338
|
+
msgstr ""
|
|
339
|
+
|
|
340
|
+
msgctxt "The side image format name displayed in a format suggestion."
|
|
341
|
+
msgid "FORMAT_SIDE_IMAGE"
|
|
342
|
+
msgstr ""
|
|
343
|
+
|
|
344
|
+
msgctxt "The strikethrough format name displayed in a format suggestion."
|
|
345
|
+
msgid "FORMAT_STRIKETHROUGH"
|
|
346
|
+
msgstr ""
|
|
347
|
+
|
|
348
|
+
msgctxt "The subscript format name displayed in a format suggestion."
|
|
349
|
+
msgid "FORMAT_SUBSCRIPT"
|
|
350
|
+
msgstr ""
|
|
351
|
+
|
|
352
|
+
msgctxt "The superscript format name displayed in a format suggestion."
|
|
353
|
+
msgid "FORMAT_SUPERSCRIPT"
|
|
354
|
+
msgstr ""
|
|
355
|
+
|
|
356
|
+
msgctxt "The underline format name displayed in a format suggestion."
|
|
357
|
+
msgid "FORMAT_UNDERLINE"
|
|
358
|
+
msgstr ""
|
|
359
|
+
|
|
360
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
361
|
+
msgid "PENDING_ACTION_SUGGESTION"
|
|
362
|
+
msgstr ""
|
|
363
|
+
|
|
364
|
+
msgctxt "A suggestion for replacing one text with another."
|
|
365
|
+
msgid "REPLACE_TEXT"
|
|
366
|
+
msgstr ""
|
|
367
|
+
|
|
368
|
+
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
369
|
+
msgid "Track changes"
|
|
370
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -25,13 +25,10 @@
|
|
|
25
25
|
"realtime",
|
|
26
26
|
"framework"
|
|
27
27
|
],
|
|
28
|
+
"main": "src/index.js",
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"@ckeditor/ckeditor5-font": "^31.0.0",
|
|
32
|
-
"@ckeditor/ckeditor5-image": "^31.0.0",
|
|
33
|
-
"@ckeditor/ckeditor5-table": "^31.0.0",
|
|
34
|
-
"ckeditor5": "^31.0.0",
|
|
30
|
+
"ckeditor5": "^33.0.0",
|
|
31
|
+
"ckeditor5-collaboration": "^33.0.0",
|
|
35
32
|
"lodash-es": "^4.17.11"
|
|
36
33
|
}
|
|
37
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a65=['isEnabled','editor','change','refresh','model','_acceptSuggestionCommand','isInContent','execute','_suggestions','from','some','values'];(function(_0x52e07a,_0x4a65e9){const _0x4d0246=function(_0xae9ffb){while(--_0xae9ffb){_0x52e07a['push'](_0x52e07a['shift']());}};_0x4d0246(++_0x4a65e9);}(_0x4a65,0x1c0));const _0x4d02=function(_0x52e07a,_0x4a65e9){_0x52e07a=_0x52e07a-0x0;let _0x4d0246=_0x4a65[_0x52e07a];return _0x4d0246;};import{Command as _0x4da45b}from'ckeditor5/src/core';import _0x4c793d from'../utils/sortsuggestions';export default class $ extends _0x4da45b{constructor(_0x842d04,_0x4ea60b,_0x150fc7){super(_0x842d04),this[_0x4d02('0x1')]=_0x4ea60b,this[_0x4d02('0x4')]=_0x150fc7,this['refresh']();}[_0x4d02('0xb')](){const _0x1d801f=this[_0x4d02('0x1')];this['isEnabled']=_0x1d801f[_0x4d02('0x8')]&&Array[_0x4d02('0x5')](this[_0x4d02('0x4')][_0x4d02('0x7')]())[_0x4d02('0x6')](_0x51df28=>_0x51df28[_0x4d02('0x2')]);}[_0x4d02('0x3')](){this[_0x4d02('0x9')][_0x4d02('0x0')][_0x4d02('0xa')](()=>{const _0x26399e=_0x4c793d(Array[_0x4d02('0x5')](this['_suggestions'][_0x4d02('0x7')]()));for(const _0x279c03 of _0x26399e)_0x279c03['isInContent']&&this[_0x4d02('0x1')][_0x4d02('0x3')](_0x279c03['id']);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dbf=['editor','_suggestions','from','execute','size','selection','isEnabled','model','document','_acceptSuggestionCommand','_selectedSuggestions','refresh','change','values'];(function(_0x49c26d,_0x3dbf0a){const _0x2fe0b5=function(_0x12bb4a){while(--_0x12bb4a){_0x49c26d['push'](_0x49c26d['shift']());}};_0x2fe0b5(++_0x3dbf0a);}(_0x3dbf,0x19a));const _0x2fe0=function(_0x49c26d,_0x3dbf0a){_0x49c26d=_0x49c26d-0x0;let _0x2fe0b5=_0x3dbf[_0x49c26d];return _0x2fe0b5;};import{Command as _0x31d43a}from'ckeditor5/src/core';import _0x136a19 from'../utils/sortsuggestions';import _0x151f60 from'../utils/getselectedsuggestions';export default class N extends _0x31d43a{constructor(_0x48c048,_0x798cb7,_0x1c8514){super(_0x48c048),this[_0x2fe0('0x5')]=_0x798cb7,this[_0x2fe0('0xb')]=_0x1c8514,this['_selectedSuggestions']=new Set(),this[_0x2fe0('0x7')]();}[_0x2fe0('0x7')](){const _0x32abfc=this[_0x2fe0('0x5')],_0x163afe=this[_0x2fe0('0xa')]['model'][_0x2fe0('0x4')][_0x2fe0('0x1')],_0x39dff9=Array['from'](this[_0x2fe0('0xb')][_0x2fe0('0x9')]());this[_0x2fe0('0x6')]=_0x151f60(_0x163afe,_0x39dff9),this['isEnabled']=_0x32abfc[_0x2fe0('0x2')]&&!!this[_0x2fe0('0x6')][_0x2fe0('0x0')];}[_0x2fe0('0xd')](){this[_0x2fe0('0xa')][_0x2fe0('0x3')][_0x2fe0('0x8')](()=>{const _0x573924=_0x136a19(Array[_0x2fe0('0xc')](this[_0x2fe0('0x6')]));for(const _0x8de885 of _0x573924)this['_acceptSuggestionCommand'][_0x2fe0('0xd')](_0x8de885['id']);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d8f=['refresh','isEnabled','get','TrackChangesEditing','acceptSuggestion','_suggestions','track-changes-accept-suggestion-not-found','plugins','execute'];(function(_0x49641c,_0x2d8f79){const _0x5cf288=function(_0x151059){while(--_0x151059){_0x49641c['push'](_0x49641c['shift']());}};_0x5cf288(++_0x2d8f79);}(_0x2d8f,0x198));const _0x5cf2=function(_0x49641c,_0x2d8f79){_0x49641c=_0x49641c-0x0;let _0x5cf288=_0x2d8f[_0x49641c];return _0x5cf288;};import{Command as _0xc11632}from'ckeditor5/src/core';import{CKEditorError as _0x54d2d1}from'ckeditor5/src/utils';export default class B extends _0xc11632{constructor(_0x33c86f,_0x4465dd){super(_0x33c86f),this[_0x5cf2('0x2')]=_0x4465dd,this['refresh']();}[_0x5cf2('0x6')](){this[_0x5cf2('0x7')]=!0x0;}[_0x5cf2('0x5')](_0x4ddcd4){const _0x36629a=this[_0x5cf2('0x2')]['get'](_0x4ddcd4);if(!_0x36629a)throw new _0x54d2d1(_0x5cf2('0x3'),this);this['editor'][_0x5cf2('0x4')][_0x5cf2('0x8')](_0x5cf2('0x0'))[_0x5cf2('0x1')](_0x36629a);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b17=['some','from','editor','refresh','change','isEnabled','_suggestions','_discardSuggestionCommand','isInContent','values','execute'];(function(_0x25b82e,_0x5b1774){const _0xf3a840=function(_0x49a3a4){while(--_0x49a3a4){_0x25b82e['push'](_0x25b82e['shift']());}};_0xf3a840(++_0x5b1774);}(_0x5b17,0x102));const _0xf3a8=function(_0x25b82e,_0x5b1774){_0x25b82e=_0x25b82e-0x0;let _0xf3a840=_0x5b17[_0x25b82e];return _0xf3a840;};import{Command as _0x10f59c}from'ckeditor5/src/core';export default class R extends _0x10f59c{constructor(_0x2fa294,_0x41e76d,_0x5bab82){super(_0x2fa294),this[_0xf3a8('0x2')]=_0x41e76d,this[_0xf3a8('0x1')]=_0x5bab82,this[_0xf3a8('0x9')]();}['refresh'](){const _0x253e25=this[_0xf3a8('0x2')];this['isEnabled']=_0x253e25[_0xf3a8('0x0')]&&Array[_0xf3a8('0x7')](this['_suggestions'][_0xf3a8('0x4')]())[_0xf3a8('0x6')](_0x3dcef5=>_0x3dcef5[_0xf3a8('0x3')]);}['execute'](){this[_0xf3a8('0x8')]['model'][_0xf3a8('0xa')](()=>{for(const _0x183141 of this[_0xf3a8('0x1')][_0xf3a8('0x4')]())_0x183141[_0xf3a8('0x3')]&&this['_discardSuggestionCommand'][_0xf3a8('0x5')](_0x183141['id']);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x280f=['_discardSuggestionCommand','values','isEnabled','editor','_selectedSuggestions','model','refresh','change','size','from','_suggestions','execute'];(function(_0x64148c,_0x280f63){const _0x33ffba=function(_0x4416db){while(--_0x4416db){_0x64148c['push'](_0x64148c['shift']());}};_0x33ffba(++_0x280f63);}(_0x280f,0x7e));const _0x33ff=function(_0x64148c,_0x280f63){_0x64148c=_0x64148c-0x0;let _0x33ffba=_0x280f[_0x64148c];return _0x33ffba;};import{Command as _0x2e9050}from'ckeditor5/src/core';import _0x24127a from'../utils/getselectedsuggestions';export default class j extends _0x2e9050{constructor(_0x1b085f,_0x3a5c4c,_0x1ed7a8){super(_0x1b085f),this[_0x33ff('0x6')]=_0x3a5c4c,this[_0x33ff('0x4')]=_0x1ed7a8,this['_selectedSuggestions']=new Set(),this['refresh']();}[_0x33ff('0x0')](){const _0x424d55=this['_discardSuggestionCommand'],_0x41817d=this[_0x33ff('0x9')][_0x33ff('0xb')]['document']['selection'],_0x41455e=Array[_0x33ff('0x3')](this[_0x33ff('0x4')][_0x33ff('0x7')]());this[_0x33ff('0xa')]=_0x24127a(_0x41817d,_0x41455e),this[_0x33ff('0x8')]=_0x424d55['isEnabled']&&!!this[_0x33ff('0xa')][_0x33ff('0x2')];}[_0x33ff('0x5')](){this[_0x33ff('0x9')][_0x33ff('0xb')][_0x33ff('0x1')](()=>{for(const _0x43dd86 of this[_0x33ff('0xa')])this[_0x33ff('0x6')][_0x33ff('0x5')](_0x43dd86['id']);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c86=['refresh','discardSuggestion','get','_suggestions','plugins','TrackChangesEditing','isEnabled'];(function(_0x2a0d9c,_0x1c8650){const _0x4e75b1=function(_0x2b35bf){while(--_0x2b35bf){_0x2a0d9c['push'](_0x2a0d9c['shift']());}};_0x4e75b1(++_0x1c8650);}(_0x1c86,0x114));const _0x4e75=function(_0x2a0d9c,_0x1c8650){_0x2a0d9c=_0x2a0d9c-0x0;let _0x4e75b1=_0x1c86[_0x2a0d9c];return _0x4e75b1;};import{Command as _0x4fabf3}from'ckeditor5/src/core';import{CKEditorError as _0x56aee5}from'ckeditor5/src/utils';export default class M extends _0x4fabf3{constructor(_0x8259d0,_0x44652b){super(_0x8259d0),this[_0x4e75('0x0')]=_0x44652b,this[_0x4e75('0x4')]();}[_0x4e75('0x4')](){this[_0x4e75('0x3')]=!0x0;}['execute'](_0x4d3fdd){const _0x48e5cd=this[_0x4e75('0x0')][_0x4e75('0x6')](_0x4d3fdd);if(!_0x48e5cd)throw new _0x56aee5('track-changes-discard-suggestion-not-found',this);this['editor'][_0x4e75('0x1')][_0x4e75('0x6')](_0x4e75('0x2'))[_0x4e75('0x5')](_0x48e5cd);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x985a=['affectsData','refresh','_enabledCommands','value','forceDisabled','execute','TrackChangesCommand','isEnabled','_disableUnsupportedCommands','commands','editor','has'];(function(_0xa389ce,_0x985ac6){const _0x5df925=function(_0x48c39b){while(--_0x48c39b){_0xa389ce['push'](_0xa389ce['shift']());}};_0x5df925(++_0x985ac6);}(_0x985a,0x8e));const _0x5df9=function(_0xa389ce,_0x985ac6){_0xa389ce=_0xa389ce-0x0;let _0x5df925=_0x985a[_0xa389ce];return _0x5df925;};import{Command as _0x22a5de}from'ckeditor5/src/core';export default class _ extends _0x22a5de{constructor(_0x55d65c,_0x38cb17){super(_0x55d65c),this[_0x5df9('0x4')]=_0x38cb17,this['value']=!0x1,this['refresh']();}[_0x5df9('0x3')](){this[_0x5df9('0x9')]=!0x0;}[_0x5df9('0x7')](){this['value']=!this[_0x5df9('0x5')],this['value']?this[_0x5df9('0xa')]():this['_enableCommands']();}[_0x5df9('0xa')](){for(const _0x4a62a4 of this[_0x5df9('0x0')]['commands'][_0x5df9('0xb')]())_0x4a62a4[_0x5df9('0x2')]&&!this[_0x5df9('0x4')][_0x5df9('0x1')](_0x4a62a4)&&_0x4a62a4[_0x5df9('0x6')](_0x5df9('0x8'));}['_enableCommands'](){for(const _0x5f49ab of this[_0x5df9('0x0')][_0x5df9('0xb')][_0x5df9('0xb')]())_0x5f49ab[_0x5df9('0x2')]&&!this[_0x5df9('0x4')][_0x5df9('0x1')](_0x5f49ab)&&_0x5f49ab['clearForceDisabled']('TrackChangesCommand');}}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{default as TrackChanges}from'./trackchanges';export{default as TrackChangesData}from'./trackchangesdata';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x26505d}from'ckeditor5/src/core';export default class U extends _0x26505d{['afterInit'](){const _0x3ecd8a=this['editor'],{t:t}=_0x3ecd8a['locale'];if(!_0x3ecd8a['plugins']['has']('AlignmentEditing'))return;const _0x28d630=_0x3ecd8a['plugins']['get']('TrackChangesEditing');_0x28d630['enableCommand']('alignment',(_0x411fab,_0x5acaf3={})=>{let _0x370255=_0x5acaf3['value'];_0x5acaf3['value']||(_0x370255='ltr'===_0x3ecd8a['locale']['contentLanguageDirection']?'left':'right');const _0x10df93=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x4d64c0=>function(_0x2345a1,_0x18dfd2,_0x3230e7){const _0x21c14=_0x2345a1['getAttribute']('alignment')||null;return _0x18dfd2['checkAttribute'](_0x2345a1,'alignment')&&_0x3230e7!=_0x21c14;}(_0x4d64c0,this['editor']['model']['schema'],_0x370255));_0x3ecd8a['model']['change'](()=>{for(const _0x39f751 of _0x10df93)_0x28d630['markBlockFormat'](_0x39f751,{'commandName':'alignment','commandParams':[{'value':_0x370255}]});});}),_0x28d630['_descriptionFactory']['registerDescriptionCallback'](_0x458dea=>{const {data:_0x1b1cb2}=_0x458dea;if(_0x1b1cb2&&'alignment'==_0x1b1cb2['commandName']){const _0x52da6f=_0x1b1cb2['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x19de5a){switch(_0x19de5a){case'left':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'right':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'center':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'justify':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});}}(_0x52da6f))};}});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3f1968}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ot=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class E extends _0x3f1968{['afterInit'](){const _0x578655=this['editor'],_0x2a1c60=_0x578655['model'],_0x32b654=_0x578655['plugins']['get']('TrackChangesEditing'),{t:t}=_0x578655['locale'];for(const _0x1ad341 of Ot){if(!_0x578655['plugins']['has'](_0x1ad341))continue;const _0x2cddcc=_0x1ad341['slice'](0x0,-0x7)['toLowerCase'](),_0x298bef=_0x578655['commands']['get'](_0x2cddcc);_0x32b654['enableCommand'](_0x2cddcc,(_0x5b437d,_0x3dcd31={})=>{const _0x4cf1fc=_0x2a1c60['document']['selection'];if(_0x4cf1fc['isCollapsed'])return void _0x5b437d(_0x3dcd31);const _0x4b15ca=void 0x0!==_0x3dcd31['forceValue']?_0x3dcd31['forceValue']:!_0x298bef['value'];_0x2a1c60['change'](()=>{const _0x5b97d9=Array['from'](_0x4cf1fc['getRanges']());for(const _0x5b849a of _0x5b97d9){const _0x5c6476=_0x4b15ca?[_0x5b849a]:Rt(_0x2cddcc,_0x5b849a,_0x2a1c60);for(const _0x36ca9c of _0x5c6476)_0x32b654['markInlineFormat'](_0x36ca9c,{'commandName':_0x2cddcc,'commandParams':[{'forceValue':_0x4b15ca}]});}});});}function _0x157963(_0x2d60e4,_0x2ac854){_0x32b654['_descriptionFactory']['registerDescriptionCallback'](_0x39a668=>{const {data:_0x210f95}=_0x39a668;if(_0x210f95&&_0x210f95['commandName']===_0x2d60e4)return _0x210f95['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x2ac854)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x2ac854)};});}_0x157963('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x157963('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x157963('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x157963('code',t({'string':'code','id':'FORMAT_CODE'})),_0x157963('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x157963('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x157963('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
|