@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.
Files changed (71) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/lang/contexts.json +23 -22
  4. package/lang/translations/az.po +27 -23
  5. package/lang/translations/bs.po +124 -0
  6. package/lang/translations/cs.po +27 -23
  7. package/lang/translations/da.po +27 -23
  8. package/lang/translations/de-ch.po +27 -23
  9. package/lang/translations/de.po +50 -46
  10. package/lang/translations/en-au.po +27 -23
  11. package/lang/translations/en-gb.po +27 -23
  12. package/lang/translations/en.po +27 -23
  13. package/lang/translations/es.po +36 -32
  14. package/lang/translations/et.po +27 -23
  15. package/lang/translations/fa.po +27 -23
  16. package/lang/translations/fr.po +31 -27
  17. package/lang/translations/gl.po +50 -46
  18. package/lang/translations/he.po +27 -23
  19. package/lang/translations/hi.po +27 -23
  20. package/lang/translations/hr.po +49 -45
  21. package/lang/translations/hu.po +33 -29
  22. package/lang/translations/id.po +38 -34
  23. package/lang/translations/it.po +50 -46
  24. package/lang/translations/ja.po +27 -23
  25. package/lang/translations/ko.po +27 -23
  26. package/lang/translations/ku.po +27 -23
  27. package/lang/translations/lv.po +27 -23
  28. package/lang/translations/ne.po +27 -23
  29. package/lang/translations/nl.po +48 -44
  30. package/lang/translations/no.po +27 -23
  31. package/lang/translations/pl.po +52 -48
  32. package/lang/translations/pt-br.po +50 -46
  33. package/lang/translations/ro.po +49 -45
  34. package/lang/translations/ru.po +27 -23
  35. package/lang/translations/sk.po +27 -23
  36. package/lang/translations/sr-latn.po +48 -44
  37. package/lang/translations/sr.po +48 -44
  38. package/lang/translations/tk.po +27 -23
  39. package/lang/translations/tr.po +45 -41
  40. package/lang/translations/ug.po +27 -23
  41. package/lang/translations/uk.po +27 -23
  42. package/lang/translations/vi.po +27 -23
  43. package/lang/translations/zh-cn.po +27 -23
  44. package/lang/translations/zh.po +28 -24
  45. package/package.json +11 -11
  46. package/src/changeitem.js +2 -2
  47. package/src/revision.js +2 -2
  48. package/src/revisiondiff.js +2 -2
  49. package/src/revisionhistory.js +2 -2
  50. package/src/revisionsrepository.js +2 -2
  51. package/src/revisiontracker.js +2 -2
  52. package/src/revisionviewer.js +2 -2
  53. package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
  54. package/src/ui/revision/revisionauthorview.js +2 -2
  55. package/src/ui/revision/revisionnameview.js +2 -2
  56. package/src/ui/revision/revisionview.js +2 -2
  57. package/src/ui/revision/subrevisioncollapserview.js +2 -2
  58. package/src/ui/revision/subrevisionview.js +2 -2
  59. package/src/ui/revision/utils.js +2 -2
  60. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  61. package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
  62. package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
  63. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
  64. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
  65. package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
  66. package/src/ui/revisionssidebar/utils.js +2 -2
  67. package/src/ui/revisionviewer/changedetailsview.js +2 -2
  68. package/src/ui/revisionviewer/changesnavigationview.js +2 -2
  69. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
  70. package/src/ui/revisionviewer/revisionviewerui.js +2 -2
  71. package/theme/revisionhistorysaverevisionform.css +1 -1
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
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 ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
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-2021, CKSource - Frederico Knabben. All rights reserved.
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 ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
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": "31.1.0",
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": "^31.1.0",
28
- "@ckeditor/ckeditor5-comments": "^31.1.0",
29
- "@ckeditor/ckeditor5-track-changes": "^31.1.0",
30
- "@ckeditor/ckeditor5-core": "^31.1.0",
31
- "@ckeditor/ckeditor5-ui": "^31.1.0",
32
- "@ckeditor/ckeditor5-engine": "^31.1.0",
33
- "@ckeditor/ckeditor5-utils": "^31.1.0",
34
- "@ckeditor/ckeditor5-undo": "^31.1.0",
35
- "@ckeditor/ckeditor5-editor-classic": "^31.1.0",
36
- "ckeditor5": "^31.1.0",
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 - 2021, CKSource - Frederico Knabben. All rights reserved.
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 _0xa248=['data','toJSON','type','set','createdAt','author'];(function(_0x366b71,_0xa248b8){var _0x1bf74c=function(_0x638c9a){while(--_0x638c9a){_0x366b71['push'](_0x366b71['shift']());}};_0x1bf74c(++_0xa248b8);}(_0xa248,0x148));var _0x1bf7=function(_0x366b71,_0xa248b8){_0x366b71=_0x366b71-0x0;var _0x1bf74c=_0xa248[_0x366b71];return _0x1bf74c;};import{ObservableMixin as _0x35f45f,mix as _0x2a5150,uid as _0x565a0e}from'ckeditor5/src/utils';export default class h{constructor(_0xf920c4){this['id']=_0xf920c4['id']||_0x565a0e(),this['author']=_0xf920c4[_0x1bf7('0x1')],this[_0x1bf7('0x4')]=_0xf920c4[_0x1bf7('0x4')],this[_0x1bf7('0x2')]=_0xf920c4[_0x1bf7('0x2')]||{},this[_0x1bf7('0x5')](_0x1bf7('0x0'),_0xf920c4[_0x1bf7('0x0')]);}[_0x1bf7('0x3')](){return{'id':this['id'],'authorId':this[_0x1bf7('0x1')]['id'],'type':this[_0x1bf7('0x4')],'data':this[_0x1bf7('0x2')],'createdAt':this[_0x1bf7('0x0')]};}}_0x2a5150(h,_0x35f45f);
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 - 2021, CKSource - Frederico Knabben. All rights reserved.
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 _0x449c=['set','toJSON','creator','data','_update','authors','name','isLocked','createdAt','setAttribute','map','setName','attributes','authorsIds','removeAttribute','lock'];(function(_0x3a0baa,_0x449ca4){const _0x29e667=function(_0x1d1f73){while(--_0x1d1f73){_0x3a0baa['push'](_0x3a0baa['shift']());}};_0x29e667(++_0x449ca4);}(_0x449c,0x158));const _0x29e6=function(_0x3a0baa,_0x449ca4){_0x3a0baa=_0x3a0baa-0x0;let _0x29e667=_0x449c[_0x3a0baa];return _0x29e667;};import{ObservableMixin as _0x4af77d,mix as _0x572274,uid as _0xc0c38a}from'ckeditor5/src/utils';import{cloneDeep as _0x5c5442,set as _0x5acf9e,unset as _0x59522e}from'lodash-es';export default class c{constructor(_0x396bb1){this['id']=_0x396bb1['id']||_0xc0c38a(),this[_0x29e6('0x8')](_0x29e6('0xe'),_0x396bb1[_0x29e6('0xe')]||null),this[_0x29e6('0xa')]=_0x396bb1[_0x29e6('0xa')]||null,this[_0x29e6('0xd')]=_0x396bb1[_0x29e6('0xd')]||[],this['set'](_0x29e6('0x0'),_0x396bb1[_0x29e6('0x0')]||new Date()),this[_0x29e6('0xb')]=_0x396bb1[_0x29e6('0xb')]||null,this[_0x29e6('0x8')](_0x29e6('0x4'),_0x396bb1[_0x29e6('0x4')]||{}),this[_0x29e6('0xf')]=!!_0x396bb1[_0x29e6('0xf')];}[_0x29e6('0x3')](_0x1da6fb){this[_0x29e6('0xc')]({'name':_0x1da6fb,'isLocked':!0x0});}[_0x29e6('0x7')](){this['_update']({'isLocked':!0x0});}[_0x29e6('0x1')](_0x1d5b67,_0x3f26a8){const _0x2ef6b4=_0x5c5442(this[_0x29e6('0x4')]);_0x5acf9e(_0x2ef6b4,_0x1d5b67,_0x3f26a8),this[_0x29e6('0xc')]({'attributes':_0x2ef6b4});}[_0x29e6('0x6')](_0x49ca2b){const _0x172cb2=_0x5c5442(this['attributes']);_0x59522e(_0x172cb2,_0x49ca2b),this['_update']({'attributes':_0x172cb2});}[_0x29e6('0xc')](_0xf228c4){let _0x7cc548=!0x1;const _0x4f8955={'id':this['id']};for(const _0xa2342f of[_0x29e6('0xe'),'createdAt','data',_0x29e6('0xd'),'attributes',_0x29e6('0xf')]){const _0x4b90da=_0xf228c4[_0xa2342f];_0x4b90da&&_0x4b90da!==this[_0xa2342f]&&(this[_0xa2342f]=_0x4b90da,_0x4f8955[_0xa2342f]=_0x4b90da,_0x7cc548=!0x0);}_0x7cc548&&(_0x4f8955[_0x29e6('0xd')]&&(_0x4f8955[_0x29e6('0x5')]=_0x4f8955[_0x29e6('0xd')][_0x29e6('0x2')](_0x140a98=>_0x140a98['id']),delete _0x4f8955[_0x29e6('0xd')]),this['fire'](_0x29e6('0xc'),_0x4f8955));}[_0x29e6('0x9')](){return{'id':this['id'],'name':this[_0x29e6('0xe')],'creatorId':this[_0x29e6('0xa')]?this['creator']['id']:null,'authorsIds':this[_0x29e6('0xd')][_0x29e6('0x2')](_0x3417c1=>_0x3417c1['id']),'data':this[_0x29e6('0xb')],'createdAt':this['createdAt'],'attributes':this[_0x29e6('0x4')],'isLocked':this['isLocked']};}}_0x572274(c,_0x4af77d);
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);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
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 _0x4003=['changes','newRevisionId','oldRevisionId','_setData'];(function(_0x1783f2,_0x40035c){const _0xabec91=function(_0x20f714){while(--_0x20f714){_0x1783f2['push'](_0x1783f2['shift']());}};_0xabec91(++_0x40035c);}(_0x4003,0xc6));const _0xabec=function(_0x1783f2,_0x40035c){_0x1783f2=_0x1783f2-0x0;let _0xabec91=_0x4003[_0x1783f2];return _0xabec91;};import{Collection as _0x102e58}from'ckeditor5/src/utils';export default class l{constructor(_0x396dcf,_0x84591a){this[_0xabec('0x3')]=_0x396dcf,this[_0xabec('0x0')]=_0x84591a;}[_0xabec('0x1')](_0x53190a){this[_0xabec('0x2')]=new _0x102e58();for(const _0x92d277 of _0x53190a[_0xabec('0x2')])this[_0xabec('0x2')]['add'](_0x92d277);}}
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);}}