udata 6.1.6.dev25761__py2.py3-none-any.whl → 6.1.7__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 (64) hide show
  1. udata/__init__.py +1 -1
  2. udata/core/dataset/api_fields.py +20 -2
  3. udata/core/dataset/apiv2.py +8 -2
  4. udata/core/dataset/csv.py +1 -0
  5. udata/core/dataset/models.py +14 -0
  6. udata/core/dataset/rdf.py +3 -3
  7. udata/core/dataset/search.py +6 -2
  8. udata/core/discussions/api.py +4 -1
  9. udata/core/discussions/tasks.py +2 -2
  10. udata/core/organization/api_fields.py +1 -0
  11. udata/core/organization/forms.py +28 -0
  12. udata/core/organization/models.py +3 -0
  13. udata/core/topic/api.py +1 -0
  14. udata/core/topic/forms.py +1 -0
  15. udata/core/topic/models.py +20 -0
  16. udata/harvest/backends/dcat.py +10 -1
  17. udata/harvest/tests/test_dcat_backend.py +26 -1
  18. udata/models/slug_fields.py +4 -0
  19. udata/search/commands.py +8 -2
  20. udata/settings.py +7 -0
  21. udata/static/admin.js +19 -19
  22. udata/static/admin.js.map +1 -1
  23. udata/static/chunks/{1.01e4e2be1923d2ac99ae.js → 1.2a80f2805f0ad61574e4.js} +2 -2
  24. udata/static/chunks/1.2a80f2805f0ad61574e4.js.map +1 -0
  25. udata/static/chunks/{29.8a0027454d42f6c5ed8b.js → 29.7b551c87d15f96f30b57.js} +2 -2
  26. udata/static/chunks/29.7b551c87d15f96f30b57.js.map +1 -0
  27. udata/static/common.js +1 -1
  28. udata/static/common.js.map +1 -1
  29. udata/templates/macros/metadata.html +3 -0
  30. udata/templates/mail/badge_added_certified.html +1 -1
  31. udata/templates/mail/badge_added_public_service.html +1 -1
  32. udata/templates/mail/discussion_closed.html +1 -1
  33. udata/templates/mail/membership_request.html +1 -1
  34. udata/templates/mail/new_discussion.html +1 -1
  35. udata/templates/mail/new_discussion_comment.html +1 -1
  36. udata/templates/mail/user_mail_card.html +1 -1
  37. udata/tests/api/test_datasets_api.py +9 -1
  38. udata/tests/api/test_organizations_api.py +36 -2
  39. udata/tests/api/test_topics_api.py +1 -0
  40. udata/tests/frontend/test_markdown.py +15 -0
  41. udata/tests/test_discussions.py +80 -1
  42. udata/tests/test_model.py +18 -0
  43. udata/tests/test_topics.py +34 -0
  44. udata/translations/ar/LC_MESSAGES/udata.mo +0 -0
  45. udata/translations/ar/LC_MESSAGES/udata.po +37 -14
  46. udata/translations/es/LC_MESSAGES/udata.mo +0 -0
  47. udata/translations/es/LC_MESSAGES/udata.po +37 -14
  48. udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
  49. udata/translations/fr/LC_MESSAGES/udata.po +37 -14
  50. udata/translations/it/LC_MESSAGES/udata.mo +0 -0
  51. udata/translations/it/LC_MESSAGES/udata.po +37 -14
  52. udata/translations/pt/LC_MESSAGES/udata.mo +0 -0
  53. udata/translations/pt/LC_MESSAGES/udata.po +37 -14
  54. udata/translations/sr/LC_MESSAGES/udata.mo +0 -0
  55. udata/translations/sr/LC_MESSAGES/udata.po +37 -14
  56. udata/translations/udata.pot +38 -15
  57. {udata-6.1.6.dev25761.dist-info → udata-6.1.7.dist-info}/METADATA +108 -95
  58. {udata-6.1.6.dev25761.dist-info → udata-6.1.7.dist-info}/RECORD +62 -61
  59. {udata-6.1.6.dev25761.dist-info → udata-6.1.7.dist-info}/WHEEL +1 -1
  60. udata/static/chunks/1.01e4e2be1923d2ac99ae.js.map +0 -1
  61. udata/static/chunks/29.8a0027454d42f6c5ed8b.js.map +0 -1
  62. {udata-6.1.6.dev25761.dist-info → udata-6.1.7.dist-info}/LICENSE +0 -0
  63. {udata-6.1.6.dev25761.dist-info → udata-6.1.7.dist-info}/entry_points.txt +0 -0
  64. {udata-6.1.6.dev25761.dist-info → udata-6.1.7.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-17 16:43+0200\n"
6
- "PO-Revision-Date: 2023-07-17 14:57\n"
5
+ "POT-Creation-Date: 2023-07-24 11:21+0200\n"
6
+ "PO-Revision-Date: 2023-07-27 15:17\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: es\n"
9
9
  "Language-Team: Spanish\n"
@@ -213,7 +213,7 @@ msgid "Title"
213
213
  msgstr "Título"
214
214
 
215
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:25
216
+ #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:49
217
217
  #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:17
218
218
  #: udata/harvest/forms.py:62
219
219
  msgid "Description"
@@ -277,7 +277,7 @@ msgstr "Conjunto de datos relacionado"
277
277
  msgid "Publish as"
278
278
  msgstr "Publicar como"
279
279
 
280
- #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:23
280
+ #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:47
281
281
  msgid "Acronym"
282
282
  msgstr "Acrónimo"
283
283
 
@@ -507,7 +507,7 @@ msgid "You need to update some frequency-based datasets"
507
507
  msgstr "Usted necesita actualizar algunos conjuntos de datos con frecuencia"
508
508
 
509
509
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:21
510
- #: udata/core/organization/forms.py:54 udata/core/organization/forms.py:58
510
+ #: udata/core/organization/forms.py:80 udata/core/organization/forms.py:84
511
511
  #: udata/harvest/forms.py:78
512
512
  msgid "Comment"
513
513
  msgstr "Comentar"
@@ -530,7 +530,7 @@ msgstr "%(user)s comentó tu discusión"
530
530
  msgid "A discussion has been closed"
531
531
  msgstr "Una discusión fue cerrada"
532
532
 
533
- #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:21
533
+ #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:45
534
534
  #: udata/core/post/forms.py:15 udata/core/topic/forms.py:15
535
535
  #: udata/harvest/forms.py:60 udata/templates/api/admin.html:10
536
536
  msgid "Name"
@@ -560,27 +560,50 @@ msgstr "ha creado una organización"
560
560
  msgid "updated an organization"
561
561
  msgstr "ha actualizado una organización"
562
562
 
563
- #: udata/core/organization/forms.py:23
563
+ #: udata/core/organization/forms.py:25
564
+ #: udata/tests/api/test_organizations_api.py:115
565
+ msgid "A siret number is made of 14 digits"
566
+ msgstr ""
567
+
568
+ #: udata/core/organization/forms.py:36
569
+ #: udata/tests/api/test_organizations_api.py:125
570
+ msgid "A siret number is only made of digits"
571
+ msgstr ""
572
+
573
+ #: udata/core/organization/forms.py:39
574
+ #: udata/tests/api/test_organizations_api.py:120
575
+ msgid "Invalid Siret number"
576
+ msgstr ""
577
+
578
+ #: udata/core/organization/forms.py:47
564
579
  msgid "Shorter organization name"
565
580
  msgstr "Nombre de organización más corto"
566
581
 
567
- #: udata/core/organization/forms.py:26
582
+ #: udata/core/organization/forms.py:50
568
583
  msgid "The details about your organization"
569
584
  msgstr "Los detalles sobre su organización"
570
585
 
571
- #: udata/core/organization/forms.py:28 udata/core/user/forms.py:20
586
+ #: udata/core/organization/forms.py:52 udata/core/user/forms.py:20
572
587
  msgid "Website"
573
588
  msgstr "Sitio web"
574
589
 
575
- #: udata/core/organization/forms.py:28
590
+ #: udata/core/organization/forms.py:52
576
591
  msgid "The organization website URL"
577
592
  msgstr "La URL de la organización del sitio web"
578
593
 
579
- #: udata/core/organization/forms.py:29
594
+ #: udata/core/organization/forms.py:53
580
595
  msgid "Logo"
581
596
  msgstr "Logotipo"
582
597
 
583
- #: udata/core/organization/forms.py:65
598
+ #: udata/core/organization/forms.py:54
599
+ msgid "Business id"
600
+ msgstr ""
601
+
602
+ #: udata/core/organization/forms.py:55
603
+ msgid "Business identification number"
604
+ msgstr ""
605
+
606
+ #: udata/core/organization/forms.py:91
584
607
  msgid "Role"
585
608
  msgstr "Rol"
586
609
 
@@ -607,11 +630,11 @@ msgstr "Aceptado"
607
630
  msgid "Refused"
608
631
  msgstr "Rechazado"
609
632
 
610
- #: udata/core/organization/models.py:138
633
+ #: udata/core/organization/models.py:142
611
634
  msgid "Public Service"
612
635
  msgstr "Servicio público"
613
636
 
614
- #: udata/core/organization/models.py:139
637
+ #: udata/core/organization/models.py:143
615
638
  msgid "Certified"
616
639
  msgstr "Certificado"
617
640
 
Binary file
@@ -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-17 16:43+0200\n"
6
- "PO-Revision-Date: 2023-07-17 15:03\n"
5
+ "POT-Creation-Date: 2023-07-24 11:21+0200\n"
6
+ "PO-Revision-Date: 2023-08-30 12:19\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: fr\n"
9
9
  "Language-Team: French\n"
@@ -213,7 +213,7 @@ msgid "Title"
213
213
  msgstr "Titre"
214
214
 
215
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:25
216
+ #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:49
217
217
  #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:17
218
218
  #: udata/harvest/forms.py:62
219
219
  msgid "Description"
@@ -277,7 +277,7 @@ msgstr "Jeu de données concerné"
277
277
  msgid "Publish as"
278
278
  msgstr "Publier en tant que"
279
279
 
280
- #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:23
280
+ #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:47
281
281
  msgid "Acronym"
282
282
  msgstr "Sigle"
283
283
 
@@ -507,7 +507,7 @@ msgid "You need to update some frequency-based datasets"
507
507
  msgstr "Vous devez publier certains jeux de données avec une fréquence de mise à jour"
508
508
 
509
509
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:21
510
- #: udata/core/organization/forms.py:54 udata/core/organization/forms.py:58
510
+ #: udata/core/organization/forms.py:80 udata/core/organization/forms.py:84
511
511
  #: udata/harvest/forms.py:78
512
512
  msgid "Comment"
513
513
  msgstr "Commentaire"
@@ -530,7 +530,7 @@ msgstr "%(user)s a commenté votre discussion"
530
530
  msgid "A discussion has been closed"
531
531
  msgstr "Une discussion a été clôturée"
532
532
 
533
- #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:21
533
+ #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:45
534
534
  #: udata/core/post/forms.py:15 udata/core/topic/forms.py:15
535
535
  #: udata/harvest/forms.py:60 udata/templates/api/admin.html:10
536
536
  msgid "Name"
@@ -560,27 +560,50 @@ msgstr "a mis à jour une organisation"
560
560
  msgid "updated an organization"
561
561
  msgstr "a mis à jour une organisation"
562
562
 
563
- #: udata/core/organization/forms.py:23
563
+ #: udata/core/organization/forms.py:25
564
+ #: udata/tests/api/test_organizations_api.py:115
565
+ msgid "A siret number is made of 14 digits"
566
+ msgstr "Un numéro siret est composé de 14 chiffres"
567
+
568
+ #: udata/core/organization/forms.py:36
569
+ #: udata/tests/api/test_organizations_api.py:125
570
+ msgid "A siret number is only made of digits"
571
+ msgstr "Un numéro siret est composé uniquement de chiffres"
572
+
573
+ #: udata/core/organization/forms.py:39
574
+ #: udata/tests/api/test_organizations_api.py:120
575
+ msgid "Invalid Siret number"
576
+ msgstr "Numéro siret invalide"
577
+
578
+ #: udata/core/organization/forms.py:47
564
579
  msgid "Shorter organization name"
565
580
  msgstr "Nom court de l'organisation"
566
581
 
567
- #: udata/core/organization/forms.py:26
582
+ #: udata/core/organization/forms.py:50
568
583
  msgid "The details about your organization"
569
584
  msgstr "Les détails sur votre organisation"
570
585
 
571
- #: udata/core/organization/forms.py:28 udata/core/user/forms.py:20
586
+ #: udata/core/organization/forms.py:52 udata/core/user/forms.py:20
572
587
  msgid "Website"
573
588
  msgstr "Site web"
574
589
 
575
- #: udata/core/organization/forms.py:28
590
+ #: udata/core/organization/forms.py:52
576
591
  msgid "The organization website URL"
577
592
  msgstr "L'URL du site web de votre organisation"
578
593
 
579
- #: udata/core/organization/forms.py:29
594
+ #: udata/core/organization/forms.py:53
580
595
  msgid "Logo"
581
596
  msgstr "Logo"
582
597
 
583
- #: udata/core/organization/forms.py:65
598
+ #: udata/core/organization/forms.py:54
599
+ msgid "Business id"
600
+ msgstr "Numéro d'identification d'entreprise"
601
+
602
+ #: udata/core/organization/forms.py:55
603
+ msgid "Business identification number"
604
+ msgstr "Numéro d'identification d'entreprise"
605
+
606
+ #: udata/core/organization/forms.py:91
584
607
  msgid "Role"
585
608
  msgstr "Rôle"
586
609
 
@@ -607,11 +630,11 @@ msgstr "Acceptée"
607
630
  msgid "Refused"
608
631
  msgstr "Refusée"
609
632
 
610
- #: udata/core/organization/models.py:138
633
+ #: udata/core/organization/models.py:142
611
634
  msgid "Public Service"
612
635
  msgstr "Service Public"
613
636
 
614
- #: udata/core/organization/models.py:139
637
+ #: udata/core/organization/models.py:143
615
638
  msgid "Certified"
616
639
  msgstr "Certifié"
617
640
 
Binary file
@@ -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-17 16:43+0200\n"
6
- "PO-Revision-Date: 2023-07-17 14:57\n"
5
+ "POT-Creation-Date: 2023-07-24 11:21+0200\n"
6
+ "PO-Revision-Date: 2023-07-27 15:17\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: it\n"
9
9
  "Language-Team: Italian\n"
@@ -213,7 +213,7 @@ msgid "Title"
213
213
  msgstr "Titolo"
214
214
 
215
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:25
216
+ #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:49
217
217
  #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:17
218
218
  #: udata/harvest/forms.py:62
219
219
  msgid "Description"
@@ -277,7 +277,7 @@ msgstr "Dataset correlato"
277
277
  msgid "Publish as"
278
278
  msgstr "Pubblica come"
279
279
 
280
- #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:23
280
+ #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:47
281
281
  msgid "Acronym"
282
282
  msgstr "Acronimo"
283
283
 
@@ -507,7 +507,7 @@ msgid "You need to update some frequency-based datasets"
507
507
  msgstr "È necessario aggiornare alcuni dataset con una frequenza di aggiornamento"
508
508
 
509
509
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:21
510
- #: udata/core/organization/forms.py:54 udata/core/organization/forms.py:58
510
+ #: udata/core/organization/forms.py:80 udata/core/organization/forms.py:84
511
511
  #: udata/harvest/forms.py:78
512
512
  msgid "Comment"
513
513
  msgstr "Commento"
@@ -530,7 +530,7 @@ msgstr "%(user)s ha commentato la tua discussione"
530
530
  msgid "A discussion has been closed"
531
531
  msgstr "Una discussione è stata chiusa"
532
532
 
533
- #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:21
533
+ #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:45
534
534
  #: udata/core/post/forms.py:15 udata/core/topic/forms.py:15
535
535
  #: udata/harvest/forms.py:60 udata/templates/api/admin.html:10
536
536
  msgid "Name"
@@ -560,27 +560,50 @@ msgstr "ha creato un'organizzazione"
560
560
  msgid "updated an organization"
561
561
  msgstr "ha aggiornato un'organizzazione"
562
562
 
563
- #: udata/core/organization/forms.py:23
563
+ #: udata/core/organization/forms.py:25
564
+ #: udata/tests/api/test_organizations_api.py:115
565
+ msgid "A siret number is made of 14 digits"
566
+ msgstr ""
567
+
568
+ #: udata/core/organization/forms.py:36
569
+ #: udata/tests/api/test_organizations_api.py:125
570
+ msgid "A siret number is only made of digits"
571
+ msgstr ""
572
+
573
+ #: udata/core/organization/forms.py:39
574
+ #: udata/tests/api/test_organizations_api.py:120
575
+ msgid "Invalid Siret number"
576
+ msgstr ""
577
+
578
+ #: udata/core/organization/forms.py:47
564
579
  msgid "Shorter organization name"
565
580
  msgstr "Nome breve dell'organizzazione"
566
581
 
567
- #: udata/core/organization/forms.py:26
582
+ #: udata/core/organization/forms.py:50
568
583
  msgid "The details about your organization"
569
584
  msgstr "Dettagli sulla tua organizzazione"
570
585
 
571
- #: udata/core/organization/forms.py:28 udata/core/user/forms.py:20
586
+ #: udata/core/organization/forms.py:52 udata/core/user/forms.py:20
572
587
  msgid "Website"
573
588
  msgstr "Sito web"
574
589
 
575
- #: udata/core/organization/forms.py:28
590
+ #: udata/core/organization/forms.py:52
576
591
  msgid "The organization website URL"
577
592
  msgstr "URL del sito web dell'organizzazione"
578
593
 
579
- #: udata/core/organization/forms.py:29
594
+ #: udata/core/organization/forms.py:53
580
595
  msgid "Logo"
581
596
  msgstr "Logo"
582
597
 
583
- #: udata/core/organization/forms.py:65
598
+ #: udata/core/organization/forms.py:54
599
+ msgid "Business id"
600
+ msgstr ""
601
+
602
+ #: udata/core/organization/forms.py:55
603
+ msgid "Business identification number"
604
+ msgstr ""
605
+
606
+ #: udata/core/organization/forms.py:91
584
607
  msgid "Role"
585
608
  msgstr "Ruolo"
586
609
 
@@ -607,11 +630,11 @@ msgstr "Accettato"
607
630
  msgid "Refused"
608
631
  msgstr "Rifiutato"
609
632
 
610
- #: udata/core/organization/models.py:138
633
+ #: udata/core/organization/models.py:142
611
634
  msgid "Public Service"
612
635
  msgstr "Servizio Pubblico"
613
636
 
614
- #: udata/core/organization/models.py:139
637
+ #: udata/core/organization/models.py:143
615
638
  msgid "Certified"
616
639
  msgstr "Certificato"
617
640
 
Binary file
@@ -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-17 16:43+0200\n"
6
- "PO-Revision-Date: 2023-07-17 14:57\n"
5
+ "POT-Creation-Date: 2023-07-24 11:21+0200\n"
6
+ "PO-Revision-Date: 2023-07-27 15:17\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: pt\n"
9
9
  "Language-Team: Portuguese\n"
@@ -213,7 +213,7 @@ msgid "Title"
213
213
  msgstr "Título"
214
214
 
215
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:25
216
+ #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:49
217
217
  #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:17
218
218
  #: udata/harvest/forms.py:62
219
219
  msgid "Description"
@@ -277,7 +277,7 @@ msgstr "Dataset relacionado"
277
277
  msgid "Publish as"
278
278
  msgstr "Publicar como"
279
279
 
280
- #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:23
280
+ #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:47
281
281
  msgid "Acronym"
282
282
  msgstr "Sigla"
283
283
 
@@ -507,7 +507,7 @@ msgid "You need to update some frequency-based datasets"
507
507
  msgstr "É necessário atualizar alguns datasets baseados em frequência"
508
508
 
509
509
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:21
510
- #: udata/core/organization/forms.py:54 udata/core/organization/forms.py:58
510
+ #: udata/core/organization/forms.py:80 udata/core/organization/forms.py:84
511
511
  #: udata/harvest/forms.py:78
512
512
  msgid "Comment"
513
513
  msgstr "Comentário"
@@ -530,7 +530,7 @@ msgstr "%(user)s comentou a sua discussão"
530
530
  msgid "A discussion has been closed"
531
531
  msgstr "Uma discussão foi fechada"
532
532
 
533
- #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:21
533
+ #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:45
534
534
  #: udata/core/post/forms.py:15 udata/core/topic/forms.py:15
535
535
  #: udata/harvest/forms.py:60 udata/templates/api/admin.html:10
536
536
  msgid "Name"
@@ -560,27 +560,50 @@ msgstr "criou uma organização"
560
560
  msgid "updated an organization"
561
561
  msgstr "atualizou uma organização"
562
562
 
563
- #: udata/core/organization/forms.py:23
563
+ #: udata/core/organization/forms.py:25
564
+ #: udata/tests/api/test_organizations_api.py:115
565
+ msgid "A siret number is made of 14 digits"
566
+ msgstr ""
567
+
568
+ #: udata/core/organization/forms.py:36
569
+ #: udata/tests/api/test_organizations_api.py:125
570
+ msgid "A siret number is only made of digits"
571
+ msgstr ""
572
+
573
+ #: udata/core/organization/forms.py:39
574
+ #: udata/tests/api/test_organizations_api.py:120
575
+ msgid "Invalid Siret number"
576
+ msgstr ""
577
+
578
+ #: udata/core/organization/forms.py:47
564
579
  msgid "Shorter organization name"
565
580
  msgstr "Nome curto da organização"
566
581
 
567
- #: udata/core/organization/forms.py:26
582
+ #: udata/core/organization/forms.py:50
568
583
  msgid "The details about your organization"
569
584
  msgstr "Os detalhes da sua organização"
570
585
 
571
- #: udata/core/organization/forms.py:28 udata/core/user/forms.py:20
586
+ #: udata/core/organization/forms.py:52 udata/core/user/forms.py:20
572
587
  msgid "Website"
573
588
  msgstr "Sítio web"
574
589
 
575
- #: udata/core/organization/forms.py:28
590
+ #: udata/core/organization/forms.py:52
576
591
  msgid "The organization website URL"
577
592
  msgstr "O URL da página da organização"
578
593
 
579
- #: udata/core/organization/forms.py:29
594
+ #: udata/core/organization/forms.py:53
580
595
  msgid "Logo"
581
596
  msgstr "Logótipo"
582
597
 
583
- #: udata/core/organization/forms.py:65
598
+ #: udata/core/organization/forms.py:54
599
+ msgid "Business id"
600
+ msgstr ""
601
+
602
+ #: udata/core/organization/forms.py:55
603
+ msgid "Business identification number"
604
+ msgstr ""
605
+
606
+ #: udata/core/organization/forms.py:91
584
607
  msgid "Role"
585
608
  msgstr "Perfil"
586
609
 
@@ -607,11 +630,11 @@ msgstr "Aceite"
607
630
  msgid "Refused"
608
631
  msgstr "Recusado"
609
632
 
610
- #: udata/core/organization/models.py:138
633
+ #: udata/core/organization/models.py:142
611
634
  msgid "Public Service"
612
635
  msgstr "Serviço público"
613
636
 
614
- #: udata/core/organization/models.py:139
637
+ #: udata/core/organization/models.py:143
615
638
  msgid "Certified"
616
639
  msgstr "Certificado"
617
640
 
Binary file
@@ -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-17 16:43+0200\n"
6
- "PO-Revision-Date: 2023-07-17 14:57\n"
5
+ "POT-Creation-Date: 2023-07-24 11:21+0200\n"
6
+ "PO-Revision-Date: 2023-07-27 15:17\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: sr\n"
9
9
  "Language-Team: Serbian (Cyrillic)\n"
@@ -213,7 +213,7 @@ msgid "Title"
213
213
  msgstr "Наслов"
214
214
 
215
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:25
216
+ #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:49
217
217
  #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:17
218
218
  #: udata/harvest/forms.py:62
219
219
  msgid "Description"
@@ -277,7 +277,7 @@ msgstr "Повезани скуп података"
277
277
  msgid "Publish as"
278
278
  msgstr "Објављено као"
279
279
 
280
- #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:23
280
+ #: udata/core/dataset/forms.py:138 udata/core/organization/forms.py:47
281
281
  msgid "Acronym"
282
282
  msgstr "Акроним"
283
283
 
@@ -507,7 +507,7 @@ msgid "You need to update some frequency-based datasets"
507
507
  msgstr "Потребно је да ажурирате неке скупове података засноване на фреквенцији"
508
508
 
509
509
  #: udata/core/discussions/forms.py:14 udata/core/discussions/forms.py:21
510
- #: udata/core/organization/forms.py:54 udata/core/organization/forms.py:58
510
+ #: udata/core/organization/forms.py:80 udata/core/organization/forms.py:84
511
511
  #: udata/harvest/forms.py:78
512
512
  msgid "Comment"
513
513
  msgstr "Коментар"
@@ -530,7 +530,7 @@ msgstr "Корисник %(user)s је коментарисао вашу дис
530
530
  msgid "A discussion has been closed"
531
531
  msgstr "Дискусија је затворена"
532
532
 
533
- #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:21
533
+ #: udata/core/jobs/forms.py:27 udata/core/organization/forms.py:45
534
534
  #: udata/core/post/forms.py:15 udata/core/topic/forms.py:15
535
535
  #: udata/harvest/forms.py:60 udata/templates/api/admin.html:10
536
536
  msgid "Name"
@@ -560,27 +560,50 @@ msgstr "организација је направљена"
560
560
  msgid "updated an organization"
561
561
  msgstr "организација је ажурирана"
562
562
 
563
- #: udata/core/organization/forms.py:23
563
+ #: udata/core/organization/forms.py:25
564
+ #: udata/tests/api/test_organizations_api.py:115
565
+ msgid "A siret number is made of 14 digits"
566
+ msgstr ""
567
+
568
+ #: udata/core/organization/forms.py:36
569
+ #: udata/tests/api/test_organizations_api.py:125
570
+ msgid "A siret number is only made of digits"
571
+ msgstr ""
572
+
573
+ #: udata/core/organization/forms.py:39
574
+ #: udata/tests/api/test_organizations_api.py:120
575
+ msgid "Invalid Siret number"
576
+ msgstr ""
577
+
578
+ #: udata/core/organization/forms.py:47
564
579
  msgid "Shorter organization name"
565
580
  msgstr "Скраћено име организације"
566
581
 
567
- #: udata/core/organization/forms.py:26
582
+ #: udata/core/organization/forms.py:50
568
583
  msgid "The details about your organization"
569
584
  msgstr "Детаљи о вашој организацији"
570
585
 
571
- #: udata/core/organization/forms.py:28 udata/core/user/forms.py:20
586
+ #: udata/core/organization/forms.py:52 udata/core/user/forms.py:20
572
587
  msgid "Website"
573
588
  msgstr "Веб-сајт"
574
589
 
575
- #: udata/core/organization/forms.py:28
590
+ #: udata/core/organization/forms.py:52
576
591
  msgid "The organization website URL"
577
592
  msgstr "URL веб-сајта организације"
578
593
 
579
- #: udata/core/organization/forms.py:29
594
+ #: udata/core/organization/forms.py:53
580
595
  msgid "Logo"
581
596
  msgstr "Логотип"
582
597
 
583
- #: udata/core/organization/forms.py:65
598
+ #: udata/core/organization/forms.py:54
599
+ msgid "Business id"
600
+ msgstr ""
601
+
602
+ #: udata/core/organization/forms.py:55
603
+ msgid "Business identification number"
604
+ msgstr ""
605
+
606
+ #: udata/core/organization/forms.py:91
584
607
  msgid "Role"
585
608
  msgstr "Улога"
586
609
 
@@ -607,11 +630,11 @@ msgstr "Прихваћено"
607
630
  msgid "Refused"
608
631
  msgstr "Одбијено"
609
632
 
610
- #: udata/core/organization/models.py:138
633
+ #: udata/core/organization/models.py:142
611
634
  msgid "Public Service"
612
635
  msgstr "Јавни сервис"
613
636
 
614
- #: udata/core/organization/models.py:139
637
+ #: udata/core/organization/models.py:143
615
638
  msgid "Certified"
616
639
  msgstr "Сертификовано"
617
640