invenio-vocabularies 1.2.0__py2.py3-none-any.whl → 6.3.1__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 invenio-vocabularies might be problematic. Click here for more details.

Files changed (239) hide show
  1. invenio_vocabularies/__init__.py +2 -2
  2. invenio_vocabularies/administration/__init__.py +10 -0
  3. invenio_vocabularies/administration/views/__init__.py +10 -0
  4. invenio_vocabularies/administration/views/vocabularies.py +45 -0
  5. invenio_vocabularies/alembic/4a9a4fd235f8_create_vocabulary_schemes.py +4 -4
  6. invenio_vocabularies/alembic/4f365fced43f_create_vocabularies_tables.py +2 -2
  7. invenio_vocabularies/alembic/55a700f897b6_add_names_and_afiliations_pid_column.py +96 -0
  8. invenio_vocabularies/alembic/676dd587542d_create_funders_vocabulary_table.py +1 -1
  9. invenio_vocabularies/alembic/e1146238edd3_create_awards_table.py +1 -1
  10. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/.eslintrc.yml +11 -0
  11. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/.prettierrc +1 -0
  12. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/index.js +7 -0
  13. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/package.json +25 -0
  14. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/AwardResults.js +95 -0
  15. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/CustomAwardForm.js +139 -0
  16. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/FunderDropdown.js +87 -0
  17. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/FundingField.js +223 -0
  18. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/FundingField.test.js +1 -0
  19. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/FundingFieldItem.js +152 -0
  20. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/FundingModal.js +270 -0
  21. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/NoAwardResults.js +37 -0
  22. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/Funding/index.js +8 -0
  23. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/forms/index.js +7 -0
  24. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/contrib/index.js +7 -0
  25. invenio_vocabularies/assets/semantic-ui/js/invenio_vocabularies/src/index.js +7 -0
  26. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/i18next-scanner.config.js +63 -0
  27. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/i18next.js +36 -0
  28. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/index.js +1 -0
  29. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/package.json +53 -0
  30. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/compileCatalog.js +39 -0
  31. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/initCatalog.js +19 -0
  32. invenio_vocabularies/cli.py +31 -44
  33. invenio_vocabularies/config.py +74 -7
  34. invenio_vocabularies/contrib/affiliations/affiliations.py +22 -6
  35. invenio_vocabularies/contrib/affiliations/api.py +1 -2
  36. invenio_vocabularies/contrib/affiliations/config.py +10 -5
  37. invenio_vocabularies/contrib/affiliations/datastreams.py +186 -0
  38. invenio_vocabularies/contrib/affiliations/facets.py +36 -0
  39. invenio_vocabularies/contrib/affiliations/jsonschemas/affiliations/affiliation-v1.0.0.json +38 -7
  40. invenio_vocabularies/contrib/affiliations/mappings/os-v1/affiliations/affiliation-v1.0.0.json +22 -1
  41. invenio_vocabularies/contrib/affiliations/mappings/os-v1/affiliations/affiliation-v2.0.0.json +171 -0
  42. invenio_vocabularies/contrib/affiliations/mappings/os-v2/affiliations/affiliation-v1.0.0.json +22 -1
  43. invenio_vocabularies/contrib/affiliations/mappings/os-v2/affiliations/affiliation-v2.0.0.json +171 -0
  44. invenio_vocabularies/contrib/affiliations/mappings/v7/affiliations/affiliation-v1.0.0.json +22 -1
  45. invenio_vocabularies/contrib/affiliations/schema.py +23 -5
  46. invenio_vocabularies/contrib/affiliations/services.py +1 -2
  47. invenio_vocabularies/contrib/awards/awards.py +18 -6
  48. invenio_vocabularies/contrib/awards/config.py +1 -3
  49. invenio_vocabularies/contrib/awards/datastreams.py +246 -3
  50. invenio_vocabularies/contrib/awards/jsonschemas/awards/award-v1.0.0.json +41 -0
  51. invenio_vocabularies/contrib/awards/mappings/os-v1/awards/award-v1.0.0.json +53 -1
  52. invenio_vocabularies/contrib/awards/mappings/os-v2/awards/award-v1.0.0.json +53 -1
  53. invenio_vocabularies/contrib/awards/mappings/v7/awards/award-v1.0.0.json +53 -1
  54. invenio_vocabularies/contrib/awards/schema.py +27 -35
  55. invenio_vocabularies/contrib/awards/serializer.py +9 -1
  56. invenio_vocabularies/contrib/awards/services.py +1 -2
  57. invenio_vocabularies/contrib/common/__init__.py +9 -0
  58. invenio_vocabularies/contrib/common/openaire/__init__.py +9 -0
  59. invenio_vocabularies/contrib/common/openaire/datastreams.py +84 -0
  60. invenio_vocabularies/contrib/common/ror/__init__.py +9 -0
  61. invenio_vocabularies/contrib/common/ror/datastreams.py +220 -0
  62. invenio_vocabularies/contrib/funders/config.py +12 -5
  63. invenio_vocabularies/contrib/funders/datastreams.py +40 -62
  64. invenio_vocabularies/contrib/funders/facets.py +13 -5
  65. invenio_vocabularies/contrib/funders/funders.py +4 -2
  66. invenio_vocabularies/contrib/funders/jsonschemas/funders/funder-v1.0.0.json +36 -1
  67. invenio_vocabularies/contrib/funders/mappings/os-v1/funders/funder-v1.0.0.json +22 -1
  68. invenio_vocabularies/contrib/funders/mappings/os-v1/funders/funder-v2.0.0.json +156 -0
  69. invenio_vocabularies/contrib/funders/mappings/os-v2/funders/funder-v1.0.0.json +22 -1
  70. invenio_vocabularies/contrib/funders/mappings/os-v2/funders/funder-v2.0.0.json +156 -0
  71. invenio_vocabularies/contrib/funders/mappings/v7/funders/funder-v1.0.0.json +22 -1
  72. invenio_vocabularies/contrib/funders/schema.py +8 -0
  73. invenio_vocabularies/contrib/funders/serializer.py +2 -1
  74. invenio_vocabularies/contrib/names/config.py +5 -3
  75. invenio_vocabularies/contrib/names/datastreams.py +177 -38
  76. invenio_vocabularies/contrib/names/jsonschemas/names/name-v1.0.0.json +2 -6
  77. invenio_vocabularies/contrib/names/mappings/os-v1/names/name-v1.0.0.json +3 -0
  78. invenio_vocabularies/contrib/names/mappings/os-v1/names/name-v2.0.0.json +150 -0
  79. invenio_vocabularies/contrib/names/mappings/os-v2/names/name-v1.0.0.json +3 -0
  80. invenio_vocabularies/contrib/names/mappings/os-v2/names/name-v2.0.0.json +150 -0
  81. invenio_vocabularies/contrib/names/mappings/v7/names/name-v1.0.0.json +3 -0
  82. invenio_vocabularies/contrib/names/names.py +29 -13
  83. invenio_vocabularies/contrib/names/permissions.py +20 -0
  84. invenio_vocabularies/contrib/names/s3client.py +44 -0
  85. invenio_vocabularies/contrib/names/schema.py +31 -4
  86. invenio_vocabularies/contrib/subjects/config.py +9 -3
  87. invenio_vocabularies/contrib/subjects/datastreams.py +61 -0
  88. invenio_vocabularies/contrib/subjects/euroscivoc/__init__.py +9 -0
  89. invenio_vocabularies/contrib/subjects/euroscivoc/datastreams.py +171 -0
  90. invenio_vocabularies/contrib/subjects/jsonschemas/subjects/subject-v1.0.0.json +31 -0
  91. invenio_vocabularies/contrib/subjects/mappings/os-v1/subjects/subject-v1.0.0.json +35 -0
  92. invenio_vocabularies/contrib/subjects/mappings/os-v2/subjects/subject-v1.0.0.json +35 -0
  93. invenio_vocabularies/contrib/subjects/mappings/v7/subjects/subject-v1.0.0.json +35 -0
  94. invenio_vocabularies/contrib/subjects/mesh/__init__.py +9 -0
  95. invenio_vocabularies/contrib/subjects/mesh/datastreams.py +43 -0
  96. invenio_vocabularies/contrib/subjects/schema.py +47 -5
  97. invenio_vocabularies/contrib/subjects/subjects.py +10 -0
  98. invenio_vocabularies/datastreams/datastreams.py +61 -13
  99. invenio_vocabularies/datastreams/factories.py +1 -2
  100. invenio_vocabularies/datastreams/readers.py +138 -29
  101. invenio_vocabularies/datastreams/tasks.py +37 -0
  102. invenio_vocabularies/datastreams/transformers.py +17 -27
  103. invenio_vocabularies/datastreams/writers.py +116 -14
  104. invenio_vocabularies/datastreams/xml.py +34 -0
  105. invenio_vocabularies/ext.py +59 -5
  106. invenio_vocabularies/factories.py +137 -0
  107. invenio_vocabularies/jobs.py +133 -0
  108. invenio_vocabularies/proxies.py +2 -2
  109. invenio_vocabularies/records/jsonschemas/vocabularies/definitions-v1.0.0.json +7 -0
  110. invenio_vocabularies/records/jsonschemas/vocabularies/vocabulary-v1.0.0.json +1 -4
  111. invenio_vocabularies/records/mappings/os-v1/vocabularies/vocabulary-v1.0.0.json +3 -3
  112. invenio_vocabularies/records/mappings/os-v2/vocabularies/vocabulary-v1.0.0.json +3 -3
  113. invenio_vocabularies/records/mappings/v7/vocabularies/vocabulary-v1.0.0.json +3 -3
  114. invenio_vocabularies/records/models.py +8 -10
  115. invenio_vocabularies/records/pidprovider.py +1 -2
  116. invenio_vocabularies/records/systemfields/relations.py +2 -2
  117. invenio_vocabularies/resources/__init__.py +9 -1
  118. invenio_vocabularies/resources/config.py +105 -0
  119. invenio_vocabularies/resources/resource.py +31 -41
  120. invenio_vocabularies/resources/schema.py +2 -1
  121. invenio_vocabularies/services/__init__.py +5 -2
  122. invenio_vocabularies/services/config.py +179 -0
  123. invenio_vocabularies/services/custom_fields/__init__.py +6 -2
  124. invenio_vocabularies/services/custom_fields/subject.py +82 -0
  125. invenio_vocabularies/services/custom_fields/vocabulary.py +19 -9
  126. invenio_vocabularies/services/facets.py +67 -37
  127. invenio_vocabularies/services/permissions.py +3 -1
  128. invenio_vocabularies/services/results.py +110 -0
  129. invenio_vocabularies/services/schema.py +39 -2
  130. invenio_vocabularies/services/service.py +46 -94
  131. invenio_vocabularies/services/tasks.py +1 -1
  132. invenio_vocabularies/templates/semantic-ui/invenio_vocabularies/subjects.html +23 -0
  133. invenio_vocabularies/templates/semantic-ui/invenio_vocabularies/vocabularies-list.html +12 -0
  134. invenio_vocabularies/templates/semantic-ui/invenio_vocabularies/vocabulary-details.html +71 -0
  135. invenio_vocabularies/translations/af/LC_MESSAGES/messages.mo +0 -0
  136. invenio_vocabularies/translations/af/LC_MESSAGES/messages.po +1 -1
  137. invenio_vocabularies/translations/ar/LC_MESSAGES/messages.mo +0 -0
  138. invenio_vocabularies/translations/ar/LC_MESSAGES/messages.po +9 -8
  139. invenio_vocabularies/translations/bg/LC_MESSAGES/messages.mo +0 -0
  140. invenio_vocabularies/translations/bg/LC_MESSAGES/messages.po +1 -1
  141. invenio_vocabularies/translations/ca/LC_MESSAGES/messages.mo +0 -0
  142. invenio_vocabularies/translations/ca/LC_MESSAGES/messages.po +1 -1
  143. invenio_vocabularies/translations/cs/LC_MESSAGES/messages.mo +0 -0
  144. invenio_vocabularies/translations/cs/LC_MESSAGES/messages.po +1 -1
  145. invenio_vocabularies/translations/da/LC_MESSAGES/messages.mo +0 -0
  146. invenio_vocabularies/translations/da/LC_MESSAGES/messages.po +1 -1
  147. invenio_vocabularies/translations/de/LC_MESSAGES/messages.mo +0 -0
  148. invenio_vocabularies/translations/de/LC_MESSAGES/messages.po +1 -1
  149. invenio_vocabularies/translations/de_AT/LC_MESSAGES/messages.mo +0 -0
  150. invenio_vocabularies/translations/de_AT/LC_MESSAGES/messages.po +139 -0
  151. invenio_vocabularies/translations/de_DE/LC_MESSAGES/messages.mo +0 -0
  152. invenio_vocabularies/translations/de_DE/LC_MESSAGES/messages.po +139 -0
  153. invenio_vocabularies/translations/el/LC_MESSAGES/messages.mo +0 -0
  154. invenio_vocabularies/translations/el/LC_MESSAGES/messages.po +1 -1
  155. invenio_vocabularies/translations/en/LC_MESSAGES/messages.mo +0 -0
  156. invenio_vocabularies/translations/en_AT/LC_MESSAGES/messages.mo +0 -0
  157. invenio_vocabularies/translations/en_AT/LC_MESSAGES/messages.po +139 -0
  158. invenio_vocabularies/translations/en_HU/LC_MESSAGES/messages.mo +0 -0
  159. invenio_vocabularies/translations/en_HU/LC_MESSAGES/messages.po +139 -0
  160. invenio_vocabularies/translations/es/LC_MESSAGES/messages.mo +0 -0
  161. invenio_vocabularies/translations/es/LC_MESSAGES/messages.po +1 -1
  162. invenio_vocabularies/translations/es_CU/LC_MESSAGES/messages.mo +0 -0
  163. invenio_vocabularies/translations/es_CU/LC_MESSAGES/messages.po +139 -0
  164. invenio_vocabularies/translations/es_MX/LC_MESSAGES/messages.mo +0 -0
  165. invenio_vocabularies/translations/es_MX/LC_MESSAGES/messages.po +139 -0
  166. invenio_vocabularies/translations/et/LC_MESSAGES/messages.mo +0 -0
  167. invenio_vocabularies/translations/et/LC_MESSAGES/messages.po +1 -1
  168. invenio_vocabularies/translations/et_EE/LC_MESSAGES/messages.mo +0 -0
  169. invenio_vocabularies/translations/et_EE/LC_MESSAGES/messages.po +1 -1
  170. invenio_vocabularies/translations/fa/LC_MESSAGES/messages.mo +0 -0
  171. invenio_vocabularies/translations/fa/LC_MESSAGES/messages.po +1 -1
  172. invenio_vocabularies/translations/fa_IR/LC_MESSAGES/messages.mo +0 -0
  173. invenio_vocabularies/translations/fa_IR/LC_MESSAGES/messages.po +139 -0
  174. invenio_vocabularies/translations/fr/LC_MESSAGES/messages.mo +0 -0
  175. invenio_vocabularies/translations/fr/LC_MESSAGES/messages.po +1 -1
  176. invenio_vocabularies/translations/fr_CI/LC_MESSAGES/messages.mo +0 -0
  177. invenio_vocabularies/translations/fr_CI/LC_MESSAGES/messages.po +139 -0
  178. invenio_vocabularies/translations/fr_FR/LC_MESSAGES/messages.mo +0 -0
  179. invenio_vocabularies/translations/fr_FR/LC_MESSAGES/messages.po +139 -0
  180. invenio_vocabularies/translations/gl/LC_MESSAGES/messages.mo +0 -0
  181. invenio_vocabularies/translations/gl/LC_MESSAGES/messages.po +1 -1
  182. invenio_vocabularies/translations/hi_IN/LC_MESSAGES/messages.mo +0 -0
  183. invenio_vocabularies/translations/hi_IN/LC_MESSAGES/messages.po +139 -0
  184. invenio_vocabularies/translations/hr/LC_MESSAGES/messages.mo +0 -0
  185. invenio_vocabularies/translations/hr/LC_MESSAGES/messages.po +1 -1
  186. invenio_vocabularies/translations/hu/LC_MESSAGES/messages.mo +0 -0
  187. invenio_vocabularies/translations/hu/LC_MESSAGES/messages.po +4 -4
  188. invenio_vocabularies/translations/hu_HU/LC_MESSAGES/messages.mo +0 -0
  189. invenio_vocabularies/translations/hu_HU/LC_MESSAGES/messages.po +139 -0
  190. invenio_vocabularies/translations/it/LC_MESSAGES/messages.mo +0 -0
  191. invenio_vocabularies/translations/it/LC_MESSAGES/messages.po +4 -3
  192. invenio_vocabularies/translations/ja/LC_MESSAGES/messages.mo +0 -0
  193. invenio_vocabularies/translations/ja/LC_MESSAGES/messages.po +1 -1
  194. invenio_vocabularies/translations/ka/LC_MESSAGES/messages.mo +0 -0
  195. invenio_vocabularies/translations/ka/LC_MESSAGES/messages.po +1 -1
  196. invenio_vocabularies/translations/lt/LC_MESSAGES/messages.mo +0 -0
  197. invenio_vocabularies/translations/lt/LC_MESSAGES/messages.po +1 -1
  198. invenio_vocabularies/translations/messages.pot +95 -48
  199. invenio_vocabularies/translations/ne/LC_MESSAGES/messages.mo +0 -0
  200. invenio_vocabularies/translations/ne/LC_MESSAGES/messages.po +139 -0
  201. invenio_vocabularies/translations/no/LC_MESSAGES/messages.mo +0 -0
  202. invenio_vocabularies/translations/no/LC_MESSAGES/messages.po +1 -1
  203. invenio_vocabularies/translations/pl/LC_MESSAGES/messages.mo +0 -0
  204. invenio_vocabularies/translations/pl/LC_MESSAGES/messages.po +1 -1
  205. invenio_vocabularies/translations/pt/LC_MESSAGES/messages.mo +0 -0
  206. invenio_vocabularies/translations/pt/LC_MESSAGES/messages.po +1 -1
  207. invenio_vocabularies/translations/ro/LC_MESSAGES/messages.mo +0 -0
  208. invenio_vocabularies/translations/ro/LC_MESSAGES/messages.po +1 -1
  209. invenio_vocabularies/translations/ru/LC_MESSAGES/messages.mo +0 -0
  210. invenio_vocabularies/translations/ru/LC_MESSAGES/messages.po +1 -1
  211. invenio_vocabularies/translations/rw/LC_MESSAGES/messages.mo +0 -0
  212. invenio_vocabularies/translations/rw/LC_MESSAGES/messages.po +1 -1
  213. invenio_vocabularies/translations/sk/LC_MESSAGES/messages.mo +0 -0
  214. invenio_vocabularies/translations/sk/LC_MESSAGES/messages.po +1 -1
  215. invenio_vocabularies/translations/sv/LC_MESSAGES/messages.mo +0 -0
  216. invenio_vocabularies/translations/sv/LC_MESSAGES/messages.po +4 -3
  217. invenio_vocabularies/translations/sv_SE/LC_MESSAGES/messages.mo +0 -0
  218. invenio_vocabularies/translations/sv_SE/LC_MESSAGES/messages.po +139 -0
  219. invenio_vocabularies/translations/tr/LC_MESSAGES/messages.mo +0 -0
  220. invenio_vocabularies/translations/tr/LC_MESSAGES/messages.po +1 -1
  221. invenio_vocabularies/translations/uk/LC_MESSAGES/messages.mo +0 -0
  222. invenio_vocabularies/translations/uk/LC_MESSAGES/messages.po +17 -13
  223. invenio_vocabularies/translations/uk_UA/LC_MESSAGES/messages.mo +0 -0
  224. invenio_vocabularies/translations/uk_UA/LC_MESSAGES/messages.po +139 -0
  225. invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo +0 -0
  226. invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po +1 -1
  227. invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo +0 -0
  228. invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po +1 -1
  229. invenio_vocabularies/views.py +12 -26
  230. invenio_vocabularies/webpack.py +51 -0
  231. invenio_vocabularies-6.3.1.dist-info/METADATA +346 -0
  232. invenio_vocabularies-6.3.1.dist-info/RECORD +306 -0
  233. {invenio_vocabularies-1.2.0.dist-info → invenio_vocabularies-6.3.1.dist-info}/WHEEL +1 -1
  234. {invenio_vocabularies-1.2.0.dist-info → invenio_vocabularies-6.3.1.dist-info}/entry_points.txt +20 -0
  235. invenio_vocabularies-1.2.0.dist-info/METADATA +0 -133
  236. invenio_vocabularies-1.2.0.dist-info/RECORD +0 -220
  237. {invenio_vocabularies-1.2.0.dist-info → invenio_vocabularies-6.3.1.dist-info}/AUTHORS.rst +0 -0
  238. {invenio_vocabularies-1.2.0.dist-info → invenio_vocabularies-6.3.1.dist-info}/LICENSE +0 -0
  239. {invenio_vocabularies-1.2.0.dist-info → invenio_vocabularies-6.3.1.dist-info}/top_level.txt +0 -0
@@ -4,6 +4,9 @@
4
4
  # invenio-vocabularies project.
5
5
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
6
6
  #
7
+ # Translators:
8
+ # Vasyl Ostrovskyi <vasyusya@yahoo.com>, 2023
9
+ #
7
10
  #, fuzzy
8
11
  msgid ""
9
12
  msgstr ""
@@ -11,7 +14,8 @@ msgstr ""
11
14
  "Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
12
15
  "POT-Creation-Date: 2022-10-12 12:27+0000\n"
13
16
  "PO-Revision-Date: 2021-07-13 12:40+0000\n"
14
- "Language-Team: Ukrainian (https://www.transifex.com/inveniosoftware/teams/23537/uk/)\n"
17
+ "Last-Translator: Vasyl Ostrovskyi <vasyusya@yahoo.com>, 2023\n"
18
+ "Language-Team: Ukrainian (https://app.transifex.com/inveniosoftware/teams/23537/uk/)\n"
15
19
  "MIME-Version: 1.0\n"
16
20
  "Content-Type: text/plain; charset=UTF-8\n"
17
21
  "Content-Transfer-Encoding: 8bit\n"
@@ -21,31 +25,31 @@ msgstr ""
21
25
 
22
26
  #: invenio_vocabularies/config.py:37
23
27
  msgid "GRID"
24
- msgstr ""
28
+ msgstr "GRID"
25
29
 
26
30
  #: invenio_vocabularies/config.py:38 invenio_vocabularies/config.py:97
27
31
  msgid "GND"
28
- msgstr ""
32
+ msgstr "GND"
29
33
 
30
34
  #: invenio_vocabularies/config.py:39 invenio_vocabularies/config.py:96
31
35
  msgid "ISNI"
32
- msgstr ""
36
+ msgstr "ISNI"
33
37
 
34
38
  #: invenio_vocabularies/config.py:40
35
39
  msgid "ROR"
36
- msgstr ""
40
+ msgstr "ROR"
37
41
 
38
42
  #: invenio_vocabularies/config.py:51 invenio_vocabularies/config.py:60
39
43
  msgid "DOI"
40
- msgstr ""
44
+ msgstr "DOI"
41
45
 
42
46
  #: invenio_vocabularies/config.py:59
43
47
  msgid "URL"
44
- msgstr ""
48
+ msgstr "URL"
45
49
 
46
50
  #: invenio_vocabularies/config.py:95
47
51
  msgid "ORCID"
48
- msgstr ""
52
+ msgstr "ORCID"
49
53
 
50
54
  #: invenio_vocabularies/contrib/affiliations/config.py:44
51
55
  #: invenio_vocabularies/contrib/funders/config.py:45
@@ -53,14 +57,14 @@ msgstr ""
53
57
  #: invenio_vocabularies/contrib/subjects/config.py:38
54
58
  #: invenio_vocabularies/services/service.py:64
55
59
  msgid "Best match"
56
- msgstr ""
60
+ msgstr "Найкраща відповідність"
57
61
 
58
62
  #: invenio_vocabularies/contrib/affiliations/config.py:48
59
63
  #: invenio_vocabularies/contrib/funders/config.py:49
60
64
  #: invenio_vocabularies/contrib/names/config.py:49
61
65
  #: invenio_vocabularies/contrib/subjects/config.py:42
62
66
  msgid "Name"
63
- msgstr ""
67
+ msgstr "Назва"
64
68
 
65
69
  #: invenio_vocabularies/contrib/affiliations/config.py:52
66
70
  #: invenio_vocabularies/contrib/funders/config.py:53
@@ -68,7 +72,7 @@ msgstr ""
68
72
  #: invenio_vocabularies/contrib/subjects/config.py:46
69
73
  #: invenio_vocabularies/services/service.py:72
70
74
  msgid "Newest"
71
- msgstr ""
75
+ msgstr "Найновіші"
72
76
 
73
77
  #: invenio_vocabularies/contrib/affiliations/config.py:56
74
78
  #: invenio_vocabularies/contrib/funders/config.py:57
@@ -76,7 +80,7 @@ msgstr ""
76
80
  #: invenio_vocabularies/contrib/subjects/config.py:50
77
81
  #: invenio_vocabularies/services/service.py:76
78
82
  msgid "Oldest"
79
- msgstr ""
83
+ msgstr "Найстаріші"
80
84
 
81
85
  #: invenio_vocabularies/contrib/awards/config.py:51
82
86
  msgid "Funders"
@@ -136,4 +140,4 @@ msgstr ""
136
140
 
137
141
  #: invenio_vocabularies/services/service.py:68
138
142
  msgid "Title"
139
- msgstr ""
143
+ msgstr "Заголовок"
@@ -0,0 +1,139 @@
1
+ # Translations template for invenio-vocabularies.
2
+ # Copyright (C) 2022 CERN
3
+ # This file is distributed under the same license as the
4
+ # invenio-vocabularies project.
5
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
6
+ #
7
+ #, fuzzy
8
+ msgid ""
9
+ msgstr ""
10
+ "Project-Id-Version: invenio-vocabularies 0.13.2\n"
11
+ "Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
12
+ "POT-Creation-Date: 2022-10-12 12:27+0000\n"
13
+ "PO-Revision-Date: 2021-07-13 12:40+0000\n"
14
+ "Language-Team: Ukrainian (Ukraine) (https://app.transifex.com/inveniosoftware/teams/23537/uk_UA/)\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Generated-By: Babel 2.10.3\n"
19
+ "Language: uk_UA\n"
20
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
21
+
22
+ #: invenio_vocabularies/config.py:37
23
+ msgid "GRID"
24
+ msgstr ""
25
+
26
+ #: invenio_vocabularies/config.py:38 invenio_vocabularies/config.py:97
27
+ msgid "GND"
28
+ msgstr ""
29
+
30
+ #: invenio_vocabularies/config.py:39 invenio_vocabularies/config.py:96
31
+ msgid "ISNI"
32
+ msgstr ""
33
+
34
+ #: invenio_vocabularies/config.py:40
35
+ msgid "ROR"
36
+ msgstr ""
37
+
38
+ #: invenio_vocabularies/config.py:51 invenio_vocabularies/config.py:60
39
+ msgid "DOI"
40
+ msgstr ""
41
+
42
+ #: invenio_vocabularies/config.py:59
43
+ msgid "URL"
44
+ msgstr ""
45
+
46
+ #: invenio_vocabularies/config.py:95
47
+ msgid "ORCID"
48
+ msgstr ""
49
+
50
+ #: invenio_vocabularies/contrib/affiliations/config.py:44
51
+ #: invenio_vocabularies/contrib/funders/config.py:45
52
+ #: invenio_vocabularies/contrib/names/config.py:45
53
+ #: invenio_vocabularies/contrib/subjects/config.py:38
54
+ #: invenio_vocabularies/services/service.py:64
55
+ msgid "Best match"
56
+ msgstr ""
57
+
58
+ #: invenio_vocabularies/contrib/affiliations/config.py:48
59
+ #: invenio_vocabularies/contrib/funders/config.py:49
60
+ #: invenio_vocabularies/contrib/names/config.py:49
61
+ #: invenio_vocabularies/contrib/subjects/config.py:42
62
+ msgid "Name"
63
+ msgstr ""
64
+
65
+ #: invenio_vocabularies/contrib/affiliations/config.py:52
66
+ #: invenio_vocabularies/contrib/funders/config.py:53
67
+ #: invenio_vocabularies/contrib/names/config.py:53
68
+ #: invenio_vocabularies/contrib/subjects/config.py:46
69
+ #: invenio_vocabularies/services/service.py:72
70
+ msgid "Newest"
71
+ msgstr ""
72
+
73
+ #: invenio_vocabularies/contrib/affiliations/config.py:56
74
+ #: invenio_vocabularies/contrib/funders/config.py:57
75
+ #: invenio_vocabularies/contrib/names/config.py:57
76
+ #: invenio_vocabularies/contrib/subjects/config.py:50
77
+ #: invenio_vocabularies/services/service.py:76
78
+ msgid "Oldest"
79
+ msgstr ""
80
+
81
+ #: invenio_vocabularies/contrib/awards/config.py:51
82
+ msgid "Funders"
83
+ msgstr ""
84
+
85
+ #: invenio_vocabularies/contrib/awards/datastreams.py:47
86
+ msgid "Unknown OpenAIRE funder prefix {openaire_funder_prefix}"
87
+ msgstr ""
88
+
89
+ #: invenio_vocabularies/contrib/awards/schema.py:46
90
+ msgid "Number cannot be blank."
91
+ msgstr ""
92
+
93
+ #: invenio_vocabularies/contrib/awards/schema.py:53
94
+ #: invenio_vocabularies/contrib/funders/schema.py:57
95
+ msgid "PID cannot be blank."
96
+ msgstr ""
97
+
98
+ #: invenio_vocabularies/contrib/awards/schema.py:61
99
+ #: invenio_vocabularies/contrib/funders/schema.py:65
100
+ msgid "Missing PID."
101
+ msgstr ""
102
+
103
+ #: invenio_vocabularies/contrib/awards/schema.py:103
104
+ msgid "An existing id or number/title must be present."
105
+ msgstr ""
106
+
107
+ #: invenio_vocabularies/contrib/awards/schema.py:120
108
+ msgid "At least award or funder should be present."
109
+ msgstr ""
110
+
111
+ #: invenio_vocabularies/contrib/funders/datastreams.py:44
112
+ msgid "Id not found in ROR entry."
113
+ msgstr ""
114
+
115
+ #: invenio_vocabularies/contrib/funders/datastreams.py:48
116
+ msgid "Name not found in ROR entry."
117
+ msgstr ""
118
+
119
+ #: invenio_vocabularies/contrib/funders/schema.py:35
120
+ #: invenio_vocabularies/contrib/funders/schema.py:43
121
+ msgid "Name cannot be blank."
122
+ msgstr ""
123
+
124
+ #: invenio_vocabularies/contrib/names/schema.py:53
125
+ msgid ""
126
+ "A name or the family name together with the given name must be present."
127
+ msgstr ""
128
+
129
+ #: invenio_vocabularies/services/components.py:29
130
+ msgid "The vocabulary type does not exists."
131
+ msgstr ""
132
+
133
+ #: invenio_vocabularies/services/schema.py:77
134
+ msgid "An existing id or a free text {ftf_name} must be present."
135
+ msgstr ""
136
+
137
+ #: invenio_vocabularies/services/service.py:68
138
+ msgid "Title"
139
+ msgstr ""
@@ -16,7 +16,7 @@ msgstr ""
16
16
  "POT-Creation-Date: 2022-10-12 12:27+0000\n"
17
17
  "PO-Revision-Date: 2021-07-13 12:40+0000\n"
18
18
  "Last-Translator: Kalven Richie, 2022\n"
19
- "Language-Team: Chinese (China) (https://www.transifex.com/inveniosoftware/teams/23537/zh_CN/)\n"
19
+ "Language-Team: Chinese (China) (https://app.transifex.com/inveniosoftware/teams/23537/zh_CN/)\n"
20
20
  "MIME-Version: 1.0\n"
21
21
  "Content-Type: text/plain; charset=UTF-8\n"
22
22
  "Content-Transfer-Encoding: 8bit\n"
@@ -15,7 +15,7 @@ msgstr ""
15
15
  "POT-Creation-Date: 2022-10-12 12:27+0000\n"
16
16
  "PO-Revision-Date: 2021-07-13 12:40+0000\n"
17
17
  "Last-Translator: Tibor Simko <tibor.simko@cern.ch>, 2021\n"
18
- "Language-Team: Chinese (Taiwan) (https://www.transifex.com/inveniosoftware/teams/23537/zh_TW/)\n"
18
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/inveniosoftware/teams/23537/zh_TW/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
21
21
  "Content-Transfer-Encoding: 8bit\n"
@@ -1,6 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2020-2022 CERN.
3
+ # Copyright (C) 2020-2024 CERN.
4
+ # Copyright (C) 2023 Graz University of Technology.
4
5
  #
5
6
  # Invenio-Vocabularies is free software; you can redistribute it and/or
6
7
  # modify it under the terms of the MIT License; see LICENSE file for more
@@ -10,31 +11,9 @@
10
11
 
11
12
  from flask import Blueprint
12
13
 
13
- blueprint = Blueprint("invenio_vocabularies_ext", __name__)
14
-
15
-
16
- @blueprint.record_once
17
- def init(state):
18
- """Init app."""
19
- app = state.app
20
- # Register services - cannot be done in extension because
21
- # Invenio-Records-Resources might not have been initialized.
22
- sregistry = app.extensions["invenio-records-resources"].registry
23
- ext = app.extensions["invenio-vocabularies"]
24
- sregistry.register(ext.affiliations_service, service_id="affiliations")
25
- sregistry.register(ext.awards_service, service_id="awards")
26
- sregistry.register(ext.funders_service, service_id="funders")
27
- sregistry.register(ext.names_service, service_id="names")
28
- sregistry.register(ext.subjects_service, service_id="subjects")
29
- sregistry.register(ext.service, service_id="vocabularies")
30
- # Register indexers
31
- iregistry = app.extensions["invenio-indexer"].registry
32
- iregistry.register(ext.affiliations_service.indexer, indexer_id="affiliations")
33
- iregistry.register(ext.awards_service.indexer, indexer_id="awards")
34
- iregistry.register(ext.funders_service.indexer, indexer_id="funders")
35
- iregistry.register(ext.names_service.indexer, indexer_id="names")
36
- iregistry.register(ext.subjects_service.indexer, indexer_id="subjects")
37
- iregistry.register(ext.service.indexer, indexer_id="vocabularies")
14
+ blueprint = Blueprint(
15
+ "invenio_vocabularies_ext", __name__, template_folder="./templates"
16
+ )
38
17
 
39
18
 
40
19
  def create_blueprint_from_app(app):
@@ -65,3 +44,10 @@ def create_names_blueprint_from_app(app):
65
44
  def create_subjects_blueprint_from_app(app):
66
45
  """Create app blueprint."""
67
46
  return app.extensions["invenio-vocabularies"].subjects_resource.as_blueprint()
47
+
48
+
49
+ def create_list_blueprint_from_app(app):
50
+ """Create app blueprint."""
51
+ return app.extensions[
52
+ "invenio-vocabularies"
53
+ ].vocabulary_admin_resource.as_blueprint()
@@ -0,0 +1,51 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2019-2024 CERN.
4
+ # Copyright (C) 2019-2022 Northwestern University.
5
+ # Copyright (C) 2022 TU Wien.
6
+ # Copyright (C) 2022 Graz University of Technology.
7
+ #
8
+ # Invenio RDM Records is free software; you can redistribute it and/or modify it
9
+ # under the terms of the MIT License; see LICENSE file for more details.
10
+
11
+ """JS/CSS Webpack bundles for theme."""
12
+
13
+ from invenio_assets.webpack import WebpackThemeBundle
14
+
15
+ theme = WebpackThemeBundle(
16
+ __name__,
17
+ "assets",
18
+ default="semantic-ui",
19
+ themes={
20
+ "semantic-ui": dict(
21
+ entry={},
22
+ dependencies={
23
+ "@babel/runtime": "^7.9.0",
24
+ "@ckeditor/ckeditor5-build-classic": "^16.0.0",
25
+ "@ckeditor/ckeditor5-react": "^2.1.0",
26
+ "formik": "^2.1.0",
27
+ "i18next": "^20.3.0",
28
+ "i18next-browser-languagedetector": "^6.1.0",
29
+ "luxon": "^1.23.0",
30
+ "path": "^0.12.7",
31
+ "prop-types": "^15.7.2",
32
+ "react-copy-to-clipboard": "^5.0.0",
33
+ "react-dnd": "^11.1.0",
34
+ "react-dnd-html5-backend": "^11.1.0",
35
+ "react-dropzone": "^11.0.0",
36
+ "react-i18next": "^11.11.0",
37
+ "react-invenio-forms": "^4.0.0",
38
+ "react-searchkit": "^3.0.0",
39
+ "yup": "^0.32.0",
40
+ },
41
+ aliases={
42
+ # Define Semantic-UI theme configuration needed by
43
+ # Invenio-Theme in order to build Semantic UI (in theme.js
44
+ # entry point). theme.config itself is provided by
45
+ # cookiecutter-invenio-rdm.
46
+ "@js/invenio_vocabularies": "js/invenio_vocabularies",
47
+ "@translations/invenio_vocabularies": "translations/invenio_vocabularies",
48
+ },
49
+ ),
50
+ },
51
+ )