From b842adf19f28b44abc3ce2f7a8658847f6034aaf Mon Sep 17 00:00:00 2001 From: mojib Date: Fri, 24 Jun 2022 09:07:09 +0200 Subject: [PATCH] i18n: i18next fix naming i18n: integrate german file --- .../invenio_communities/i18next-scanner.config.js | 4 ++-- .../semantic-ui/translations/invenio_communities/i18next.js | 4 ++-- .../translations/invenio_communities/messages/index.js | 2 ++ .../translations/invenio_communities/package-lock.json | 2 +- .../semantic-ui/translations/invenio_communities/package.json | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next-scanner.config.js b/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next-scanner.config.js index 464fa8feb..0693a518a 100644 --- a/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next-scanner.config.js +++ b/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next-scanner.config.js @@ -1,7 +1,7 @@ // This file is part of React-Invenio-Deposit -// Copyright (C) 2021 Graz University of Technology. +// Copyright (C) 2021-2022 Graz University of Technology. // -// Invenio-app-rdm is free software; you can redistribute it and/or modify it +// Invenio-communities is free software; you can redistribute it and/or modify it // under the terms of the MIT License; see LICENSE file for more details. // list of func used to diff --git a/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next.js b/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next.js index d5dae7d25..7ab29eacb 100644 --- a/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next.js +++ b/invenio_communities/assets/semantic-ui/translations/invenio_communities/i18next.js @@ -1,7 +1,7 @@ // This file is part of React-Invenio-Deposit -// Copyright (C) 2021 Graz University of Technology. +// Copyright (C) 2021-2022 Graz University of Technology. // -// Invenio-app-rdm is free software; you can redistribute it and/or modify it +// Invenio-communities is free software; you can redistribute it and/or modify it // under the terms of the MIT License; see LICENSE file for more details. import i18n from "i18next"; diff --git a/invenio_communities/assets/semantic-ui/translations/invenio_communities/messages/index.js b/invenio_communities/assets/semantic-ui/translations/invenio_communities/messages/index.js index bcfc2e923..9b73840e1 100644 --- a/invenio_communities/assets/semantic-ui/translations/invenio_communities/messages/index.js +++ b/invenio_communities/assets/semantic-ui/translations/invenio_communities/messages/index.js @@ -1,7 +1,9 @@ import TRANSLATE_EN from "./en/translations.json"; import TRANSLATE_ES from "./es/translations.json"; +import TRANSLATE_DE from "./de/translations.json"; export const translations = { es: { translation: TRANSLATE_ES }, en: { translation: TRANSLATE_EN }, + de: { translation: TRANSLATE_DE }, }; diff --git a/invenio_communities/assets/semantic-ui/translations/invenio_communities/package-lock.json b/invenio_communities/assets/semantic-ui/translations/invenio_communities/package-lock.json index fe58f6e60..8945e0245 100644 --- a/invenio_communities/assets/semantic-ui/translations/invenio_communities/package-lock.json +++ b/invenio_communities/assets/semantic-ui/translations/invenio_communities/package-lock.json @@ -1,5 +1,5 @@ { - "name": "invenio-app-rdm-ui", + "name": "invenio-communities-ui", "requires": true, "lockfileVersion": 1, "dependencies": { diff --git a/invenio_communities/assets/semantic-ui/translations/invenio_communities/package.json b/invenio_communities/assets/semantic-ui/translations/invenio_communities/package.json index 7e105e197..9c41ccb88 100644 --- a/invenio_communities/assets/semantic-ui/translations/invenio_communities/package.json +++ b/invenio_communities/assets/semantic-ui/translations/invenio_communities/package.json @@ -1,5 +1,5 @@ { - "name": "invenio-app-rdm-ui", + "name": "invenio-communities-ui", "config": { "languages": [ "en",