@ckeditor/ckeditor5-revision-history 31.1.0 → 32.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/lang/contexts.json +23 -22
- package/lang/translations/az.po +27 -23
- package/lang/translations/bs.po +124 -0
- package/lang/translations/cs.po +27 -23
- package/lang/translations/da.po +27 -23
- package/lang/translations/de-ch.po +27 -23
- package/lang/translations/de.po +50 -46
- package/lang/translations/en-au.po +27 -23
- package/lang/translations/en-gb.po +27 -23
- package/lang/translations/en.po +27 -23
- package/lang/translations/es.po +36 -32
- package/lang/translations/et.po +27 -23
- package/lang/translations/fa.po +27 -23
- package/lang/translations/fr.po +31 -27
- package/lang/translations/gl.po +50 -46
- package/lang/translations/he.po +27 -23
- package/lang/translations/hi.po +27 -23
- package/lang/translations/hr.po +49 -45
- package/lang/translations/hu.po +33 -29
- package/lang/translations/id.po +38 -34
- package/lang/translations/it.po +50 -46
- package/lang/translations/ja.po +27 -23
- package/lang/translations/ko.po +27 -23
- package/lang/translations/ku.po +27 -23
- package/lang/translations/lv.po +27 -23
- package/lang/translations/ne.po +27 -23
- package/lang/translations/nl.po +48 -44
- package/lang/translations/no.po +27 -23
- package/lang/translations/pl.po +52 -48
- package/lang/translations/pt-br.po +50 -46
- package/lang/translations/ro.po +49 -45
- package/lang/translations/ru.po +27 -23
- package/lang/translations/sk.po +27 -23
- package/lang/translations/sr-latn.po +48 -44
- package/lang/translations/sr.po +48 -44
- package/lang/translations/tk.po +27 -23
- package/lang/translations/tr.po +45 -41
- package/lang/translations/ug.po +27 -23
- package/lang/translations/uk.po +27 -23
- package/lang/translations/vi.po +27 -23
- package/lang/translations/zh-cn.po +27 -23
- package/lang/translations/zh.po +28 -24
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +2 -2
- package/src/revisionhistory.js +2 -2
- package/src/revisionsrepository.js +2 -2
- package/src/revisiontracker.js +2 -2
- package/src/revisionviewer.js +2 -2
- package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
- package/src/ui/revision/revisionauthorview.js +2 -2
- package/src/ui/revision/revisionnameview.js +2 -2
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +2 -2
- package/src/ui/revision/subrevisionview.js +2 -2
- package/src/ui/revision/utils.js +2 -2
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
- package/src/ui/revisionssidebar/utils.js +2 -2
- package/src/ui/revisionviewer/changedetailsview.js +2 -2
- package/src/ui/revisionviewer/changesnavigationview.js +2 -2
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
- package/src/ui/revisionviewer/revisionviewerui.js +2 -2
- package/theme/revisionhistorysaverevisionform.css +1 -1
package/lang/translations/uk.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -16,75 +16,75 @@ msgstr ""
|
|
|
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
|
|
|
19
|
-
msgctxt "The prefix for a name of a revision created by restoring other revision"
|
|
19
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
20
|
msgid "Restored"
|
|
21
21
|
msgstr ""
|
|
22
22
|
|
|
23
|
-
msgctxt "The name for an initial revision that is empty"
|
|
23
|
+
msgctxt "The name for an initial revision that is empty."
|
|
24
24
|
msgid "Empty document"
|
|
25
25
|
msgstr ""
|
|
26
26
|
|
|
27
|
-
msgctxt "The name for an initial revision (if it was not empty)"
|
|
27
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
28
|
msgid "Initial revision"
|
|
29
29
|
msgstr ""
|
|
30
30
|
|
|
31
|
-
msgctxt "The label for a dropdown item to compare given revision with already selected revision"
|
|
31
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
32
|
msgid "Compare against selected"
|
|
33
33
|
msgstr ""
|
|
34
34
|
|
|
35
|
-
msgctxt "The label for a dropdown item to rename given revision"
|
|
35
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
36
|
msgid "Name this revision"
|
|
37
37
|
msgstr ""
|
|
38
38
|
|
|
39
|
-
msgctxt "The label for the user who saved the revision"
|
|
39
|
+
msgctxt "The label for the user who saved the revision."
|
|
40
40
|
msgid "Revision creator"
|
|
41
41
|
msgstr ""
|
|
42
42
|
|
|
43
|
-
msgctxt "The label for users who introduced changes in the revision"
|
|
43
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
44
44
|
msgid "Revision author"
|
|
45
45
|
msgstr ""
|
|
46
46
|
|
|
47
|
-
msgctxt "The label for the revision name"
|
|
47
|
+
msgctxt "The label for the revision name."
|
|
48
48
|
msgid "Revision name"
|
|
49
49
|
msgstr ""
|
|
50
50
|
|
|
51
|
-
msgctxt "The label for a toolbar form field where a name for a new revision should be provided"
|
|
51
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
52
52
|
msgid "Name of the revision (optional)"
|
|
53
53
|
msgstr ""
|
|
54
54
|
|
|
55
|
-
msgctxt "The label for a dropdown item that saves current revision"
|
|
55
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
56
|
msgid "Save current revision"
|
|
57
57
|
msgstr ""
|
|
58
58
|
|
|
59
|
-
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)"
|
|
59
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
60
|
msgid "Open revision history"
|
|
61
61
|
msgstr ""
|
|
62
62
|
|
|
63
|
-
msgctxt "The label for the sidebar in revision viewer"
|
|
63
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
64
64
|
msgid "Revision history"
|
|
65
65
|
msgstr ""
|
|
66
66
|
|
|
67
|
-
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer"
|
|
67
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
68
|
msgid "Suggested by"
|
|
69
69
|
msgstr ""
|
|
70
70
|
|
|
71
|
-
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer"
|
|
71
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
72
|
msgid "Added by"
|
|
73
73
|
msgstr ""
|
|
74
74
|
|
|
75
|
-
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer"
|
|
75
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
76
|
msgid "Removed by"
|
|
77
77
|
msgstr ""
|
|
78
78
|
|
|
79
|
-
msgctxt "Displayed in the revision viewer toolbar when loading a revision"
|
|
79
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
80
|
msgid "Loading..."
|
|
81
81
|
msgstr ""
|
|
82
82
|
|
|
83
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes"
|
|
83
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
84
|
msgid "No changes"
|
|
85
85
|
msgstr ""
|
|
86
86
|
|
|
87
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes"
|
|
87
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
88
88
|
msgid "NUMBER_OF_CHANGES"
|
|
89
89
|
msgid_plural "%0 changes"
|
|
90
90
|
msgstr[0] ""
|
|
@@ -96,11 +96,11 @@ msgctxt "Edit: (2 of 5)"
|
|
|
96
96
|
msgid "X_OF_Y_CHANGES"
|
|
97
97
|
msgstr "%0 із %1"
|
|
98
98
|
|
|
99
|
-
msgctxt "The label for a button that highlights previous change in revision viewer"
|
|
99
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
100
100
|
msgid "Show previous change"
|
|
101
101
|
msgstr ""
|
|
102
102
|
|
|
103
|
-
msgctxt "The label for a button that highlights next change in revision viewer"
|
|
103
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
104
104
|
msgid "Show next change"
|
|
105
105
|
msgstr ""
|
|
106
106
|
|
|
@@ -112,10 +112,14 @@ msgctxt "(Edit): 2 of 5"
|
|
|
112
112
|
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
113
113
|
msgstr "Редагувати"
|
|
114
114
|
|
|
115
|
-
msgctxt "The label for a button that closes revision viewer and shows editor"
|
|
115
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
116
116
|
msgid "Back to editing"
|
|
117
117
|
msgstr ""
|
|
118
118
|
|
|
119
|
-
msgctxt "The label for a button that restores given revision"
|
|
119
|
+
msgctxt "The label for a button that restores given revision."
|
|
120
120
|
msgid "Restore this revision"
|
|
121
121
|
msgstr ""
|
|
122
|
+
|
|
123
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
124
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
125
|
+
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -16,75 +16,75 @@ msgstr ""
|
|
|
16
16
|
"Language: vi\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
18
|
|
|
19
|
-
msgctxt "The prefix for a name of a revision created by restoring other revision"
|
|
19
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
20
|
msgid "Restored"
|
|
21
21
|
msgstr ""
|
|
22
22
|
|
|
23
|
-
msgctxt "The name for an initial revision that is empty"
|
|
23
|
+
msgctxt "The name for an initial revision that is empty."
|
|
24
24
|
msgid "Empty document"
|
|
25
25
|
msgstr ""
|
|
26
26
|
|
|
27
|
-
msgctxt "The name for an initial revision (if it was not empty)"
|
|
27
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
28
|
msgid "Initial revision"
|
|
29
29
|
msgstr ""
|
|
30
30
|
|
|
31
|
-
msgctxt "The label for a dropdown item to compare given revision with already selected revision"
|
|
31
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
32
|
msgid "Compare against selected"
|
|
33
33
|
msgstr ""
|
|
34
34
|
|
|
35
|
-
msgctxt "The label for a dropdown item to rename given revision"
|
|
35
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
36
|
msgid "Name this revision"
|
|
37
37
|
msgstr ""
|
|
38
38
|
|
|
39
|
-
msgctxt "The label for the user who saved the revision"
|
|
39
|
+
msgctxt "The label for the user who saved the revision."
|
|
40
40
|
msgid "Revision creator"
|
|
41
41
|
msgstr ""
|
|
42
42
|
|
|
43
|
-
msgctxt "The label for users who introduced changes in the revision"
|
|
43
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
44
44
|
msgid "Revision author"
|
|
45
45
|
msgstr ""
|
|
46
46
|
|
|
47
|
-
msgctxt "The label for the revision name"
|
|
47
|
+
msgctxt "The label for the revision name."
|
|
48
48
|
msgid "Revision name"
|
|
49
49
|
msgstr ""
|
|
50
50
|
|
|
51
|
-
msgctxt "The label for a toolbar form field where a name for a new revision should be provided"
|
|
51
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
52
52
|
msgid "Name of the revision (optional)"
|
|
53
53
|
msgstr ""
|
|
54
54
|
|
|
55
|
-
msgctxt "The label for a dropdown item that saves current revision"
|
|
55
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
56
|
msgid "Save current revision"
|
|
57
57
|
msgstr ""
|
|
58
58
|
|
|
59
|
-
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)"
|
|
59
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
60
|
msgid "Open revision history"
|
|
61
61
|
msgstr ""
|
|
62
62
|
|
|
63
|
-
msgctxt "The label for the sidebar in revision viewer"
|
|
63
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
64
64
|
msgid "Revision history"
|
|
65
65
|
msgstr ""
|
|
66
66
|
|
|
67
|
-
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer"
|
|
67
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
68
|
msgid "Suggested by"
|
|
69
69
|
msgstr ""
|
|
70
70
|
|
|
71
|
-
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer"
|
|
71
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
72
|
msgid "Added by"
|
|
73
73
|
msgstr ""
|
|
74
74
|
|
|
75
|
-
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer"
|
|
75
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
76
|
msgid "Removed by"
|
|
77
77
|
msgstr ""
|
|
78
78
|
|
|
79
|
-
msgctxt "Displayed in the revision viewer toolbar when loading a revision"
|
|
79
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
80
|
msgid "Loading..."
|
|
81
81
|
msgstr ""
|
|
82
82
|
|
|
83
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes"
|
|
83
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
84
|
msgid "No changes"
|
|
85
85
|
msgstr ""
|
|
86
86
|
|
|
87
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes"
|
|
87
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
88
88
|
msgid "NUMBER_OF_CHANGES"
|
|
89
89
|
msgid_plural "%0 changes"
|
|
90
90
|
msgstr[0] ""
|
|
@@ -93,11 +93,11 @@ msgctxt "Edit: (2 of 5)"
|
|
|
93
93
|
msgid "X_OF_Y_CHANGES"
|
|
94
94
|
msgstr "%0 đến %1"
|
|
95
95
|
|
|
96
|
-
msgctxt "The label for a button that highlights previous change in revision viewer"
|
|
96
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
97
97
|
msgid "Show previous change"
|
|
98
98
|
msgstr ""
|
|
99
99
|
|
|
100
|
-
msgctxt "The label for a button that highlights next change in revision viewer"
|
|
100
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
101
101
|
msgid "Show next change"
|
|
102
102
|
msgstr ""
|
|
103
103
|
|
|
@@ -109,10 +109,14 @@ msgctxt "(Edit): 2 of 5"
|
|
|
109
109
|
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
110
110
|
msgstr ""
|
|
111
111
|
|
|
112
|
-
msgctxt "The label for a button that closes revision viewer and shows editor"
|
|
112
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
113
113
|
msgid "Back to editing"
|
|
114
114
|
msgstr ""
|
|
115
115
|
|
|
116
|
-
msgctxt "The label for a button that restores given revision"
|
|
116
|
+
msgctxt "The label for a button that restores given revision."
|
|
117
117
|
msgid "Restore this revision"
|
|
118
118
|
msgstr ""
|
|
119
|
+
|
|
120
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
121
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
122
|
+
msgstr ""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -16,75 +16,75 @@ msgstr ""
|
|
|
16
16
|
"Language: zh_CN\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
18
|
|
|
19
|
-
msgctxt "The prefix for a name of a revision created by restoring other revision"
|
|
19
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
20
|
msgid "Restored"
|
|
21
21
|
msgstr ""
|
|
22
22
|
|
|
23
|
-
msgctxt "The name for an initial revision that is empty"
|
|
23
|
+
msgctxt "The name for an initial revision that is empty."
|
|
24
24
|
msgid "Empty document"
|
|
25
25
|
msgstr ""
|
|
26
26
|
|
|
27
|
-
msgctxt "The name for an initial revision (if it was not empty)"
|
|
27
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
28
|
msgid "Initial revision"
|
|
29
29
|
msgstr ""
|
|
30
30
|
|
|
31
|
-
msgctxt "The label for a dropdown item to compare given revision with already selected revision"
|
|
31
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
32
|
msgid "Compare against selected"
|
|
33
33
|
msgstr ""
|
|
34
34
|
|
|
35
|
-
msgctxt "The label for a dropdown item to rename given revision"
|
|
35
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
36
|
msgid "Name this revision"
|
|
37
37
|
msgstr ""
|
|
38
38
|
|
|
39
|
-
msgctxt "The label for the user who saved the revision"
|
|
39
|
+
msgctxt "The label for the user who saved the revision."
|
|
40
40
|
msgid "Revision creator"
|
|
41
41
|
msgstr ""
|
|
42
42
|
|
|
43
|
-
msgctxt "The label for users who introduced changes in the revision"
|
|
43
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
44
44
|
msgid "Revision author"
|
|
45
45
|
msgstr ""
|
|
46
46
|
|
|
47
|
-
msgctxt "The label for the revision name"
|
|
47
|
+
msgctxt "The label for the revision name."
|
|
48
48
|
msgid "Revision name"
|
|
49
49
|
msgstr ""
|
|
50
50
|
|
|
51
|
-
msgctxt "The label for a toolbar form field where a name for a new revision should be provided"
|
|
51
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
52
52
|
msgid "Name of the revision (optional)"
|
|
53
53
|
msgstr ""
|
|
54
54
|
|
|
55
|
-
msgctxt "The label for a dropdown item that saves current revision"
|
|
55
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
56
|
msgid "Save current revision"
|
|
57
57
|
msgstr ""
|
|
58
58
|
|
|
59
|
-
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)"
|
|
59
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
60
|
msgid "Open revision history"
|
|
61
61
|
msgstr ""
|
|
62
62
|
|
|
63
|
-
msgctxt "The label for the sidebar in revision viewer"
|
|
63
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
64
64
|
msgid "Revision history"
|
|
65
65
|
msgstr ""
|
|
66
66
|
|
|
67
|
-
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer"
|
|
67
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
68
|
msgid "Suggested by"
|
|
69
69
|
msgstr ""
|
|
70
70
|
|
|
71
|
-
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer"
|
|
71
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
72
|
msgid "Added by"
|
|
73
73
|
msgstr ""
|
|
74
74
|
|
|
75
|
-
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer"
|
|
75
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
76
|
msgid "Removed by"
|
|
77
77
|
msgstr ""
|
|
78
78
|
|
|
79
|
-
msgctxt "Displayed in the revision viewer toolbar when loading a revision"
|
|
79
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
80
|
msgid "Loading..."
|
|
81
81
|
msgstr ""
|
|
82
82
|
|
|
83
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes"
|
|
83
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
84
|
msgid "No changes"
|
|
85
85
|
msgstr ""
|
|
86
86
|
|
|
87
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes"
|
|
87
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
88
88
|
msgid "NUMBER_OF_CHANGES"
|
|
89
89
|
msgid_plural "%0 changes"
|
|
90
90
|
msgstr[0] ""
|
|
@@ -93,11 +93,11 @@ msgctxt "Edit: (2 of 5)"
|
|
|
93
93
|
msgid "X_OF_Y_CHANGES"
|
|
94
94
|
msgstr "第 %0 步,共 %1 步"
|
|
95
95
|
|
|
96
|
-
msgctxt "The label for a button that highlights previous change in revision viewer"
|
|
96
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
97
97
|
msgid "Show previous change"
|
|
98
98
|
msgstr ""
|
|
99
99
|
|
|
100
|
-
msgctxt "The label for a button that highlights next change in revision viewer"
|
|
100
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
101
101
|
msgid "Show next change"
|
|
102
102
|
msgstr ""
|
|
103
103
|
|
|
@@ -109,10 +109,14 @@ msgctxt "(Edit): 2 of 5"
|
|
|
109
109
|
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
110
110
|
msgstr "编辑"
|
|
111
111
|
|
|
112
|
-
msgctxt "The label for a button that closes revision viewer and shows editor"
|
|
112
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
113
113
|
msgid "Back to editing"
|
|
114
114
|
msgstr ""
|
|
115
115
|
|
|
116
|
-
msgctxt "The label for a button that restores given revision"
|
|
116
|
+
msgctxt "The label for a button that restores given revision."
|
|
117
117
|
msgid "Restore this revision"
|
|
118
118
|
msgstr ""
|
|
119
|
+
|
|
120
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
121
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
122
|
+
msgstr ""
|
package/lang/translations/zh.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -16,75 +16,75 @@ msgstr ""
|
|
|
16
16
|
"Language: zh_TW\n"
|
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
18
|
|
|
19
|
-
msgctxt "The prefix for a name of a revision created by restoring other revision"
|
|
19
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
20
|
msgid "Restored"
|
|
21
|
-
msgstr "
|
|
21
|
+
msgstr ""
|
|
22
22
|
|
|
23
|
-
msgctxt "The name for an initial revision that is empty"
|
|
23
|
+
msgctxt "The name for an initial revision that is empty."
|
|
24
24
|
msgid "Empty document"
|
|
25
25
|
msgstr ""
|
|
26
26
|
|
|
27
|
-
msgctxt "The name for an initial revision (if it was not empty)"
|
|
27
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
28
|
msgid "Initial revision"
|
|
29
29
|
msgstr ""
|
|
30
30
|
|
|
31
|
-
msgctxt "The label for a dropdown item to compare given revision with already selected revision"
|
|
31
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
32
|
msgid "Compare against selected"
|
|
33
33
|
msgstr ""
|
|
34
34
|
|
|
35
|
-
msgctxt "The label for a dropdown item to rename given revision"
|
|
35
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
36
|
msgid "Name this revision"
|
|
37
37
|
msgstr ""
|
|
38
38
|
|
|
39
|
-
msgctxt "The label for the user who saved the revision"
|
|
39
|
+
msgctxt "The label for the user who saved the revision."
|
|
40
40
|
msgid "Revision creator"
|
|
41
41
|
msgstr ""
|
|
42
42
|
|
|
43
|
-
msgctxt "The label for users who introduced changes in the revision"
|
|
43
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
44
44
|
msgid "Revision author"
|
|
45
45
|
msgstr ""
|
|
46
46
|
|
|
47
|
-
msgctxt "The label for the revision name"
|
|
47
|
+
msgctxt "The label for the revision name."
|
|
48
48
|
msgid "Revision name"
|
|
49
49
|
msgstr ""
|
|
50
50
|
|
|
51
|
-
msgctxt "The label for a toolbar form field where a name for a new revision should be provided"
|
|
51
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
52
52
|
msgid "Name of the revision (optional)"
|
|
53
53
|
msgstr ""
|
|
54
54
|
|
|
55
|
-
msgctxt "The label for a dropdown item that saves current revision"
|
|
55
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
56
|
msgid "Save current revision"
|
|
57
57
|
msgstr ""
|
|
58
58
|
|
|
59
|
-
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)"
|
|
59
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
60
|
msgid "Open revision history"
|
|
61
61
|
msgstr ""
|
|
62
62
|
|
|
63
|
-
msgctxt "The label for the sidebar in revision viewer"
|
|
63
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
64
64
|
msgid "Revision history"
|
|
65
65
|
msgstr ""
|
|
66
66
|
|
|
67
|
-
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer"
|
|
67
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
68
|
msgid "Suggested by"
|
|
69
69
|
msgstr ""
|
|
70
70
|
|
|
71
|
-
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer"
|
|
71
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
72
|
msgid "Added by"
|
|
73
73
|
msgstr ""
|
|
74
74
|
|
|
75
|
-
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer"
|
|
75
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
76
|
msgid "Removed by"
|
|
77
77
|
msgstr ""
|
|
78
78
|
|
|
79
|
-
msgctxt "Displayed in the revision viewer toolbar when loading a revision"
|
|
79
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
80
|
msgid "Loading..."
|
|
81
81
|
msgstr ""
|
|
82
82
|
|
|
83
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes"
|
|
83
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
84
|
msgid "No changes"
|
|
85
85
|
msgstr ""
|
|
86
86
|
|
|
87
|
-
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes"
|
|
87
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
88
88
|
msgid "NUMBER_OF_CHANGES"
|
|
89
89
|
msgid_plural "%0 changes"
|
|
90
90
|
msgstr[0] ""
|
|
@@ -93,11 +93,11 @@ msgctxt "Edit: (2 of 5)"
|
|
|
93
93
|
msgid "X_OF_Y_CHANGES"
|
|
94
94
|
msgstr "%0/%1"
|
|
95
95
|
|
|
96
|
-
msgctxt "The label for a button that highlights previous change in revision viewer"
|
|
96
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
97
97
|
msgid "Show previous change"
|
|
98
98
|
msgstr ""
|
|
99
99
|
|
|
100
|
-
msgctxt "The label for a button that highlights next change in revision viewer"
|
|
100
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
101
101
|
msgid "Show next change"
|
|
102
102
|
msgstr ""
|
|
103
103
|
|
|
@@ -109,10 +109,14 @@ msgctxt "(Edit): 2 of 5"
|
|
|
109
109
|
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
110
110
|
msgstr "編輯"
|
|
111
111
|
|
|
112
|
-
msgctxt "The label for a button that closes revision viewer and shows editor"
|
|
112
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
113
113
|
msgid "Back to editing"
|
|
114
114
|
msgstr ""
|
|
115
115
|
|
|
116
|
-
msgctxt "The label for a button that restores given revision"
|
|
116
|
+
msgctxt "The label for a button that restores given revision."
|
|
117
117
|
msgid "Restore this revision"
|
|
118
118
|
msgstr ""
|
|
119
|
+
|
|
120
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
121
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
122
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"versioning"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ckeditor/ckeditor5-collaboration-core": "^
|
|
28
|
-
"@ckeditor/ckeditor5-comments": "^
|
|
29
|
-
"@ckeditor/ckeditor5-track-changes": "^
|
|
30
|
-
"@ckeditor/ckeditor5-core": "^
|
|
31
|
-
"@ckeditor/ckeditor5-ui": "^
|
|
32
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
34
|
-
"@ckeditor/ckeditor5-undo": "^
|
|
35
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
|
36
|
-
"ckeditor5": "^
|
|
27
|
+
"@ckeditor/ckeditor5-collaboration-core": "^32.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-comments": "^32.0.0",
|
|
29
|
+
"@ckeditor/ckeditor5-track-changes": "^32.0.0",
|
|
30
|
+
"@ckeditor/ckeditor5-core": "^32.0.0",
|
|
31
|
+
"@ckeditor/ckeditor5-ui": "^32.0.0",
|
|
32
|
+
"@ckeditor/ckeditor5-engine": "^32.0.0",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "^32.0.0",
|
|
34
|
+
"@ckeditor/ckeditor5-undo": "^32.0.0",
|
|
35
|
+
"@ckeditor/ckeditor5-editor-classic": "^32.0.0",
|
|
36
|
+
"ckeditor5": "^32.0.0",
|
|
37
37
|
"lodash-es": "^4.17.15",
|
|
38
38
|
"luxon": "^1.25.0"
|
|
39
39
|
}
|
package/src/changeitem.js
CHANGED
|
@@ -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
|
-
var
|
|
23
|
+
var _0x4969=['author','data','type','toJSON','createdAt'];(function(_0x158e19,_0x4969d3){var _0x32b638=function(_0x519781){while(--_0x519781){_0x158e19['push'](_0x158e19['shift']());}};_0x32b638(++_0x4969d3);}(_0x4969,0xbe));var _0x32b6=function(_0x158e19,_0x4969d3){_0x158e19=_0x158e19-0x0;var _0x32b638=_0x4969[_0x158e19];return _0x32b638;};import{ObservableMixin as _0x2347a3,mix as _0x14cc50,uid as _0x224274}from'ckeditor5/src/utils';export default class h{constructor(_0x40688a){this['id']=_0x40688a['id']||_0x224274(),this['author']=_0x40688a[_0x32b6('0x0')],this[_0x32b6('0x2')]=_0x40688a[_0x32b6('0x2')],this[_0x32b6('0x1')]=_0x40688a['data']||{},this['set']('createdAt',_0x40688a[_0x32b6('0x4')]);}[_0x32b6('0x3')](){return{'id':this['id'],'authorId':this[_0x32b6('0x0')]['id'],'type':this[_0x32b6('0x2')],'data':this[_0x32b6('0x1')],'createdAt':this[_0x32b6('0x4')]};}}_0x14cc50(h,_0x2347a3);
|
package/src/revision.js
CHANGED
|
@@ -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 _0x3a3d=['creator','fromVersion','toJSON','authors','set','creatorId','toVersion','createdAt','fire','setAttribute','setName','name','authorsIds','map','_update','diffData','attributes'];(function(_0x421dfc,_0x3a3dec){const _0xaad7de=function(_0x96d79e){while(--_0x96d79e){_0x421dfc['push'](_0x421dfc['shift']());}};_0xaad7de(++_0x3a3dec);}(_0x3a3d,0x179));const _0xaad7=function(_0x421dfc,_0x3a3dec){_0x421dfc=_0x421dfc-0x0;let _0xaad7de=_0x3a3d[_0x421dfc];return _0xaad7de;};import{ObservableMixin as _0x493f53,mix as _0x205864,uid as _0x55479a}from'ckeditor5/src/utils';import{cloneDeep as _0x5ef709,set as _0x1f71c6,unset as _0x45e9a3}from'lodash-es';export default class n{constructor(_0x22de2c){this['id']=_0x22de2c['id']||_0x55479a(),this[_0xaad7('0x1')]('name',_0x22de2c['name']||''),this[_0xaad7('0xe')]=_0x22de2c[_0xaad7('0xe')]||null,this[_0xaad7('0x0')]=_0x22de2c[_0xaad7('0x0')]||[],this[_0xaad7('0x1')]('createdAt',_0x22de2c['createdAt']||new Date()),this[_0xaad7('0xc')]=_0x22de2c[_0xaad7('0xc')]||null,this[_0xaad7('0x1')](_0xaad7('0xd'),_0x22de2c['attributes']||{}),this[_0xaad7('0x3')]=_0x22de2c[_0xaad7('0x3')]||0x0,this['fromVersion']=_0x22de2c[_0xaad7('0xf')]||0x0;}[_0xaad7('0x7')](_0xaf5543){this[_0xaad7('0xb')]({'name':_0xaf5543});}[_0xaad7('0x6')](_0x37c623,_0x1c8b9d){const _0x54ea82=_0x5ef709(this[_0xaad7('0xd')]);_0x1f71c6(_0x54ea82,_0x37c623,_0x1c8b9d),this['_update']({'attributes':_0x54ea82});}['removeAttribute'](_0x5bf47c){const _0x2a8408=_0x5ef709(this['attributes']);_0x45e9a3(_0x2a8408,_0x5bf47c),this[_0xaad7('0xb')]({'attributes':_0x2a8408});}[_0xaad7('0xb')](_0x10c910,_0x389be3=!0x1){let _0x73fb1d=!0x1;const _0xe17e02={'id':this['id']};for(const _0x12a188 of[_0xaad7('0x8'),'createdAt','diffData',_0xaad7('0x0'),'attributes',_0xaad7('0x3'),_0xaad7('0xf'),_0xaad7('0x2')]){const _0x5c39a0=_0x10c910[_0x12a188];void 0x0!==_0x5c39a0&&_0x5c39a0!==this[_0x12a188]&&(this[_0x12a188]=_0x5c39a0,_0xe17e02[_0x12a188]=_0x5c39a0,_0x73fb1d=!0x0);}_0x73fb1d&&(_0xe17e02['authors']&&(_0xe17e02[_0xaad7('0x9')]=_0xe17e02[_0xaad7('0x0')][_0xaad7('0xa')](_0x1fcb3e=>_0x1fcb3e['id']),delete _0xe17e02[_0xaad7('0x0')]),this[_0xaad7('0x5')](_0xaad7('0xb'),_0xe17e02,_0x389be3));}[_0xaad7('0x10')](){return{'id':this['id'],'name':this['name'],'creatorId':this[_0xaad7('0xe')]?this[_0xaad7('0xe')]['id']:null,'authorsIds':this[_0xaad7('0x0')]['map'](_0x1e0d15=>_0x1e0d15['id']),'diffData':this['diffData'],'createdAt':this[_0xaad7('0x4')],'attributes':this['attributes'],'fromVersion':this[_0xaad7('0xf')],'toVersion':this['toVersion']};}}_0x205864(n,_0x493f53);
|
package/src/revisiondiff.js
CHANGED
|
@@ -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 _0x24ea=['add','oldRevisionId','changes','_setData','newRevisionId'];(function(_0x1d78e1,_0x24ea53){const _0xcc0a41=function(_0xc0b34f){while(--_0xc0b34f){_0x1d78e1['push'](_0x1d78e1['shift']());}};_0xcc0a41(++_0x24ea53);}(_0x24ea,0xdf));const _0xcc0a=function(_0x1d78e1,_0x24ea53){_0x1d78e1=_0x1d78e1-0x0;let _0xcc0a41=_0x24ea[_0x1d78e1];return _0xcc0a41;};import{Collection as _0x1a2a50}from'ckeditor5/src/utils';export default class f{constructor(_0x251c6d,_0x32a19d){this[_0xcc0a('0x1')]=_0x251c6d,this[_0xcc0a('0x3')]=_0x32a19d;}[_0xcc0a('0x0')](_0x1f772c){this[_0xcc0a('0x4')]=new _0x1a2a50();for(const _0x5ef534 of _0x1f772c['changes'])this['changes'][_0xcc0a('0x2')](_0x5ef534);}}
|