@ckeditor/ckeditor5-revision-history 34.0.0 → 34.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +2 -2
- package/build/revision-history.js +1 -1
- package/build/translations/af.js +1 -0
- package/build/translations/lv.js +1 -1
- package/build/translations/ur.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/lang/translations/af.po +123 -0
- package/lang/translations/lv.po +27 -27
- package/lang/translations/ur.po +123 -0
- package/lang/translations/zh-cn.po +24 -24
- package/package.json +7 -7
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +23 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.af=i.af||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"Wysig","Empty document":"","Initial revision":"","Loading...":"","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:["",""],"Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:"%0 van %1"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/lv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(i){const
|
|
1
|
+
!function(i){const a=i.lv=i.lv||{};a.dictionary=Object.assign(a.dictionary||{},{"Added by":"Pievienoja","Back to editing":"Atpakaļ pie labošanas","Compare against selected":"Salīdzināt pret izvēlēto",EDIT_X_OF_Y_REVISIONS:"Labot","Empty document":"Tukšs dokuments","Initial revision":"Sākotnējās izmaiņas","Loading...":"Ielādēju...","Name of the revision (optional)":"Izmaiņu nosaukums (nav obligāts)","Name this revision":"Izmaiņu nosaukums","No changes":"Nav izmaiņu",NUMBER_OF_CHANGES:["%0 izmaiņu","%0 izmaiņa","%0 izmaiņas"],"Open revision history":"Atvērt izmaiņu vēsturi",PENDING_ACTION_REVISION_HISTORY:"Nesaglabāta izmaiņa","Removed by":"Noņēma","Restore this revision":"Atgriezt šīs izmaiņas",Restored:"Atjaunots","Revision author":"Izmaiņu autors","Revision creator":"Izmaiņu izveidotājs","Revision history":"Izmaiņu vēsture","Revision name":"Izmaiņu nosaukums","Save current revision":"Saglabāt esošās izmaiņas","Show next change":"Parādīt nākamo izmaiņu","Show previous change":"Parādīt iepriekšējo izmaiņu","Suggested by":"Ieteica",Total:"Kopā",X_OF_Y_CHANGES:"%0 no %1"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.ur=i.ur||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"ترمیم","Empty document":"","Initial revision":"","Loading...":"","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:["",""],"Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:"0% میں سے 1%"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(i){const e=i["zh-cn"]=i["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"","Back to editing":"","Compare against selected":"",EDIT_X_OF_Y_REVISIONS:"编辑","Empty document":"","Initial revision":"","Loading...":"","Name of the revision (optional)":"","Name this revision":"","No changes":"",NUMBER_OF_CHANGES:"","Open revision history":"",PENDING_ACTION_REVISION_HISTORY:"","Removed by":"","Restore this revision":"",Restored:"","Revision author":"","Revision creator":"","Revision history":"","Revision name":"","Save current revision":"","Show next change":"","Show previous change":"","Suggested by":"",Total:"",X_OF_Y_CHANGES:"第 %0 步,共 %1 步"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(i){const e=i["zh-cn"]=i["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Added by":"添加者","Back to editing":"返回编辑","Compare against selected":"对比选中的文字",EDIT_X_OF_Y_REVISIONS:"编辑","Empty document":"空文档","Initial revision":"初始版本","Loading...":"加载中…","Name of the revision (optional)":"版本名称(可选)","Name this revision":"给此版本命名","No changes":"无变更",NUMBER_OF_CHANGES:"0% 处修改","Open revision history":"打开版本历史",PENDING_ACTION_REVISION_HISTORY:"版本历史中有未保存的变更。","Removed by":"移除者","Restore this revision":"恢复至此版本",Restored:"已恢复","Revision author":"版本作者","Revision creator":"版本创建者","Revision history":"版本历史","Revision name":"版本名称","Save current revision":"保存当前版本","Show next change":"显示下一个变更","Show previous change":"显示上一个变更","Suggested by":"建议者",Total:"总计",X_OF_Y_CHANGES:"第 %0 步,共 %1 步"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Afrikaans (https://www.transifex.com/ckeditor/teams/11143/af/)\n"
|
|
16
|
+
"Language: af\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
|
+
msgid "Restored"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgctxt "The name for an initial revision that is empty."
|
|
24
|
+
msgid "Empty document"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
|
+
msgid "Initial revision"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
|
+
msgid "Compare against selected"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
|
+
msgid "Name this revision"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
msgctxt "The label for the user who saved the revision."
|
|
40
|
+
msgid "Revision creator"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
44
|
+
msgid "Revision author"
|
|
45
|
+
msgstr ""
|
|
46
|
+
|
|
47
|
+
msgctxt "The label for the revision name."
|
|
48
|
+
msgid "Revision name"
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
51
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
52
|
+
msgid "Name of the revision (optional)"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
|
+
msgid "Save current revision"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
|
+
msgid "Open revision history"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
64
|
+
msgid "Revision history"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
|
+
msgid "Suggested by"
|
|
69
|
+
msgstr ""
|
|
70
|
+
|
|
71
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
|
+
msgid "Added by"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
|
+
msgid "Removed by"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
|
+
msgid "Loading..."
|
|
81
|
+
msgstr ""
|
|
82
|
+
|
|
83
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
|
+
msgid "No changes"
|
|
85
|
+
msgstr ""
|
|
86
|
+
|
|
87
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
88
|
+
msgid "NUMBER_OF_CHANGES"
|
|
89
|
+
msgid_plural "%0 changes"
|
|
90
|
+
msgstr[0] ""
|
|
91
|
+
msgstr[1] ""
|
|
92
|
+
|
|
93
|
+
msgctxt "Edit: (2 of 5)"
|
|
94
|
+
msgid "X_OF_Y_CHANGES"
|
|
95
|
+
msgstr "%0 van %1"
|
|
96
|
+
|
|
97
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
98
|
+
msgid "Show previous change"
|
|
99
|
+
msgstr ""
|
|
100
|
+
|
|
101
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
102
|
+
msgid "Show next change"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgctxt "(Total): 5 changes"
|
|
106
|
+
msgid "Total"
|
|
107
|
+
msgstr ""
|
|
108
|
+
|
|
109
|
+
msgctxt "(Edit): 2 of 5"
|
|
110
|
+
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
111
|
+
msgstr "Wysig"
|
|
112
|
+
|
|
113
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
114
|
+
msgid "Back to editing"
|
|
115
|
+
msgstr ""
|
|
116
|
+
|
|
117
|
+
msgctxt "The label for a button that restores given revision."
|
|
118
|
+
msgid "Restore this revision"
|
|
119
|
+
msgstr ""
|
|
120
|
+
|
|
121
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
122
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
123
|
+
msgstr ""
|
package/lang/translations/lv.po
CHANGED
|
@@ -18,78 +18,78 @@ msgstr ""
|
|
|
18
18
|
|
|
19
19
|
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
20
|
msgid "Restored"
|
|
21
|
-
msgstr ""
|
|
21
|
+
msgstr "Atjaunots"
|
|
22
22
|
|
|
23
23
|
msgctxt "The name for an initial revision that is empty."
|
|
24
24
|
msgid "Empty document"
|
|
25
|
-
msgstr ""
|
|
25
|
+
msgstr "Tukšs dokuments"
|
|
26
26
|
|
|
27
27
|
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
28
|
msgid "Initial revision"
|
|
29
|
-
msgstr ""
|
|
29
|
+
msgstr "Sākotnējās izmaiņas"
|
|
30
30
|
|
|
31
31
|
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
32
|
msgid "Compare against selected"
|
|
33
|
-
msgstr ""
|
|
33
|
+
msgstr "Salīdzināt pret izvēlēto"
|
|
34
34
|
|
|
35
35
|
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
36
|
msgid "Name this revision"
|
|
37
|
-
msgstr ""
|
|
37
|
+
msgstr "Izmaiņu nosaukums"
|
|
38
38
|
|
|
39
39
|
msgctxt "The label for the user who saved the revision."
|
|
40
40
|
msgid "Revision creator"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "Izmaiņu izveidotājs"
|
|
42
42
|
|
|
43
43
|
msgctxt "The label for users who introduced changes in the revision."
|
|
44
44
|
msgid "Revision author"
|
|
45
|
-
msgstr ""
|
|
45
|
+
msgstr "Izmaiņu autors"
|
|
46
46
|
|
|
47
47
|
msgctxt "The label for the revision name."
|
|
48
48
|
msgid "Revision name"
|
|
49
|
-
msgstr ""
|
|
49
|
+
msgstr "Izmaiņu nosaukums"
|
|
50
50
|
|
|
51
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
|
-
msgstr ""
|
|
53
|
+
msgstr "Izmaiņu nosaukums (nav obligāts)"
|
|
54
54
|
|
|
55
55
|
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
56
|
msgid "Save current revision"
|
|
57
|
-
msgstr ""
|
|
57
|
+
msgstr "Saglabāt esošās izmaiņas"
|
|
58
58
|
|
|
59
59
|
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
60
|
msgid "Open revision history"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "Atvērt izmaiņu vēsturi"
|
|
62
62
|
|
|
63
63
|
msgctxt "The label for the sidebar in revision viewer."
|
|
64
64
|
msgid "Revision history"
|
|
65
|
-
msgstr ""
|
|
65
|
+
msgstr "Izmaiņu vēsture"
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
68
|
msgid "Suggested by"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Ieteica"
|
|
70
70
|
|
|
71
71
|
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
72
|
msgid "Added by"
|
|
73
|
-
msgstr ""
|
|
73
|
+
msgstr "Pievienoja"
|
|
74
74
|
|
|
75
75
|
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
76
|
msgid "Removed by"
|
|
77
|
-
msgstr ""
|
|
77
|
+
msgstr "Noņēma"
|
|
78
78
|
|
|
79
79
|
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
80
|
msgid "Loading..."
|
|
81
|
-
msgstr ""
|
|
81
|
+
msgstr "Ielādēju..."
|
|
82
82
|
|
|
83
83
|
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
84
|
msgid "No changes"
|
|
85
|
-
msgstr ""
|
|
85
|
+
msgstr "Nav izmaiņu"
|
|
86
86
|
|
|
87
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
|
-
msgstr[0] ""
|
|
91
|
-
msgstr[1] ""
|
|
92
|
-
msgstr[2] ""
|
|
90
|
+
msgstr[0] "%0 izmaiņu"
|
|
91
|
+
msgstr[1] "%0 izmaiņa"
|
|
92
|
+
msgstr[2] "%0 izmaiņas"
|
|
93
93
|
|
|
94
94
|
msgctxt "Edit: (2 of 5)"
|
|
95
95
|
msgid "X_OF_Y_CHANGES"
|
|
@@ -97,28 +97,28 @@ msgstr "%0 no %1"
|
|
|
97
97
|
|
|
98
98
|
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
99
99
|
msgid "Show previous change"
|
|
100
|
-
msgstr ""
|
|
100
|
+
msgstr "Parādīt iepriekšējo izmaiņu"
|
|
101
101
|
|
|
102
102
|
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
103
103
|
msgid "Show next change"
|
|
104
|
-
msgstr ""
|
|
104
|
+
msgstr "Parādīt nākamo izmaiņu"
|
|
105
105
|
|
|
106
106
|
msgctxt "(Total): 5 changes"
|
|
107
107
|
msgid "Total"
|
|
108
|
-
msgstr ""
|
|
108
|
+
msgstr "Kopā"
|
|
109
109
|
|
|
110
110
|
msgctxt "(Edit): 2 of 5"
|
|
111
111
|
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
112
|
-
msgstr ""
|
|
112
|
+
msgstr "Labot"
|
|
113
113
|
|
|
114
114
|
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
115
115
|
msgid "Back to editing"
|
|
116
|
-
msgstr ""
|
|
116
|
+
msgstr "Atpakaļ pie labošanas"
|
|
117
117
|
|
|
118
118
|
msgctxt "The label for a button that restores given revision."
|
|
119
119
|
msgid "Restore this revision"
|
|
120
|
-
msgstr ""
|
|
120
|
+
msgstr "Atgriezt šīs izmaiņas"
|
|
121
121
|
|
|
122
122
|
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
123
123
|
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
124
|
-
msgstr ""
|
|
124
|
+
msgstr "Nesaglabāta izmaiņa"
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
|
+
"Language: ur\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
20
|
+
msgid "Restored"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgctxt "The name for an initial revision that is empty."
|
|
24
|
+
msgid "Empty document"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
|
+
msgid "Initial revision"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
|
+
msgid "Compare against selected"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
|
+
msgid "Name this revision"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
msgctxt "The label for the user who saved the revision."
|
|
40
|
+
msgid "Revision creator"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
44
|
+
msgid "Revision author"
|
|
45
|
+
msgstr ""
|
|
46
|
+
|
|
47
|
+
msgctxt "The label for the revision name."
|
|
48
|
+
msgid "Revision name"
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
51
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
52
|
+
msgid "Name of the revision (optional)"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
|
+
msgid "Save current revision"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
|
+
msgid "Open revision history"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
64
|
+
msgid "Revision history"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
|
+
msgid "Suggested by"
|
|
69
|
+
msgstr ""
|
|
70
|
+
|
|
71
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
|
+
msgid "Added by"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
|
+
msgid "Removed by"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
|
+
msgid "Loading..."
|
|
81
|
+
msgstr ""
|
|
82
|
+
|
|
83
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
|
+
msgid "No changes"
|
|
85
|
+
msgstr ""
|
|
86
|
+
|
|
87
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
88
|
+
msgid "NUMBER_OF_CHANGES"
|
|
89
|
+
msgid_plural "%0 changes"
|
|
90
|
+
msgstr[0] ""
|
|
91
|
+
msgstr[1] ""
|
|
92
|
+
|
|
93
|
+
msgctxt "Edit: (2 of 5)"
|
|
94
|
+
msgid "X_OF_Y_CHANGES"
|
|
95
|
+
msgstr "0% میں سے 1%"
|
|
96
|
+
|
|
97
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
98
|
+
msgid "Show previous change"
|
|
99
|
+
msgstr ""
|
|
100
|
+
|
|
101
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
102
|
+
msgid "Show next change"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgctxt "(Total): 5 changes"
|
|
106
|
+
msgid "Total"
|
|
107
|
+
msgstr ""
|
|
108
|
+
|
|
109
|
+
msgctxt "(Edit): 2 of 5"
|
|
110
|
+
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
111
|
+
msgstr "ترمیم"
|
|
112
|
+
|
|
113
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
114
|
+
msgid "Back to editing"
|
|
115
|
+
msgstr ""
|
|
116
|
+
|
|
117
|
+
msgctxt "The label for a button that restores given revision."
|
|
118
|
+
msgid "Restore this revision"
|
|
119
|
+
msgstr ""
|
|
120
|
+
|
|
121
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
122
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
123
|
+
msgstr ""
|
|
@@ -18,76 +18,76 @@ msgstr ""
|
|
|
18
18
|
|
|
19
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
23
|
msgctxt "The name for an initial revision that is empty."
|
|
24
24
|
msgid "Empty document"
|
|
25
|
-
msgstr ""
|
|
25
|
+
msgstr "空文档"
|
|
26
26
|
|
|
27
27
|
msgctxt "The name for an initial revision (if it was not empty)."
|
|
28
28
|
msgid "Initial revision"
|
|
29
|
-
msgstr ""
|
|
29
|
+
msgstr "初始版本"
|
|
30
30
|
|
|
31
31
|
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
32
32
|
msgid "Compare against selected"
|
|
33
|
-
msgstr ""
|
|
33
|
+
msgstr "对比选中的文字"
|
|
34
34
|
|
|
35
35
|
msgctxt "The label for a dropdown item to rename given revision."
|
|
36
36
|
msgid "Name this revision"
|
|
37
|
-
msgstr ""
|
|
37
|
+
msgstr "给此版本命名"
|
|
38
38
|
|
|
39
39
|
msgctxt "The label for the user who saved the revision."
|
|
40
40
|
msgid "Revision creator"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "版本创建者"
|
|
42
42
|
|
|
43
43
|
msgctxt "The label for users who introduced changes in the revision."
|
|
44
44
|
msgid "Revision author"
|
|
45
|
-
msgstr ""
|
|
45
|
+
msgstr "版本作者"
|
|
46
46
|
|
|
47
47
|
msgctxt "The label for the revision name."
|
|
48
48
|
msgid "Revision name"
|
|
49
|
-
msgstr ""
|
|
49
|
+
msgstr "版本名称"
|
|
50
50
|
|
|
51
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
|
-
msgstr ""
|
|
53
|
+
msgstr "版本名称(可选)"
|
|
54
54
|
|
|
55
55
|
msgctxt "The label for a dropdown item that saves current revision."
|
|
56
56
|
msgid "Save current revision"
|
|
57
|
-
msgstr ""
|
|
57
|
+
msgstr "保存当前版本"
|
|
58
58
|
|
|
59
59
|
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
60
60
|
msgid "Open revision history"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "打开版本历史"
|
|
62
62
|
|
|
63
63
|
msgctxt "The label for the sidebar in revision viewer."
|
|
64
64
|
msgid "Revision history"
|
|
65
|
-
msgstr ""
|
|
65
|
+
msgstr "版本历史"
|
|
66
66
|
|
|
67
67
|
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
68
68
|
msgid "Suggested by"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "建议者"
|
|
70
70
|
|
|
71
71
|
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
72
72
|
msgid "Added by"
|
|
73
|
-
msgstr ""
|
|
73
|
+
msgstr "添加者"
|
|
74
74
|
|
|
75
75
|
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
76
76
|
msgid "Removed by"
|
|
77
|
-
msgstr ""
|
|
77
|
+
msgstr "移除者"
|
|
78
78
|
|
|
79
79
|
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
80
80
|
msgid "Loading..."
|
|
81
|
-
msgstr ""
|
|
81
|
+
msgstr "加载中…"
|
|
82
82
|
|
|
83
83
|
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
84
84
|
msgid "No changes"
|
|
85
|
-
msgstr ""
|
|
85
|
+
msgstr "无变更"
|
|
86
86
|
|
|
87
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
|
-
msgstr[0] ""
|
|
90
|
+
msgstr[0] "0% 处修改"
|
|
91
91
|
|
|
92
92
|
msgctxt "Edit: (2 of 5)"
|
|
93
93
|
msgid "X_OF_Y_CHANGES"
|
|
@@ -95,15 +95,15 @@ msgstr "第 %0 步,共 %1 步"
|
|
|
95
95
|
|
|
96
96
|
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
97
97
|
msgid "Show previous change"
|
|
98
|
-
msgstr ""
|
|
98
|
+
msgstr "显示上一个变更"
|
|
99
99
|
|
|
100
100
|
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
101
101
|
msgid "Show next change"
|
|
102
|
-
msgstr ""
|
|
102
|
+
msgstr "显示下一个变更"
|
|
103
103
|
|
|
104
104
|
msgctxt "(Total): 5 changes"
|
|
105
105
|
msgid "Total"
|
|
106
|
-
msgstr ""
|
|
106
|
+
msgstr "总计"
|
|
107
107
|
|
|
108
108
|
msgctxt "(Edit): 2 of 5"
|
|
109
109
|
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
@@ -111,12 +111,12 @@ msgstr "编辑"
|
|
|
111
111
|
|
|
112
112
|
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
113
113
|
msgid "Back to editing"
|
|
114
|
-
msgstr ""
|
|
114
|
+
msgstr "返回编辑"
|
|
115
115
|
|
|
116
116
|
msgctxt "The label for a button that restores given revision."
|
|
117
117
|
msgid "Restore this revision"
|
|
118
|
-
msgstr ""
|
|
118
|
+
msgstr "恢复至此版本"
|
|
119
119
|
|
|
120
120
|
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
121
121
|
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
122
|
-
msgstr ""
|
|
122
|
+
msgstr "版本历史中有未保存的变更。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.1.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/)",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
],
|
|
26
26
|
"main": "src/index.js",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ckeditor/ckeditor5-core": "^34.
|
|
29
|
-
"@ckeditor/ckeditor5-ui": "^34.
|
|
30
|
-
"@ckeditor/ckeditor5-undo": "^34.
|
|
31
|
-
"@ckeditor/ckeditor5-editor-classic": "^34.
|
|
32
|
-
"ckeditor5": "^34.
|
|
33
|
-
"ckeditor5-collaboration": "^34.
|
|
28
|
+
"@ckeditor/ckeditor5-core": "^34.1.0",
|
|
29
|
+
"@ckeditor/ckeditor5-ui": "^34.1.0",
|
|
30
|
+
"@ckeditor/ckeditor5-undo": "^34.1.0",
|
|
31
|
+
"@ckeditor/ckeditor5-editor-classic": "^34.1.0",
|
|
32
|
+
"ckeditor5": "^34.1.0",
|
|
33
|
+
"ckeditor5-collaboration": "^34.1.0",
|
|
34
34
|
"lodash-es": "^4.17.15",
|
|
35
35
|
"luxon": "^1.25.0"
|
|
36
36
|
}
|
package/src/changeitem.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x22fc=['data','createdAt','author','type','toJSON','set'];(function(_0x38ea4d,_0x22fc43){var _0x307ae8=function(_0x5ebcf4){while(--_0x5ebcf4){_0x38ea4d['push'](_0x38ea4d['shift']());}};_0x307ae8(++_0x22fc43);}(_0x22fc,0x153));var _0x307a=function(_0x38ea4d,_0x22fc43){_0x38ea4d=_0x38ea4d-0x0;var _0x307ae8=_0x22fc[_0x38ea4d];return _0x307ae8;};import{ObservableMixin as _0xa0083d,mix as _0x57821d,uid as _0x24f0d3}from'ckeditor5/src/utils';export default class h{constructor(_0x1b5204){this['id']=_0x1b5204['id']||_0x24f0d3(),this[_0x307a('0x5')]=_0x1b5204[_0x307a('0x5')],this['type']=_0x1b5204[_0x307a('0x0')],this[_0x307a('0x3')]=_0x1b5204['data']||{},this[_0x307a('0x2')](_0x307a('0x4'),_0x1b5204['createdAt']);}[_0x307a('0x1')](){return{'id':this['id'],'authorId':this['author']['id'],'type':this[_0x307a('0x0')],'data':this[_0x307a('0x3')],'createdAt':this['createdAt']};}}_0x57821d(h,_0xa0083d);
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13e3=['updateSourceElement','create','initialData','initPlugins','get','locale','data','init','ready','document','config','sourceElement','view','destroy','model','editing','fire'];(function(_0xa1a107,_0x13e368){const _0x2f36ba=function(_0x5bda90){while(--_0x5bda90){_0xa1a107['push'](_0xa1a107['shift']());}};_0x2f36ba(++_0x13e368);}(_0x13e3,0x8e));const _0x2f36=function(_0xa1a107,_0x13e368){_0xa1a107=_0xa1a107-0x0;let _0x2f36ba=_0x13e3[_0xa1a107];return _0x2f36ba;};import{Editor as _0x4a9ed3,DataApiMixin as _0x3564fb,ElementApiMixin as _0x5ea074}from'ckeditor5/src/core';import{mix as _0x279f48}from'ckeditor5/src/utils';import _0x1b64ec from'./revisionviewereditorui';import _0x3226e1 from'./revisionviewereditoruiview';export default class m extends _0x4a9ed3{constructor(_0x30fbe8,_0x1e81c6){super(_0x1e81c6),this[_0x2f36('0x5')]=_0x30fbe8,this[_0x2f36('0x8')][_0x2f36('0x3')]['createRoot']();const _0x5245f7=new _0x3226e1(this[_0x2f36('0x10')],this[_0x2f36('0x9')][_0x2f36('0x6')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x1b64ec(this,_0x5245f7);}[_0x2f36('0x7')](){return this[_0x2f36('0xb')](),this['ui'][_0x2f36('0x7')](),super[_0x2f36('0x7')]();}static async[_0x2f36('0xc')](_0x5a5189,_0x42f3a5){const _0x39f3be=new this(_0x5a5189,_0x42f3a5);return await _0x39f3be[_0x2f36('0xe')](),await _0x39f3be['ui'][_0x2f36('0x1')](_0x5a5189),await _0x39f3be[_0x2f36('0x0')][_0x2f36('0x1')](_0x39f3be[_0x2f36('0x4')][_0x2f36('0xf')](_0x2f36('0xd'))),_0x39f3be[_0x2f36('0xa')](_0x2f36('0x2')),_0x39f3be;}}_0x279f48(m,_0x3564fb),_0x279f48(m,_0x5ea074);
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f08=['focusTracker','render','toolbar','ready','fillFromConfig','editor','_initToolbar','view','fire','element','setEditableElement','init','keystrokes','viewportTopOffset','detachDomRoot','_elementReplacer','editing','bind','isFocused','get','stickyPanel','attachDomRoot','replace','limiterElement','editable','name','document','restore','destroy','_toolbarConfig','isActive'];(function(_0x224fda,_0x5f0892){const _0x29dbbe=function(_0x53da14){while(--_0x53da14){_0x224fda['push'](_0x224fda['shift']());}};_0x29dbbe(++_0x5f0892);}(_0x5f08,0x6c));const _0x29db=function(_0x224fda,_0x5f0892){_0x224fda=_0x224fda-0x0;let _0x29dbbe=_0x5f08[_0x224fda];return _0x29dbbe;};import{EditorUI as _0x13715f}from'ckeditor5/src/core';import{enableToolbarKeyboardFocus as _0x40904b,normalizeToolbarConfig as _0x42ef1b}from'ckeditor5/src/ui';import{ElementReplacer as _0x366bed}from'ckeditor5/src/utils';export default class it extends _0x13715f{constructor(_0x4c4ee3,_0x3e6543){super(_0x4c4ee3),this['view']=_0x3e6543,this[_0x29db('0xe')]=_0x42ef1b(_0x4c4ee3['config'][_0x29db('0x4')]('toolbar')),this[_0x29db('0x0')]=new _0x366bed();}get[_0x29db('0x19')](){return this[_0x29db('0x17')][_0x29db('0x19')];}[_0x29db('0x1b')](_0x5d4b09){const _0x225f2a=this[_0x29db('0x15')],_0x506920=this[_0x29db('0x17')],_0x1268c8=_0x225f2a[_0x29db('0x1')][_0x29db('0x17')],_0x2b6366=_0x506920[_0x29db('0x9')],_0x3509fd=_0x1268c8[_0x29db('0xb')]['getRoot']();_0x2b6366[_0x29db('0xa')]=_0x3509fd['rootName'],_0x506920[_0x29db('0x11')]();const _0x1e4ccf=_0x2b6366[_0x29db('0x19')];this[_0x29db('0x1a')](_0x2b6366['name'],_0x1e4ccf),this[_0x29db('0x10')]['add'](_0x1e4ccf),_0x506920['editable'][_0x29db('0x2')](_0x29db('0x3'))['to'](this[_0x29db('0x10')]),_0x1268c8[_0x29db('0x6')](_0x1e4ccf),this[_0x29db('0x0')][_0x29db('0x7')](_0x5d4b09,this[_0x29db('0x19')]),this[_0x29db('0x16')](),this[_0x29db('0x18')](_0x29db('0x13'));}['destroy'](){const _0x179edc=this[_0x29db('0x17')],_0x29701c=this['editor']['editing']['view'];this[_0x29db('0x0')][_0x29db('0xc')](),_0x29701c[_0x29db('0x1e')](_0x179edc[_0x29db('0x9')][_0x29db('0xa')]),_0x179edc[_0x29db('0xd')](),super[_0x29db('0xd')]();}[_0x29db('0x16')](){const _0x3dc0fa=this[_0x29db('0x15')],_0x5aa8b1=this[_0x29db('0x17')],_0x8d888a=_0x3dc0fa[_0x29db('0x1')]['view'];_0x5aa8b1[_0x29db('0x5')]['bind'](_0x29db('0xf'))['to'](this[_0x29db('0x10')],_0x29db('0x3')),_0x5aa8b1['stickyPanel'][_0x29db('0x8')]=_0x5aa8b1[_0x29db('0x19')],_0x5aa8b1[_0x29db('0x5')][_0x29db('0x2')](_0x29db('0x1d'))['to'](this,'viewportOffset',({top:_0x334b4d})=>_0x334b4d),_0x5aa8b1['toolbar'][_0x29db('0x14')](this[_0x29db('0xe')],this['componentFactory']),_0x40904b({'origin':_0x8d888a,'originFocusTracker':this[_0x29db('0x10')],'originKeystrokeHandler':_0x3dc0fa[_0x29db('0x1c')],'toolbar':_0x5aa8b1[_0x29db('0x12')]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3938=['stickyPanel','toolbar','top','add','shouldToolbarGroupWhenFull','render','editable'];(function(_0x3aa1e5,_0x39388d){var _0x740c92=function(_0x24fe1e){while(--_0x24fe1e){_0x3aa1e5['push'](_0x3aa1e5['shift']());}};_0x740c92(++_0x39388d);}(_0x3938,0x15a));var _0x740c=function(_0x3aa1e5,_0x39388d){_0x3aa1e5=_0x3aa1e5-0x0;var _0x740c92=_0x3938[_0x3aa1e5];return _0x740c92;};import{BoxedEditorUIView as _0x5609e9,InlineEditableUIView as _0xea37a,StickyPanelView as _0x4d9b2d,ToolbarView as _0x44f55c}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class rt extends _0x5609e9{constructor(_0x57b684,_0x5afa54,_0x8e1fab={}){super(_0x57b684),this[_0x740c('0x4')]=new _0x4d9b2d(_0x57b684),this[_0x740c('0x5')]=new _0x44f55c(_0x57b684,{'shouldGroupWhenFull':_0x8e1fab[_0x740c('0x1')]}),this[_0x740c('0x3')]=new _0xea37a(_0x57b684,_0x5afa54);}[_0x740c('0x2')](){super['render'](),this[_0x740c('0x4')]['content'][_0x740c('0x0')](this[_0x740c('0x5')]),this[_0x740c('0x6')][_0x740c('0x0')](this[_0x740c('0x4')]),this['main']['add'](this['editable']);}}
|