invenio-vocabularies 8.1.0__py2.py3-none-any.whl → 8.2.0__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 (140) hide show
  1. invenio_vocabularies/__init__.py +1 -1
  2. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/i18next.js +2 -2
  3. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/_generatedTranslations.js +66 -0
  4. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ar/messages.po +96 -0
  5. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ar/translations.json +25 -25
  6. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/bg/messages.po +94 -0
  7. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/bg/translations.json +5 -5
  8. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ca/messages.po +94 -0
  9. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ca/translations.json +7 -7
  10. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/cs/messages.po +97 -0
  11. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/cs/translations.json +26 -26
  12. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/da/messages.po +94 -0
  13. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/da/translations.json +1 -1
  14. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/de/messages.po +98 -0
  15. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/de/translations.json +26 -26
  16. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/el/messages.po +94 -0
  17. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/el/translations.json +7 -7
  18. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/en/messages.po +88 -0
  19. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/es/messages.po +96 -0
  20. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/es/translations.json +25 -25
  21. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/et/messages.po +95 -0
  22. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/et/translations.json +16 -16
  23. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fa/messages.po +94 -0
  24. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fa/translations.json +6 -6
  25. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fr/messages.po +96 -0
  26. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fr/translations.json +10 -10
  27. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hr/messages.po +94 -0
  28. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hr/translations.json +5 -5
  29. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hu/messages.po +96 -0
  30. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hu/translations.json +25 -25
  31. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/index.js +24 -1
  32. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/it/messages.po +96 -0
  33. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/it/translations.json +8 -8
  34. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ja/messages.po +94 -0
  35. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ja/translations.json +5 -5
  36. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ka/messages.po +94 -0
  37. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ka/translations.json +7 -7
  38. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ko/messages.po +90 -0
  39. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ko/translations.json +28 -0
  40. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/lt/messages.po +94 -0
  41. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/lt/translations.json +7 -7
  42. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/no/messages.po +94 -0
  43. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/no/translations.json +6 -6
  44. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pl/messages.po +94 -0
  45. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pl/translations.json +6 -6
  46. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pt/messages.po +94 -0
  47. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pt/translations.json +4 -4
  48. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ro/messages.po +95 -0
  49. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ro/translations.json +16 -16
  50. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ru/messages.po +95 -0
  51. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ru/translations.json +10 -10
  52. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sk/messages.po +94 -0
  53. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sk/translations.json +5 -5
  54. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sv/messages.po +98 -0
  55. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sv/translations.json +26 -26
  56. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/tr/messages.po +96 -0
  57. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/tr/translations.json +10 -10
  58. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/uk/messages.po +94 -0
  59. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/uk/translations.json +16 -16
  60. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_CN/messages.po +96 -0
  61. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_CN/translations.json +14 -14
  62. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_TW/messages.po +94 -0
  63. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_TW/translations.json +5 -5
  64. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/package.json +4 -34
  65. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/translations.pot +3 -3
  66. invenio_vocabularies/contrib/names/datastreams.py +30 -11
  67. invenio_vocabularies/datastreams/datastreams.py +6 -0
  68. invenio_vocabularies/services/tasks.py +2 -2
  69. invenio_vocabularies/translations/ar/LC_MESSAGES/messages.mo +0 -0
  70. invenio_vocabularies/translations/ar/LC_MESSAGES/messages.po +199 -67
  71. invenio_vocabularies/translations/bg/LC_MESSAGES/messages.mo +0 -0
  72. invenio_vocabularies/translations/bg/LC_MESSAGES/messages.po +190 -58
  73. invenio_vocabularies/translations/ca/LC_MESSAGES/messages.mo +0 -0
  74. invenio_vocabularies/translations/ca/LC_MESSAGES/messages.po +192 -59
  75. invenio_vocabularies/translations/cs/LC_MESSAGES/messages.mo +0 -0
  76. invenio_vocabularies/translations/cs/LC_MESSAGES/messages.po +218 -80
  77. invenio_vocabularies/translations/da/LC_MESSAGES/messages.mo +0 -0
  78. invenio_vocabularies/translations/da/LC_MESSAGES/messages.po +188 -56
  79. invenio_vocabularies/translations/de/LC_MESSAGES/messages.mo +0 -0
  80. invenio_vocabularies/translations/de/LC_MESSAGES/messages.po +215 -71
  81. invenio_vocabularies/translations/el/LC_MESSAGES/messages.mo +0 -0
  82. invenio_vocabularies/translations/el/LC_MESSAGES/messages.po +192 -60
  83. invenio_vocabularies/translations/es/LC_MESSAGES/messages.mo +0 -0
  84. invenio_vocabularies/translations/es/LC_MESSAGES/messages.po +199 -66
  85. invenio_vocabularies/translations/et/LC_MESSAGES/messages.mo +0 -0
  86. invenio_vocabularies/translations/et/LC_MESSAGES/messages.po +198 -66
  87. invenio_vocabularies/translations/fa/LC_MESSAGES/messages.mo +0 -0
  88. invenio_vocabularies/translations/fa/LC_MESSAGES/messages.po +190 -58
  89. invenio_vocabularies/translations/fr/LC_MESSAGES/messages.mo +0 -0
  90. invenio_vocabularies/translations/fr/LC_MESSAGES/messages.po +207 -72
  91. invenio_vocabularies/translations/hr/LC_MESSAGES/messages.mo +0 -0
  92. invenio_vocabularies/translations/hr/LC_MESSAGES/messages.po +190 -58
  93. invenio_vocabularies/translations/hu/LC_MESSAGES/messages.mo +0 -0
  94. invenio_vocabularies/translations/hu/LC_MESSAGES/messages.po +202 -66
  95. invenio_vocabularies/translations/it/LC_MESSAGES/messages.mo +0 -0
  96. invenio_vocabularies/translations/it/LC_MESSAGES/messages.po +193 -61
  97. invenio_vocabularies/translations/ja/LC_MESSAGES/messages.mo +0 -0
  98. invenio_vocabularies/translations/ja/LC_MESSAGES/messages.po +190 -58
  99. invenio_vocabularies/translations/ka/LC_MESSAGES/messages.mo +0 -0
  100. invenio_vocabularies/translations/ka/LC_MESSAGES/messages.po +192 -60
  101. invenio_vocabularies/translations/ko/LC_MESSAGES/messages.mo +0 -0
  102. invenio_vocabularies/translations/ko/LC_MESSAGES/messages.po +275 -0
  103. invenio_vocabularies/translations/lt/LC_MESSAGES/messages.mo +0 -0
  104. invenio_vocabularies/translations/lt/LC_MESSAGES/messages.po +192 -60
  105. invenio_vocabularies/translations/messages.pot +133 -48
  106. invenio_vocabularies/translations/no/LC_MESSAGES/messages.mo +0 -0
  107. invenio_vocabularies/translations/no/LC_MESSAGES/messages.po +190 -58
  108. invenio_vocabularies/translations/pl/LC_MESSAGES/messages.mo +0 -0
  109. invenio_vocabularies/translations/pl/LC_MESSAGES/messages.po +190 -58
  110. invenio_vocabularies/translations/pt/LC_MESSAGES/messages.mo +0 -0
  111. invenio_vocabularies/translations/pt/LC_MESSAGES/messages.po +190 -58
  112. invenio_vocabularies/translations/ro/LC_MESSAGES/messages.mo +0 -0
  113. invenio_vocabularies/translations/ro/LC_MESSAGES/messages.po +208 -71
  114. invenio_vocabularies/translations/ru/LC_MESSAGES/messages.mo +0 -0
  115. invenio_vocabularies/translations/ru/LC_MESSAGES/messages.po +199 -66
  116. invenio_vocabularies/translations/sk/LC_MESSAGES/messages.mo +0 -0
  117. invenio_vocabularies/translations/sk/LC_MESSAGES/messages.po +193 -60
  118. invenio_vocabularies/translations/sv/LC_MESSAGES/messages.mo +0 -0
  119. invenio_vocabularies/translations/sv/LC_MESSAGES/messages.po +204 -69
  120. invenio_vocabularies/translations/tr/LC_MESSAGES/messages.mo +0 -0
  121. invenio_vocabularies/translations/tr/LC_MESSAGES/messages.po +205 -71
  122. invenio_vocabularies/translations/uk/LC_MESSAGES/messages.mo +0 -0
  123. invenio_vocabularies/translations/uk/LC_MESSAGES/messages.po +192 -60
  124. invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo +0 -0
  125. invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po +197 -65
  126. invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo +0 -0
  127. invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po +190 -58
  128. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/METADATA +16 -2
  129. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/RECORD +134 -106
  130. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/i18next-scanner.config.js +0 -63
  131. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/package-lock.json +0 -1992
  132. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/compileCatalog.js +0 -39
  133. invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/initCatalog.js +0 -19
  134. invenio_vocabularies/translations/en/LC_MESSAGES/messages.mo +0 -0
  135. invenio_vocabularies/translations/en/LC_MESSAGES/messages.po +0 -53
  136. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/WHEEL +0 -0
  137. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/entry_points.txt +0 -0
  138. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/licenses/AUTHORS.rst +0 -0
  139. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/licenses/LICENSE +0 -0
  140. {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/top_level.txt +0 -0
@@ -1,39 +0,0 @@
1
- // This file is part of Invenio-Vocabularies
2
- //
3
- // Invenio-administration is free software; you can redistribute it and/or modify it
4
- // under the terms of the MIT License; see LICENSE file for more details.
5
-
6
- const { readFileSync, writeFileSync } = require("fs");
7
- const { gettextToI18next } = require("i18next-conv");
8
-
9
- const PACKAGE_JSON_BASE_PATH = "./";
10
- const { languages } = require(`../package`).config;
11
-
12
- // it accepts the same options as the cli.
13
- // https://github.com/i18next/i18next-gettext-converter#options
14
- const options = {
15
- /* you options here */
16
- };
17
-
18
- function save(target) {
19
- return (result) => {
20
- writeFileSync(target, result);
21
- };
22
- }
23
-
24
- if ("lang" === process.argv[2]) {
25
- const lang = process.argv[3];
26
- gettextToI18next(
27
- lang,
28
- readFileSync(`${PACKAGE_JSON_BASE_PATH}messages/${lang}/messages.po`),
29
- options
30
- ).then(save(`${PACKAGE_JSON_BASE_PATH}messages/${lang}/translations.json`));
31
- } else {
32
- for (const lang of languages) {
33
- gettextToI18next(
34
- lang,
35
- readFileSync(`${PACKAGE_JSON_BASE_PATH}messages/${lang}/messages.po`),
36
- options
37
- ).then(save(`${PACKAGE_JSON_BASE_PATH}messages/${lang}/translations.json`));
38
- }
39
- }
@@ -1,19 +0,0 @@
1
- // This file is part of Invenio-Vocabularies
2
- //
3
- // Invenio-administration is free software; you can redistribute it and/or modify it
4
- // under the terms of the MIT License; see LICENSE file for more details.
5
-
6
- const { writeFileSync } = require("fs");
7
- const packageJson = require("../package");
8
-
9
- const { languages } = packageJson.config;
10
- if ("lang" === process.argv[2]) {
11
- const addedLang = process.argv[3];
12
- languages.push(addedLang);
13
- packageJson.config.languages = [...new Set(languages)];
14
- writeFileSync(`package.json`, JSON.stringify(packageJson, null, 2));
15
- } else {
16
- console.error(
17
- "Error:Please provide a language by running `npm run init_catalog lang <lang>`"
18
- );
19
- }
@@ -1,53 +0,0 @@
1
- # English translations for invenio-vocabularies.
2
- # Copyright (C) 2021 CERN
3
- # Copyright (C) 2021 Graz University of Technology.
4
- # This file is distributed under the same license as the
5
- # invenio-vocabularies project.
6
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
7
- #
8
- msgid ""
9
- msgstr ""
10
- "Project-Id-Version: invenio-vocabularies 0.7.7\n"
11
- "Report-Msgid-Bugs-To: info@inveniosoftware.org\n"
12
- "POT-Creation-Date: 2021-07-13 11:06+0200\n"
13
- "PO-Revision-Date: 2021-07-14 16:49+0200\n"
14
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
- "Language: en\n"
16
- "Language-Team: en <LL@li.org>\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1)\n"
18
- "MIME-Version: 1.0\n"
19
- "Content-Type: text/plain; charset=utf-8\n"
20
- "Content-Transfer-Encoding: 8bit\n"
21
- "Generated-By: Babel 2.9.1\n"
22
-
23
- #: invenio_vocabularies/contrib/affiliations/config.py:39
24
- #: invenio_vocabularies/contrib/subjects/config.py:38
25
- #: invenio_vocabularies/services/service.py:55
26
- msgid "Best match"
27
- msgstr ""
28
-
29
- #: invenio_vocabularies/contrib/affiliations/config.py:43
30
- #: invenio_vocabularies/contrib/subjects/config.py:42
31
- msgid "Name"
32
- msgstr ""
33
-
34
- #: invenio_vocabularies/contrib/affiliations/config.py:47
35
- #: invenio_vocabularies/contrib/subjects/config.py:46
36
- #: invenio_vocabularies/services/service.py:63
37
- msgid "Newest"
38
- msgstr ""
39
-
40
- #: invenio_vocabularies/contrib/affiliations/config.py:51
41
- #: invenio_vocabularies/contrib/subjects/config.py:50
42
- #: invenio_vocabularies/services/service.py:67
43
- msgid "Oldest"
44
- msgstr ""
45
-
46
- #: invenio_vocabularies/services/components.py:31
47
- msgid "The vocabulary type does not exists."
48
- msgstr ""
49
-
50
- #: invenio_vocabularies/services/service.py:59
51
- msgid "Title"
52
- msgstr ""
53
-