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