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.
- invenio_vocabularies/__init__.py +1 -1
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/i18next.js +2 -2
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/_generatedTranslations.js +66 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ar/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ar/translations.json +25 -25
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/bg/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/bg/translations.json +5 -5
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ca/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ca/translations.json +7 -7
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/cs/messages.po +97 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/cs/translations.json +26 -26
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/da/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/da/translations.json +1 -1
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/de/messages.po +98 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/de/translations.json +26 -26
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/el/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/el/translations.json +7 -7
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/en/messages.po +88 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/es/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/es/translations.json +25 -25
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/et/messages.po +95 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/et/translations.json +16 -16
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fa/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fa/translations.json +6 -6
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fr/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/fr/translations.json +10 -10
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hr/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hr/translations.json +5 -5
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hu/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/hu/translations.json +25 -25
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/index.js +24 -1
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/it/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/it/translations.json +8 -8
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ja/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ja/translations.json +5 -5
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ka/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ka/translations.json +7 -7
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ko/messages.po +90 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ko/translations.json +28 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/lt/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/lt/translations.json +7 -7
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/no/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/no/translations.json +6 -6
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pl/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pl/translations.json +6 -6
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pt/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/pt/translations.json +4 -4
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ro/messages.po +95 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ro/translations.json +16 -16
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ru/messages.po +95 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/ru/translations.json +10 -10
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sk/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sk/translations.json +5 -5
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sv/messages.po +98 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/sv/translations.json +26 -26
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/tr/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/tr/translations.json +10 -10
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/uk/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/uk/translations.json +16 -16
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_CN/messages.po +96 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_CN/translations.json +14 -14
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_TW/messages.po +94 -0
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/messages/zh_TW/translations.json +5 -5
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/package.json +4 -34
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/translations.pot +3 -3
- invenio_vocabularies/contrib/names/datastreams.py +30 -11
- invenio_vocabularies/datastreams/datastreams.py +6 -0
- invenio_vocabularies/services/tasks.py +2 -2
- invenio_vocabularies/translations/ar/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ar/LC_MESSAGES/messages.po +199 -67
- invenio_vocabularies/translations/bg/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/bg/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/ca/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ca/LC_MESSAGES/messages.po +192 -59
- invenio_vocabularies/translations/cs/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/cs/LC_MESSAGES/messages.po +218 -80
- invenio_vocabularies/translations/da/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/da/LC_MESSAGES/messages.po +188 -56
- invenio_vocabularies/translations/de/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/de/LC_MESSAGES/messages.po +215 -71
- invenio_vocabularies/translations/el/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/el/LC_MESSAGES/messages.po +192 -60
- invenio_vocabularies/translations/es/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/es/LC_MESSAGES/messages.po +199 -66
- invenio_vocabularies/translations/et/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/et/LC_MESSAGES/messages.po +198 -66
- invenio_vocabularies/translations/fa/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/fa/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/fr/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/fr/LC_MESSAGES/messages.po +207 -72
- invenio_vocabularies/translations/hr/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/hr/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/hu/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/hu/LC_MESSAGES/messages.po +202 -66
- invenio_vocabularies/translations/it/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/it/LC_MESSAGES/messages.po +193 -61
- invenio_vocabularies/translations/ja/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ja/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/ka/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ka/LC_MESSAGES/messages.po +192 -60
- invenio_vocabularies/translations/ko/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ko/LC_MESSAGES/messages.po +275 -0
- invenio_vocabularies/translations/lt/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/lt/LC_MESSAGES/messages.po +192 -60
- invenio_vocabularies/translations/messages.pot +133 -48
- invenio_vocabularies/translations/no/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/no/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/pl/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/pl/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/pt/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/pt/LC_MESSAGES/messages.po +190 -58
- invenio_vocabularies/translations/ro/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ro/LC_MESSAGES/messages.po +208 -71
- invenio_vocabularies/translations/ru/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/ru/LC_MESSAGES/messages.po +199 -66
- invenio_vocabularies/translations/sk/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/sk/LC_MESSAGES/messages.po +193 -60
- invenio_vocabularies/translations/sv/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/sv/LC_MESSAGES/messages.po +204 -69
- invenio_vocabularies/translations/tr/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/tr/LC_MESSAGES/messages.po +205 -71
- invenio_vocabularies/translations/uk/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/uk/LC_MESSAGES/messages.po +192 -60
- invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po +197 -65
- invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po +190 -58
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/METADATA +16 -2
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/RECORD +134 -106
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/i18next-scanner.config.js +0 -63
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/package-lock.json +0 -1992
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/compileCatalog.js +0 -39
- invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/initCatalog.js +0 -19
- invenio_vocabularies/translations/en/LC_MESSAGES/messages.mo +0 -0
- invenio_vocabularies/translations/en/LC_MESSAGES/messages.po +0 -53
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/WHEEL +0 -0
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/entry_points.txt +0 -0
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/licenses/AUTHORS.rst +0 -0
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/licenses/LICENSE +0 -0
- {invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/top_level.txt +0 -0
invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/compileCatalog.js
DELETED
|
@@ -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
|
-
}
|
invenio_vocabularies/assets/semantic-ui/translations/invenio_vocabularies/scripts/initCatalog.js
DELETED
|
@@ -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
|
-
}
|
|
Binary file
|
|
@@ -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
|
-
|
|
File without changes
|
{invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/licenses/AUTHORS.rst
RENAMED
|
File without changes
|
{invenio_vocabularies-8.1.0.dist-info → invenio_vocabularies-8.2.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|