udata 7.0.4.dev27777__py2.py3-none-any.whl → 7.0.5__py2.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 (71) hide show
  1. udata/__init__.py +1 -1
  2. udata/api/__init__.py +1 -1
  3. udata/core/dataset/api.py +14 -14
  4. udata/core/dataset/api_fields.py +7 -7
  5. udata/core/dataset/apiv2.py +3 -3
  6. udata/core/dataset/rdf.py +43 -1
  7. udata/core/organization/csv.py +27 -1
  8. udata/core/organization/models.py +20 -1
  9. udata/core/organization/tasks.py +61 -1
  10. udata/core/spatial/commands.py +26 -2
  11. udata/core/topic/api.py +6 -0
  12. udata/core/topic/apiv2.py +6 -0
  13. udata/core/topic/forms.py +5 -0
  14. udata/core/topic/models.py +3 -5
  15. udata/forms/fields.py +10 -0
  16. udata/frontend/csv.py +8 -8
  17. udata/harvest/actions.py +11 -0
  18. udata/harvest/api.py +3 -3
  19. udata/harvest/backends/dcat.py +42 -5
  20. udata/harvest/tests/dcat/bnodes.xml +16 -2
  21. udata/harvest/tests/test_dcat_backend.py +87 -1
  22. udata/settings.py +9 -0
  23. udata/static/chunks/{11.c0ccea08914b6b41568e.js → 11.a23c110811a9ac943478.js} +3 -3
  24. udata/static/chunks/{11.c0ccea08914b6b41568e.js.map → 11.a23c110811a9ac943478.js.map} +1 -1
  25. udata/static/chunks/{13.526a25163ababaa44409.js → 13.0889e093f8664e38568c.js} +2 -2
  26. udata/static/chunks/{13.526a25163ababaa44409.js.map → 13.0889e093f8664e38568c.js.map} +1 -1
  27. udata/static/chunks/{16.7901839b4227881947f6.js → 16.f41599478d3e97ad9a30.js} +2 -2
  28. udata/static/chunks/{16.7901839b4227881947f6.js.map → 16.f41599478d3e97ad9a30.js.map} +1 -1
  29. udata/static/chunks/{19.471d5a2a08eef6e5338a.js → 19.2b534a26af8b17e9170b.js} +3 -3
  30. udata/static/chunks/{19.471d5a2a08eef6e5338a.js.map → 19.2b534a26af8b17e9170b.js.map} +1 -1
  31. udata/static/chunks/{5.534e0531d0e2b150146f.js → 5.7115454a1183e5c12eef.js} +3 -3
  32. udata/static/chunks/{5.534e0531d0e2b150146f.js.map → 5.7115454a1183e5c12eef.js.map} +1 -1
  33. udata/static/chunks/{6.e56975229e6065f68d2a.js → 6.16bb24fb8240f2746488.js} +3 -3
  34. udata/static/chunks/{6.e56975229e6065f68d2a.js.map → 6.16bb24fb8240f2746488.js.map} +1 -1
  35. udata/static/chunks/{9.534426728626f11f4571.js → 9.3e752966ff14e47e11f2.js} +2 -2
  36. udata/static/chunks/{9.534426728626f11f4571.js.map → 9.3e752966ff14e47e11f2.js.map} +1 -1
  37. udata/static/common.js +1 -1
  38. udata/static/common.js.map +1 -1
  39. udata/storage/__init__.py +0 -0
  40. udata/storage/s3.py +54 -0
  41. udata/templates/mail/badge_added_association.html +33 -0
  42. udata/templates/mail/badge_added_association.txt +11 -0
  43. udata/templates/mail/badge_added_company.html +33 -0
  44. udata/templates/mail/badge_added_company.txt +11 -0
  45. udata/templates/mail/badge_added_local_authority.html +33 -0
  46. udata/templates/mail/badge_added_local_authority.txt +11 -0
  47. udata/tests/api/test_datasets_api.py +27 -0
  48. udata/tests/api/test_topics_api.py +31 -1
  49. udata/tests/apiv2/test_topics.py +4 -0
  50. udata/tests/organization/test_csv_adapter.py +43 -0
  51. udata/translations/ar/LC_MESSAGES/udata.mo +0 -0
  52. udata/translations/ar/LC_MESSAGES/udata.po +223 -174
  53. udata/translations/de/LC_MESSAGES/udata.mo +0 -0
  54. udata/translations/de/LC_MESSAGES/udata.po +224 -175
  55. udata/translations/es/LC_MESSAGES/udata.mo +0 -0
  56. udata/translations/es/LC_MESSAGES/udata.po +223 -174
  57. udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
  58. udata/translations/fr/LC_MESSAGES/udata.po +227 -178
  59. udata/translations/it/LC_MESSAGES/udata.mo +0 -0
  60. udata/translations/it/LC_MESSAGES/udata.po +224 -175
  61. udata/translations/pt/LC_MESSAGES/udata.mo +0 -0
  62. udata/translations/pt/LC_MESSAGES/udata.po +224 -175
  63. udata/translations/sr/LC_MESSAGES/udata.mo +0 -0
  64. udata/translations/sr/LC_MESSAGES/udata.po +225 -176
  65. udata/translations/udata.pot +91 -45
  66. {udata-7.0.4.dev27777.dist-info → udata-7.0.5.dist-info}/METADATA +20 -3
  67. {udata-7.0.4.dev27777.dist-info → udata-7.0.5.dist-info}/RECORD +71 -62
  68. {udata-7.0.4.dev27777.dist-info → udata-7.0.5.dist-info}/LICENSE +0 -0
  69. {udata-7.0.4.dev27777.dist-info → udata-7.0.5.dist-info}/WHEEL +0 -0
  70. {udata-7.0.4.dev27777.dist-info → udata-7.0.5.dist-info}/entry_points.txt +0 -0
  71. {udata-7.0.4.dev27777.dist-info → udata-7.0.5.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: 2023-07-24 11:21+0200\n"
6
- "PO-Revision-Date: 2023-07-27 15:17\n"
5
+ "POT-Creation-Date: 2024-03-20 12:27+0100\n"
6
+ "PO-Revision-Date: 2024-03-20 13:07\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: pt\n"
9
9
  "Language-Team: Portuguese\n"
@@ -11,38 +11,38 @@ msgstr ""
11
11
  "MIME-Version: 1.0\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "Generated-By: Babel 2.8.0\n"
14
+ "Generated-By: Babel 2.12.1\n"
15
15
  "X-Crowdin-Project: udata\n"
16
16
  "X-Crowdin-Project-ID: 291291\n"
17
17
  "X-Crowdin-Language: pt-PT\n"
18
18
  "X-Crowdin-File: /master/udata/translations/udata.pot\n"
19
19
  "X-Crowdin-File-ID: 6\n"
20
20
 
21
- #: udata/settings.py:99
21
+ #: udata/settings.py:103
22
22
  msgid "Welcome"
23
23
  msgstr "Bem-vindo"
24
24
 
25
- #: udata/settings.py:100
25
+ #: udata/settings.py:104
26
26
  msgid "Please confirm your email"
27
27
  msgstr "Por favor confirme o seu e-mail"
28
28
 
29
- #: udata/settings.py:101
29
+ #: udata/settings.py:105
30
30
  msgid "Login instructions"
31
31
  msgstr "Instruções de login"
32
32
 
33
- #: udata/settings.py:102
33
+ #: udata/settings.py:106
34
34
  msgid "Your password has been reset"
35
35
  msgstr "A sua palavra-passe foi redefinida"
36
36
 
37
- #: udata/settings.py:103
37
+ #: udata/settings.py:107
38
38
  msgid "Your password has been changed"
39
39
  msgstr "A sua palavra-passe foi alterada"
40
40
 
41
- #: udata/settings.py:105
41
+ #: udata/settings.py:109
42
42
  msgid "Password reset instructions"
43
43
  msgstr "Instruções para recuperação da palavra-passe"
44
44
 
45
- #: udata/settings.py:409
45
+ #: udata/settings.py:430
46
46
  msgid "This dataset has been archived"
47
47
  msgstr "O seu conjunto de dados foi arquivado"
48
48
 
@@ -50,15 +50,15 @@ msgstr "O seu conjunto de dados foi arquivado"
50
50
  msgid "Validation error: your data cannot be updated for now, we have been notified of the error and we will fix it as soon as possible."
51
51
  msgstr "Erro de validação: Os seus dados não podem ser atualizados de momento, fomos notificados do erro e vamos corrigir logo que possível."
52
52
 
53
- #: udata/api/oauth2.py:53
53
+ #: udata/api/oauth2.py:54
54
54
  msgid "Bearer Token"
55
55
  msgstr "Bearer Token"
56
56
 
57
- #: udata/api/oauth2.py:57
57
+ #: udata/api/oauth2.py:58
58
58
  msgid "Default scope"
59
59
  msgstr "Âmbito predefinido"
60
60
 
61
- #: udata/api/oauth2.py:58
61
+ #: udata/api/oauth2.py:59
62
62
  msgid "System administrator rights"
63
63
  msgstr "Direitos do administrador de sistema"
64
64
 
@@ -70,7 +70,8 @@ msgstr "Nome"
70
70
  msgid "First name is required"
71
71
  msgstr "O primeiro nome é obrigatório"
72
72
 
73
- #: udata/auth/forms.py:14 udata/auth/forms.py:17 udata/core/user/forms.py:15
73
+ #: udata/auth/forms.py:14 udata/auth/forms.py:17
74
+ #: udata/core/contact_point/forms.py:13 udata/core/user/forms.py:15
74
75
  #: udata/core/user/forms.py:17
75
76
  msgid "URLs not allowed in this field"
76
77
  msgstr "URLs não permitidas neste campo"
@@ -83,7 +84,7 @@ msgstr "Apelido"
83
84
  msgid "Last name is required"
84
85
  msgstr "O último nome é obrigatório"
85
86
 
86
- #: udata/auth/forms.py:33 udata/tests/forms/test_current_user_field.py:214
87
+ #: udata/auth/forms.py:33 udata/tests/forms/test_current_user_field.py:215
87
88
  msgid "Password must be changed for security reasons"
88
89
  msgstr "A senha deve ser alterada por razões de segurança"
89
90
 
@@ -168,6 +169,23 @@ msgstr "Tipo"
168
169
  msgid "Kind of badge (certified, etc)"
169
170
  msgstr "Tipo de insígnia (certificada, etc)"
170
171
 
172
+ #: udata/core/contact_point/forms.py:12 udata/core/jobs/forms.py:27
173
+ #: udata/core/organization/forms.py:47 udata/core/post/forms.py:15
174
+ #: udata/core/topic/forms.py:17 udata/harvest/forms.py:60
175
+ #: udata/templates/api/admin.html:10
176
+ msgid "Name"
177
+ msgstr "Nome"
178
+
179
+ #: udata/core/contact_point/forms.py:14 udata/core/user/forms.py:18
180
+ msgid "Email"
181
+ msgstr "E-mail"
182
+
183
+ #: udata/core/contact_point/forms.py:16 udata/core/dataset/forms.py:95
184
+ #: udata/core/dataset/forms.py:153 udata/core/reuse/forms.py:38
185
+ #: udata/core/topic/forms.py:15 udata/harvest/forms.py:69
186
+ msgid "Publish as"
187
+ msgstr "Publicar como"
188
+
171
189
  #: udata/core/dataset/activities.py:21
172
190
  msgid "created a dataset"
173
191
  msgstr "criou um dataset"
@@ -180,31 +198,23 @@ msgstr "atualizou um dataset"
180
198
  msgid "deleted a dataset"
181
199
  msgstr "apagou um dataset"
182
200
 
183
- #: udata/core/dataset/forms.py:26
201
+ #: udata/core/dataset/forms.py:24
184
202
  msgid "Checksum value"
185
203
  msgstr ""
186
204
 
187
- #: udata/core/dataset/forms.py:41 udata/tests/api/test_datasets_api.py:638
188
- msgid "Schema must have at least a name or an url. Having both is not allowed."
205
+ #: udata/core/dataset/forms.py:35
206
+ msgid "URL of the schema"
189
207
  msgstr ""
190
208
 
191
- #: udata/core/dataset/forms.py:47 udata/tests/api/test_datasets_api.py:645
192
- msgid "Provided URL is not valid."
209
+ #: udata/core/dataset/forms.py:36
210
+ msgid "Name of the schema"
193
211
  msgstr ""
194
212
 
195
- #: udata/core/dataset/forms.py:50
196
- msgid "Schema name \"{schema}\" is not an allowed value. Allowed values: {values}"
197
- msgstr ""
198
-
199
- #: udata/core/dataset/forms.py:61
200
- msgid "Version \"{version}\" is not an allowed value. Allowed values: {values}"
201
- msgstr ""
202
-
203
- #: udata/core/dataset/forms.py:70
204
- msgid "Sub-property \"{prop}\" is not allowed value in schema field. Allowed values is : {properties}"
213
+ #: udata/core/dataset/forms.py:37
214
+ msgid "Version of the schema"
205
215
  msgstr ""
206
216
 
207
- #: udata/core/dataset/forms.py:79 udata/core/dataset/forms.py:137
217
+ #: udata/core/dataset/forms.py:54 udata/core/dataset/forms.py:122
208
218
  #: udata/core/discussions/forms.py:12 udata/core/reuse/forms.py:19
209
219
  #: udata/core/site/forms.py:12 udata/templates/mail/discussion_closed.html:26
210
220
  #: udata/templates/mail/new_discussion.html:25
@@ -212,293 +222,297 @@ msgstr ""
212
222
  msgid "Title"
213
223
  msgstr "Título"
214
224
 
215
- #: udata/core/dataset/forms.py:81 udata/core/dataset/forms.py:141
216
- #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:49
217
- #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:17
225
+ #: udata/core/dataset/forms.py:56 udata/core/dataset/forms.py:126
226
+ #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:51
227
+ #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:19
218
228
  #: udata/harvest/forms.py:62
219
229
  msgid "Description"
220
230
  msgstr "Descrição"
221
231
 
222
- #: udata/core/dataset/forms.py:83
232
+ #: udata/core/dataset/forms.py:58
223
233
  msgid "File type"
224
234
  msgstr "Tipo de ficheiro"
225
235
 
226
- #: udata/core/dataset/forms.py:85
236
+ #: udata/core/dataset/forms.py:60
227
237
  msgid "Whether the resource is an uploaded file, a remote file or an API"
228
238
  msgstr "Seja o recurso um arquivo carregado, um arquivo remoto ou uma API"
229
239
 
230
- #: udata/core/dataset/forms.py:88 udata/core/reuse/forms.py:24
240
+ #: udata/core/dataset/forms.py:63 udata/core/reuse/forms.py:24
231
241
  msgid "Type"
232
242
  msgstr "Tipo"
233
243
 
234
- #: udata/core/dataset/forms.py:90
244
+ #: udata/core/dataset/forms.py:65
235
245
  msgid "Resource type (documentation, API...)"
236
246
  msgstr "Tipo de recurso (documentação, API...)"
237
247
 
238
- #: udata/core/dataset/forms.py:92 udata/core/reuse/forms.py:26
248
+ #: udata/core/dataset/forms.py:67 udata/core/reuse/forms.py:26
239
249
  #: udata/harvest/forms.py:64
240
250
  msgid "URL"
241
251
  msgstr "URL"
242
252
 
243
- #: udata/core/dataset/forms.py:94
253
+ #: udata/core/dataset/forms.py:69
244
254
  msgid "Format"
245
255
  msgstr "Formato"
246
256
 
247
- #: udata/core/dataset/forms.py:99
257
+ #: udata/core/dataset/forms.py:74
248
258
  msgid "Mime type"
249
259
  msgstr "Formato de ficheiro"
250
260
 
251
- #: udata/core/dataset/forms.py:100
261
+ #: udata/core/dataset/forms.py:75
252
262
  msgid "The mime type associated to the extension. (ex: text/plain)"
253
263
  msgstr "O mime type associado à extensão. (ex: texto/sem formatação)"
254
264
 
255
- #: udata/core/dataset/forms.py:103
265
+ #: udata/core/dataset/forms.py:78
256
266
  msgid "Size"
257
267
  msgstr "Tamanho"
258
268
 
259
- #: udata/core/dataset/forms.py:104
269
+ #: udata/core/dataset/forms.py:79
260
270
  msgid "The file size in bytes"
261
271
  msgstr "Tamanho do ficheiro em bytes"
262
272
 
263
- #: udata/core/dataset/forms.py:107
264
- msgid "Schema"
265
- msgstr ""
266
-
267
- #: udata/core/dataset/forms.py:110
268
- msgid "The schema slug the resource adheres to"
269
- msgstr ""
270
-
271
- #: udata/core/dataset/forms.py:122
273
+ #: udata/core/dataset/forms.py:93
272
274
  msgid "Related dataset"
273
275
  msgstr "Dataset relacionado"
274
276
 
275
- #: udata/core/dataset/forms.py:124 udata/core/dataset/forms.py:168
276
- #: udata/core/reuse/forms.py:38 udata/harvest/forms.py:69
277
- msgid "Publish as"
278
- msgstr "Publicar como"
277
+ #: udata/core/dataset/forms.py:115 udata/tests/api/test_datasets_api.py:681
278
+ msgid "Wrong contact point id or contact point ownership mismatch"
279
+ msgstr ""
279
280
 
280
- #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:47
281
+ #: udata/core/dataset/forms.py:123 udata/core/organization/forms.py:49
281
282
  msgid "Acronym"
282
283
  msgstr "Sigla"
283
284
 
284
- #: udata/core/dataset/forms.py:139
285
+ #: udata/core/dataset/forms.py:124
285
286
  msgid "An optional acronym"
286
287
  msgstr "Um acrónimo opcional"
287
288
 
288
- #: udata/core/dataset/forms.py:142
289
+ #: udata/core/dataset/forms.py:127
289
290
  msgid "The details about the dataset (collection process, specifics...)."
290
291
  msgstr "Os detalhes do dataset (processo de coleta, especificidades...)."
291
292
 
292
- #: udata/core/dataset/forms.py:145
293
+ #: udata/core/dataset/forms.py:130
293
294
  msgid "License"
294
295
  msgstr "Licença"
295
296
 
296
- #: udata/core/dataset/forms.py:147
297
+ #: udata/core/dataset/forms.py:132
297
298
  msgid "Update frequency"
298
299
  msgstr "Frequência de atualização"
299
300
 
300
- #: udata/core/dataset/forms.py:151
301
+ #: udata/core/dataset/forms.py:136
301
302
  msgid "The frequency at which data are updated."
302
303
  msgstr "A frequência com que os dados são atualizados."
303
304
 
304
- #: udata/core/dataset/forms.py:152
305
+ #: udata/core/dataset/forms.py:137
305
306
  msgid "Expected frequency date"
306
307
  msgstr "Data de frequência esperada"
307
308
 
308
- #: udata/core/dataset/forms.py:156
309
+ #: udata/core/dataset/forms.py:141
309
310
  msgid "Temporal coverage"
310
311
  msgstr "Cobertura temporal"
311
312
 
312
- #: udata/core/dataset/forms.py:157
313
+ #: udata/core/dataset/forms.py:142
313
314
  msgid "The period covered by the data"
314
315
  msgstr "O período coberto pelos dados"
315
316
 
316
- #: udata/core/dataset/forms.py:159 udata/core/spatial/forms.py:83
317
+ #: udata/core/dataset/forms.py:144 udata/core/spatial/forms.py:83
318
+ #: udata/core/topic/forms.py:25
317
319
  msgid "Spatial coverage"
318
320
  msgstr "Cobertura espacial"
319
321
 
320
- #: udata/core/dataset/forms.py:160
322
+ #: udata/core/dataset/forms.py:145 udata/core/topic/forms.py:26
321
323
  msgid "The geographical area covered by the data."
322
324
  msgstr "A área geográfica abrangida pelos dados."
323
325
 
324
- #: udata/core/dataset/forms.py:161 udata/core/post/forms.py:26
326
+ #: udata/core/dataset/forms.py:146 udata/core/post/forms.py:26
325
327
  #: udata/core/reuse/forms.py:29 udata/core/site/forms.py:13
326
- #: udata/core/topic/forms.py:22
328
+ #: udata/core/topic/forms.py:28
327
329
  msgid "Tags"
328
330
  msgstr "Etiquetas"
329
331
 
330
- #: udata/core/dataset/forms.py:161 udata/core/reuse/forms.py:29
332
+ #: udata/core/dataset/forms.py:146 udata/core/reuse/forms.py:29
331
333
  msgid "Some taxonomy keywords"
332
334
  msgstr "Algumas palavras-chave de taxonomia"
333
335
 
334
- #: udata/core/dataset/forms.py:163 udata/core/reuse/forms.py:32
335
- #: udata/core/topic/forms.py:23
336
+ #: udata/core/dataset/forms.py:148 udata/core/reuse/forms.py:32
337
+ #: udata/core/topic/forms.py:29
336
338
  msgid "Private"
337
339
  msgstr "Privado"
338
340
 
339
- #: udata/core/dataset/forms.py:164 udata/core/reuse/forms.py:33
341
+ #: udata/core/dataset/forms.py:149 udata/core/reuse/forms.py:33
340
342
  msgid "Restrict the dataset visibility to you or your organization only."
341
343
  msgstr "Restringir a visibilidade do dataset para si ou para a sua organização apenas."
342
344
 
343
- #: udata/core/dataset/models.py:44
345
+ #: udata/core/dataset/models.py:46
344
346
  msgid "Unknown"
345
347
  msgstr "Desconhecido"
346
348
 
347
- #: udata/core/dataset/models.py:45
349
+ #: udata/core/dataset/models.py:47
348
350
  msgid "Punctual"
349
351
  msgstr "Pontual"
350
352
 
351
- #: udata/core/dataset/models.py:46
353
+ #: udata/core/dataset/models.py:48
352
354
  msgid "Real time"
353
355
  msgstr "Tempo real"
354
356
 
355
- #: udata/core/dataset/models.py:47
357
+ #: udata/core/dataset/models.py:49
356
358
  msgid "Hourly"
357
359
  msgstr "Hora a hora"
358
360
 
359
- #: udata/core/dataset/models.py:48
361
+ #: udata/core/dataset/models.py:50
360
362
  msgid "Four times a day"
361
363
  msgstr "Quatro vezes por dia"
362
364
 
363
- #: udata/core/dataset/models.py:49
365
+ #: udata/core/dataset/models.py:51
364
366
  msgid "Three times a day"
365
367
  msgstr "Três vezes por dia"
366
368
 
367
- #: udata/core/dataset/models.py:50
369
+ #: udata/core/dataset/models.py:52
368
370
  msgid "Semidaily"
369
371
  msgstr "Duas vezes por dia"
370
372
 
371
- #: udata/core/dataset/models.py:51 udata/harvest/models.py:18
373
+ #: udata/core/dataset/models.py:53 udata/harvest/models.py:18
372
374
  msgid "Daily"
373
375
  msgstr "Diário"
374
376
 
375
- #: udata/core/dataset/models.py:52
377
+ #: udata/core/dataset/models.py:54
376
378
  msgid "Four times a week"
377
379
  msgstr "Quatro vezes por semana"
378
380
 
379
- #: udata/core/dataset/models.py:53
381
+ #: udata/core/dataset/models.py:55
380
382
  msgid "Three times a week"
381
383
  msgstr "Três vezes por semana"
382
384
 
383
- #: udata/core/dataset/models.py:54
385
+ #: udata/core/dataset/models.py:56
384
386
  msgid "Semiweekly"
385
387
  msgstr "Duas vezes por semana"
386
388
 
387
- #: udata/core/dataset/models.py:55 udata/harvest/models.py:17
389
+ #: udata/core/dataset/models.py:57 udata/harvest/models.py:17
388
390
  msgid "Weekly"
389
391
  msgstr "Semanal"
390
392
 
391
- #: udata/core/dataset/models.py:56
393
+ #: udata/core/dataset/models.py:58
392
394
  msgid "Biweekly"
393
395
  msgstr "Quinzenal"
394
396
 
395
- #: udata/core/dataset/models.py:57
397
+ #: udata/core/dataset/models.py:59
396
398
  msgid "Three times a month"
397
399
  msgstr "Três vezes por mês"
398
400
 
399
- #: udata/core/dataset/models.py:58
401
+ #: udata/core/dataset/models.py:60
400
402
  msgid "Semimonthly"
401
403
  msgstr "Duas vezes por mês"
402
404
 
403
- #: udata/core/dataset/models.py:59 udata/harvest/models.py:16
405
+ #: udata/core/dataset/models.py:61 udata/harvest/models.py:16
404
406
  msgid "Monthly"
405
407
  msgstr "Mensal"
406
408
 
407
- #: udata/core/dataset/models.py:60
409
+ #: udata/core/dataset/models.py:62
408
410
  msgid "Bimonthly"
409
411
  msgstr "Bimensal"
410
412
 
411
- #: udata/core/dataset/models.py:61
413
+ #: udata/core/dataset/models.py:63
412
414
  msgid "Quarterly"
413
415
  msgstr "Trimestral"
414
416
 
415
- #: udata/core/dataset/models.py:62
417
+ #: udata/core/dataset/models.py:64
416
418
  msgid "Three times a year"
417
419
  msgstr "Três vezes por ano"
418
420
 
419
- #: udata/core/dataset/models.py:63
421
+ #: udata/core/dataset/models.py:65
420
422
  msgid "Biannual"
421
423
  msgstr "Semestral"
422
424
 
423
- #: udata/core/dataset/models.py:64
425
+ #: udata/core/dataset/models.py:66
424
426
  msgid "Annual"
425
427
  msgstr "Anual"
426
428
 
427
- #: udata/core/dataset/models.py:65
429
+ #: udata/core/dataset/models.py:67
428
430
  msgid "Biennial"
429
431
  msgstr "Bienal"
430
432
 
431
- #: udata/core/dataset/models.py:66
433
+ #: udata/core/dataset/models.py:68
432
434
  msgid "Triennial"
433
435
  msgstr "Trienal"
434
436
 
435
- #: udata/core/dataset/models.py:67
437
+ #: udata/core/dataset/models.py:69
436
438
  msgid "Quinquennial"
437
439
  msgstr "Quinquenal"
438
440
 
439
- #: udata/core/dataset/models.py:68
441
+ #: udata/core/dataset/models.py:70
440
442
  msgid "Irregular"
441
443
  msgstr "Irregular"
442
444
 
443
- #: udata/core/dataset/models.py:90
445
+ #: udata/core/dataset/models.py:92
444
446
  msgid "Main file"
445
447
  msgstr "Ficheiro principal"
446
448
 
447
- #: udata/core/dataset/models.py:91
449
+ #: udata/core/dataset/models.py:93
448
450
  msgid "Documentation"
449
451
  msgstr "Documentação"
450
452
 
451
- #: udata/core/dataset/models.py:92
453
+ #: udata/core/dataset/models.py:94
452
454
  msgid "Update"
453
455
  msgstr "Atualização"
454
456
 
455
- #: udata/core/dataset/models.py:93 udata/core/reuse/models.py:16
457
+ #: udata/core/dataset/models.py:95 udata/core/reuse/models.py:16
456
458
  msgid "API"
457
459
  msgstr "API"
458
460
 
459
- #: udata/core/dataset/models.py:94
461
+ #: udata/core/dataset/models.py:96
460
462
  msgid "Code repository"
461
463
  msgstr "Repositório de código"
462
464
 
463
- #: udata/core/dataset/models.py:95 udata/core/spatial/models.py:24
465
+ #: udata/core/dataset/models.py:97 udata/core/spatial/models.py:21
464
466
  msgid "Other"
465
467
  msgstr "Outro"
466
468
 
467
- #: udata/core/dataset/models.py:100
469
+ #: udata/core/dataset/models.py:102
468
470
  msgid "Uploaded file"
469
471
  msgstr "Ficheiro carregado"
470
472
 
471
- #: udata/core/dataset/models.py:101
473
+ #: udata/core/dataset/models.py:103
472
474
  msgid "Remote file"
473
475
  msgstr "Ficheiro remoto"
474
476
 
475
- #: udata/core/dataset/models.py:388 udata/core/dataset/rdf.py:374
477
+ #: udata/core/dataset/models.py:189
478
+ msgid "A schema must contains a name or an URL when a version is provided."
479
+ msgstr ""
480
+
481
+ #: udata/core/dataset/models.py:215 udata/tests/api/test_datasets_api.py:772
482
+ msgid "Schema name \"{schema}\" is not an allowed value. Allowed values: {values}"
483
+ msgstr ""
484
+
485
+ #: udata/core/dataset/models.py:230 udata/tests/api/test_datasets_api.py:778
486
+ msgid "Version \"{version}\" is not an allowed value for the schema \"{name}\". Allowed versions: {values}"
487
+ msgstr ""
488
+
489
+ #: udata/core/dataset/models.py:483 udata/core/dataset/rdf.py:435
476
490
  #: udata/tests/dataset/test_dataset_rdf.py:499
477
491
  #: udata/tests/dataset/test_dataset_rdf.py:512
478
492
  msgid "Nameless resource"
479
493
  msgstr "Recurso sem nome"
480
494
 
481
- #: udata/core/dataset/models.py:463
495
+ #: udata/core/dataset/models.py:558
482
496
  msgid "Future date of update"
483
497
  msgstr "Data futura de atualização"
484
498
 
485
- #: udata/core/dataset/models.py:473 udata/models/datetime_fields.py:59
499
+ #: udata/core/dataset/models.py:571 udata/models/datetime_fields.py:59
486
500
  msgid "Creation date"
487
501
  msgstr "Data de criação"
488
502
 
489
- #: udata/core/dataset/models.py:475 udata/models/datetime_fields.py:61
503
+ #: udata/core/dataset/models.py:573 udata/models/datetime_fields.py:61
490
504
  msgid "Last modification date"
491
505
  msgstr "Data da última modificação"
492
506
 
493
- #: udata/core/dataset/models.py:484
507
+ #: udata/core/dataset/models.py:582
494
508
  msgid "Pivotal data"
495
509
  msgstr "Dados centrais"
496
510
 
497
- #: udata/core/dataset/models.py:523
511
+ #: udata/core/dataset/models.py:621
498
512
  msgid "dataset"
499
513
  msgstr "conjunto de dados"
500
514
 
501
- #: udata/core/dataset/rdf.py:372 udata/tests/dataset/test_dataset_rdf.py:486
515
+ #: udata/core/dataset/rdf.py:433 udata/tests/dataset/test_dataset_rdf.py:486
502
516
  msgid "{format} resource"
503
517
  msgstr "{format} recurso"
504
518
 
@@ -507,7 +521,7 @@ msgid "You need to update some frequency-based datasets"
507
521
  msgstr "É necessário atualizar alguns datasets baseados em frequência"
508
522
 
509
523
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:21
510
- #: udata/core/organization/forms.py:80 udata/core/organization/forms.py:84
524
+ #: udata/core/organization/forms.py:82 udata/core/organization/forms.py:86
511
525
  #: udata/harvest/forms.py:78
512
526
  msgid "Comment"
513
527
  msgstr "Comentário"
@@ -516,26 +530,20 @@ msgstr "Comentário"
516
530
  msgid "Subject"
517
531
  msgstr "Assunto"
518
532
 
519
- #: udata/core/discussions/tasks.py:28
533
+ #: udata/core/discussions/tasks.py:30
520
534
  #, python-format
521
535
  msgid "Your %(type)s have a new discussion"
522
536
  msgstr "O seu %(type)s tem uma nova discussão"
523
537
 
524
- #: udata/core/discussions/tasks.py:45
538
+ #: udata/core/discussions/tasks.py:47
525
539
  #, python-format
526
540
  msgid "%(user)s commented your discussion"
527
541
  msgstr "%(user)s comentou a sua discussão"
528
542
 
529
- #: udata/core/discussions/tasks.py:63
543
+ #: udata/core/discussions/tasks.py:65
530
544
  msgid "A discussion has been closed"
531
545
  msgstr "Uma discussão foi fechada"
532
546
 
533
- #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:45
534
- #: udata/core/post/forms.py:15 udata/core/topic/forms.py:15
535
- #: udata/harvest/forms.py:60 udata/templates/api/admin.html:10
536
- msgid "Name"
537
- msgstr "Nome"
538
-
539
547
  #: udata/core/jobs/forms.py:29
540
548
  msgid "Tasks"
541
549
  msgstr "Tarefas"
@@ -560,107 +568,134 @@ msgstr "criou uma organização"
560
568
  msgid "updated an organization"
561
569
  msgstr "atualizou uma organização"
562
570
 
563
- #: udata/core/organization/forms.py:25
571
+ #: udata/core/organization/forms.py:27
564
572
  #: udata/tests/api/test_organizations_api.py:115
565
573
  msgid "A siret number is made of 14 digits"
566
574
  msgstr ""
567
575
 
568
- #: udata/core/organization/forms.py:36
576
+ #: udata/core/organization/forms.py:38
569
577
  #: udata/tests/api/test_organizations_api.py:125
570
578
  msgid "A siret number is only made of digits"
571
579
  msgstr ""
572
580
 
573
- #: udata/core/organization/forms.py:39
581
+ #: udata/core/organization/forms.py:41
574
582
  #: udata/tests/api/test_organizations_api.py:120
575
583
  msgid "Invalid Siret number"
576
584
  msgstr ""
577
585
 
578
- #: udata/core/organization/forms.py:47
586
+ #: udata/core/organization/forms.py:49
579
587
  msgid "Shorter organization name"
580
588
  msgstr "Nome curto da organização"
581
589
 
582
- #: udata/core/organization/forms.py:50
590
+ #: udata/core/organization/forms.py:52
583
591
  msgid "The details about your organization"
584
592
  msgstr "Os detalhes da sua organização"
585
593
 
586
- #: udata/core/organization/forms.py:52 udata/core/user/forms.py:20
594
+ #: udata/core/organization/forms.py:54 udata/core/user/forms.py:20
587
595
  msgid "Website"
588
596
  msgstr "Sítio web"
589
597
 
590
- #: udata/core/organization/forms.py:52
598
+ #: udata/core/organization/forms.py:54
591
599
  msgid "The organization website URL"
592
600
  msgstr "O URL da página da organização"
593
601
 
594
- #: udata/core/organization/forms.py:53
602
+ #: udata/core/organization/forms.py:55
595
603
  msgid "Logo"
596
604
  msgstr "Logótipo"
597
605
 
598
- #: udata/core/organization/forms.py:54
606
+ #: udata/core/organization/forms.py:56
599
607
  msgid "Business id"
600
608
  msgstr ""
601
609
 
602
- #: udata/core/organization/forms.py:55
610
+ #: udata/core/organization/forms.py:57
603
611
  msgid "Business identification number"
604
612
  msgstr ""
605
613
 
606
- #: udata/core/organization/forms.py:91
614
+ #: udata/core/organization/forms.py:93
607
615
  msgid "Role"
608
616
  msgstr "Perfil"
609
617
 
610
- #: udata/core/organization/models.py:22
618
+ #: udata/core/organization/models.py:23
611
619
  msgid "Administrator"
612
620
  msgstr "Administrador"
613
621
 
614
- #: udata/core/organization/models.py:23
622
+ #: udata/core/organization/models.py:24
615
623
  msgid "Editor"
616
624
  msgstr "Editor"
617
625
 
618
- #: udata/core/organization/models.py:29 udata/features/transfer/models.py:14
626
+ #: udata/core/organization/models.py:30 udata/features/transfer/models.py:14
619
627
  #: udata/harvest/models.py:22 udata/harvest/models.py:32 udata/harvest/models.py:70
620
628
  msgid "Pending"
621
629
  msgstr "Pendente"
622
630
 
623
- #: udata/core/organization/models.py:30 udata/features/transfer/models.py:15
631
+ #: udata/core/organization/models.py:31 udata/features/transfer/models.py:15
624
632
  #: udata/harvest/models.py:71
625
633
  msgid "Accepted"
626
634
  msgstr "Aceite"
627
635
 
628
- #: udata/core/organization/models.py:31 udata/features/transfer/models.py:16
636
+ #: udata/core/organization/models.py:32 udata/features/transfer/models.py:16
629
637
  #: udata/harvest/models.py:72
630
638
  msgid "Refused"
631
639
  msgstr "Recusado"
632
640
 
633
- #: udata/core/organization/models.py:142
641
+ #: udata/core/organization/models.py:145
634
642
  msgid "Public Service"
635
643
  msgstr "Serviço público"
636
644
 
637
- #: udata/core/organization/models.py:143
645
+ #: udata/core/organization/models.py:146
638
646
  msgid "Certified"
639
647
  msgstr "Certificado"
640
648
 
641
- #: udata/core/organization/tasks.py:50
649
+ #: udata/core/organization/models.py:147
650
+ msgid "Association"
651
+ msgstr ""
652
+
653
+ #: udata/core/organization/models.py:148
654
+ msgid "Company"
655
+ msgstr ""
656
+
657
+ #: udata/core/organization/models.py:149
658
+ msgid "Local authority"
659
+ msgstr ""
660
+
661
+ #: udata/core/organization/tasks.py:52
642
662
  msgid "New membership request"
643
663
  msgstr "Novo pedido de adesão"
644
664
 
645
- #: udata/core/organization/tasks.py:60 udata/core/organization/tasks.py:73
665
+ #: udata/core/organization/tasks.py:62 udata/core/organization/tasks.py:75
646
666
  #, python-format
647
667
  msgid "You are now a member of the organization \"%(org)s\""
648
668
  msgstr "Você é agora um membro da organização \"%(org)s\""
649
669
 
650
- #: udata/core/organization/tasks.py:64
670
+ #: udata/core/organization/tasks.py:66
651
671
  msgid "Membership refused"
652
672
  msgstr "Pedido de adesão recusado"
653
673
 
654
- #: udata/core/organization/tasks.py:84
674
+ #: udata/core/organization/tasks.py:86
655
675
  #, python-format
656
676
  msgid "Your organization \"%(name)s\" has been certified"
657
677
  msgstr "A sua organização \"%(name)s\" foi certificada"
658
678
 
659
- #: udata/core/organization/tasks.py:104
679
+ #: udata/core/organization/tasks.py:106
660
680
  #, python-format
661
681
  msgid "Your organization \"%(name)s\" has been identified as public service"
662
682
  msgstr "A sua organização \"%(name)s\" foi identificada como serviço público"
663
683
 
684
+ #: udata/core/organization/tasks.py:126
685
+ #, python-format
686
+ msgid "Your organization \"%(name)s\" has been identified as a company"
687
+ msgstr ""
688
+
689
+ #: udata/core/organization/tasks.py:146
690
+ #, python-format
691
+ msgid "Your organization \"%(name)s\" has been identified as an association"
692
+ msgstr ""
693
+
694
+ #: udata/core/organization/tasks.py:166
695
+ #, python-format
696
+ msgid "Your organization \"%(name)s\" has been identified as a local authority"
697
+ msgstr ""
698
+
664
699
  #: udata/core/post/forms.py:16
665
700
  msgid "Headline"
666
701
  msgstr "Cabeçalho"
@@ -669,11 +704,11 @@ msgstr "Cabeçalho"
669
704
  msgid "Content"
670
705
  msgstr "Conteúdo"
671
706
 
672
- #: udata/core/post/forms.py:19 udata/core/topic/forms.py:19
707
+ #: udata/core/post/forms.py:19 udata/core/topic/forms.py:21
673
708
  msgid "Associated datasets"
674
709
  msgstr "Conjuntos de dados associados"
675
710
 
676
- #: udata/core/post/forms.py:20 udata/core/topic/forms.py:20
711
+ #: udata/core/post/forms.py:20 udata/core/topic/forms.py:22
677
712
  msgid "Associated reuses"
678
713
  msgstr "Reutilizações associadas"
679
714
 
@@ -865,7 +900,7 @@ msgstr "Granularidade espacial"
865
900
  msgid "The size of the data increment"
866
901
  msgstr "O tamanho do incremento de dados"
867
902
 
868
- #: udata/core/spatial/models.py:23
903
+ #: udata/core/spatial/models.py:20
869
904
  msgid "POI"
870
905
  msgstr "POI"
871
906
 
@@ -933,7 +968,7 @@ msgstr "Coletividades ultramarinas francesas"
933
968
  msgid "French arrondissement"
934
969
  msgstr "Quarteirão francês"
935
970
 
936
- #: udata/core/topic/forms.py:24
971
+ #: udata/core/topic/forms.py:30
937
972
  msgid "Featured"
938
973
  msgstr "Em Destaque"
939
974
 
@@ -961,10 +996,6 @@ msgstr "seguiu um conjunto de dados"
961
996
  msgid "followed a reuse"
962
997
  msgstr "seguiu uma reutilização"
963
998
 
964
- #: udata/core/user/forms.py:18
965
- msgid "Email"
966
- msgstr "E-mail"
967
-
968
999
  #: udata/core/user/forms.py:19
969
1000
  msgid "Avatar"
970
1001
  msgstr "Avatar"
@@ -977,7 +1008,7 @@ msgstr "Sobre"
977
1008
  msgid "Roles"
978
1009
  msgstr "Perfis"
979
1010
 
980
- #: udata/core/user/models.py:269 udata/tests/api/test_me_api.py:314
1011
+ #: udata/core/user/models.py:273 udata/tests/api/test_me_api.py:314
981
1012
  msgid "Account deletion"
982
1013
  msgstr "Conta eliminada"
983
1014
 
@@ -1013,54 +1044,54 @@ msgstr "O perfil {role} não existe"
1013
1044
  msgid "Not a valid UUID"
1014
1045
  msgstr "Identificador (UUID) inválido"
1015
1046
 
1016
- #: udata/forms/fields.py:200
1047
+ #: udata/forms/fields.py:210 udata/tests/api/test_datasets_api.py:766
1017
1048
  msgid "Invalid URL"
1018
1049
  msgstr "URL inválido"
1019
1050
 
1020
- #: udata/forms/fields.py:404
1051
+ #: udata/forms/fields.py:414
1021
1052
  #, python-format
1022
1053
  msgid "Tag \"%(tag)s\" must be between %(min)d and %(max)d characters long."
1023
1054
  msgstr "A tag \"%(tag)s\" deve ter entre %(min)d e %(max)d caracteres."
1024
1055
 
1025
- #: udata/forms/fields.py:444 udata/forms/fields.py:496
1056
+ #: udata/forms/fields.py:454 udata/forms/fields.py:506
1026
1057
  msgid "{0} does not exists"
1027
1058
  msgstr "{0} não existe"
1028
1059
 
1029
- #: udata/forms/fields.py:470 udata/tests/forms/test_model_field.py:318
1060
+ #: udata/forms/fields.py:480 udata/tests/forms/test_model_field.py:318
1030
1061
  #: udata/tests/forms/test_model_field.py:332
1031
1062
  msgid "Missing \"id\" field"
1032
1063
  msgstr ""
1033
1064
 
1034
- #: udata/forms/fields.py:477
1065
+ #: udata/forms/fields.py:487
1035
1066
  msgid "Expect a \"{0}\" class but \"{1}\" was found"
1036
1067
  msgstr ""
1037
1068
 
1038
- #: udata/forms/fields.py:483 udata/tests/forms/test_model_field.py:43
1069
+ #: udata/forms/fields.py:493 udata/tests/forms/test_model_field.py:43
1039
1070
  #: udata/tests/forms/test_model_field.py:56
1040
1071
  msgid "Expect both class and identifier"
1041
1072
  msgstr "Esperados uma classe e um identificador"
1042
1073
 
1043
- #: udata/forms/fields.py:529
1074
+ #: udata/forms/fields.py:539
1044
1075
  msgid "Model for {0} not found"
1045
1076
  msgstr "Modelo para {0} não foi encontrado"
1046
1077
 
1047
- #: udata/forms/fields.py:564
1078
+ #: udata/forms/fields.py:574
1048
1079
  msgid "Unknown identifiers: {identifiers}"
1049
1080
  msgstr "Identificadores desconhecidos: {identifiers}"
1050
1081
 
1051
- #: udata/forms/fields.py:699
1082
+ #: udata/forms/fields.py:709
1052
1083
  msgid "Unable to parse date range"
1053
1084
  msgstr "Não é possível analisar o intervalo de datas"
1054
1085
 
1055
- #: udata/forms/fields.py:726 udata/forms/fields.py:749
1086
+ #: udata/forms/fields.py:736 udata/forms/fields.py:759
1056
1087
  msgid "You must be authenticated"
1057
1088
  msgstr "Você deve estar autenticado"
1058
1089
 
1059
- #: udata/forms/fields.py:729
1090
+ #: udata/forms/fields.py:739
1060
1091
  msgid "You can only set yourself as owner"
1061
1092
  msgstr "Apenas pode definir-se como proprietário"
1062
1093
 
1063
- #: udata/forms/fields.py:752
1094
+ #: udata/forms/fields.py:762
1064
1095
  msgid "Permission denied for this organization"
1065
1096
  msgstr "Permissão recusada para esta organização"
1066
1097
 
@@ -1205,16 +1236,34 @@ msgstr "Partilhar, melhorar e reutilizar dados públicos"
1205
1236
  msgid "Your account has now been deleted"
1206
1237
  msgstr "A sua conta foi eliminada"
1207
1238
 
1208
- #: udata/templates/mail/badge_added_certified.html:6
1239
+ #: udata/templates/mail/badge_added_association.html:6
1209
1240
  #, python-format
1210
- msgid "%(user)s has certified your organization \"%(name)s\""
1211
- msgstr "%(user)s certificou a sua organização \"%(name)s\""
1241
+ msgid "%(user)s has identified your organization \"%(name)s\" as an association"
1242
+ msgstr ""
1212
1243
 
1244
+ #: udata/templates/mail/badge_added_association.html:27
1213
1245
  #: udata/templates/mail/badge_added_certified.html:27
1246
+ #: udata/templates/mail/badge_added_company.html:27
1247
+ #: udata/templates/mail/badge_added_local_authority.html:27
1214
1248
  #: udata/templates/mail/badge_added_public_service.html:27
1215
1249
  msgid "See the badge"
1216
1250
  msgstr "Ver o emblema"
1217
1251
 
1252
+ #: udata/templates/mail/badge_added_certified.html:6
1253
+ #, python-format
1254
+ msgid "%(user)s has certified your organization \"%(name)s\""
1255
+ msgstr "%(user)s certificou a sua organização \"%(name)s\""
1256
+
1257
+ #: udata/templates/mail/badge_added_company.html:6
1258
+ #, python-format
1259
+ msgid "%(user)s has identified your organization \"%(name)s\" as a company"
1260
+ msgstr ""
1261
+
1262
+ #: udata/templates/mail/badge_added_local_authority.html:6
1263
+ #, python-format
1264
+ msgid "%(user)s has identified your organization \"%(name)s\" as a local authority"
1265
+ msgstr ""
1266
+
1218
1267
  #: udata/templates/mail/badge_added_public_service.html:6
1219
1268
  #, python-format
1220
1269
  msgid "%(user)s has identified your organization \"%(name)s\" as public service"
@@ -1486,19 +1535,19 @@ msgstr ""
1486
1535
  msgid "Expect a \"Target\" class but \"Wrong\" was found"
1487
1536
  msgstr ""
1488
1537
 
1489
- #: udata/tests/search/test_adapter.py:24
1538
+ #: udata/tests/search/test_adapter.py:27
1490
1539
  msgid "Never reused"
1491
1540
  msgstr "Nunca reutilizado"
1492
1541
 
1493
- #: udata/tests/search/test_adapter.py:25
1542
+ #: udata/tests/search/test_adapter.py:28
1494
1543
  msgid "Little reused"
1495
1544
  msgstr "Pouco reutilizado"
1496
1545
 
1497
- #: udata/tests/search/test_adapter.py:26
1546
+ #: udata/tests/search/test_adapter.py:29
1498
1547
  msgid "Quite reused"
1499
1548
  msgstr "Bastante reutilizado"
1500
1549
 
1501
- #: udata/tests/search/test_adapter.py:27
1550
+ #: udata/tests/search/test_adapter.py:30
1502
1551
  msgid "Heavily reused"
1503
1552
  msgstr "Muito reutilizado"
1504
1553