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: pt\n"
9
9
  "Language-Team: Portuguese\n"
@@ -30,11 +30,11 @@ msgstr "Por favor confirme o seu e-mail"
30
30
  msgid "Login instructions"
31
31
  msgstr "Instruções de login"
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 "A sua palavra-passe foi redefinida"
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 "A sua palavra-passe foi alterada"
40
40
 
@@ -42,7 +42,7 @@ msgstr "A sua palavra-passe foi alterada"
42
42
  msgid "Password reset instructions"
43
43
  msgstr "Instruções para recuperação da palavra-passe"
44
44
 
45
- #: udata/settings.py:547
45
+ #: udata/settings.py:544
46
46
  msgid "This dataset has been archived"
47
47
  msgstr "O seu conjunto de dados foi arquivado"
48
48
 
@@ -51,7 +51,7 @@ msgstr "O seu conjunto de dados foi arquivado"
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 "Bem-vindo a %(site)s!"
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 "A senha deve conter maiúsculas"
189
243
  msgid "Password must contain symbols"
190
244
  msgstr "A palavra-passe pode conter símbolos"
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 "Deseja criar um utilizador superadmin?"
@@ -214,7 +264,7 @@ msgid "Your udata instance is ready!"
214
264
  msgstr "O uData foi iniciado com sucesso!"
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 "Apenas pode definir-se como proprietário"
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 "Permissão recusada para esta organização"
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 "Nome"
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 "Data de criação"
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 "Data da última modificação"
@@ -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 "Outro"
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 "Desconhecido"
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 "Título"
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 "Tamanho do ficheiro em bytes"
612
694
  msgid "Related dataset"
613
695
  msgstr "Dataset relacionado"
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 "Sigla"
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 "Um acrónimo opcional"
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 "Os detalhes do dataset (processo de coleta, especificidades...)."
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 "Licença"
642
724
 
643
- #: udata/core/dataset/forms.py:161
725
+ #: udata/core/dataset/forms.py:163
644
726
  msgid "Update frequency"
645
727
  msgstr "Frequência de atualização"
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 "A frequência com que os dados são atualizados."
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 "Data de frequência esperada"
654
736
 
655
- #: udata/core/dataset/forms.py:177
737
+ #: udata/core/dataset/forms.py:179
656
738
  msgid "Temporal coverage"
657
739
  msgstr "Cobertura temporal"
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 "O período coberto pelos dados"
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 "Cobertura espacial"
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 "A área geográfica abrangida pelos dados."
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 "Etiquetas"
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 "Algumas palavras-chave de taxonomia"
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 "Privado"
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 "Restringir a visibilidade do dataset para si ou para a sua organização apenas."
689
771
 
690
- #: udata/core/dataset/models.py:67
772
+ #: udata/core/dataset/models.py:66
691
773
  msgid "Pivotal data"
692
774
  msgstr "Dados centrais"
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 "Recurso sem nome"
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 "Data futura de atualização"
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 "conjunto de dados"
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 "{format} recurso"
752
834
 
753
- #: udata/core/dataset/tasks.py:104
754
- msgid "You need to update some frequency-based datasets"
755
- msgstr "É necessário atualizar alguns datasets baseados em frequência"
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 "Comentário"
764
842
  msgid "Subject"
765
843
  msgstr "Assunto"
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"
770
- msgstr "O seu %(type)s tem uma nova discussão"
847
+ msgid "A new discussion has been opened on your %(type)s"
848
+ msgstr ""
849
+
850
+ #: udata/core/discussions/mails.py:15
851
+ #, python-format
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 ""
859
+
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 ""
771
872
 
772
- #: udata/core/discussions/tasks.py:45
873
+ #: udata/core/discussions/mails.py:34
773
874
  #, python-format
774
- msgid "%(user)s commented your discussion"
775
- msgstr "%(user)s comentou a sua discussão"
875
+ msgid "You have a new comment from %(user_or_org)s on your %(type)s %(object)s"
876
+ msgstr ""
776
877
 
777
- #: udata/core/discussions/tasks.py:61
878
+ #: udata/core/discussions/mails.py:49
778
879
  msgid "A discussion has been closed"
779
880
  msgstr "Uma discussão foi fechada"
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 "Tarefas"
@@ -828,17 +938,17 @@ msgid "Refused"
828
938
  msgstr "Recusado"
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 "Serviço público"
983
+ #: udata/core/organization/mails.py:9
984
+ msgid "New membership request"
985
+ msgstr "Novo pedido de adesão"
876
986
 
877
- #: udata/core/organization/models.py:39
878
- msgid "Certified"
879
- msgstr "Certificado"
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"
998
+ msgstr "Ver o pedido"
999
+
1000
+ #: udata/core/organization/mails.py:26
1001
+ msgid "Membership refused"
1002
+ msgstr "Pedido de adesão recusado"
1003
+
1004
+ #: udata/core/organization/mails.py:30
1005
+ #, python-format
1006
+ msgid "Your membership for the organization %(org)s has been refused"
887
1007
  msgstr ""
888
1008
 
889
- #: udata/core/organization/models.py:42
890
- msgid "Local authority"
1009
+ #: udata/core/organization/mails.py:40
1010
+ msgid "Your invitation to join an organization has been accepted"
891
1011
  msgstr ""
892
1012
 
893
- #: udata/core/organization/tasks.py:52
894
- msgid "New membership request"
895
- msgstr "Novo pedido de adesão"
1013
+ #: udata/core/organization/mails.py:44
1014
+ #, python-format
1015
+ msgid "Good news! Your request to join the organization %(org)s has been approved."
1016
+ msgstr ""
896
1017
 
897
- #: udata/core/organization/tasks.py:62 udata/core/organization/tasks.py:74
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 ""
1028
+
1029
+ #: udata/core/organization/mails.py:61
898
1030
  #, python-format
899
- msgid "You are now a member of the organization \"%(org)s\""
900
- msgstr "Você é agora um membro da organização \"%(org)s\""
1031
+ msgid "Good news! You are now a member of %(org)s."
1032
+ msgstr ""
901
1033
 
902
- #: udata/core/organization/tasks.py:65
903
- msgid "Membership refused"
904
- msgstr "Pedido de adesão recusado"
1034
+ #: udata/core/organization/mails.py:74
1035
+ msgid "Your organization has been certified"
1036
+ msgstr ""
905
1037
 
906
- #: udata/core/organization/tasks.py:85
1038
+ #: udata/core/organization/mails.py:78
907
1039
  #, python-format
908
- msgid "Your organization \"%(name)s\" has been certified"
909
- msgstr "A sua organização \"%(name)s\" foi certificada"
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"
914
- msgstr "A sua organização \"%(name)s\" foi identificada como serviço público"
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 ""
915
1051
 
916
- #: udata/core/organization/tasks.py:119
1052
+ #: udata/core/organization/mails.py:104
1053
+ msgid "Your organization has been identified as a local authority"
1054
+ msgstr ""
1055
+
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."
1068
+ msgstr ""
1069
+
1070
+ #: udata/core/organization/mails.py:134
1071
+ msgid "Your organization has been identified as an association"
924
1072
  msgstr ""
925
1073
 
926
- #: udata/core/organization/tasks.py:150
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 "Serviço público"
1082
+
1083
+ #: udata/core/organization/models.py:39
1084
+ msgid "Certified"
1085
+ msgstr "Certificado"
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 "Visualização"
1048
1216
  msgid "Connected device"
1049
1217
  msgstr "Dispositivo ligado"
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 "Saúde"
1054
1222
 
@@ -1104,6 +1272,23 @@ msgstr "Lei e justiça"
1104
1272
  msgid "Open data tools"
1105
1273
  msgstr "Abrir ferramentas de dados"
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 "Este URL já está registado"
@@ -1112,10 +1297,6 @@ msgstr "Este URL já está registado"
1112
1297
  msgid "reuse"
1113
1298
  msgstr "reutilização"
1114
1299
 
1115
- #: udata/core/reuse/tasks.py:48
1116
- msgid "New reuse"
1117
- msgstr "Nova reutilização"
1118
-
1119
1300
  #: udata/core/site/forms.py:13
1120
1301
  msgid "Some SEO keywords"
1121
1302
  msgstr "Algumas palavras-chave (SEO)"
@@ -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 "Sobre"
1293
1474
  msgid "Roles"
1294
1475
  msgstr "Perfis"
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 "Conta eliminada"
1299
1480
 
1481
+ #: udata/core/user/mails.py:11
1482
+ msgid "Your account has now been deleted"
1483
+ msgstr "A sua conta foi eliminada"
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 "Administrador de sistema"
@@ -1309,18 +1528,8 @@ msgstr "Editor do site"
1309
1528
  msgid "Site moderator"
1310
1529
  msgstr "Moderador do site"
1311
1530
 
1312
- #: udata/core/user/tasks.py:19
1313
- msgid "Test mail"
1314
- msgstr "E-mail de teste"
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 "A tag \"%(tag)s\" deve ter entre %(min)d e %(max)d caracteres."
1350
1559
  msgid "{0} does not exists"
1351
1560
  msgstr "{0} não existe"
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 "Esperados uma classe e um identificador"
1367
1576
 
@@ -1380,7 +1589,7 @@ msgid "Unable to parse date range"
1380
1589
  msgstr "Não é possível analisar o intervalo de datas"
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 "Admin"
1487
-
1488
- #: udata/templates/base.html:7
1489
- msgid "You must be connected to do this action."
1490
- msgstr "Deverá estar conectado à internet."
1491
-
1492
- #: udata/templates/api/admin.html:11
1493
- msgid "Maintainer"
1494
- msgstr "Mantido por"
1495
-
1496
- #: udata/templates/api/admin.html:31
1497
- msgid "Edit"
1498
- msgstr "Editar"
1499
-
1500
- #: udata/templates/api/admin.html:34
1501
- msgid "Delete"
1502
- msgstr "Eliminar"
1503
-
1504
- #: udata/templates/api/admin.html:42
1505
- msgid "No OAuth clients"
1506
- msgstr "Nenhum cliente OAuth"
1507
-
1508
- #: udata/templates/api/admin.html:53
1509
- msgid "Add a client"
1510
- msgstr "Adicionar um cliente"
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 "%(app)s deseja acessar sua conta no %(site)s."
1516
-
1517
- #: udata/templates/api/oauth_authorize.html:35
1518
- msgid "Details"
1519
- msgstr "Detalhes"
1520
-
1521
- #: udata/templates/api/oauth_authorize.html:45
1522
- msgid "Access your profile"
1523
- msgstr "Aceder ao seu perfil"
1524
-
1525
- #: udata/templates/api/oauth_authorize.html:46
1526
- msgid "Read your profile, the orgnization you belong to, your publications"
1527
- msgstr "Ler o seu perfil, a organização a que você pertence, as suas publicações"
1528
-
1529
- #: udata/templates/api/oauth_authorize.html:54
1530
- msgid "Publish data"
1531
- msgstr "Publicar dados"
1532
-
1533
- #: udata/templates/api/oauth_authorize.html:55
1534
- msgid "Publish datasets, reuses, follow or unfollow"
1535
- msgstr "Publicar conjuntos de dados, reutilizações, seguir ou deixar de seguir"
1536
-
1537
- #: udata/templates/api/oauth_authorize.html:65
1538
- msgid "Accept"
1539
- msgstr "Aceitar"
1540
-
1541
- #: udata/templates/api/oauth_authorize.html:67
1542
- msgid "Refuse"
1543
- msgstr "Recusar"
1544
-
1545
- #: udata/templates/api/oauth_error.html:15
1546
- msgid "OAuth Authentication Error"
1547
- msgstr "Erro de autenticação OAuth"
1548
-
1549
- #: udata/templates/api/oauth_error.html:20 udata/templates/macros/metadata.html:2
1550
- msgid "Home"
1551
- msgstr "Início"
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,184 +1699,33 @@ 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 "Partilhar, melhorar e reutilizar dados públicos"
1563
-
1564
- #: udata/templates/mail/account_deleted.html:4
1565
- msgid "Your account has now been deleted"
1566
- msgstr "A sua conta foi eliminada"
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 "Ver o emblema"
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 "%(user)s certificou a sua organização \"%(name)s\""
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 "%(user)s identificou sua organização \"%(name)s\" como serviço público"
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 "no seu navegador."
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 "Olá %(user)s,"
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 "Até breve na plataforma"
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 "A equipa do %(site)s"
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 "%(user)s encerrou uma discussão sobre %(type)s %(subject)s"
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 "Mensagem"
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 "Ver a discussão"
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 "Alguns dos seus conjuntos de dados precisam de ser atualizadas de acordo com a frequência que definiu:"
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 "A última atualização do conjunto de dados \"%(dataset_title)s\" foi em %(published_date)s."
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 "Dada a frequência definida (%(dataset_frequency)s), os dados deveriam ter sido atualizados %(due_update_days)s dias atrás."
1674
-
1675
- #: udata/templates/mail/frequency_reminder.html:25
1676
- msgid "Update the dataset and associated resources"
1677
- msgstr "Atualizar o dataset e recursos associados"
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"
1725
+ #: udata/templates/mail/message.html:62
1726
+ msgid "Have a great day"
1682
1727
  msgstr ""
1683
1728
 
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 "A sua inscrição na organização \"%(org)s\" foi recusada"
1688
-
1689
- #: udata/templates/mail/membership_refused.html:18
1690
- msgid "Refusal reason"
1691
- msgstr "Motivo da recusa"
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 "Como administrador da organização \"%(org)s\" está a ser notificado que um pedido de adesão do utilizador %(user)s está pendente de validação"
1697
-
1698
- #: udata/templates/mail/membership_request.html:40
1699
- msgid "See the request"
1700
- msgstr "Ver o pedido"
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 "%(user)s submeteu uma nova discussão sobre %(type)s %(subject)s"
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 "%(user)s comentou uma discussão sobre %(type)s %(subject)s"
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 "Parabéns, foi adicionado como membro da organização \"%(org)s\""
1716
-
1717
- #: udata/templates/mail/new_member.html:21
1718
- msgid "See the organization page"
1719
- msgstr "Ver a página da organização"
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 "Foi publicada uma nova reutilização do seu conjunto de dados %(dataset)s"
1725
-
1726
- #: udata/templates/mail/new_reuse.html:31
1727
- msgid "See the reuse"
1728
- msgstr "Ver a reutilização"
1729
-
1730
- #: udata/templates/mail/test.html:4
1731
- msgid "This is a test mail"
1732
- msgstr "Este é um e-mail de teste"
1733
-
1734
- #: udata/templates/mail/test.html:5
1735
- msgid "If you read this, your mail configuration is working"
1736
- msgstr "Se estiver a ler isto a sua configuração de correio está operacional"
1737
-
1738
1729
  #: udata/templates/security/change_password.html:9
1739
1730
  #: udata/templates/security/change_password.html:16
1740
1731
  msgid "Change Password"
@@ -1800,91 +1791,29 @@ msgstr "Reenviar instruções de confirmação"
1800
1791
  msgid "Submit"
1801
1792
  msgstr "Submeter"
1802
1793
 
1803
- #: udata/templates/security/email/change_notice.html:6
1804
- msgid "Your password has been changed."
1805
- msgstr "A sua palavra-passe foi alterada."
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 "Se não alterou a sua senha, clique abaixo para redefini-la."
1810
-
1811
- #: udata/templates/security/email/change_notice.html:15
1812
- msgid "Reset password"
1813
- msgstr "Redefinir palavra-passe"
1814
-
1815
- #: udata/templates/security/email/confirmation_instructions.html:6
1816
- msgid "Please confirm your email through the link below:"
1817
- msgstr "Por favor, confirme o seu e-mail através do link abaixo:"
1818
-
1819
- #: udata/templates/security/email/confirmation_instructions.html:14
1820
- msgid "Confirm my account"
1821
- msgstr "Confirmar a minha conta"
1822
-
1823
- #: udata/templates/security/email/login_instructions.html:6
1824
- msgid "You can log into your account through the link below:"
1825
- msgstr "Pode entrar na sua conta através do link abaixo:"
1826
-
1827
- #: udata/templates/security/email/login_instructions.html:13
1828
- msgid "Login now"
1829
- msgstr "Iniciar sessão agora"
1830
-
1831
- #: udata/templates/security/email/reset_instructions.html:7
1832
- #, 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 "Alguém pediu uma redefinição de palavra-passe para a conta %(site)s. Se não foi você, por favor, ignore este e-mail."
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 "Para redefinir a sua palavra-passe, por favor confirme o seu pedido através do link abaixo:"
1839
-
1840
- #: udata/templates/security/email/reset_instructions.html:18
1841
- msgid "Reset my password"
1842
- msgstr "Redefinir a minha palavra-passe"
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 "A sua palavra-passe para o %(site)s foi redefinida."
1848
-
1849
- #: udata/templates/security/email/welcome.html:7
1850
- #, python-format
1851
- msgid "Welcome to %(site)s!"
1852
- msgstr "Bem-vindo a %(site)s!"
1853
-
1854
- #: udata/templates/security/email/welcome.html:10
1855
- msgid "To activate your account, please confirm your email address through the link below:"
1856
- msgstr "Para ativar a sua conta, por favor confirme o seu endereço de e-mail através do seguinte link:"
1857
-
1858
- #: udata/templates/security/email/welcome.html:18
1859
- msgid "Confirm now"
1860
- msgstr "Confirmar agora"
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."
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"
1869
1797
  msgstr ""
1870
1798
 
1871
- #: udata/templates/security/email/welcome_existing.html:14
1799
+ #: udata/tests/test_mail.py:76 udata/tests/test_mail.py:151
1872
1800
  #, python-format
1873
- msgid "This account also has the following username associated with it: %(username)s."
1801
+ msgid "Some text %(org)s"
1874
1802
  msgstr ""
1875
1803
 
1876
- #: udata/templates/security/email/welcome_existing.html:19
1877
- msgid "If you forgot your password you can reset it"
1804
+ #: udata/tests/test_mail.py:94 udata/tests/test_mail.py:111
1805
+ #: udata/tests/test_mail.py:133
1806
+ msgid "Some text:"
1878
1807
  msgstr ""
1879
1808
 
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 "Início"
1816
+
1888
1817
  #: udata/tests/search/test_adapter.py:31
1889
1818
  msgid "Never reused"
1890
1819
  msgstr "Nunca reutilizado"
@@ -1901,3 +1830,8 @@ msgstr "Bastante reutilizado"
1901
1830
  msgid "Heavily reused"
1902
1831
  msgstr "Muito reutilizado"
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
+