ep_comments_page 0.1.91 → 0.1.94
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/.eslintrc.cjs +13 -0
- package/locales/fr.json +11 -9
- package/locales/ru.json +2 -1
- package/locales/uk.json +2 -1
- package/package.json +6 -20
- package/static/tests/backend/specs/api/exportHTML.js +1 -1
package/.eslintrc.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
|
4
|
+
require('eslint-config-etherpad/patch/modern-module-resolution');
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
root: true,
|
|
8
|
+
extends: 'etherpad/plugin',
|
|
9
|
+
ignorePatterns: [
|
|
10
|
+
'/static/js/jquery.tmpl.min.js',
|
|
11
|
+
'/static/js/moment-with-locales.min.js',
|
|
12
|
+
],
|
|
13
|
+
};
|
package/locales/fr.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@metadata": {
|
|
3
|
-
"authors": [
|
|
3
|
+
"authors": [
|
|
4
|
+
"Verdy p"
|
|
5
|
+
]
|
|
4
6
|
},
|
|
5
7
|
"ep_comments_page.comment": "Annotation",
|
|
6
8
|
"ep_comments_page.comments": "Annotations",
|
|
@@ -8,22 +10,22 @@
|
|
|
8
10
|
"ep_comments_page.add_comment": "Annoter la sélection",
|
|
9
11
|
"ep_comments_page.add_comment.hint": "Vous devez d'abord sélectionner un texte à annoter",
|
|
10
12
|
"ep_comments_page.delete_comment.title": "Supprimer cette annotation",
|
|
11
|
-
"ep_comments_page.edit_comment.title": "Modifier
|
|
13
|
+
"ep_comments_page.edit_comment.title": "Modifier cette annotation",
|
|
12
14
|
"ep_comments_page.show_comments": "Afficher les annotations",
|
|
13
15
|
"ep_comments_page.comments_template.suggested_change": "Modification proposée",
|
|
14
16
|
"ep_comments_page.comments_template.from": "Remplacer",
|
|
15
17
|
"ep_comments_page.comments_template.accept_change.value": "Appliquer la proposition",
|
|
16
18
|
"ep_comments_page.comments_template.revert_change.value": "Annuler la proposition",
|
|
17
|
-
"ep_comments_page.comments_template.suggested_change_from": "Propose de remplacer
|
|
18
|
-
"ep_comments_page.comments_template.suggest_change_from": "Remplacer
|
|
19
|
+
"ep_comments_page.comments_template.suggested_change_from": "Propose de remplacer « {{changeFrom}} » par « {{changeTo}} »",
|
|
20
|
+
"ep_comments_page.comments_template.suggest_change_from": "Remplacer « {{changeFrom}} » par",
|
|
19
21
|
"ep_comments_page.comments_template.to": "Par",
|
|
20
|
-
"ep_comments_page.comments_template.include_suggestion": "
|
|
22
|
+
"ep_comments_page.comments_template.include_suggestion": "Inclure la modification suggérée",
|
|
21
23
|
"ep_comments_page.comments_template.comment.value": "Annotation",
|
|
22
24
|
"ep_comments_page.comments_template.cancel.value": "Annuler",
|
|
23
25
|
"ep_comments_page.comments_template.reply.value": "Répondre",
|
|
24
26
|
"ep_comments_page.comments_template.reply.placeholder": "Répondre",
|
|
25
|
-
"ep_comments_page.comments_template.edit_comment.save": "
|
|
26
|
-
"ep_comments_page.comments_template.edit_comment.cancel": "
|
|
27
|
-
"ep_comments_page.error.edit_unauth": "Vous ne pouvez pas modifier les commentaires des autres utilisatrices
|
|
28
|
-
"ep_comments_page.error.delete_unauth": "Vous ne pouvez pas supprimer les commentaires des autres utilisatrices et utilisateurs
|
|
27
|
+
"ep_comments_page.comments_template.edit_comment.save": "enregistrer",
|
|
28
|
+
"ep_comments_page.comments_template.edit_comment.cancel": "annuler",
|
|
29
|
+
"ep_comments_page.error.edit_unauth": "Vous ne pouvez pas modifier les commentaires des autres utilisatrices ou utilisateurs !",
|
|
30
|
+
"ep_comments_page.error.delete_unauth": "Vous ne pouvez pas supprimer les commentaires des autres utilisatrices et utilisateurs !"
|
|
29
31
|
}
|
package/locales/ru.json
CHANGED
package/locales/uk.json
CHANGED
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.94",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Nicolas Lescop",
|
|
7
7
|
"email": "limplementeur@gmail.com"
|
|
@@ -27,32 +27,18 @@
|
|
|
27
27
|
"underscore": "^1.13.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"eslint": "^
|
|
31
|
-
"eslint-config-etherpad": "^
|
|
32
|
-
"eslint-plugin-cypress": "^2.12.1",
|
|
33
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
34
|
-
"eslint-plugin-mocha": "^9.0.0",
|
|
35
|
-
"eslint-plugin-node": "^11.1.0",
|
|
36
|
-
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
37
|
-
"eslint-plugin-promise": "^5.1.1",
|
|
38
|
-
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
|
|
30
|
+
"eslint": "^8.9.0",
|
|
31
|
+
"eslint-config-etherpad": "^3.0.1",
|
|
39
32
|
"socket.io-client": "^2.3.0",
|
|
40
|
-
"superagent": "^6.1.0"
|
|
41
|
-
|
|
42
|
-
"eslintConfig": {
|
|
43
|
-
"root": true,
|
|
44
|
-
"extends": "etherpad/plugin",
|
|
45
|
-
"ignorePatterns": [
|
|
46
|
-
"/static/js/jquery.tmpl.min.js",
|
|
47
|
-
"/static/js/moment-with-locales.min.js"
|
|
48
|
-
]
|
|
33
|
+
"superagent": "^6.1.0",
|
|
34
|
+
"typescript": "^4.5.5"
|
|
49
35
|
},
|
|
50
36
|
"scripts": {
|
|
51
37
|
"lint": "eslint .",
|
|
52
38
|
"lint:fix": "eslint --fix ."
|
|
53
39
|
},
|
|
54
40
|
"engines": {
|
|
55
|
-
"node": ">=12.
|
|
41
|
+
"node": ">=12.17.0"
|
|
56
42
|
},
|
|
57
43
|
"peerDependencies": {
|
|
58
44
|
"ep_etherpad-lite": ">=1.8.6"
|
|
@@ -140,7 +140,7 @@ describe(__filename, function () {
|
|
|
140
140
|
context('when pad text has comment in strong', function () {
|
|
141
141
|
before(async function () {
|
|
142
142
|
html = () => buildHTML(
|
|
143
|
-
textWithComment('c-2342', '<strong>this is a comment and bold</strong>')
|
|
143
|
+
textWithComment('c-2342', '<strong>this is a comment and bold</strong>'),
|
|
144
144
|
);
|
|
145
145
|
});
|
|
146
146
|
|