ep_comments_page 0.1.80 → 0.1.84
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/locales/it.json +15 -0
- package/locales/oc.json +15 -0
- package/package.json +10 -9
- package/static/js/commentBoxes.js +0 -8
package/locales/it.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@metadata": {
|
|
3
|
+
"authors": [
|
|
4
|
+
"Ajeje Brazorf",
|
|
5
|
+
"Beta16"
|
|
6
|
+
]
|
|
7
|
+
},
|
|
8
|
+
"ep_comments_page.comment": "Commento",
|
|
9
|
+
"ep_comments_page.comments": "Commenti",
|
|
10
|
+
"ep_comments_page.delete_comment.title": "Cancella questo commento",
|
|
11
|
+
"ep_comments_page.comments_template.comment.value": "Commento",
|
|
12
|
+
"ep_comments_page.comments_template.cancel.value": "Annulla",
|
|
13
|
+
"ep_comments_page.comments_template.edit_comment.save": "salva",
|
|
14
|
+
"ep_comments_page.comments_template.edit_comment.cancel": "annulla"
|
|
15
|
+
}
|
package/locales/oc.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@metadata": {
|
|
3
|
+
"authors": [
|
|
4
|
+
"Quentí"
|
|
5
|
+
]
|
|
6
|
+
},
|
|
7
|
+
"ep_comments_page.comment": "Comentari",
|
|
8
|
+
"ep_comments_page.comments": "Comentaris",
|
|
9
|
+
"ep_comments_page.add_comment.title": "Apondre un comentari novèl sus la seleccion",
|
|
10
|
+
"ep_comments_page.comments_template.accept_change.value": "Acceptar la modificacion",
|
|
11
|
+
"ep_comments_page.comments_template.cancel.value": "Anullar",
|
|
12
|
+
"ep_comments_page.comments_template.reply.value": "Respondre",
|
|
13
|
+
"ep_comments_page.comments_template.edit_comment.save": "enregistrar",
|
|
14
|
+
"ep_comments_page.comments_template.edit_comment.cancel": "anullar"
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "Adds comments on sidebar and link it to the text. For no-skin use ep_page_view.",
|
|
3
3
|
"name": "ep_comments_page",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.84",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Nicolas Lescop",
|
|
7
7
|
"email": "limplementeur@gmail.com"
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"underscore": "^1.13.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"eslint": "^7.
|
|
31
|
-
"eslint-config-etherpad": "^2.0.
|
|
32
|
-
"eslint-plugin-cypress": "^2.
|
|
30
|
+
"eslint": "^7.32.0",
|
|
31
|
+
"eslint-config-etherpad": "^2.0.2",
|
|
32
|
+
"eslint-plugin-cypress": "^2.12.1",
|
|
33
33
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
34
34
|
"eslint-plugin-mocha": "^9.0.0",
|
|
35
35
|
"eslint-plugin-node": "^11.1.0",
|
|
36
36
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
37
|
-
"eslint-plugin-promise": "^5.1.
|
|
38
|
-
"eslint-plugin-you-dont-need-lodash-underscore": "^6.
|
|
37
|
+
"eslint-plugin-promise": "^5.1.1",
|
|
38
|
+
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
|
|
39
39
|
"socket.io-client": "^2.3.0",
|
|
40
40
|
"superagent": "^6.1.0"
|
|
41
41
|
},
|
|
@@ -48,10 +48,11 @@
|
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"lint": "eslint ."
|
|
51
|
+
"lint": "eslint .",
|
|
52
|
+
"lint:fix": "eslint --fix ."
|
|
52
53
|
},
|
|
53
54
|
"engines": {
|
|
54
|
-
"node": ">=
|
|
55
|
+
"node": ">=12.13.0"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"ep_etherpad-lite": ">=1.8.6"
|
|
@@ -62,6 +63,6 @@
|
|
|
62
63
|
},
|
|
63
64
|
"funding": {
|
|
64
65
|
"type": "individual",
|
|
65
|
-
"url": "
|
|
66
|
+
"url": "https://etherpad.org/"
|
|
66
67
|
}
|
|
67
68
|
}
|
|
@@ -11,13 +11,6 @@ const getCommentsContainer = () => getPadOuter().find('#comments');
|
|
|
11
11
|
|
|
12
12
|
/* ***** Public methods: ***** */
|
|
13
13
|
|
|
14
|
-
const showComment = (commentId, e) => {
|
|
15
|
-
const commentElm = getCommentsContainer().find(`#${commentId}`);
|
|
16
|
-
commentElm.show();
|
|
17
|
-
|
|
18
|
-
highlightComment(commentId, e);
|
|
19
|
-
};
|
|
20
|
-
|
|
21
14
|
const hideComment = (commentId, hideCommentTitle) => {
|
|
22
15
|
const commentElm = getCommentsContainer().find(`#${commentId}`);
|
|
23
16
|
commentElm.removeClass('full-display');
|
|
@@ -122,7 +115,6 @@ const shouldNotCloseComment = (e) => {
|
|
|
122
115
|
return false;
|
|
123
116
|
};
|
|
124
117
|
|
|
125
|
-
exports.showComment = showComment;
|
|
126
118
|
exports.hideComment = hideComment;
|
|
127
119
|
exports.hideAllComments = hideAllComments;
|
|
128
120
|
exports.highlightComment = highlightComment;
|