strapi-plugin-comments 2.0.10 → 2.0.11

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 (261) hide show
  1. package/README.md +39 -5
  2. package/admin/src/translations/fr.json +132 -1
  3. package/build/README.md +818 -0
  4. package/build/admin/src/components/ActionButton/styles.d.ts +2 -0
  5. package/build/admin/src/components/ActionButton/styles.js +17 -0
  6. package/build/admin/src/components/ConfirmationDialog/index.d.ts +26 -0
  7. package/build/admin/src/components/ConfirmationDialog/index.js +104 -0
  8. package/build/admin/src/components/DiscussionStatus/index.d.ts +9 -0
  9. package/build/admin/src/components/DiscussionStatus/index.js +38 -0
  10. package/build/admin/src/components/DiscussionThread/index.d.ts +16 -0
  11. package/build/admin/src/components/DiscussionThread/index.js +99 -0
  12. package/build/admin/src/components/DiscussionThreadItem/index.d.ts +9 -0
  13. package/build/admin/src/components/DiscussionThreadItem/index.js +72 -0
  14. package/build/admin/src/components/DiscussionThreadItem/styles.d.ts +4 -0
  15. package/build/admin/src/components/DiscussionThreadItem/styles.js +27 -0
  16. package/build/admin/src/components/DiscussionThreadItemActions/index.d.ts +19 -0
  17. package/build/admin/src/components/DiscussionThreadItemActions/index.js +414 -0
  18. package/build/admin/src/components/DiscussionThreadItemActions/styles.d.ts +2 -0
  19. package/build/admin/src/components/DiscussionThreadItemActions/styles.js +17 -0
  20. package/build/admin/src/components/DiscussionThreadItemApprovalFlowActions/index.d.ts +17 -0
  21. package/build/admin/src/components/DiscussionThreadItemApprovalFlowActions/index.js +103 -0
  22. package/build/admin/src/components/DiscussionThreadItemApprovalFlowActions/styles.d.ts +2 -0
  23. package/build/admin/src/components/DiscussionThreadItemApprovalFlowActions/styles.js +15 -0
  24. package/build/admin/src/components/DiscussionThreadItemFooter/index.d.ts +16 -0
  25. package/build/admin/src/components/DiscussionThreadItemFooter/index.js +73 -0
  26. package/build/admin/src/components/DiscussionThreadItemFooter/styles.d.ts +3 -0
  27. package/build/admin/src/components/DiscussionThreadItemFooter/styles.js +25 -0
  28. package/build/admin/src/components/DiscussionThreadItemReviewAction/index.d.ts +30 -0
  29. package/build/admin/src/components/DiscussionThreadItemReviewAction/index.js +233 -0
  30. package/build/admin/src/components/FormSwitch/index.d.ts +11 -0
  31. package/build/admin/src/components/FormSwitch/index.js +39 -0
  32. package/build/admin/src/components/FormSwitch/styles.d.ts +2 -0
  33. package/build/admin/src/components/FormSwitch/styles.js +16 -0
  34. package/build/admin/src/components/IconButton/styles.d.ts +2 -0
  35. package/build/admin/src/components/IconButton/styles.js +27 -0
  36. package/build/admin/src/components/Initializer/index.d.ts +3 -0
  37. package/build/admin/src/components/Initializer/index.js +14 -0
  38. package/build/admin/src/components/LoadingIndicatorOverlay/index.d.ts +3 -0
  39. package/build/admin/src/components/LoadingIndicatorOverlay/index.js +18 -0
  40. package/build/admin/src/components/LoadingIndicatorOverlay/styles.d.ts +3 -0
  41. package/build/admin/src/components/LoadingIndicatorOverlay/styles.js +32 -0
  42. package/build/admin/src/components/Nav/index.d.ts +7 -0
  43. package/build/admin/src/components/Nav/index.js +72 -0
  44. package/build/admin/src/components/PluginIcon/index.d.ts +3 -0
  45. package/build/admin/src/components/PluginIcon/index.js +13 -0
  46. package/build/admin/src/components/ReportsReviewModal/index.d.ts +21 -0
  47. package/build/admin/src/components/ReportsReviewModal/index.js +72 -0
  48. package/build/admin/src/components/ReportsReviewTable/index.d.ts +21 -0
  49. package/build/admin/src/components/ReportsReviewTable/index.js +321 -0
  50. package/build/admin/src/components/StatusBadge/index.d.ts +11 -0
  51. package/build/admin/src/components/StatusBadge/index.js +22 -0
  52. package/build/admin/src/components/StatusBadge/styles.d.ts +2 -0
  53. package/build/admin/src/components/StatusBadge/styles.js +25 -0
  54. package/build/admin/src/components/TableFilters/index.d.ts +10 -0
  55. package/build/admin/src/components/TableFilters/index.js +109 -0
  56. package/build/admin/src/components/TablePagination/index.d.ts +15 -0
  57. package/build/admin/src/components/TablePagination/index.js +45 -0
  58. package/build/admin/src/components/icons/comments.d.ts +9 -0
  59. package/build/admin/src/components/icons/comments.js +23 -0
  60. package/build/admin/src/components/icons/index.d.ts +6 -0
  61. package/build/admin/src/components/icons/index.js +21 -0
  62. package/build/admin/src/components/icons/lock.d.ts +11 -0
  63. package/build/admin/src/components/icons/lock.js +29 -0
  64. package/build/admin/src/components/icons/review.d.ts +11 -0
  65. package/build/admin/src/components/icons/review.js +31 -0
  66. package/build/admin/src/components/icons/unlock.d.ts +11 -0
  67. package/build/admin/src/components/icons/unlock.js +29 -0
  68. package/build/admin/src/hooks/useConfig.d.ts +8 -0
  69. package/build/admin/src/hooks/useConfig.js +52 -0
  70. package/build/admin/src/index.d.ts +7 -0
  71. package/build/admin/src/index.js +137 -0
  72. package/build/admin/src/pages/App/index.d.ts +4 -0
  73. package/build/admin/src/pages/App/index.js +90 -0
  74. package/build/admin/src/pages/App/reducer/actions.d.ts +8 -0
  75. package/build/admin/src/pages/App/reducer/actions.js +12 -0
  76. package/build/admin/src/pages/App/reducer/constants.d.ts +4 -0
  77. package/build/admin/src/pages/App/reducer/constants.js +7 -0
  78. package/build/admin/src/pages/App/reducer/index.d.ts +14 -0
  79. package/build/admin/src/pages/App/reducer/index.js +31 -0
  80. package/build/admin/src/pages/App/reducer/init.d.ts +3 -0
  81. package/build/admin/src/pages/App/reducer/init.js +9 -0
  82. package/build/admin/src/pages/App/reducer/selectors.d.ts +6 -0
  83. package/build/admin/src/pages/App/reducer/selectors.js +20 -0
  84. package/build/admin/src/pages/App/utils/api.d.ts +2 -0
  85. package/build/admin/src/pages/App/utils/api.js +16 -0
  86. package/build/admin/src/pages/ComingSoonPage/index.d.ts +3 -0
  87. package/build/admin/src/pages/ComingSoonPage/index.js +78 -0
  88. package/build/admin/src/pages/Details/components/DetailsEntity/index.d.ts +18 -0
  89. package/build/admin/src/pages/Details/components/DetailsEntity/index.js +132 -0
  90. package/build/admin/src/pages/Details/components/DetailsFilters/index.d.ts +12 -0
  91. package/build/admin/src/pages/Details/components/DetailsFilters/index.js +48 -0
  92. package/build/admin/src/pages/Details/components/DetailsFilters/styles.d.ts +2 -0
  93. package/build/admin/src/pages/Details/components/DetailsFilters/styles.js +16 -0
  94. package/build/admin/src/pages/Details/index.d.ts +4 -0
  95. package/build/admin/src/pages/Details/index.js +216 -0
  96. package/build/admin/src/pages/Discover/components/DiscoverTableRow/index.d.ts +20 -0
  97. package/build/admin/src/pages/Discover/components/DiscoverTableRow/index.js +344 -0
  98. package/build/admin/src/pages/Discover/components/DiscoverTableRow/styles.d.ts +2 -0
  99. package/build/admin/src/pages/Discover/components/DiscoverTableRow/styles.js +16 -0
  100. package/build/admin/src/pages/Discover/index.d.ts +4 -0
  101. package/build/admin/src/pages/Discover/index.js +332 -0
  102. package/build/admin/src/pages/Discover/utils/api.d.ts +2 -0
  103. package/build/admin/src/pages/Discover/utils/api.js +23 -0
  104. package/build/admin/src/pages/Discover/utils/filtersSchema.d.ts +11 -0
  105. package/build/admin/src/pages/Discover/utils/filtersSchema.js +11 -0
  106. package/build/admin/src/pages/Settings/components/RestartAlert/styles.d.ts +2 -0
  107. package/build/admin/src/pages/Settings/components/RestartAlert/styles.js +16 -0
  108. package/build/admin/src/pages/Settings/index.d.ts +3 -0
  109. package/build/admin/src/pages/Settings/index.js +712 -0
  110. package/build/admin/src/pages/Settings/utils/api.d.ts +7 -0
  111. package/build/admin/src/pages/Settings/utils/api.js +80 -0
  112. package/build/admin/src/pages/utils/api.d.ts +12 -0
  113. package/build/admin/src/pages/utils/api.js +83 -0
  114. package/build/admin/src/permissions.d.ts +28 -0
  115. package/build/admin/src/permissions.js +65 -0
  116. package/build/admin/src/pluginId.d.ts +2 -0
  117. package/build/admin/src/pluginId.js +50 -0
  118. package/build/admin/src/reducers.d.ts +12 -0
  119. package/build/admin/src/reducers.js +14 -0
  120. package/build/admin/src/translations/en.json +132 -0
  121. package/build/admin/src/translations/fr.json +1 -0
  122. package/build/admin/src/translations/pt-BR.json +132 -0
  123. package/build/admin/src/utils/axiosInstance.d.ts +3 -0
  124. package/build/admin/src/utils/axiosInstance.js +37 -0
  125. package/build/admin/src/utils/constants.d.ts +25 -0
  126. package/build/admin/src/utils/constants.js +30 -0
  127. package/build/admin/src/utils/getApiUrl.d.ts +3 -0
  128. package/build/admin/src/utils/getApiUrl.js +6 -0
  129. package/build/admin/src/utils/getMessage.d.ts +4 -0
  130. package/build/admin/src/utils/getMessage.js +25 -0
  131. package/build/admin/src/utils/getRelatedGroups.d.ts +4 -0
  132. package/build/admin/src/utils/getRelatedGroups.js +6 -0
  133. package/build/admin/src/utils/getUrl.d.ts +3 -0
  134. package/build/admin/src/utils/getUrl.js +6 -0
  135. package/build/admin/src/utils/handleAPIError.d.ts +4 -0
  136. package/build/admin/src/utils/handleAPIError.js +20 -0
  137. package/build/admin/src/utils/index.d.ts +12 -0
  138. package/build/admin/src/utils/index.js +97 -0
  139. package/build/admin/src/utils/parseRegExp.d.ts +6 -0
  140. package/build/admin/src/utils/parseRegExp.js +11 -0
  141. package/build/admin/src/utils/renderEntryTitle.d.ts +4 -0
  142. package/build/admin/src/utils/renderEntryTitle.js +16 -0
  143. package/build/admin/src/utils/renderInitials.d.ts +3 -0
  144. package/build/admin/src/utils/renderInitials.js +11 -0
  145. package/build/admin/src/utils/resolveCommentStatus.d.ts +4 -0
  146. package/build/admin/src/utils/resolveCommentStatus.js +32 -0
  147. package/build/admin/src/utils/resolveCommentStatusColor.d.ts +4 -0
  148. package/build/admin/src/utils/resolveCommentStatusColor.js +22 -0
  149. package/build/content-types/comment.d.ts +91 -0
  150. package/build/content-types/comment.js +92 -0
  151. package/build/content-types/index.d.ts +143 -0
  152. package/build/content-types/index.js +18 -0
  153. package/build/content-types/report.d.ts +48 -0
  154. package/build/content-types/report.js +49 -0
  155. package/build/package.json +94 -0
  156. package/build/permissions.d.ts +18 -0
  157. package/build/permissions.js +18 -0
  158. package/build/server/bootstrap.d.ts +4 -0
  159. package/build/server/bootstrap.js +65 -0
  160. package/build/server/config/index.d.ts +4 -0
  161. package/build/server/config/index.js +19 -0
  162. package/build/server/controllers/admin.d.ts +4 -0
  163. package/build/server/controllers/admin.js +124 -0
  164. package/build/server/controllers/client.d.ts +4 -0
  165. package/build/server/controllers/client.js +111 -0
  166. package/build/server/controllers/index.d.ts +6 -0
  167. package/build/server/controllers/index.js +15 -0
  168. package/build/server/controllers/utils/functions.d.ts +7 -0
  169. package/build/server/controllers/utils/functions.js +24 -0
  170. package/build/server/controllers/utils/parsers.d.ts +15 -0
  171. package/build/server/controllers/utils/parsers.js +25 -0
  172. package/build/server/destroy.d.ts +3 -0
  173. package/build/server/destroy.js +3 -0
  174. package/build/server/graphql/index.d.ts +4 -0
  175. package/build/server/graphql/index.js +37 -0
  176. package/build/server/graphql/mutations/createAbuseReport.d.ts +11 -0
  177. package/build/server/graphql/mutations/createAbuseReport.js +27 -0
  178. package/build/server/graphql/mutations/createComment.d.ts +14 -0
  179. package/build/server/graphql/mutations/createComment.js +26 -0
  180. package/build/server/graphql/mutations/index.d.ts +4 -0
  181. package/build/server/graphql/mutations/index.js +28 -0
  182. package/build/server/graphql/mutations/removeComment.d.ts +11 -0
  183. package/build/server/graphql/mutations/removeComment.js +27 -0
  184. package/build/server/graphql/mutations/updateComment.d.ts +11 -0
  185. package/build/server/graphql/mutations/updateComment.js +27 -0
  186. package/build/server/graphql/queries/findAllFlat.d.ts +19 -0
  187. package/build/server/graphql/queries/findAllFlat.js +47 -0
  188. package/build/server/graphql/queries/findAllInHierarchy.d.ts +18 -0
  189. package/build/server/graphql/queries/findAllInHierarchy.js +38 -0
  190. package/build/server/graphql/queries/index.d.ts +4 -0
  191. package/build/server/graphql/queries/index.js +24 -0
  192. package/build/server/graphql/resolvers-config.d.ts +23 -0
  193. package/build/server/graphql/resolvers-config.js +13 -0
  194. package/build/server/graphql/types/comment-author.d.ts +4 -0
  195. package/build/server/graphql/types/comment-author.js +12 -0
  196. package/build/server/graphql/types/comment-nested.d.ts +4 -0
  197. package/build/server/graphql/types/comment-nested.js +19 -0
  198. package/build/server/graphql/types/comment.d.ts +4 -0
  199. package/build/server/graphql/types/comment.js +18 -0
  200. package/build/server/graphql/types/create-comment-author.d.ts +4 -0
  201. package/build/server/graphql/types/create-comment-author.js +12 -0
  202. package/build/server/graphql/types/create-comment.d.ts +4 -0
  203. package/build/server/graphql/types/create-comment.js +12 -0
  204. package/build/server/graphql/types/create-report.d.ts +4 -0
  205. package/build/server/graphql/types/create-report.js +12 -0
  206. package/build/server/graphql/types/id.d.ts +4 -0
  207. package/build/server/graphql/types/id.js +26 -0
  208. package/build/server/graphql/types/identify-comment-author.d.ts +4 -0
  209. package/build/server/graphql/types/identify-comment-author.js +9 -0
  210. package/build/server/graphql/types/index.d.ts +4 -0
  211. package/build/server/graphql/types/index.js +44 -0
  212. package/build/server/graphql/types/remove-comment.d.ts +4 -0
  213. package/build/server/graphql/types/remove-comment.js +11 -0
  214. package/build/server/graphql/types/report-reason.d.ts +4 -0
  215. package/build/server/graphql/types/report-reason.js +12 -0
  216. package/build/server/graphql/types/report.d.ts +4 -0
  217. package/build/server/graphql/types/report.js +14 -0
  218. package/build/server/graphql/types/response-find-all.d.ts +4 -0
  219. package/build/server/graphql/types/response-find-all.js +10 -0
  220. package/build/server/graphql/types/response-meta.d.ts +4 -0
  221. package/build/server/graphql/types/response-meta.js +9 -0
  222. package/build/server/graphql/types/response-pagination.d.ts +4 -0
  223. package/build/server/graphql/types/response-pagination.js +14 -0
  224. package/build/server/graphql/types/update-comment.d.ts +4 -0
  225. package/build/server/graphql/types/update-comment.js +12 -0
  226. package/build/server/index.d.ts +26 -0
  227. package/build/server/index.js +25 -0
  228. package/build/server/register.d.ts +3 -0
  229. package/build/server/register.js +3 -0
  230. package/build/server/routes/admin.d.ts +4 -0
  231. package/build/server/routes/admin.js +118 -0
  232. package/build/server/routes/client.d.ts +4 -0
  233. package/build/server/routes/client.js +54 -0
  234. package/build/server/routes/index.d.ts +11 -0
  235. package/build/server/routes/index.js +21 -0
  236. package/build/server/services/admin.d.ts +5 -0
  237. package/build/server/services/admin.js +296 -0
  238. package/build/server/services/client.d.ts +5 -0
  239. package/build/server/services/client.js +247 -0
  240. package/build/server/services/common.d.ts +5 -0
  241. package/build/server/services/common.js +266 -0
  242. package/build/server/services/graphql.d.ts +5 -0
  243. package/build/server/services/graphql.js +136 -0
  244. package/build/server/services/index.d.ts +8 -0
  245. package/build/server/services/index.js +16 -0
  246. package/build/server/services/utils/functions.d.ts +13 -0
  247. package/build/server/services/utils/functions.js +141 -0
  248. package/build/server/utils/constants.d.ts +9 -0
  249. package/build/server/utils/constants.js +23 -0
  250. package/build/server/utils/error.d.ts +23 -0
  251. package/build/server/utils/error.js +29 -0
  252. package/build/server/utils/functions.d.ts +14 -0
  253. package/build/server/utils/functions.js +50 -0
  254. package/build/strapi-admin.d.ts +3 -0
  255. package/build/strapi-admin.js +10 -0
  256. package/build/strapi-server.d.ts +177 -0
  257. package/build/strapi-server.js +46 -0
  258. package/build/tsconfig.tsbuildinfo +1 -0
  259. package/build/types/contentTypes.d.ts +46 -0
  260. package/build/types/contentTypes.js +3 -0
  261. package/package.json +3 -3
package/README.md CHANGED
@@ -33,6 +33,19 @@
33
33
 
34
34
  A plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and much more.
35
35
 
36
+ ### Table of Contents
37
+
38
+ 1. [✨ Features](#-features)
39
+ 2. [⏳ Installation](#-installation)
40
+ 3. [🖐 Requirements](#-requirements)
41
+ 4. [🔧 Configuration](#-configuration)
42
+ - [Settings page](#in-v203-and-newer)
43
+ - [Plugin file](#in-v202-and-older--default-configuration-state-for-v203-and-newer)
44
+ 5. [🕸️ Public API - REST](#%EF%B8%8F-public-rest-api-specification)
45
+ 6. [🕸️ Public API - GraphQL](#%EF%B8%8F-public-graphql-specification)
46
+ 7. [🤝 Contributing](#-contributing)
47
+ 8. [👨‍💻 Community support](#-community-support)
48
+
36
49
  ## ✨ Features
37
50
 
38
51
  - **Comments Public REST + GraphQL API:** Elegant, entirely customizable and a fully extensible admin panel.
@@ -49,13 +62,23 @@ A plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that provid
49
62
 
50
63
  ## ⏳ Installation
51
64
 
65
+ ### Via Strapi Markerplace
66
+
67
+ As a ✅ **verified** plugin by Strapi team we're available on the [**Strapi Marketplace**](https://market.strapi.io/plugins/strapi-plugin-comments) as well as **In-App Marketplace** where you can follow the installation instructions.
68
+
69
+ <div style="margin: 20px 0" align="center">
70
+ <img style="width: 100%; height: auto;" src="public/assets/marketplace.png" alt="Strapi In-App Marketplace" />
71
+ </div>
72
+
73
+ ### Via command line
74
+
52
75
  (Use **yarn** to install this plugin within your Strapi project (recommended). [Install yarn with these docs](https://yarnpkg.com/lang/en/docs/install/).)
53
76
 
54
77
  ```bash
55
78
  yarn add strapi-plugin-comments@latest
56
79
  ```
57
80
 
58
- After successful installation you've to build a fresh package that includes plugin UI. To archive that simply use:
81
+ After successful installation you've to re-build your Strapi instance. To archive that simply use:
59
82
 
60
83
  ```bash
61
84
  yarn build
@@ -70,7 +93,9 @@ yarn develop --watch-admin
70
93
 
71
94
  The **Comments** plugin should appear in the **Plugins** section of Strapi sidebar after you run app again.
72
95
 
73
- Enjoy 🎉
96
+ As a next step you must configure your the plugin by the way you want to. See [**Configuration**](#🔧-configuration) section.
97
+
98
+ All done. Enjoy 🎉
74
99
 
75
100
  ## 🖐 Requirements
76
101
 
@@ -84,7 +109,7 @@ In our minimum support we're following [official Node.js releases timelines](htt
84
109
 
85
110
  **Supported Strapi versions**:
86
111
 
87
- - Strapi v4.1.2 (recently tested)
112
+ - Strapi v4.1.7 (recently tested)
88
113
  - Strapi v4.x
89
114
 
90
115
  > This plugin is designed for **Strapi v4** and is not working with v3.x. To get version for **Strapi v3** install version [v1.x](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/tree/strapi-v3).
@@ -93,14 +118,22 @@ In our minimum support we're following [official Node.js releases timelines](htt
93
118
 
94
119
  ## 🔧 Configuration
95
120
 
96
- ### In `v2.0.3` and newest
121
+ To start your journey with **Comments plugin** you must first setup it using the dedicated Settings page (`v2.0.3` and newer) or for any version, put your configuration in `config/plugins.js`. Anyway we're recommending the click-through option where your configuration is going to be properly validated.
122
+
123
+ ### In `v2.0.3` and newer
97
124
 
98
125
  Version `2.0.3` introduce the intuitive **Settings** page which you can easly access via `Strapi Settings -> Section: Comments Plugin -> Configuration`. On dedicated page you will be able to setup all crucial properties which drives the plugin and customize each individual collection for which **Comments plugin** should be enabled.
99
126
 
127
+ On the dedicated page, you will be able to set up all crucial properties which drive the plugin and customize each individual collection for which **Comments plugin** should be enabled.
128
+
129
+ <div style="margin: 20px 0" align="center">
130
+ <img style="width: 100%; height: auto;" src="public/assets/configuration.png" alt="Plugin configuration" />
131
+ </div>
132
+
100
133
  > *Note*
101
134
  > Default configuration for your plugin is fetched from `config/plugins.js` or directly from the plugin itself. If you would like to customize the default state to which you might revert, please follow the next section.
102
135
 
103
- ### In `v2.0.2` and older + default configuration state for `v2.0.3` and newest
136
+ ### In `v2.0.2` and older + default configuration state for `v2.0.3` and newer
104
137
 
105
138
  To setup amend default plugin configuration we recommend to put following snippet as part of `config/plugins.js` or `config/<env>/plugins.js` file. If the file does not exist yet, you have to create it manually. If you've got already configurations for other plugins stores by this way, use just the `comments` part within exising `plugins` item.
106
139
 
@@ -131,6 +164,7 @@ To setup amend default plugin configuration we recommend to put following snippe
131
164
  ```
132
165
 
133
166
  ### Properties
167
+ - `enabledCollections` - list of Collection and Single Types for which plugin should be enabled in format like `'api::<collection name>.<content type name>'`. By default it's empty and none comments are not enabled for any of type in Strapi.
134
168
  - `badWords` - Enabled support for [bad words filtering](https://www.npmjs.com/package/bad-words). Can be turned off or overwritten using [options reference](https://www.npmjs.com/package/bad-words#constructor). Default value: `true`.
135
169
  - `moderatorRoles` - Optional list of names of roles. Users with those roles will be notified by email when a new abuse report is created. This feature requires a built-in [Strapi email plugin](https://docs.strapi.io/developer-docs/latest/plugins/email.html) configured.
136
170
  - `approvalFlow` - list of Content Types which are supporting approval flow. Values must be in format like `'api::<collection name>.<content type name>'`. For not included, posted comments are going to be immediately visible.
@@ -1 +1,132 @@
1
- {}
1
+ {
2
+ "plugin.name": "Commentaires",
3
+ "plugin.section": "Plugin de commentaires",
4
+ "plugin.section.item": "Configuration",
5
+ "common.button.back": "Retour",
6
+ "nav.header.moderation": "Modération",
7
+ "nav.header.settings": "Paramètres",
8
+ "nav.item.updates": "Mises à jour",
9
+ "nav.item.discover": "Découvrir",
10
+ "nav.item.reports": "Rapports",
11
+ "nav.item.settings": "Paramètres",
12
+ "page.common.item.status.OPEN": "Ouvert",
13
+ "page.common.item.status.PENDING": "En attente",
14
+ "page.common.item.status.BLOCKED": "Bloqué",
15
+ "page.common.item.status.APPROVED": "Approuvé",
16
+ "page.common.item.status.TO_REVIEW": "À examiner ({count, number})",
17
+ "page.common.item.status.REJECTED": "Rejeté",
18
+ "page.common.item.status.REMOVED": "Retiré par l'auteur",
19
+ "page.updates.header": "Mises à jour récentes",
20
+ "page.discover.header": "Découvrir les threads",
21
+ "page.discover.header.count": "entrées trouvées",
22
+ "page.discover.table.header.id": "ID",
23
+ "page.discover.table.header.author": "Auteur",
24
+ "page.discover.table.header.message": "Message",
25
+ "page.discover.table.header.thread": "Thread de",
26
+ "page.discover.table.header.entry": "Entrée",
27
+ "page.discover.table.header.lastUpdate": "Dernière mise à jour",
28
+ "page.discover.table.header.status": "Status",
29
+ "page.discover.table.header.actions": "Actions",
30
+ "page.discover.table.cell.thread": "Commentaire #{id}",
31
+ "page.discover.table.action.display": "Afficher",
32
+ "page.discover.table.action.reports": "Rapports",
33
+ "page.discover.table.empty": "Vous n'avez pas de encore de commentaires.",
34
+ "page.discover.table.empty.search": "Aucun commentaire ne correspond à votre recherche.",
35
+ "page.discover.table.filters": "Filtrage",
36
+ "page.discover.table.reports.review": "Consultation des rapports",
37
+ "page.details.header": "Panel de discussion",
38
+ "page.details.header.description": "Exploration et gestion de discussions relatives à l'entité",
39
+ "page.details.panel.discussion": "Discussion",
40
+ "page.details.panel.discussion.nav.drilldown": "Exploration",
41
+ "page.details.panel.discussion.nav.back": "Retour en haut",
42
+ "page.details.panel.discussion.warnings.reports.description": "rapports ouverts",
43
+ "page.details.panel.discussion.warnings.reports.review": "consultation",
44
+ "page.details.panel.discussion.warnings.reports.dialog.list": "Rapports",
45
+ "page.details.panel.discussion.warnings.reports.dialog.header": "Modération : Examiner les rapports ouverts",
46
+ "page.details.panel.discussion.warnings.reports.dialog.reason": "Raison",
47
+ "page.details.panel.discussion.warnings.reports.dialog.reason.BAD_LANGUAGE": "Langage inapproprié",
48
+ "page.details.panel.discussion.warnings.reports.dialog.reason.DISCRIMINATION": "Discrimination",
49
+ "page.details.panel.discussion.warnings.reports.dialog.reason.OTHER": "Autre",
50
+ "page.details.panel.discussion.warnings.reports.dialog.content": "Contenu",
51
+ "page.details.panel.discussion.warnings.reports.dialog.createdAt": "Date de création",
52
+ "page.details.panel.discussion.warnings.reports.dialog.status": "Status",
53
+ "page.details.panel.discussion.warnings.reports.dialog.status.OPEN": "Ouvert",
54
+ "page.details.panel.discussion.warnings.reports.dialog.status.RESOLVED": "Résolu",
55
+ "page.details.panel.discussion.warnings.reports.dialog.actions": "Actions",
56
+ "page.details.panel.discussion.warnings.reports.dialog.actions.resolve": "Résoudre",
57
+ "page.details.panel.discussion.warnings.reports.dialog.confirmation.success": "Le rapport ouvert a été résolu",
58
+ "page.details.panel.discussion.status.blocked": "Bloqué",
59
+ "page.details.panel.entity": "Détails de l'entité",
60
+ "page.details.panel.status": "La discussion est",
61
+ "page.details.panel.status.open": "Ouvert",
62
+ "page.details.panel.status.blocked": "Bloqué",
63
+ "page.details.panel.status.pending": "En attente",
64
+ "page.details.panel.loading": "Récupération de l'entité...",
65
+ "page.details.actions.comment.block": "Bloquer le commentaire",
66
+ "page.details.actions.comment.block.confirmation.header": "Modération : Bloquer le commentaire",
67
+ "page.details.actions.comment.block.confirmation.description": "Voulez-vous vraiment bloquer ce commentaire ?",
68
+ "page.details.actions.comment.block.confirmation.button.confirm": "Oui, bloqué le",
69
+ "page.details.actions.comment.block.confirmation.success": "Le commentaire a été bloqué",
70
+ "page.details.actions.comment.unblock": "Débloquer le commentaire",
71
+ "page.details.actions.comment.unblock.confirmation.success": "Le commentaire a été débloqué",
72
+ "page.details.actions.comment.reports.review": "Consulter",
73
+ "page.details.actions.thread.block": "Bloquer le thread",
74
+ "page.details.actions.thread.block.confirmation.header": "Moderation: Bloquer le thread",
75
+ "page.details.actions.thread.block.confirmation.description": "Voulez-vous vraiment bloquer tout le thread ? Aucune autre discussion ne sera autorisée.",
76
+ "page.details.actions.thread.block.confirmation.button.confirm": "Oui, bloqué le",
77
+ "page.details.actions.thread.block.confirmation.success": "Le thread a été bloqué",
78
+ "page.details.actions.thread.unblock": "Débloquer le thread",
79
+ "page.details.actions.thread.unblock.confirmation.success": "Le thread a été débloqué",
80
+ "page.details.actions.comment.approve.confirmation.success": "Le commentaire a été apprové",
81
+ "page.details.actions.comment.reject.confirmation.success": "Le commentaire a été rejeté",
82
+ "page.details.filters.label": "Voir",
83
+ "page.details.filters.removed.visibility": "Afficher les commentaires supprimés",
84
+ "page.coming.soon": "Attendez pour ce qui va bientôt arriver...",
85
+ "page.settings": "Paramètres",
86
+ "page.settings.header.title": "Commentaires",
87
+ "page.settings.header.description": "Configurez vos capacités de modération des commentaires",
88
+ "page.settings.actions.submit": "Enregistrer",
89
+ "page.settings.actions.restore": "Restaurer les paramètres par défaut",
90
+ "page.settings.actions.restart": "Redémarrer Strapi",
91
+ "page.settings.section.general": "Configuration générale",
92
+ "page.settings.section.additional": "Configuration supplémentaire",
93
+ "page.settings.section.restore": "Restaurer les paramètres par défaut",
94
+ "page.settings.section.restore.subtitle": "Suppression de tous les paramètres appliqués et retour aux paramètres par défaut du plugin. Utilisez-les raisonnablement",
95
+ "page.settings.form.enabledCollections.label": "Activer les commentaires uniquement pour",
96
+ "page.settings.form.enabledCollections.placeholder": "Sélectionnez une ou plusieurs collections",
97
+ "page.settings.form.enabledCollections.hint": "Si aucun n'est sélectionné, tous les types de contenu sont activés",
98
+ "page.settings.form.contentTypesSettings.label": "Types de contenu",
99
+ "page.settings.form.contentTypesSettings.tooltip": "Configuration personnalisée par type de contenu",
100
+ "page.settings.form.moderatorRoles.label": "Envoyer des notifications importantes à",
101
+ "page.settings.form.moderatorRoles.placeholder": "Sélectionnez un ou plusieurs rôles",
102
+ "page.settings.form.moderatorRoles.hint": "Rôles qui vont être notifiés par le plugin sur les actions significatives à effectuer",
103
+ "page.settings.form.badWords.label": "Filtrage des gros mots",
104
+ "page.settings.form.badWords.hint": "Si activé, chaque message / mise à jour de commentaire va être vérifié contre les gros mots",
105
+ "page.settings.form.gqlAuth.label": "Autorisation des requêtes GraphQL",
106
+ "page.settings.form.gqlAuth.hint": "Si elle est activée, les requêtes et mutations de l'API GraphQL ne peuvent être déclenchées que par les utilisateurs Strapi authentifiés. Sinon, l'API reste ouverte.",
107
+ "page.settings.form.approvalFlow.label": "Flux de validation",
108
+ "page.settings.form.approvalFlow.hint": "Les commentaires associés au type de contenu \"{nom}\" vont être soumis à un flux de vérification manuel",
109
+ "page.settings.form.entryLabel.label": "Champs de titre",
110
+ "page.settings.form.entryLabel.placeholder": "Sélectionnez au moins un champ ou laissez vide pour appliquer les valeurs par défaut",
111
+ "page.settings.form.entryLabel.hint": "Si vous laissez vide, le rendu du titre sera le suivant : \"Title\", \"Subject\" & \"Name\"",
112
+ "page.settings.actions.restore.confirmation.header": "Restaurer la configuration par défaut",
113
+ "page.settings.actions.restore.confirmation.description": "Vous êtes sur le point de restaurer la configuration du plugin à ses valeurs par défaut. Cela pourrait avoir un impact destructeur sur le contenu déjà collecté. Voulez-vous vraiment continuer ?",
114
+ "page.settings.actions.restore.confirmation.button.confirm": "Oui, je veux restaurer",
115
+ "page.settings.actions.restart.alert.title": "Strapi requiert un redémarrage",
116
+ "page.settings.actions.restart.alert.description": "Vous avez effectué un changement de configuration qui nécessite que votre application Strapi soit redémarrée pour prendre effet dans le schéma GraphQL. Faites-le manuellement ou en utilisant le déclencheur ci-dessous.",
117
+ "page.settings.actions.restart.alert.close": "Abandonner",
118
+ "page.settings.notification.fetch.error": "Impossible de récupérer la configuration. Nouvelle tentative en cours...",
119
+ "page.settings.notification.submit.success": "La configuration a été enregistrée avec succès",
120
+ "page.settings.notification.submit.error": "Échec de la sauvegarde de la configuration. Veuillez rééssayer plus tard.",
121
+ "page.settings.notification.restore.success": "La configuration a été restaurée avec succès",
122
+ "page.settings.notification.restore.error": "Impossible de restaurer la configuration. Veuillez rééssayer plus tard.",
123
+ "page.settings.notification.restart.success": "L'application a été redémarrée avec succès",
124
+ "page.settings.notification.restart.error": "Le redémarrage de votre application a échoué. Essayez de le faire manuellement.",
125
+ "page.settings.loading": "Récupération de la configuration...",
126
+ "compontents.confirmation.dialog.header": "Confirmation",
127
+ "compontents.confirmation.dialog.description": "Voulez-vous vraiment effectuer cette action ?",
128
+ "compontents.confirmation.dialog.button.confirm": "Oui, je le veux",
129
+ "compontents.confirmation.dialog.button.cancel": "Annuler",
130
+ "compontents.toogle.enabled": "Activé",
131
+ "compontents.toogle.disabled": "Désactivé"
132
+ }