udata 12.0.2.dev10__py3-none-any.whl → 13.0.1.dev21__py3-none-any.whl

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.

Potentially problematic release.


This version of udata might be problematic. Click here for more details.

Files changed (272) hide show
  1. udata/api/__init__.py +1 -0
  2. udata/api_fields.py +10 -4
  3. udata/app.py +11 -10
  4. udata/auth/__init__.py +9 -10
  5. udata/auth/mails.py +137 -45
  6. udata/auth/views.py +5 -12
  7. udata/commands/__init__.py +2 -4
  8. udata/commands/info.py +1 -3
  9. udata/commands/tests/test_fixtures.py +6 -3
  10. udata/core/access_type/api.py +18 -0
  11. udata/core/access_type/constants.py +98 -0
  12. udata/core/access_type/models.py +44 -0
  13. udata/core/activity/models.py +1 -1
  14. udata/core/badges/models.py +1 -1
  15. udata/core/badges/tasks.py +35 -1
  16. udata/core/badges/tests/test_commands.py +2 -4
  17. udata/core/badges/tests/test_model.py +2 -2
  18. udata/core/badges/tests/test_tasks.py +55 -0
  19. udata/core/constants.py +1 -0
  20. udata/core/contact_point/models.py +8 -0
  21. udata/core/dataservices/api.py +10 -12
  22. udata/core/dataservices/apiv2.py +3 -1
  23. udata/core/dataservices/constants.py +0 -29
  24. udata/core/dataservices/models.py +44 -44
  25. udata/core/dataservices/rdf.py +2 -1
  26. udata/core/dataservices/search.py +5 -9
  27. udata/core/dataservices/tasks.py +33 -0
  28. udata/core/dataset/api.py +15 -24
  29. udata/core/dataset/api_fields.py +11 -0
  30. udata/core/dataset/apiv2.py +11 -0
  31. udata/core/dataset/constants.py +0 -1
  32. udata/core/dataset/forms.py +29 -0
  33. udata/core/dataset/models.py +24 -42
  34. udata/core/dataset/rdf.py +2 -1
  35. udata/core/dataset/search.py +2 -2
  36. udata/core/dataset/tasks.py +86 -8
  37. udata/core/discussions/mails.py +63 -0
  38. udata/core/discussions/tasks.py +4 -18
  39. udata/core/metrics/__init__.py +0 -6
  40. udata/core/organization/api.py +20 -14
  41. udata/core/organization/mails.py +144 -0
  42. udata/core/organization/models.py +2 -1
  43. udata/core/organization/rdf.py +3 -3
  44. udata/core/organization/search.py +1 -1
  45. udata/core/organization/tasks.py +21 -49
  46. udata/core/pages/tests/test_api.py +0 -2
  47. udata/core/reuse/api.py +29 -3
  48. udata/core/reuse/mails.py +21 -0
  49. udata/core/reuse/models.py +10 -1
  50. udata/core/reuse/search.py +1 -1
  51. udata/core/reuse/tasks.py +2 -3
  52. udata/core/site/api.py +27 -19
  53. udata/core/site/models.py +2 -6
  54. udata/core/site/rdf.py +2 -2
  55. udata/core/spatial/tests/test_api.py +17 -20
  56. udata/core/spatial/tests/test_models.py +3 -3
  57. udata/core/user/mails.py +54 -0
  58. udata/core/user/models.py +2 -3
  59. udata/core/user/tasks.py +8 -23
  60. udata/core/user/tests/test_user_model.py +2 -6
  61. udata/entrypoints.py +0 -6
  62. udata/features/identicon/tests/test_backends.py +3 -13
  63. udata/forms/fields.py +3 -3
  64. udata/forms/widgets.py +2 -2
  65. udata/frontend/__init__.py +3 -32
  66. udata/harvest/actions.py +4 -9
  67. udata/harvest/api.py +5 -14
  68. udata/harvest/backends/__init__.py +20 -11
  69. udata/harvest/backends/base.py +2 -2
  70. udata/harvest/backends/ckan/harvesters.py +2 -1
  71. udata/harvest/backends/dcat.py +3 -0
  72. udata/harvest/backends/maaf.py +1 -0
  73. udata/harvest/commands.py +6 -4
  74. udata/harvest/forms.py +9 -6
  75. udata/harvest/tasks.py +3 -5
  76. udata/harvest/tests/ckan/test_ckan_backend.py +300 -337
  77. udata/harvest/tests/ckan/test_ckan_backend_errors.py +94 -99
  78. udata/harvest/tests/ckan/test_ckan_backend_filters.py +128 -122
  79. udata/harvest/tests/ckan/test_dkan_backend.py +39 -51
  80. udata/harvest/tests/dcat/bnodes.xml +17 -1
  81. udata/harvest/tests/dcat/datara--5a26b0f6-0ccf-46ad-ac58-734054b91977.rdf.xml +255 -0
  82. udata/harvest/tests/dcat/datara--f40c3860-7236-4b30-a141-23b8ae33f7b2.rdf.xml +289 -0
  83. udata/harvest/tests/factories.py +1 -1
  84. udata/harvest/tests/test_actions.py +11 -9
  85. udata/harvest/tests/test_api.py +4 -5
  86. udata/harvest/tests/test_base_backend.py +5 -4
  87. udata/harvest/tests/test_dcat_backend.py +72 -16
  88. udata/harvest/tests/test_models.py +2 -4
  89. udata/harvest/tests/test_notifications.py +2 -4
  90. udata/harvest/tests/test_tasks.py +2 -3
  91. udata/mail.py +90 -53
  92. udata/migrations/2025-01-05-dataservices-fields-changes.py +8 -14
  93. udata/migrations/2025-10-21-remove-ckan-harvest-modified-at.py +28 -0
  94. udata/migrations/2025-10-29-harvesters-sources-integrity.py +27 -0
  95. udata/models/__init__.py +0 -2
  96. udata/mongo/extras_fields.py +4 -3
  97. udata/mongo/taglist_field.py +3 -3
  98. udata/rdf.py +65 -20
  99. udata/sentry.py +3 -4
  100. udata/settings.py +15 -13
  101. udata/tags.py +5 -5
  102. udata/tasks.py +3 -3
  103. udata/templates/mail/message.html +65 -0
  104. udata/templates/mail/message.txt +16 -0
  105. udata/tests/__init__.py +40 -58
  106. udata/tests/api/__init__.py +87 -2
  107. udata/tests/api/test_activities_api.py +17 -23
  108. udata/tests/api/test_auth_api.py +2 -4
  109. udata/tests/api/test_contact_points.py +48 -54
  110. udata/tests/api/test_dataservices_api.py +65 -97
  111. udata/tests/api/test_datasets_api.py +171 -56
  112. udata/tests/api/test_me_api.py +4 -6
  113. udata/tests/api/test_organizations_api.py +19 -38
  114. udata/tests/api/test_reports_api.py +0 -4
  115. udata/tests/api/test_reuses_api.py +99 -23
  116. udata/tests/api/test_security_api.py +124 -0
  117. udata/tests/api/test_swagger.py +2 -3
  118. udata/tests/api/test_tags_api.py +6 -7
  119. udata/tests/api/test_transfer_api.py +0 -2
  120. udata/tests/api/test_user_api.py +8 -10
  121. udata/tests/apiv2/test_datasets.py +0 -4
  122. udata/tests/apiv2/test_me_api.py +0 -2
  123. udata/tests/apiv2/test_organizations.py +0 -2
  124. udata/tests/apiv2/test_swagger.py +2 -3
  125. udata/tests/apiv2/test_topics.py +0 -2
  126. udata/tests/cli/test_cli_base.py +14 -12
  127. udata/tests/cli/test_db_cli.py +51 -54
  128. udata/tests/contact_point/test_contact_point_models.py +2 -2
  129. udata/tests/dataservice/test_csv_adapter.py +2 -5
  130. udata/tests/dataservice/test_dataservice_rdf.py +64 -4
  131. udata/tests/dataservice/test_dataservice_tasks.py +36 -38
  132. udata/tests/dataset/test_csv_adapter.py +2 -5
  133. udata/tests/dataset/test_dataset_actions.py +2 -4
  134. udata/tests/dataset/test_dataset_commands.py +2 -4
  135. udata/tests/dataset/test_dataset_events.py +3 -3
  136. udata/tests/dataset/test_dataset_model.py +6 -7
  137. udata/tests/dataset/test_dataset_rdf.py +205 -16
  138. udata/tests/dataset/test_dataset_recommendations.py +2 -2
  139. udata/tests/dataset/test_dataset_tasks.py +66 -68
  140. udata/tests/dataset/test_resource_preview.py +39 -48
  141. udata/tests/dataset/test_transport_tasks.py +2 -2
  142. udata/tests/features/territories/__init__.py +0 -6
  143. udata/tests/features/territories/test_territories_api.py +25 -24
  144. udata/tests/forms/test_current_user_field.py +2 -2
  145. udata/tests/forms/test_dict_field.py +2 -4
  146. udata/tests/forms/test_extras_fields.py +2 -3
  147. udata/tests/forms/test_image_field.py +2 -2
  148. udata/tests/forms/test_model_field.py +2 -4
  149. udata/tests/forms/test_publish_as_field.py +2 -4
  150. udata/tests/forms/test_user_forms.py +26 -29
  151. udata/tests/frontend/test_auth.py +2 -3
  152. udata/tests/frontend/test_csv.py +5 -6
  153. udata/tests/frontend/test_error_handlers.py +2 -3
  154. udata/tests/frontend/test_hooks.py +5 -7
  155. udata/tests/frontend/test_markdown.py +3 -4
  156. udata/tests/helpers.py +2 -7
  157. udata/tests/metrics/test_metrics.py +52 -48
  158. udata/tests/metrics/test_tasks.py +154 -150
  159. udata/tests/organization/test_csv_adapter.py +2 -5
  160. udata/tests/organization/test_notifications.py +2 -4
  161. udata/tests/organization/test_organization_model.py +3 -4
  162. udata/tests/organization/test_organization_rdf.py +6 -12
  163. udata/tests/plugin.py +6 -110
  164. udata/tests/reuse/test_reuse_model.py +3 -4
  165. udata/tests/site/test_site_api.py +0 -2
  166. udata/tests/site/test_site_csv_exports.py +0 -2
  167. udata/tests/site/test_site_metrics.py +2 -4
  168. udata/tests/site/test_site_model.py +2 -2
  169. udata/tests/site/test_site_rdf.py +85 -29
  170. udata/tests/test_activity.py +3 -3
  171. udata/tests/test_api_fields.py +6 -9
  172. udata/tests/test_cors.py +0 -2
  173. udata/tests/test_dcat_commands.py +2 -3
  174. udata/tests/test_discussions.py +2 -7
  175. udata/tests/test_mail.py +150 -114
  176. udata/tests/test_migrations.py +413 -419
  177. udata/tests/test_model.py +10 -11
  178. udata/tests/test_notifications.py +2 -3
  179. udata/tests/test_owned.py +3 -3
  180. udata/tests/test_rdf.py +19 -15
  181. udata/tests/test_routing.py +5 -5
  182. udata/tests/test_storages.py +6 -5
  183. udata/tests/test_tags.py +2 -4
  184. udata/tests/test_topics.py +2 -4
  185. udata/tests/test_transfer.py +4 -5
  186. udata/tests/topic/test_topic_tasks.py +25 -27
  187. udata/tests/user/test_user_rdf.py +2 -8
  188. udata/tests/user/test_user_tasks.py +3 -5
  189. udata/tests/workers/test_jobs_commands.py +2 -2
  190. udata/tests/workers/test_tasks_routing.py +27 -27
  191. udata/translations/ar/LC_MESSAGES/udata.mo +0 -0
  192. udata/translations/ar/LC_MESSAGES/udata.po +369 -435
  193. udata/translations/de/LC_MESSAGES/udata.mo +0 -0
  194. udata/translations/de/LC_MESSAGES/udata.po +371 -437
  195. udata/translations/es/LC_MESSAGES/udata.mo +0 -0
  196. udata/translations/es/LC_MESSAGES/udata.po +369 -435
  197. udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
  198. udata/translations/fr/LC_MESSAGES/udata.po +381 -447
  199. udata/translations/it/LC_MESSAGES/udata.mo +0 -0
  200. udata/translations/it/LC_MESSAGES/udata.po +371 -437
  201. udata/translations/pt/LC_MESSAGES/udata.mo +0 -0
  202. udata/translations/pt/LC_MESSAGES/udata.po +371 -437
  203. udata/translations/sr/LC_MESSAGES/udata.mo +0 -0
  204. udata/translations/sr/LC_MESSAGES/udata.po +372 -438
  205. udata/translations/udata.pot +379 -440
  206. udata/utils.py +66 -4
  207. {udata-12.0.2.dev10.dist-info → udata-13.0.1.dev21.dist-info}/METADATA +1 -4
  208. {udata-12.0.2.dev10.dist-info → udata-13.0.1.dev21.dist-info}/RECORD +212 -256
  209. udata/linkchecker/__init__.py +0 -0
  210. udata/linkchecker/backends.py +0 -31
  211. udata/linkchecker/checker.py +0 -75
  212. udata/linkchecker/commands.py +0 -21
  213. udata/linkchecker/models.py +0 -9
  214. udata/linkchecker/tasks.py +0 -55
  215. udata/templates/mail/account_deleted.html +0 -5
  216. udata/templates/mail/account_deleted.txt +0 -6
  217. udata/templates/mail/account_inactivity.html +0 -40
  218. udata/templates/mail/account_inactivity.txt +0 -31
  219. udata/templates/mail/badge_added_association.html +0 -33
  220. udata/templates/mail/badge_added_association.txt +0 -11
  221. udata/templates/mail/badge_added_certified.html +0 -33
  222. udata/templates/mail/badge_added_certified.txt +0 -11
  223. udata/templates/mail/badge_added_company.html +0 -33
  224. udata/templates/mail/badge_added_company.txt +0 -11
  225. udata/templates/mail/badge_added_local_authority.html +0 -33
  226. udata/templates/mail/badge_added_local_authority.txt +0 -11
  227. udata/templates/mail/badge_added_public_service.html +0 -33
  228. udata/templates/mail/badge_added_public_service.txt +0 -11
  229. udata/templates/mail/discussion_closed.html +0 -47
  230. udata/templates/mail/discussion_closed.txt +0 -16
  231. udata/templates/mail/inactive_account_deleted.html +0 -5
  232. udata/templates/mail/inactive_account_deleted.txt +0 -6
  233. udata/templates/mail/membership_refused.html +0 -20
  234. udata/templates/mail/membership_refused.txt +0 -11
  235. udata/templates/mail/membership_request.html +0 -46
  236. udata/templates/mail/membership_request.txt +0 -12
  237. udata/templates/mail/new_discussion.html +0 -44
  238. udata/templates/mail/new_discussion.txt +0 -15
  239. udata/templates/mail/new_discussion_comment.html +0 -45
  240. udata/templates/mail/new_discussion_comment.txt +0 -16
  241. udata/templates/mail/new_member.html +0 -27
  242. udata/templates/mail/new_member.txt +0 -11
  243. udata/templates/mail/new_reuse.html +0 -37
  244. udata/templates/mail/new_reuse.txt +0 -9
  245. udata/templates/mail/test.html +0 -6
  246. udata/templates/mail/test.txt +0 -6
  247. udata/templates/mail/user_mail_card.html +0 -26
  248. udata/templates/security/email/base.html +0 -105
  249. udata/templates/security/email/base.txt +0 -6
  250. udata/templates/security/email/button.html +0 -3
  251. udata/templates/security/email/change_notice.html +0 -22
  252. udata/templates/security/email/change_notice.txt +0 -8
  253. udata/templates/security/email/confirmation_instructions.html +0 -20
  254. udata/templates/security/email/confirmation_instructions.txt +0 -7
  255. udata/templates/security/email/login_instructions.html +0 -19
  256. udata/templates/security/email/login_instructions.txt +0 -7
  257. udata/templates/security/email/reset_instructions.html +0 -24
  258. udata/templates/security/email/reset_instructions.txt +0 -9
  259. udata/templates/security/email/reset_notice.html +0 -11
  260. udata/templates/security/email/reset_notice.txt +0 -4
  261. udata/templates/security/email/welcome.html +0 -24
  262. udata/templates/security/email/welcome.txt +0 -9
  263. udata/templates/security/email/welcome_existing.html +0 -32
  264. udata/templates/security/email/welcome_existing.txt +0 -14
  265. udata/terms.md +0 -6
  266. udata/tests/frontend/__init__.py +0 -23
  267. udata/tests/metrics/conftest.py +0 -15
  268. udata/tests/test_linkchecker.py +0 -277
  269. {udata-12.0.2.dev10.dist-info → udata-13.0.1.dev21.dist-info}/WHEEL +0 -0
  270. {udata-12.0.2.dev10.dist-info → udata-13.0.1.dev21.dist-info}/entry_points.txt +0 -0
  271. {udata-12.0.2.dev10.dist-info → udata-13.0.1.dev21.dist-info}/licenses/LICENSE +0 -0
  272. {udata-12.0.2.dev10.dist-info → udata-13.0.1.dev21.dist-info}/top_level.txt +0 -0
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PROJECT VERSION\n"
10
10
  "Report-Msgid-Bugs-To: i18n@opendata.team\n"
11
- "POT-Creation-Date: 2025-10-08 15:31+0200\n"
12
- "PO-Revision-Date: 2025-10-08 15:31+0200\n"
11
+ "POT-Creation-Date: 2025-11-05 10:05+0100\n"
12
+ "PO-Revision-Date: 2025-11-05 10:05+0100\n"
13
13
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
14
14
  "Language: en\n"
15
15
  "Language-Team: Open Data Team <i18n@opendata.team>\n"
@@ -31,11 +31,11 @@ msgstr ""
31
31
  msgid "Login instructions"
32
32
  msgstr ""
33
33
 
34
- #: udata/settings.py:132
34
+ #: udata/auth/mails.py:125 udata/settings.py:132
35
35
  msgid "Your password has been reset"
36
36
  msgstr ""
37
37
 
38
- #: udata/settings.py:133
38
+ #: udata/auth/mails.py:137 udata/settings.py:133
39
39
  msgid "Your password has been changed"
40
40
  msgstr ""
41
41
 
@@ -43,7 +43,7 @@ msgstr ""
43
43
  msgid "Password reset instructions"
44
44
  msgstr ""
45
45
 
46
- #: udata/settings.py:547
46
+ #: udata/settings.py:544
47
47
  msgid "This dataset has been archived"
48
48
  msgstr ""
49
49
 
@@ -52,7 +52,7 @@ msgstr ""
52
52
  msgid "Invalid URL \"{url}\": {reason}"
53
53
  msgstr ""
54
54
 
55
- #: udata/tests/api/test_datasets_api.py:1155 udata/tests/test_model.py:403
55
+ #: udata/tests/api/test_datasets_api.py:1169 udata/tests/test_model.py:402
56
56
  #: udata/uris.py:56
57
57
  #, python-brace-format
58
58
  msgid "Invalid URL \"{url}\""
@@ -86,7 +86,7 @@ msgstr ""
86
86
  msgid "is a local URL"
87
87
  msgstr ""
88
88
 
89
- #: udata/tests/test_model.py:421 udata/uris.py:159
89
+ #: udata/tests/test_model.py:420 udata/uris.py:159
90
90
  msgid "is a private URL"
91
91
  msgstr ""
92
92
 
@@ -171,6 +171,60 @@ msgstr ""
171
171
  msgid "Change email"
172
172
  msgstr ""
173
173
 
174
+ #: udata/auth/mails.py:67 udata/auth/mails.py:71 udata/auth/mails.py:96
175
+ #: udata/auth/mails.py:99
176
+ msgid "Confirm your email address"
177
+ msgstr ""
178
+
179
+ #: udata/auth/mails.py:69
180
+ #, python-format
181
+ msgid "Welcome to %(site)s!"
182
+ msgstr ""
183
+
184
+ #: udata/auth/mails.py:70 udata/auth/mails.py:98
185
+ msgid "Please confirm your email address."
186
+ msgstr ""
187
+
188
+ #: udata/auth/mails.py:80
189
+ msgid "Your email address is already associated with an account"
190
+ msgstr ""
191
+
192
+ #: udata/auth/mails.py:83
193
+ #, python-format
194
+ msgid "Someone (you?) tried to create an account on %(site)s with your email."
195
+ msgstr ""
196
+
197
+ #: udata/auth/mails.py:86
198
+ msgid "If you forgot your password, you can reset it."
199
+ msgstr ""
200
+
201
+ #: udata/auth/mails.py:87 udata/auth/mails.py:109 udata/auth/mails.py:116
202
+ #: udata/auth/mails.py:144
203
+ msgid "Reset your password"
204
+ msgstr ""
205
+
206
+ #: udata/auth/mails.py:112
207
+ #, python-format
208
+ msgid "Someone requested a password reset for your %(site)s account."
209
+ msgstr ""
210
+
211
+ #: udata/auth/mails.py:115
212
+ msgid "If this wasn't you, please ignore this email."
213
+ msgstr ""
214
+
215
+ #: udata/auth/mails.py:127
216
+ msgid "Your data.gouv.fr password has been reset."
217
+ msgstr ""
218
+
219
+ #: udata/auth/mails.py:140
220
+ #, python-format
221
+ msgid "Your %(site)s account password has been changed."
222
+ msgstr ""
223
+
224
+ #: udata/auth/mails.py:143
225
+ msgid "If you did not change your password, please reset it."
226
+ msgstr ""
227
+
174
228
  #: udata/auth/password_validation.py:26
175
229
  #, python-brace-format
176
230
  msgid "Password must be at least {pass_length} characters long"
@@ -192,10 +246,6 @@ msgstr ""
192
246
  msgid "Password must contain symbols"
193
247
  msgstr ""
194
248
 
195
- #: udata/auth/views.py:52
196
- msgid "Confirm change of email instructions"
197
- msgstr ""
198
-
199
249
  #: udata/commands/init.py:32
200
250
  msgid "Do you want to create a superadmin user?"
201
251
  msgstr ""
@@ -217,7 +267,7 @@ msgid "Your udata instance is ready!"
217
267
  msgstr ""
218
268
 
219
269
  #: udata/core/owned.py:64 udata/forms/fields.py:759
220
- #: udata/tests/api/test_dataservices_api.py:550
270
+ #: udata/tests/api/test_dataservices_api.py:547
221
271
  msgid "You can only set yourself as owner"
222
272
  msgstr ""
223
273
 
@@ -226,7 +276,7 @@ msgid "Unknown organization"
226
276
  msgstr ""
227
277
 
228
278
  #: udata/core/owned.py:77 udata/forms/fields.py:791
229
- #: udata/tests/api/test_dataservices_api.py:563
279
+ #: udata/tests/api/test_dataservices_api.py:560
230
280
  msgid "Permission denied for this organization"
231
281
  msgstr ""
232
282
 
@@ -245,7 +295,6 @@ msgstr ""
245
295
  #: udata/core/contact_point/forms.py:12 udata/core/jobs/forms.py:27
246
296
  #: udata/core/organization/forms.py:46 udata/core/post/forms.py:15
247
297
  #: udata/core/topic/forms.py:37 udata/harvest/forms.py:78
248
- #: udata/templates/api/admin.html:10
249
298
  msgid "Name"
250
299
  msgstr ""
251
300
 
@@ -262,7 +311,7 @@ msgid "The organization web contact form"
262
311
  msgstr ""
263
312
 
264
313
  #: udata/core/contact_point/forms.py:20 udata/core/dataset/forms.py:115
265
- #: udata/core/dataset/forms.py:189 udata/core/discussions/forms.py:13
314
+ #: udata/core/dataset/forms.py:191 udata/core/discussions/forms.py:13
266
315
  #: udata/core/discussions/forms.py:29 udata/core/topic/forms.py:35
267
316
  #: udata/harvest/forms.py:87
268
317
  msgid "Publish as"
@@ -284,7 +333,39 @@ msgstr ""
284
333
  msgid "Publisher"
285
334
  msgstr ""
286
335
 
287
- #: udata/core/contact_point/models.py:26 udata/tests/api/test_contact_points.py:142
336
+ #: udata/core/contact_point/models.py:12
337
+ msgid "Rights Holder"
338
+ msgstr ""
339
+
340
+ #: udata/core/contact_point/models.py:13
341
+ msgid "Custodian"
342
+ msgstr ""
343
+
344
+ #: udata/core/contact_point/models.py:14
345
+ msgid "Distributor"
346
+ msgstr ""
347
+
348
+ #: udata/core/contact_point/models.py:15
349
+ msgid "Originator"
350
+ msgstr ""
351
+
352
+ #: udata/core/contact_point/models.py:16
353
+ msgid "Principal Investigator"
354
+ msgstr ""
355
+
356
+ #: udata/core/contact_point/models.py:17
357
+ msgid "Processor"
358
+ msgstr ""
359
+
360
+ #: udata/core/contact_point/models.py:18
361
+ msgid "Resource Provider"
362
+ msgstr ""
363
+
364
+ #: udata/core/contact_point/models.py:19
365
+ msgid "User"
366
+ msgstr ""
367
+
368
+ #: udata/core/contact_point/models.py:34 udata/tests/api/test_contact_points.py:136
288
369
  msgid "At least an email or a contact form is required for a contact point"
289
370
  msgstr ""
290
371
 
@@ -312,12 +393,12 @@ msgstr ""
312
393
  msgid "dataservice"
313
394
  msgstr ""
314
395
 
315
- #: udata/core/dataservices/models.py:270 udata/core/dataset/models.py:605
396
+ #: udata/core/dataservices/models.py:270 udata/core/dataset/models.py:575
316
397
  #: udata/mongo/datetime_fields.py:60
317
398
  msgid "Creation date"
318
399
  msgstr ""
319
400
 
320
- #: udata/core/dataservices/models.py:276 udata/core/dataset/models.py:610
401
+ #: udata/core/dataservices/models.py:276 udata/core/dataset/models.py:580
321
402
  #: udata/mongo/datetime_fields.py:66
322
403
  msgid "Last modification date"
323
404
  msgstr ""
@@ -346,7 +427,7 @@ msgstr ""
346
427
  msgid "removed a resource from a dataset"
347
428
  msgstr ""
348
429
 
349
- #: udata/core/dataset/api.py:328
430
+ #: udata/core/dataset/api.py:332
350
431
  msgid "Latest datasets"
351
432
  msgstr ""
352
433
 
@@ -507,7 +588,11 @@ msgstr ""
507
588
  msgid "Other"
508
589
  msgstr ""
509
590
 
510
- #: udata/core/dataset/constants.py:74
591
+ #: udata/core/dataset/constants.py:74 udata/tests/test_mail.py:17
592
+ #: udata/tests/test_mail.py:32 udata/tests/test_mail.py:45
593
+ #: udata/tests/test_mail.py:61 udata/tests/test_mail.py:75
594
+ #: udata/tests/test_mail.py:93 udata/tests/test_mail.py:108
595
+ #: udata/tests/test_mail.py:130 udata/tests/test_mail.py:150
511
596
  msgid "Unknown"
512
597
  msgstr ""
513
598
 
@@ -555,16 +640,13 @@ msgstr ""
555
640
  msgid "Version of the schema"
556
641
  msgstr ""
557
642
 
558
- #: udata/core/dataset/forms.py:64 udata/core/dataset/forms.py:146
643
+ #: udata/core/dataset/forms.py:64 udata/core/dataset/forms.py:148
559
644
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:25
560
645
  #: udata/core/site/forms.py:12 udata/core/topic/forms.py:13
561
- #: udata/templates/mail/discussion_closed.html:26
562
- #: udata/templates/mail/new_discussion.html:25
563
- #: udata/templates/mail/new_discussion_comment.html:26
564
646
  msgid "Title"
565
647
  msgstr ""
566
648
 
567
- #: udata/core/dataset/forms.py:67 udata/core/dataset/forms.py:150
649
+ #: udata/core/dataset/forms.py:67 udata/core/dataset/forms.py:152
568
650
  #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:50
569
651
  #: udata/core/topic/forms.py:14 udata/core/topic/forms.py:38
570
652
  #: udata/harvest/forms.py:80
@@ -615,150 +697,146 @@ msgstr ""
615
697
  msgid "Related dataset"
616
698
  msgstr ""
617
699
 
618
- #: udata/core/dataset/forms.py:138 udata/tests/api/test_datasets_api.py:1067
700
+ #: udata/core/dataset/forms.py:140 udata/tests/api/test_datasets_api.py:1081
619
701
  msgid "Wrong contact point id or contact point ownership mismatch"
620
702
  msgstr ""
621
703
 
622
- #: udata/core/dataset/forms.py:148 udata/core/organization/forms.py:48
704
+ #: udata/core/dataset/forms.py:150 udata/core/organization/forms.py:48
623
705
  msgid "Acronym"
624
706
  msgstr ""
625
707
 
626
- #: udata/core/dataset/forms.py:148
708
+ #: udata/core/dataset/forms.py:150
627
709
  msgid "An optional acronym"
628
710
  msgstr ""
629
711
 
630
- #: udata/core/dataset/forms.py:152
712
+ #: udata/core/dataset/forms.py:154
631
713
  msgid "The details about the dataset (collection process, specifics...)."
632
714
  msgstr ""
633
715
 
634
- #: udata/core/dataset/forms.py:155
716
+ #: udata/core/dataset/forms.py:157
635
717
  msgid "Short description"
636
718
  msgstr ""
637
719
 
638
- #: udata/core/dataset/forms.py:157
720
+ #: udata/core/dataset/forms.py:159
639
721
  msgid "A short description of the dataset."
640
722
  msgstr ""
641
723
 
642
- #: udata/core/dataset/forms.py:159
724
+ #: udata/core/dataset/forms.py:161
643
725
  msgid "License"
644
726
  msgstr ""
645
727
 
646
- #: udata/core/dataset/forms.py:161
728
+ #: udata/core/dataset/forms.py:163
647
729
  msgid "Update frequency"
648
730
  msgstr ""
649
731
 
650
- #: udata/core/dataset/forms.py:171
732
+ #: udata/core/dataset/forms.py:173
651
733
  msgid "The frequency at which data are updated."
652
734
  msgstr ""
653
735
 
654
- #: udata/core/dataset/forms.py:173
736
+ #: udata/core/dataset/forms.py:175
655
737
  msgid "Expected frequency date"
656
738
  msgstr ""
657
739
 
658
- #: udata/core/dataset/forms.py:177
740
+ #: udata/core/dataset/forms.py:179
659
741
  msgid "Temporal coverage"
660
742
  msgstr ""
661
743
 
662
- #: udata/core/dataset/forms.py:177
744
+ #: udata/core/dataset/forms.py:179
663
745
  msgid "The period covered by the data"
664
746
  msgstr ""
665
747
 
666
- #: udata/core/dataset/forms.py:180 udata/core/spatial/forms.py:85
748
+ #: udata/core/dataset/forms.py:182 udata/core/spatial/forms.py:85
667
749
  #: udata/core/topic/forms.py:86
668
750
  msgid "Spatial coverage"
669
751
  msgstr ""
670
752
 
671
- #: udata/core/dataset/forms.py:180 udata/core/topic/forms.py:86
753
+ #: udata/core/dataset/forms.py:182 udata/core/topic/forms.py:86
672
754
  msgid "The geographical area covered by the data."
673
755
  msgstr ""
674
756
 
675
- #: udata/core/dataset/forms.py:182 udata/core/post/forms.py:26
757
+ #: udata/core/dataset/forms.py:184 udata/core/post/forms.py:26
676
758
  #: udata/core/site/forms.py:13 udata/core/topic/forms.py:15
677
759
  #: udata/core/topic/forms.py:89
678
760
  msgid "Tags"
679
761
  msgstr ""
680
762
 
681
- #: udata/core/dataset/forms.py:182
763
+ #: udata/core/dataset/forms.py:184
682
764
  msgid "Some taxonomy keywords"
683
765
  msgstr ""
684
766
 
685
- #: udata/core/dataset/forms.py:184 udata/core/topic/forms.py:90
767
+ #: udata/core/dataset/forms.py:186 udata/core/topic/forms.py:90
686
768
  msgid "Private"
687
769
  msgstr ""
688
770
 
689
- #: udata/core/dataset/forms.py:185
771
+ #: udata/core/dataset/forms.py:187
690
772
  msgid "Restrict the dataset visibility to you or your organization only."
691
773
  msgstr ""
692
774
 
693
- #: udata/core/dataset/models.py:67
775
+ #: udata/core/dataset/models.py:66
694
776
  msgid "Pivotal data"
695
777
  msgstr ""
696
778
 
697
- #: udata/core/dataset/models.py:68
779
+ #: udata/core/dataset/models.py:67
698
780
  msgid "Reference data public service"
699
781
  msgstr ""
700
782
 
701
- #: udata/core/dataset/models.py:69
783
+ #: udata/core/dataset/models.py:68
702
784
  msgid "Inspire"
703
785
  msgstr ""
704
786
 
705
- #: udata/core/dataset/models.py:70
787
+ #: udata/core/dataset/models.py:69
706
788
  msgid "High value datasets"
707
789
  msgstr ""
708
790
 
709
- #: udata/core/dataset/models.py:71
791
+ #: udata/core/dataset/models.py:70
710
792
  msgid "Certified statistic series"
711
793
  msgstr ""
712
794
 
713
- #: udata/core/dataset/models.py:72
795
+ #: udata/core/dataset/models.py:71
714
796
  msgid "Statistical series of general interest"
715
797
  msgstr ""
716
798
 
717
- #: udata/core/dataset/models.py:152
799
+ #: udata/core/dataset/models.py:151
718
800
  msgid "A schema must contains a name or an URL when a version is provided."
719
801
  msgstr ""
720
802
 
721
- #: udata/core/dataset/models.py:184 udata/tests/api/test_datasets_api.py:1163
722
- #: udata/tests/api/test_datasets_api.py:1174
803
+ #: udata/core/dataset/models.py:183 udata/tests/api/test_datasets_api.py:1177
804
+ #: udata/tests/api/test_datasets_api.py:1188
723
805
  #, python-brace-format
724
806
  msgid "Schema name \"{schema}\" is not an allowed value. Allowed values: {values}"
725
807
  msgstr ""
726
808
 
727
- #: udata/core/dataset/models.py:203 udata/tests/api/test_datasets_api.py:1186
809
+ #: udata/core/dataset/models.py:202 udata/tests/api/test_datasets_api.py:1200
728
810
  #, python-brace-format
729
811
  msgid ""
730
812
  "Version \"{version}\" is not an allowed value for the schema \"{name}\". "
731
813
  "Allowed versions: {values}"
732
814
  msgstr ""
733
815
 
734
- #: udata/core/dataset/models.py:481 udata/core/dataset/rdf.py:595
735
- #: udata/tests/dataset/test_dataset_rdf.py:722
736
- #: udata/tests/dataset/test_dataset_rdf.py:735
816
+ #: udata/core/dataset/models.py:451 udata/core/dataset/rdf.py:595
817
+ #: udata/tests/dataset/test_dataset_rdf.py:908
818
+ #: udata/tests/dataset/test_dataset_rdf.py:921
737
819
  msgid "Nameless resource"
738
820
  msgstr ""
739
821
 
740
- #: udata/core/dataset/models.py:584
822
+ #: udata/core/dataset/models.py:554
741
823
  msgid "Future date of update"
742
824
  msgstr ""
743
825
 
744
- #: udata/core/dataset/models.py:616
826
+ #: udata/core/dataset/models.py:586
745
827
  msgid "Last update of the dataset resources"
746
828
  msgstr ""
747
829
 
748
- #: udata/core/dataset/models.py:671
830
+ #: udata/core/dataset/models.py:641
749
831
  msgid "dataset"
750
832
  msgstr ""
751
833
 
752
- #: udata/core/dataset/rdf.py:593 udata/tests/dataset/test_dataset_rdf.py:692
753
- #: udata/tests/dataset/test_dataset_rdf.py:709
834
+ #: udata/core/dataset/rdf.py:593 udata/tests/dataset/test_dataset_rdf.py:878
835
+ #: udata/tests/dataset/test_dataset_rdf.py:895
754
836
  #, python-brace-format
755
837
  msgid "{format} resource"
756
838
  msgstr ""
757
839
 
758
- #: udata/core/dataset/tasks.py:104
759
- msgid "You need to update some frequency-based datasets"
760
- msgstr ""
761
-
762
840
  #: udata/core/discussions/forms.py:16 udata/core/discussions/forms.py:31
763
841
  #: udata/core/discussions/forms.py:37 udata/core/organization/forms.py:83
764
842
  #: udata/core/organization/forms.py:87 udata/harvest/forms.py:97
@@ -769,20 +847,54 @@ msgstr ""
769
847
  msgid "Subject"
770
848
  msgstr ""
771
849
 
772
- #: udata/core/discussions/tasks.py:26
850
+ #: udata/core/discussions/mails.py:9
851
+ #, python-format
852
+ msgid "A new discussion has been opened on your %(type)s"
853
+ msgstr ""
854
+
855
+ #: udata/core/discussions/mails.py:15
773
856
  #, python-format
774
- msgid "Your %(type)s have a new discussion"
857
+ msgid "You have a new discussion from %(user_or_org)s on your %(type)s %(object)s"
775
858
  msgstr ""
776
859
 
777
- #: udata/core/discussions/tasks.py:45
860
+ #: udata/core/discussions/mails.py:21 udata/core/discussions/mails.py:40
861
+ #: udata/core/discussions/mails.py:59
862
+ msgid "Discussion title:"
863
+ msgstr ""
864
+
865
+ #: udata/core/discussions/mails.py:22 udata/core/discussions/mails.py:41
866
+ #: udata/core/discussions/mails.py:60
867
+ msgid "Comment:"
868
+ msgstr ""
869
+
870
+ #: udata/core/discussions/mails.py:23 udata/core/discussions/mails.py:42
871
+ msgid "Reply"
872
+ msgstr ""
873
+
874
+ #: udata/core/discussions/mails.py:30
875
+ msgid "A new comment has been added to a discussion"
876
+ msgstr ""
877
+
878
+ #: udata/core/discussions/mails.py:34
778
879
  #, python-format
779
- msgid "%(user)s commented your discussion"
880
+ msgid "You have a new comment from %(user_or_org)s on your %(type)s %(object)s"
780
881
  msgstr ""
781
882
 
782
- #: udata/core/discussions/tasks.py:61
883
+ #: udata/core/discussions/mails.py:49
783
884
  msgid "A discussion has been closed"
784
885
  msgstr ""
785
886
 
887
+ #: udata/core/discussions/mails.py:53
888
+ #, python-format
889
+ msgid ""
890
+ "The discussion you participated in on the %(type)s %(object)s has been closed"
891
+ " by %(user_or_org)s."
892
+ msgstr ""
893
+
894
+ #: udata/core/discussions/mails.py:61
895
+ msgid "View the discussion"
896
+ msgstr ""
897
+
786
898
  #: udata/core/jobs/forms.py:29
787
899
  msgid "Tasks"
788
900
  msgstr ""
@@ -833,17 +945,17 @@ msgid "Refused"
833
945
  msgstr ""
834
946
 
835
947
  #: udata/core/organization/forms.py:25
836
- #: udata/tests/api/test_organizations_api.py:164
948
+ #: udata/tests/api/test_organizations_api.py:159
837
949
  msgid "A siret number is made of 14 digits"
838
950
  msgstr ""
839
951
 
840
952
  #: udata/core/organization/forms.py:36
841
- #: udata/tests/api/test_organizations_api.py:176
953
+ #: udata/tests/api/test_organizations_api.py:171
842
954
  msgid "A siret number is only made of digits"
843
955
  msgstr ""
844
956
 
845
957
  #: udata/core/organization/forms.py:39
846
- #: udata/tests/api/test_organizations_api.py:170
958
+ #: udata/tests/api/test_organizations_api.py:165
847
959
  msgid "Invalid Siret number"
848
960
  msgstr ""
849
961
 
@@ -875,62 +987,130 @@ msgstr ""
875
987
  msgid "Business identification number"
876
988
  msgstr ""
877
989
 
878
- #: udata/core/organization/models.py:38
879
- msgid "Public Service"
990
+ #: udata/core/organization/mails.py:9
991
+ msgid "New membership request"
880
992
  msgstr ""
881
993
 
882
- #: udata/core/organization/models.py:39
883
- msgid "Certified"
994
+ #: udata/core/organization/mails.py:13
995
+ #, python-format
996
+ msgid "You received a membership request from %(user)s for your organization %(org)s"
884
997
  msgstr ""
885
998
 
886
- #: udata/core/organization/models.py:40
887
- msgid "Association"
999
+ #: udata/core/organization/mails.py:18
1000
+ msgid "Reason for the request:"
888
1001
  msgstr ""
889
1002
 
890
- #: udata/core/organization/models.py:41
891
- msgid "Company"
1003
+ #: udata/core/organization/mails.py:19
1004
+ msgid "See the request"
892
1005
  msgstr ""
893
1006
 
894
- #: udata/core/organization/models.py:42
895
- msgid "Local authority"
1007
+ #: udata/core/organization/mails.py:26
1008
+ msgid "Membership refused"
896
1009
  msgstr ""
897
1010
 
898
- #: udata/core/organization/tasks.py:52
899
- msgid "New membership request"
1011
+ #: udata/core/organization/mails.py:30
1012
+ #, python-format
1013
+ msgid "Your membership for the organization %(org)s has been refused"
1014
+ msgstr ""
1015
+
1016
+ #: udata/core/organization/mails.py:40
1017
+ msgid "Your invitation to join an organization has been accepted"
900
1018
  msgstr ""
901
1019
 
902
- #: udata/core/organization/tasks.py:62 udata/core/organization/tasks.py:74
1020
+ #: udata/core/organization/mails.py:44
903
1021
  #, python-format
904
- msgid "You are now a member of the organization \"%(org)s\""
1022
+ msgid "Good news! Your request to join the organization %(org)s has been approved."
905
1023
  msgstr ""
906
1024
 
907
- #: udata/core/organization/tasks.py:65
908
- msgid "Membership refused"
1025
+ #: udata/core/organization/mails.py:49 udata/core/organization/mails.py:66
1026
+ #: udata/core/organization/mails.py:82 udata/core/organization/mails.py:97
1027
+ #: udata/core/organization/mails.py:112 udata/core/organization/mails.py:127
1028
+ #: udata/core/organization/mails.py:142
1029
+ msgid "View the organization"
1030
+ msgstr ""
1031
+
1032
+ #: udata/core/organization/mails.py:57
1033
+ msgid "You have been added as a member of an organization"
909
1034
  msgstr ""
910
1035
 
911
- #: udata/core/organization/tasks.py:85
1036
+ #: udata/core/organization/mails.py:61
912
1037
  #, python-format
913
- msgid "Your organization \"%(name)s\" has been certified"
1038
+ msgid "Good news! You are now a member of %(org)s."
914
1039
  msgstr ""
915
1040
 
916
- #: udata/core/organization/tasks.py:102
1041
+ #: udata/core/organization/mails.py:74
1042
+ msgid "Your organization has been certified"
1043
+ msgstr ""
1044
+
1045
+ #: udata/core/organization/mails.py:78
917
1046
  #, python-format
918
- msgid "Your organization \"%(name)s\" has been identified as public service"
1047
+ msgid ""
1048
+ "Good news! Your organization %(org)s has been certified by our team. A badge "
1049
+ "is now associated with your organization."
1050
+ msgstr ""
1051
+
1052
+ #: udata/core/organization/mails.py:89
1053
+ msgid "Your organization has been identified as a public service"
1054
+ msgstr ""
1055
+
1056
+ #: udata/core/organization/mails.py:93
1057
+ #, python-format
1058
+ msgid ""
1059
+ "Good news! Your organization %(org)s has been identified by our team as a "
1060
+ "public service. A badge is now associated with your organization."
1061
+ msgstr ""
1062
+
1063
+ #: udata/core/organization/mails.py:104
1064
+ msgid "Your organization has been identified as a local authority"
919
1065
  msgstr ""
920
1066
 
921
- #: udata/core/organization/tasks.py:119
1067
+ #: udata/core/organization/mails.py:108
922
1068
  #, python-format
923
- msgid "Your organization \"%(name)s\" has been identified as a company"
1069
+ msgid ""
1070
+ "Good news! Your organization %(org)s has been identified by our team as a "
1071
+ "local authority. A badge is now associated with your organization."
1072
+ msgstr ""
1073
+
1074
+ #: udata/core/organization/mails.py:119
1075
+ msgid "Your organization has been identified as a company"
924
1076
  msgstr ""
925
1077
 
926
- #: udata/core/organization/tasks.py:132
1078
+ #: udata/core/organization/mails.py:123
927
1079
  #, python-format
928
- msgid "Your organization \"%(name)s\" has been identified as an association"
1080
+ msgid ""
1081
+ "Your organization %(org)s has been identified by our team as a company. A "
1082
+ "badge is now associated with your organization."
1083
+ msgstr ""
1084
+
1085
+ #: udata/core/organization/mails.py:134
1086
+ msgid "Your organization has been identified as an association"
929
1087
  msgstr ""
930
1088
 
931
- #: udata/core/organization/tasks.py:150
1089
+ #: udata/core/organization/mails.py:138
932
1090
  #, python-format
933
- msgid "Your organization \"%(name)s\" has been identified as a local authority"
1091
+ msgid ""
1092
+ "Your organization %(org)s has been identified by our team as an association. "
1093
+ "A badge is now associated with your organization."
1094
+ msgstr ""
1095
+
1096
+ #: udata/core/organization/models.py:38
1097
+ msgid "Public Service"
1098
+ msgstr ""
1099
+
1100
+ #: udata/core/organization/models.py:39
1101
+ msgid "Certified"
1102
+ msgstr ""
1103
+
1104
+ #: udata/core/organization/models.py:40
1105
+ msgid "Association"
1106
+ msgstr ""
1107
+
1108
+ #: udata/core/organization/models.py:41
1109
+ msgid "Company"
1110
+ msgstr ""
1111
+
1112
+ #: udata/core/organization/models.py:42
1113
+ msgid "Local authority"
934
1114
  msgstr ""
935
1115
 
936
1116
  #: udata/core/post/api.py:118
@@ -1053,7 +1233,7 @@ msgstr ""
1053
1233
  msgid "Connected device"
1054
1234
  msgstr ""
1055
1235
 
1056
- #: udata/core/reuse/constants.py:15 udata/tests/reuse/test_reuse_model.py:110
1236
+ #: udata/core/reuse/constants.py:15 udata/tests/reuse/test_reuse_model.py:109
1057
1237
  msgid "Health"
1058
1238
  msgstr ""
1059
1239
 
@@ -1109,6 +1289,23 @@ msgstr ""
1109
1289
  msgid "Open data tools"
1110
1290
  msgstr ""
1111
1291
 
1292
+ #: udata/core/reuse/mails.py:9
1293
+ msgid "New reuse on your dataset"
1294
+ msgstr ""
1295
+
1296
+ #: udata/core/reuse/mails.py:13
1297
+ #, python-format
1298
+ msgid "A new reuse has been published by %(user_or_org)s on your dataset %(dataset)s"
1299
+ msgstr ""
1300
+
1301
+ #: udata/core/reuse/mails.py:18
1302
+ msgid "Reuse title:"
1303
+ msgstr ""
1304
+
1305
+ #: udata/core/reuse/mails.py:19
1306
+ msgid "View the reuse"
1307
+ msgstr ""
1308
+
1112
1309
  #: udata/core/reuse/models.py:39
1113
1310
  msgid "This URL is already registered"
1114
1311
  msgstr ""
@@ -1117,10 +1314,6 @@ msgstr ""
1117
1314
  msgid "reuse"
1118
1315
  msgstr ""
1119
1316
 
1120
- #: udata/core/reuse/tasks.py:48
1121
- msgid "New reuse"
1122
- msgstr ""
1123
-
1124
1317
  #: udata/core/site/forms.py:13
1125
1318
  msgid "Some SEO keywords"
1126
1319
  msgstr ""
@@ -1246,7 +1439,7 @@ msgstr ""
1246
1439
  msgid "Element"
1247
1440
  msgstr ""
1248
1441
 
1249
- #: udata/core/topic/forms.py:26
1442
+ #: udata/core/topic/forms.py:26 udata/tests/apiv2/test_topics.py:720
1250
1443
  msgid "A topic element must have a title or an element."
1251
1444
  msgstr ""
1252
1445
 
@@ -1298,10 +1491,53 @@ msgstr ""
1298
1491
  msgid "Roles"
1299
1492
  msgstr ""
1300
1493
 
1301
- #: udata/core/user/models.py:298 udata/tests/api/test_me_api.py:297
1494
+ #: udata/core/user/mails.py:10 udata/tests/api/test_me_api.py:295
1302
1495
  msgid "Account deletion"
1303
1496
  msgstr ""
1304
1497
 
1498
+ #: udata/core/user/mails.py:11
1499
+ msgid "Your account has now been deleted"
1500
+ msgstr ""
1501
+
1502
+ #: udata/core/user/mails.py:18
1503
+ #, python-format
1504
+ msgid "Deletion of your inactive %(site)s account"
1505
+ msgstr ""
1506
+
1507
+ #: udata/core/user/mails.py:22
1508
+ #, python-format
1509
+ msgid "Your account on %(site)s has been deleted due to inactivity"
1510
+ msgstr ""
1511
+
1512
+ #: udata/core/user/mails.py:33 udata/tests/user/test_user_tasks.py:36
1513
+ #, python-brace-format
1514
+ msgid "Inactivity of your {site} account"
1515
+ msgstr ""
1516
+
1517
+ #: udata/core/user/mails.py:36
1518
+ #, python-format
1519
+ msgid ""
1520
+ "We have noticed that your account associated to (%(user_email)s) has been "
1521
+ "inactive for %(inactivity_years)d years or more on %(site)s, the open "
1522
+ "platform for public data."
1523
+ msgstr ""
1524
+
1525
+ #: udata/core/user/mails.py:42
1526
+ msgid "If you want to keep your account, please log in with your account."
1527
+ msgstr ""
1528
+
1529
+ #: udata/core/user/mails.py:46
1530
+ #, python-format
1531
+ msgid "Without logging in, your account will be deleted within %(notify_delay)d days."
1532
+ msgstr ""
1533
+
1534
+ #: udata/core/user/mails.py:50
1535
+ #, python-format
1536
+ msgid ""
1537
+ "This account is not tied to your other administration accounts and you can "
1538
+ "always re-create an account on the %(site)s platform if necessary."
1539
+ msgstr ""
1540
+
1305
1541
  #: udata/core/user/permissions.py:5
1306
1542
  msgid "System administrator"
1307
1543
  msgstr ""
@@ -1314,18 +1550,8 @@ msgstr ""
1314
1550
  msgid "Site moderator"
1315
1551
  msgstr ""
1316
1552
 
1317
- #: udata/core/user/tasks.py:19
1318
- msgid "Test mail"
1319
- msgstr ""
1320
-
1321
- #: udata/core/user/tasks.py:45 udata/tests/user/test_user_tasks.py:36
1322
- #, python-brace-format
1323
- msgid "Inactivity of your {site} account"
1324
- msgstr ""
1325
-
1326
- #: udata/core/user/tasks.py:88 udata/tests/user/test_user_tasks.py:109
1327
- #, python-brace-format
1328
- msgid "Deletion of your inactive {site} account"
1553
+ #: udata/flask_mongoengine/fields.py:85
1554
+ msgid "Not a valid choice"
1329
1555
  msgstr ""
1330
1556
 
1331
1557
  #: udata/forms/fields.py:127
@@ -1355,8 +1581,8 @@ msgstr ""
1355
1581
  msgid "{0} does not exists"
1356
1582
  msgstr ""
1357
1583
 
1358
- #: udata/forms/fields.py:494 udata/tests/forms/test_model_field.py:333
1359
- #: udata/tests/forms/test_model_field.py:349
1584
+ #: udata/forms/fields.py:494 udata/tests/forms/test_model_field.py:331
1585
+ #: udata/tests/forms/test_model_field.py:347
1360
1586
  msgid "Missing \"id\" field"
1361
1587
  msgstr ""
1362
1588
 
@@ -1365,8 +1591,8 @@ msgstr ""
1365
1591
  msgid "Expect a \"{0}\" class but \"{1}\" was found"
1366
1592
  msgstr ""
1367
1593
 
1368
- #: udata/forms/fields.py:507 udata/tests/forms/test_model_field.py:41
1369
- #: udata/tests/forms/test_model_field.py:56
1594
+ #: udata/forms/fields.py:507 udata/tests/forms/test_model_field.py:39
1595
+ #: udata/tests/forms/test_model_field.py:54
1370
1596
  msgid "Expect both class and identifier"
1371
1597
  msgstr ""
1372
1598
 
@@ -1385,7 +1611,7 @@ msgid "Unable to parse date range"
1385
1611
  msgstr ""
1386
1612
 
1387
1613
  #: udata/forms/fields.py:752 udata/forms/fields.py:784
1388
- #: udata/tests/forms/test_publish_as_field.py:214
1614
+ #: udata/tests/forms/test_publish_as_field.py:212
1389
1615
  msgid "Cannot change owner after creation. Please use transfer feature."
1390
1616
  msgstr ""
1391
1617
 
@@ -1474,87 +1700,20 @@ msgstr ""
1474
1700
  msgid "A CKAN tag name"
1475
1701
  msgstr ""
1476
1702
 
1477
- #: udata/templates/404.html:6
1703
+ #: udata/templates/404.html:6 udata/tests/frontend/test_error_handlers.py:22
1704
+ #: udata/tests/frontend/test_error_handlers.py:48
1478
1705
  msgid "Page not found"
1479
1706
  msgstr ""
1480
1707
 
1481
- #: udata/templates/404.html:39
1708
+ #: udata/templates/404.html:39 udata/tests/frontend/test_error_handlers.py:22
1709
+ #: udata/tests/frontend/test_error_handlers.py:48
1482
1710
  msgid "The page you are looking for does not exist."
1483
1711
  msgstr ""
1484
1712
 
1485
- #: udata/templates/404.html:40
1713
+ #: udata/templates/404.html:40 udata/tests/frontend/test_error_handlers.py:26
1486
1714
  msgid "Back to home"
1487
1715
  msgstr ""
1488
1716
 
1489
- #: udata/templates/admin.html:7
1490
- msgid "Admin"
1491
- msgstr ""
1492
-
1493
- #: udata/templates/base.html:7
1494
- msgid "You must be connected to do this action."
1495
- msgstr ""
1496
-
1497
- #: udata/templates/api/admin.html:11
1498
- msgid "Maintainer"
1499
- msgstr ""
1500
-
1501
- #: udata/templates/api/admin.html:31
1502
- msgid "Edit"
1503
- msgstr ""
1504
-
1505
- #: udata/templates/api/admin.html:34
1506
- msgid "Delete"
1507
- msgstr ""
1508
-
1509
- #: udata/templates/api/admin.html:42
1510
- msgid "No OAuth clients"
1511
- msgstr ""
1512
-
1513
- #: udata/templates/api/admin.html:53
1514
- msgid "Add a client"
1515
- msgstr ""
1516
-
1517
- #: udata/templates/api/oauth_authorize.html:23
1518
- #, python-format
1519
- msgid "%(app)s want to access your %(site)s account."
1520
- msgstr ""
1521
-
1522
- #: udata/templates/api/oauth_authorize.html:35
1523
- msgid "Details"
1524
- msgstr ""
1525
-
1526
- #: udata/templates/api/oauth_authorize.html:45
1527
- msgid "Access your profile"
1528
- msgstr ""
1529
-
1530
- #: udata/templates/api/oauth_authorize.html:46
1531
- msgid "Read your profile, the orgnization you belong to, your publications"
1532
- msgstr ""
1533
-
1534
- #: udata/templates/api/oauth_authorize.html:54
1535
- msgid "Publish data"
1536
- msgstr ""
1537
-
1538
- #: udata/templates/api/oauth_authorize.html:55
1539
- msgid "Publish datasets, reuses, follow or unfollow"
1540
- msgstr ""
1541
-
1542
- #: udata/templates/api/oauth_authorize.html:65
1543
- msgid "Accept"
1544
- msgstr ""
1545
-
1546
- #: udata/templates/api/oauth_authorize.html:67
1547
- msgid "Refuse"
1548
- msgstr ""
1549
-
1550
- #: udata/templates/api/oauth_error.html:15
1551
- msgid "OAuth Authentication Error"
1552
- msgstr ""
1553
-
1554
- #: udata/templates/api/oauth_error.html:20 udata/templates/macros/metadata.html:2
1555
- msgid "Home"
1556
- msgstr ""
1557
-
1558
1717
  #: udata/templates/comments/dataset_archived.txt:1
1559
1718
  msgid ""
1560
1719
  "This dataset has been archived by our administration team.\n"
@@ -1566,191 +1725,31 @@ msgid ""
1566
1725
  "If you think this is a mistake, you can contact the site administrator."
1567
1726
  msgstr ""
1568
1727
 
1569
- #: udata/templates/macros/metadata.html:3
1570
- msgid "Share, improve and reuse public data"
1571
- msgstr ""
1572
-
1573
- #: udata/templates/mail/account_deleted.html:4
1574
- msgid "Your account has now been deleted"
1575
- msgstr ""
1576
-
1577
- #: udata/templates/mail/account_inactivity.html:6
1578
- #, python-format
1579
- msgid ""
1580
- "We have noticed that your account associated to (%(user_email)s) has been "
1581
- "inactive for %(inactivity_years)d years or more on %(site)s, the open "
1582
- "platform for public data."
1583
- msgstr ""
1584
-
1585
- #: udata/templates/mail/account_inactivity.html:17
1586
- #, python-format
1587
- msgid "If you want to keep your account, please log in with your account on %(home)s."
1588
- msgstr ""
1589
-
1590
- #: udata/templates/mail/account_inactivity.html:25
1591
- #, python-format
1592
- msgid "Without logging in, your account will be deleted within %(notify_delay)d days."
1593
- msgstr ""
1594
-
1595
- #: udata/templates/mail/account_inactivity.html:33
1596
- #, python-format
1597
- msgid ""
1598
- "This account is not tied to your other administration accounts and you can "
1599
- "always re-create an account on the %(site)s platform if necessary."
1600
- msgstr ""
1601
-
1602
- #: udata/templates/mail/badge_added_association.html:6
1603
- #, python-format
1604
- msgid "%(user)s has identified your organization \"%(name)s\" as an association"
1605
- msgstr ""
1606
-
1607
- #: udata/templates/mail/badge_added_association.html:27
1608
- #: udata/templates/mail/badge_added_certified.html:27
1609
- #: udata/templates/mail/badge_added_company.html:27
1610
- #: udata/templates/mail/badge_added_local_authority.html:27
1611
- #: udata/templates/mail/badge_added_public_service.html:27
1612
- msgid "See the badge"
1613
- msgstr ""
1614
-
1615
- #: udata/templates/mail/badge_added_certified.html:6
1616
- #, python-format
1617
- msgid "%(user)s has certified your organization \"%(name)s\""
1618
- msgstr ""
1619
-
1620
- #: udata/templates/mail/badge_added_company.html:6
1621
- #, python-format
1622
- msgid "%(user)s has identified your organization \"%(name)s\" as a company"
1623
- msgstr ""
1624
-
1625
- #: udata/templates/mail/badge_added_local_authority.html:6
1626
- #, python-format
1627
- msgid "%(user)s has identified your organization \"%(name)s\" as a local authority"
1628
- msgstr ""
1629
-
1630
- #: udata/templates/mail/badge_added_public_service.html:6
1631
- #, python-format
1632
- msgid "%(user)s has identified your organization \"%(name)s\" as public service"
1633
- msgstr ""
1634
-
1635
- #: udata/templates/mail/base.html:45 udata/templates/security/email/base.html:45
1728
+ #: udata/templates/mail/base.html:45
1636
1729
  msgid "on your browser."
1637
1730
  msgstr ""
1638
1731
 
1639
- #: udata/templates/mail/base.html:48 udata/templates/security/email/base.html:48
1732
+ #: udata/templates/mail/base.html:48
1640
1733
  #, python-format
1641
1734
  msgid "View this email %(link)s"
1642
1735
  msgstr ""
1643
1736
 
1644
- #: udata/templates/mail/base.html:76 udata/templates/security/email/base.html:76
1737
+ #: udata/templates/mail/base.html:76 udata/templates/mail/message.html:41
1645
1738
  #, python-format
1646
1739
  msgid "Hi %(user)s"
1647
1740
  msgstr ""
1648
1741
 
1649
- #: udata/templates/mail/base.html:87 udata/templates/security/email/base.html:87
1742
+ #: udata/templates/mail/base.html:87
1650
1743
  msgid "See you soon on the platform"
1651
1744
  msgstr ""
1652
1745
 
1653
- #: udata/templates/mail/base.html:88 udata/templates/security/email/base.html:88
1746
+ #: udata/templates/mail/base.html:88 udata/templates/mail/message.html:63
1654
1747
  #, python-format
1655
1748
  msgid "The %(site)s team"
1656
1749
  msgstr ""
1657
1750
 
1658
- #: udata/templates/mail/discussion_closed.html:6
1659
- #, python-format
1660
- msgid "%(user)s closed an discussion on your %(type)s %(subject)s"
1661
- msgstr ""
1662
-
1663
- #: udata/templates/mail/discussion_closed.html:32
1664
- #: udata/templates/mail/new_discussion.html:30
1665
- #: udata/templates/mail/new_discussion_comment.html:31
1666
- msgid "Message"
1667
- msgstr ""
1668
-
1669
- #: udata/templates/mail/discussion_closed.html:41
1670
- #: udata/templates/mail/new_discussion.html:38
1671
- #: udata/templates/mail/new_discussion_comment.html:39
1672
- msgid "See the discussion"
1673
- msgstr ""
1674
-
1675
- #: udata/templates/mail/frequency_reminder.html:6
1676
- msgid "Some of your datasets need to be updated according to the frequency you set:"
1677
- msgstr ""
1678
-
1679
- #: udata/templates/mail/frequency_reminder.html:12
1680
- #, python-format
1681
- msgid "Dataset \"%(dataset_title)s\" last update is on %(published_date)s."
1682
- msgstr ""
1683
-
1684
- #: udata/templates/mail/frequency_reminder.html:17
1685
- #, python-format
1686
- msgid ""
1687
- "Given the set frequency (%(dataset_frequency)s) update was due "
1688
- "%(due_update_days)s days ago."
1689
- msgstr ""
1690
-
1691
- #: udata/templates/mail/frequency_reminder.html:25
1692
- msgid "Update the dataset and associated resources"
1693
- msgstr ""
1694
-
1695
- #: udata/templates/mail/inactive_account_deleted.html:4
1696
- #, python-format
1697
- msgid "Your account on %(site)s has been deleted due to inactivity"
1698
- msgstr ""
1699
-
1700
- #: udata/templates/mail/membership_refused.html:7
1701
- #, python-format
1702
- msgid "Your membership for the organization \"%(org)s\" has been refused"
1703
- msgstr ""
1704
-
1705
- #: udata/templates/mail/membership_refused.html:18
1706
- msgid "Refusal reason"
1707
- msgstr ""
1708
-
1709
- #: udata/templates/mail/membership_request.html:8
1710
- #, python-format
1711
- msgid ""
1712
- "As an administrator of \"%(org)s\" you are being informed than a new "
1713
- "membership request from %(user)s is pending for validation"
1714
- msgstr ""
1715
-
1716
- #: udata/templates/mail/membership_request.html:40
1717
- msgid "See the request"
1718
- msgstr ""
1719
-
1720
- #: udata/templates/mail/new_discussion.html:6
1721
- #, python-format
1722
- msgid "%(user)s submitted a new discussion on your %(type)s %(subject)s"
1723
- msgstr ""
1724
-
1725
- #: udata/templates/mail/new_discussion_comment.html:6
1726
- #, python-format
1727
- msgid "%(user)s commented an discussion on your %(type)s %(subject)s"
1728
- msgstr ""
1729
-
1730
- #: udata/templates/mail/new_member.html:7
1731
- #, python-format
1732
- msgid "Congratulations, you are now a member of the organization \"%(org)s\""
1733
- msgstr ""
1734
-
1735
- #: udata/templates/mail/new_member.html:21
1736
- msgid "See the organization page"
1737
- msgstr ""
1738
-
1739
- #: udata/templates/mail/new_reuse.html:7
1740
- #, python-format
1741
- msgid "A new reuse of your dataset %(dataset)s has been published"
1742
- msgstr ""
1743
-
1744
- #: udata/templates/mail/new_reuse.html:31
1745
- msgid "See the reuse"
1746
- msgstr ""
1747
-
1748
- #: udata/templates/mail/test.html:4
1749
- msgid "This is a test mail"
1750
- msgstr ""
1751
-
1752
- #: udata/templates/mail/test.html:5
1753
- msgid "If you read this, your mail configuration is working"
1751
+ #: udata/templates/mail/message.html:62
1752
+ msgid "Have a great day"
1754
1753
  msgstr ""
1755
1754
 
1756
1755
  #: udata/templates/security/change_password.html:9
@@ -1820,93 +1819,27 @@ msgstr ""
1820
1819
  msgid "Submit"
1821
1820
  msgstr ""
1822
1821
 
1823
- #: udata/templates/security/email/change_notice.html:6
1824
- msgid "Your password has been changed."
1825
- msgstr ""
1826
-
1827
- #: udata/templates/security/email/change_notice.html:10
1828
- msgid "If you did not change your password, click below to reset it."
1829
- msgstr ""
1830
-
1831
- #: udata/templates/security/email/change_notice.html:15
1832
- msgid "Reset password"
1833
- msgstr ""
1834
-
1835
- #: udata/templates/security/email/confirmation_instructions.html:6
1836
- msgid "Please confirm your email through the link below:"
1837
- msgstr ""
1838
-
1839
- #: udata/templates/security/email/confirmation_instructions.html:14
1840
- msgid "Confirm my account"
1841
- msgstr ""
1842
-
1843
- #: udata/templates/security/email/login_instructions.html:6
1844
- msgid "You can log into your account through the link below:"
1845
- msgstr ""
1846
-
1847
- #: udata/templates/security/email/login_instructions.html:13
1848
- msgid "Login now"
1849
- msgstr ""
1850
-
1851
- #: udata/templates/security/email/reset_instructions.html:7
1852
- #, python-format
1853
- msgid ""
1854
- "Someone has requested a password reset for your %(site)s account. If you "
1855
- "didn't, please ignore this email."
1856
- msgstr ""
1857
-
1858
- #: udata/templates/security/email/reset_instructions.html:10
1859
- msgid "To reset your password, please confirm your request through the link below:"
1860
- msgstr ""
1861
-
1862
- #: udata/templates/security/email/reset_instructions.html:18
1863
- msgid "Reset my password"
1864
- msgstr ""
1865
-
1866
- #: udata/templates/security/email/reset_notice.html:7
1867
- #, python-format
1868
- msgid "Your password for %(site)s has been reset."
1869
- msgstr ""
1870
-
1871
- #: udata/templates/security/email/welcome.html:7
1872
- #, python-format
1873
- msgid "Welcome to %(site)s!"
1874
- msgstr ""
1875
-
1876
- #: udata/templates/security/email/welcome.html:10
1877
- msgid ""
1878
- "To activate your account, please confirm your email address through the link "
1879
- "below:"
1880
- msgstr ""
1881
-
1882
- #: udata/templates/security/email/welcome.html:18
1883
- msgid "Confirm now"
1822
+ #: udata/tests/test_mail.py:17 udata/tests/test_mail.py:32
1823
+ #: udata/tests/test_mail.py:45 udata/tests/test_mail.py:61
1824
+ msgid "Some text"
1884
1825
  msgstr ""
1885
1826
 
1886
- #: udata/templates/security/email/welcome_existing.html:7
1827
+ #: udata/tests/test_mail.py:76 udata/tests/test_mail.py:151
1887
1828
  #, python-format
1888
- msgid "Hello %(email)s!"
1829
+ msgid "Some text %(org)s"
1889
1830
  msgstr ""
1890
1831
 
1891
- #: udata/templates/security/email/welcome_existing.html:10
1892
- msgid "Someone (you?) tried to register this email - which is already in our system."
1832
+ #: udata/tests/test_mail.py:94 udata/tests/test_mail.py:111
1833
+ #: udata/tests/test_mail.py:133
1834
+ msgid "Some text:"
1893
1835
  msgstr ""
1894
1836
 
1895
- #: udata/templates/security/email/welcome_existing.html:14
1896
- #, python-format
1897
- msgid "This account also has the following username associated with it: %(username)s."
1898
- msgstr ""
1899
-
1900
- #: udata/templates/security/email/welcome_existing.html:19
1901
- msgid "If you forgot your password you can reset it"
1902
- msgstr ""
1903
-
1904
- #: udata/templates/security/email/welcome_existing.html:25
1905
- msgid "Here"
1837
+ #: udata/tests/forms/test_model_field.py:163
1838
+ msgid "Expect a \"Target\" class but \"Wrong\" was found"
1906
1839
  msgstr ""
1907
1840
 
1908
- #: udata/tests/forms/test_model_field.py:165
1909
- msgid "Expect a \"Target\" class but \"Wrong\" was found"
1841
+ #: udata/tests/frontend/test_error_handlers.py:26
1842
+ msgid "Home"
1910
1843
  msgstr ""
1911
1844
 
1912
1845
  #: udata/tests/search/test_adapter.py:31
@@ -1924,3 +1857,9 @@ msgstr ""
1924
1857
  #: udata/tests/search/test_adapter.py:34
1925
1858
  msgid "Heavily reused"
1926
1859
  msgstr ""
1860
+
1861
+ #: udata/tests/user/test_user_tasks.py:108
1862
+ #, python-brace-format
1863
+ msgid "Deletion of your inactive {site} account"
1864
+ msgstr ""
1865
+