@ckeditor/ckeditor5-table 37.0.1 → 38.0.0-rc.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/table.js +1 -1
- package/build/translations/sl.js +1 -0
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +261 -0
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +27 -26
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +9 -3
- package/src/tableclipboard.js +1 -1
- package/src/tablecolumnresize/converters.js +1 -1
- package/src/tablecolumnresize/tablecolumnresizeediting.js +10 -3
- package/src/tablekeyboard.js +1 -1
- package/src/tableproperties/ui/tablepropertiesview.js +9 -3
- package/src/tableselection.js +0 -1
- package/src/tableutils.js +1 -1
- package/src/utils/ui/table-properties.js +1 -0
|
@@ -0,0 +1,261 @@
|
|
|
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: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n"
|
|
16
|
+
"Language: sl\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Label for the insert table toolbar button."
|
|
20
|
+
msgid "Insert table"
|
|
21
|
+
msgstr "Vstavi tabelo"
|
|
22
|
+
|
|
23
|
+
msgctxt "Label for the set/unset table header column button."
|
|
24
|
+
msgid "Header column"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
msgctxt "Label for the insert table column to the left of the current one button."
|
|
28
|
+
msgid "Insert column left"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
msgctxt "Label for the insert table column to the right of the current one button."
|
|
32
|
+
msgid "Insert column right"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
msgctxt "Label for the delete table column button."
|
|
36
|
+
msgid "Delete column"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
msgctxt "Label for the select the entire table column button."
|
|
40
|
+
msgid "Select column"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "Label for the table column dropdown button."
|
|
44
|
+
msgid "Column"
|
|
45
|
+
msgstr ""
|
|
46
|
+
|
|
47
|
+
msgctxt "Label for the set/unset table header row button."
|
|
48
|
+
msgid "Header row"
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
51
|
+
msgctxt "Label for the insert row below button."
|
|
52
|
+
msgid "Insert row below"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
msgctxt "Label for the insert row above button."
|
|
56
|
+
msgid "Insert row above"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
msgctxt "Label for the delete table row button."
|
|
60
|
+
msgid "Delete row"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgctxt "Label for the select the entire table row button."
|
|
64
|
+
msgid "Select row"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
msgctxt "Label for the table row dropdown button."
|
|
68
|
+
msgid "Row"
|
|
69
|
+
msgstr ""
|
|
70
|
+
|
|
71
|
+
msgctxt "Label for the merge table cell up button."
|
|
72
|
+
msgid "Merge cell up"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
msgctxt "Label for the merge table cell right button."
|
|
76
|
+
msgid "Merge cell right"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
msgctxt "Label for the merge table cell down button."
|
|
80
|
+
msgid "Merge cell down"
|
|
81
|
+
msgstr ""
|
|
82
|
+
|
|
83
|
+
msgctxt "Label for the merge table cell left button."
|
|
84
|
+
msgid "Merge cell left"
|
|
85
|
+
msgstr ""
|
|
86
|
+
|
|
87
|
+
msgctxt "Label for the split table cell vertically button."
|
|
88
|
+
msgid "Split cell vertically"
|
|
89
|
+
msgstr ""
|
|
90
|
+
|
|
91
|
+
msgctxt "Label for the split table cell horizontally button."
|
|
92
|
+
msgid "Split cell horizontally"
|
|
93
|
+
msgstr ""
|
|
94
|
+
|
|
95
|
+
msgctxt "Label for the merge table cells button."
|
|
96
|
+
msgid "Merge cells"
|
|
97
|
+
msgstr ""
|
|
98
|
+
|
|
99
|
+
msgctxt "The label used by assistive technologies describing a table toolbar attached to a table widget."
|
|
100
|
+
msgid "Table toolbar"
|
|
101
|
+
msgstr ""
|
|
102
|
+
|
|
103
|
+
msgctxt "The label describing the form allowing to specify the properties of a selected table."
|
|
104
|
+
msgid "Table properties"
|
|
105
|
+
msgstr ""
|
|
106
|
+
|
|
107
|
+
msgctxt "The label describing the form allowing to specify the properties of a selected table cell."
|
|
108
|
+
msgid "Cell properties"
|
|
109
|
+
msgstr ""
|
|
110
|
+
|
|
111
|
+
msgctxt "The label describing a group of border–related form fields (border style, color, etc.)."
|
|
112
|
+
msgid "Border"
|
|
113
|
+
msgstr ""
|
|
114
|
+
|
|
115
|
+
msgctxt "The label for the dropdown that allows configuring the border style of a table or a table cell."
|
|
116
|
+
msgid "Style"
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
119
|
+
msgctxt "The label for the input that allows configuring the width of a table or a table cell or the width of a border."
|
|
120
|
+
msgid "Width"
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
msgctxt "The label for the input that allows configuring the height of a table or a table cell."
|
|
124
|
+
msgid "Height"
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
msgctxt "The label for the input that allows configuring the border color of a table or a table cell."
|
|
128
|
+
msgid "Color"
|
|
129
|
+
msgstr ""
|
|
130
|
+
|
|
131
|
+
msgctxt "The label for the input that allows configuring the background color of a table or a table cell."
|
|
132
|
+
msgid "Background"
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
msgctxt "The label for the input that allows configuring the padding of a table cell."
|
|
136
|
+
msgid "Padding"
|
|
137
|
+
msgstr ""
|
|
138
|
+
|
|
139
|
+
msgctxt "The label describing a group of form fields that allows setting dimensions of a table or a table cell."
|
|
140
|
+
msgid "Dimensions"
|
|
141
|
+
msgstr ""
|
|
142
|
+
|
|
143
|
+
msgctxt "The label for the group of toolbars that allows configuring the text alignment in a table cell."
|
|
144
|
+
msgid "Table cell text alignment"
|
|
145
|
+
msgstr ""
|
|
146
|
+
|
|
147
|
+
msgctxt "The label for the toolbar that allows configuring the alignment of a table."
|
|
148
|
+
msgid "Alignment"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the horizontal text alignment in a table cell."
|
|
152
|
+
msgid "Horizontal text alignment toolbar"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the vertical text alignment in a table cell."
|
|
156
|
+
msgid "Vertical text alignment toolbar"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the alignment of a table."
|
|
160
|
+
msgid "Table alignment toolbar"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
msgctxt "The label for the border style dropdown when no style is applied to a table or a table cell."
|
|
164
|
+
msgid "None"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
msgctxt "The label for the border style dropdown when the solid border is applied to a table or a table cell."
|
|
168
|
+
msgid "Solid"
|
|
169
|
+
msgstr ""
|
|
170
|
+
|
|
171
|
+
msgctxt "The label for the border style dropdown when the dotted border is applied to a table or a table cell."
|
|
172
|
+
msgid "Dotted"
|
|
173
|
+
msgstr ""
|
|
174
|
+
|
|
175
|
+
msgctxt "The label for the border style dropdown when the dashed border is applied to a table or a table cell."
|
|
176
|
+
msgid "Dashed"
|
|
177
|
+
msgstr ""
|
|
178
|
+
|
|
179
|
+
msgctxt "The label for the border style dropdown when the double border is applied to a table or a table cell."
|
|
180
|
+
msgid "Double"
|
|
181
|
+
msgstr ""
|
|
182
|
+
|
|
183
|
+
msgctxt "The label for the border style dropdown when the groove border is applied to a table or a table cell."
|
|
184
|
+
msgid "Groove"
|
|
185
|
+
msgstr ""
|
|
186
|
+
|
|
187
|
+
msgctxt "The label for the border style dropdown when the ridge border is applied to a table or a table cell."
|
|
188
|
+
msgid "Ridge"
|
|
189
|
+
msgstr ""
|
|
190
|
+
|
|
191
|
+
msgctxt "The label for the border style dropdown when the inset border is applied to a table or a table cell."
|
|
192
|
+
msgid "Inset"
|
|
193
|
+
msgstr ""
|
|
194
|
+
|
|
195
|
+
msgctxt "The label for the border style dropdown when the outset border is applied to a table or a table cell."
|
|
196
|
+
msgid "Outset"
|
|
197
|
+
msgstr ""
|
|
198
|
+
|
|
199
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the left."
|
|
200
|
+
msgid "Align cell text to the left"
|
|
201
|
+
msgstr ""
|
|
202
|
+
|
|
203
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the center."
|
|
204
|
+
msgid "Align cell text to the center"
|
|
205
|
+
msgstr ""
|
|
206
|
+
|
|
207
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the right."
|
|
208
|
+
msgid "Align cell text to the right"
|
|
209
|
+
msgstr ""
|
|
210
|
+
|
|
211
|
+
msgctxt "The label used by assistive technologies describing a button that justifies the table cell text."
|
|
212
|
+
msgid "Justify cell text"
|
|
213
|
+
msgstr ""
|
|
214
|
+
|
|
215
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the top."
|
|
216
|
+
msgid "Align cell text to the top"
|
|
217
|
+
msgstr ""
|
|
218
|
+
|
|
219
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the middle."
|
|
220
|
+
msgid "Align cell text to the middle"
|
|
221
|
+
msgstr ""
|
|
222
|
+
|
|
223
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the bottom."
|
|
224
|
+
msgid "Align cell text to the bottom"
|
|
225
|
+
msgstr ""
|
|
226
|
+
|
|
227
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table to the left."
|
|
228
|
+
msgid "Align table to the left"
|
|
229
|
+
msgstr ""
|
|
230
|
+
|
|
231
|
+
msgctxt "The label used by assistive technologies describing a button that centers the table."
|
|
232
|
+
msgid "Center table"
|
|
233
|
+
msgstr ""
|
|
234
|
+
|
|
235
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table to the right."
|
|
236
|
+
msgid "Align table to the right"
|
|
237
|
+
msgstr ""
|
|
238
|
+
|
|
239
|
+
msgctxt "The localized error string that can be displayed next to color (background, border) fields that have an invalid value"
|
|
240
|
+
msgid "The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\"."
|
|
241
|
+
msgstr ""
|
|
242
|
+
|
|
243
|
+
msgctxt "The localized error string that can be displayed next to length (padding, border width) fields that have an invalid value."
|
|
244
|
+
msgid "The value is invalid. Try \"10px\" or \"2em\" or simply \"2\"."
|
|
245
|
+
msgstr ""
|
|
246
|
+
|
|
247
|
+
msgctxt "The label used by assistive technologies describing a button that opens a color picker, where user can choose a configured color for a certain properties (eg.: background color, color, border-color etc.)."
|
|
248
|
+
msgid "Color picker"
|
|
249
|
+
msgstr ""
|
|
250
|
+
|
|
251
|
+
msgctxt "The button label for the table toolbar hiding caption attached to the table."
|
|
252
|
+
msgid "Toggle caption off"
|
|
253
|
+
msgstr ""
|
|
254
|
+
|
|
255
|
+
msgctxt "The button label for the table toolbar showing caption attached to the table."
|
|
256
|
+
msgid "Toggle caption on"
|
|
257
|
+
msgstr ""
|
|
258
|
+
|
|
259
|
+
msgctxt "The placeholder text for the table caption displayed when the caption is empty."
|
|
260
|
+
msgid "Enter table caption"
|
|
261
|
+
msgstr ""
|
package/lang/translations/sq.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Albanian (https://
|
|
15
|
+
"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
|
|
16
16
|
"Language: sq\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Serbian (Latin) (https://
|
|
15
|
+
"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
|
|
16
16
|
"Language: sr@latin\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
18
|
|
package/lang/translations/sr.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Serbian (https://
|
|
15
|
+
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
16
|
"Language: sr\n"
|
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
18
|
|
package/lang/translations/sv.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Swedish (https://
|
|
15
|
+
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
16
|
"Language: sv\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
18
|
|
package/lang/translations/th.po
CHANGED
package/lang/translations/tk.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Turkmen (https://
|
|
15
|
+
"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
|
|
16
16
|
"Language: tk\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
18
|
|
package/lang/translations/tr.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Turkish (https://
|
|
15
|
+
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
16
|
"Language: tr\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
18
|
|
package/lang/translations/tt.po
CHANGED
package/lang/translations/ug.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Uyghur (https://
|
|
15
|
+
"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
|
|
16
16
|
"Language: ug\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
18
|
|
package/lang/translations/uk.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Ukrainian (https://
|
|
15
|
+
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
16
|
"Language: uk\n"
|
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
|
18
18
|
|
package/lang/translations/ur.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Urdu (https://
|
|
15
|
+
"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
16
|
"Language: ur\n"
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
18
|
|
package/lang/translations/uz.po
CHANGED
package/lang/translations/vi.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Vietnamese (https://
|
|
15
|
+
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
16
|
"Language: vi\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Chinese (China) (https://
|
|
15
|
+
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
16
|
"Language: zh_CN\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
18
|
|
package/lang/translations/zh.po
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Language-Team: Chinese (Taiwan) (https://
|
|
15
|
+
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
16
|
"Language: zh_TW\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "38.0.0-rc.0",
|
|
4
4
|
"description": "Table feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,34 +12,35 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^
|
|
15
|
+
"ckeditor5": "^38.0.0-rc.0",
|
|
16
16
|
"lodash-es": "^4.17.15"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-alignment": "^
|
|
20
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
|
21
|
-
"@ckeditor/ckeditor5-block-quote": "^
|
|
22
|
-
"@ckeditor/ckeditor5-clipboard": "^
|
|
23
|
-
"@ckeditor/ckeditor5-core": "^
|
|
24
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
25
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
|
26
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
27
|
-
"@ckeditor/ckeditor5-highlight": "^
|
|
28
|
-
"@ckeditor/ckeditor5-horizontal-line": "^
|
|
29
|
-
"@ckeditor/ckeditor5-html-support": "^
|
|
30
|
-
"@ckeditor/ckeditor5-image": "^
|
|
31
|
-
"@ckeditor/ckeditor5-indent": "^
|
|
32
|
-
"@ckeditor/ckeditor5-link": "^
|
|
33
|
-
"@ckeditor/ckeditor5-list": "^
|
|
34
|
-
"@ckeditor/ckeditor5-media-embed": "^
|
|
35
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
36
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
|
37
|
-
"@ckeditor/ckeditor5-typing": "^
|
|
38
|
-
"@ckeditor/ckeditor5-ui": "^
|
|
39
|
-
"@ckeditor/ckeditor5-undo": "^
|
|
40
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
41
|
-
"@ckeditor/ckeditor5-widget": "^
|
|
42
|
-
"@ckeditor/ckeditor5-source-editing": "^
|
|
19
|
+
"@ckeditor/ckeditor5-alignment": "^38.0.0-rc.0",
|
|
20
|
+
"@ckeditor/ckeditor5-basic-styles": "^38.0.0-rc.0",
|
|
21
|
+
"@ckeditor/ckeditor5-block-quote": "^38.0.0-rc.0",
|
|
22
|
+
"@ckeditor/ckeditor5-clipboard": "^38.0.0-rc.0",
|
|
23
|
+
"@ckeditor/ckeditor5-core": "^38.0.0-rc.0",
|
|
24
|
+
"@ckeditor/ckeditor5-dev-utils": "^37.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-editor-classic": "^38.0.0-rc.0",
|
|
26
|
+
"@ckeditor/ckeditor5-engine": "^38.0.0-rc.0",
|
|
27
|
+
"@ckeditor/ckeditor5-highlight": "^38.0.0-rc.0",
|
|
28
|
+
"@ckeditor/ckeditor5-horizontal-line": "^38.0.0-rc.0",
|
|
29
|
+
"@ckeditor/ckeditor5-html-support": "^38.0.0-rc.0",
|
|
30
|
+
"@ckeditor/ckeditor5-image": "^38.0.0-rc.0",
|
|
31
|
+
"@ckeditor/ckeditor5-indent": "^38.0.0-rc.0",
|
|
32
|
+
"@ckeditor/ckeditor5-link": "^38.0.0-rc.0",
|
|
33
|
+
"@ckeditor/ckeditor5-list": "^38.0.0-rc.0",
|
|
34
|
+
"@ckeditor/ckeditor5-media-embed": "^38.0.0-rc.0",
|
|
35
|
+
"@ckeditor/ckeditor5-paragraph": "^38.0.0-rc.0",
|
|
36
|
+
"@ckeditor/ckeditor5-theme-lark": "^38.0.0-rc.0",
|
|
37
|
+
"@ckeditor/ckeditor5-typing": "^38.0.0-rc.0",
|
|
38
|
+
"@ckeditor/ckeditor5-ui": "^38.0.0-rc.0",
|
|
39
|
+
"@ckeditor/ckeditor5-undo": "^38.0.0-rc.0",
|
|
40
|
+
"@ckeditor/ckeditor5-utils": "^38.0.0-rc.0",
|
|
41
|
+
"@ckeditor/ckeditor5-widget": "^38.0.0-rc.0",
|
|
42
|
+
"@ckeditor/ckeditor5-source-editing": "^38.0.0-rc.0",
|
|
43
|
+
"@ckeditor/ckeditor5-editor-multi-root": "^38.0.0-rc.0",
|
|
43
44
|
"json-diff": "^0.5.4",
|
|
44
45
|
"typescript": "^4.8.4",
|
|
45
46
|
"webpack": "^5.58.1",
|
|
@@ -232,6 +232,7 @@ export default class TableCellPropertiesView extends View {
|
|
|
232
232
|
});
|
|
233
233
|
const locale = this.locale;
|
|
234
234
|
const t = this.t;
|
|
235
|
+
const accessibleLabel = t('Style');
|
|
235
236
|
// -- Group label ---------------------------------------------
|
|
236
237
|
const borderRowLabel = new LabelView(locale);
|
|
237
238
|
borderRowLabel.text = t('Border');
|
|
@@ -239,13 +240,15 @@ export default class TableCellPropertiesView extends View {
|
|
|
239
240
|
const styleLabels = getBorderStyleLabels(t);
|
|
240
241
|
const borderStyleDropdown = new LabeledFieldView(locale, createLabeledDropdown);
|
|
241
242
|
borderStyleDropdown.set({
|
|
242
|
-
label:
|
|
243
|
+
label: accessibleLabel,
|
|
243
244
|
class: 'ck-table-form__border-style'
|
|
244
245
|
});
|
|
245
246
|
borderStyleDropdown.fieldView.buttonView.set({
|
|
247
|
+
ariaLabel: accessibleLabel,
|
|
248
|
+
ariaLabelledBy: undefined,
|
|
246
249
|
isOn: false,
|
|
247
250
|
withText: true,
|
|
248
|
-
tooltip:
|
|
251
|
+
tooltip: accessibleLabel
|
|
249
252
|
});
|
|
250
253
|
borderStyleDropdown.fieldView.buttonView.bind('label').to(this, 'borderStyle', value => {
|
|
251
254
|
return styleLabels[value ? value : 'none'];
|
|
@@ -254,7 +257,10 @@ export default class TableCellPropertiesView extends View {
|
|
|
254
257
|
this.borderStyle = evt.source._borderStyleValue;
|
|
255
258
|
});
|
|
256
259
|
borderStyleDropdown.bind('isEmpty').to(this, 'borderStyle', value => !value);
|
|
257
|
-
addListToDropdown(borderStyleDropdown.fieldView, getBorderStyleDefinitions(this, defaultBorder.style)
|
|
260
|
+
addListToDropdown(borderStyleDropdown.fieldView, getBorderStyleDefinitions(this, defaultBorder.style), {
|
|
261
|
+
role: 'menu',
|
|
262
|
+
ariaLabel: accessibleLabel
|
|
263
|
+
});
|
|
258
264
|
// -- Width ---------------------------------------------------
|
|
259
265
|
const borderWidthInput = new LabeledFieldView(locale, createLabeledInputText);
|
|
260
266
|
borderWidthInput.set({
|
package/src/tableclipboard.js
CHANGED
|
@@ -46,7 +46,7 @@ export default class TableClipboard extends Plugin {
|
|
|
46
46
|
if (!tableSelection.getSelectedTableCells()) {
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
49
|
-
if (evt.name == 'cut' && this.editor.
|
|
49
|
+
if (evt.name == 'cut' && !this.editor.model.canEditAt(this.editor.model.document.selection)) {
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
52
|
data.preventDefault();
|
|
@@ -34,7 +34,7 @@ export function downcastTableResizedClass() {
|
|
|
34
34
|
const viewTable = viewElement.is('element', 'table') ?
|
|
35
35
|
viewElement :
|
|
36
36
|
Array.from(viewElement.getChildren()).find(viewChild => viewChild.is('element', 'table'));
|
|
37
|
-
const tableColumnGroup = getColumnGroupElement(
|
|
37
|
+
const tableColumnGroup = getColumnGroupElement(modelTable);
|
|
38
38
|
if (tableColumnGroup) {
|
|
39
39
|
viewWriter.addClass('ck-table-resized', viewTable);
|
|
40
40
|
}
|
|
@@ -44,8 +44,11 @@ export default class TableColumnResizeEditing extends Plugin {
|
|
|
44
44
|
this._tableUtilsPlugin = editor.plugins.get('TableUtils');
|
|
45
45
|
this.on('change:_isResizingAllowed', (evt, name, value) => {
|
|
46
46
|
// Toggling the `ck-column-resize_disabled` class shows and hides the resizers through CSS.
|
|
47
|
+
const classAction = value ? 'removeClass' : 'addClass';
|
|
47
48
|
editor.editing.view.change(writer => {
|
|
48
|
-
|
|
49
|
+
for (const root of editor.editing.view.document.roots) {
|
|
50
|
+
writer[classAction]('ck-column-resize_disabled', editor.editing.view.document.getRoot(root.rootName));
|
|
51
|
+
}
|
|
49
52
|
});
|
|
50
53
|
});
|
|
51
54
|
}
|
|
@@ -307,10 +310,14 @@ export default class TableColumnResizeEditing extends Plugin {
|
|
|
307
310
|
if (!this._isResizingAllowed) {
|
|
308
311
|
return;
|
|
309
312
|
}
|
|
310
|
-
domEventData.preventDefault();
|
|
311
|
-
eventInfo.stop();
|
|
312
313
|
const editor = this.editor;
|
|
313
314
|
const modelTable = editor.editing.mapper.toModelElement(target.findAncestor('figure'));
|
|
315
|
+
// Do not resize if table model is in non-editable place.
|
|
316
|
+
if (!editor.model.canEditAt(modelTable)) {
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
domEventData.preventDefault();
|
|
320
|
+
eventInfo.stop();
|
|
314
321
|
// The column widths are calculated upon mousedown to allow lazy applying the `columnWidths` attribute on the table.
|
|
315
322
|
const columnWidthsInPx = _calculateDomColumnWidths(modelTable, this._tableUtilsPlugin, editor);
|
|
316
323
|
const viewTable = target.findAncestor('table');
|
package/src/tablekeyboard.js
CHANGED
|
@@ -162,7 +162,7 @@ export default class TableKeyboard extends Plugin {
|
|
|
162
162
|
}
|
|
163
163
|
// Abort if we're not in a table cell.
|
|
164
164
|
const tableCell = selection.focus.findAncestor('tableCell');
|
|
165
|
-
/* istanbul ignore if: paranoid check */
|
|
165
|
+
/* istanbul ignore if: paranoid check -- @preserve */
|
|
166
166
|
if (!tableCell) {
|
|
167
167
|
return false;
|
|
168
168
|
}
|
|
@@ -208,6 +208,7 @@ export default class TablePropertiesView extends View {
|
|
|
208
208
|
});
|
|
209
209
|
const locale = this.locale;
|
|
210
210
|
const t = this.t;
|
|
211
|
+
const accessibleLabel = t('Style');
|
|
211
212
|
// -- Group label ---------------------------------------------
|
|
212
213
|
const borderRowLabel = new LabelView(locale);
|
|
213
214
|
borderRowLabel.text = t('Border');
|
|
@@ -215,13 +216,15 @@ export default class TablePropertiesView extends View {
|
|
|
215
216
|
const styleLabels = getBorderStyleLabels(t);
|
|
216
217
|
const borderStyleDropdown = new LabeledFieldView(locale, createLabeledDropdown);
|
|
217
218
|
borderStyleDropdown.set({
|
|
218
|
-
label:
|
|
219
|
+
label: accessibleLabel,
|
|
219
220
|
class: 'ck-table-form__border-style'
|
|
220
221
|
});
|
|
221
222
|
borderStyleDropdown.fieldView.buttonView.set({
|
|
223
|
+
ariaLabel: accessibleLabel,
|
|
224
|
+
ariaLabelledBy: undefined,
|
|
222
225
|
isOn: false,
|
|
223
226
|
withText: true,
|
|
224
|
-
tooltip:
|
|
227
|
+
tooltip: accessibleLabel
|
|
225
228
|
});
|
|
226
229
|
borderStyleDropdown.fieldView.buttonView.bind('label').to(this, 'borderStyle', value => {
|
|
227
230
|
return styleLabels[value ? value : 'none'];
|
|
@@ -230,7 +233,10 @@ export default class TablePropertiesView extends View {
|
|
|
230
233
|
this.borderStyle = evt.source._borderStyleValue;
|
|
231
234
|
});
|
|
232
235
|
borderStyleDropdown.bind('isEmpty').to(this, 'borderStyle', value => !value);
|
|
233
|
-
addListToDropdown(borderStyleDropdown.fieldView, getBorderStyleDefinitions(this, defaultBorder.style)
|
|
236
|
+
addListToDropdown(borderStyleDropdown.fieldView, getBorderStyleDefinitions(this, defaultBorder.style), {
|
|
237
|
+
role: 'menu',
|
|
238
|
+
ariaLabel: accessibleLabel
|
|
239
|
+
});
|
|
234
240
|
// -- Width ---------------------------------------------------
|
|
235
241
|
const borderWidthInput = new LabeledFieldView(locale, createLabeledInputText);
|
|
236
242
|
borderWidthInput.set({
|
package/src/tableselection.js
CHANGED
|
@@ -51,7 +51,6 @@ export default class TableSelection extends Plugin {
|
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
53
|
// This should never happen, but let's know if it ever happens.
|
|
54
|
-
// @if CK_DEBUG // /* istanbul ignore next */
|
|
55
54
|
// @if CK_DEBUG // if ( selectedCells.length != selection.rangeCount ) {
|
|
56
55
|
// @if CK_DEBUG // console.warn( 'Mixed selection warning. The selection contains table cells and some other ranges.' );
|
|
57
56
|
// @if CK_DEBUG // }
|
package/src/tableutils.js
CHANGED