From ec65381c012520628ba58049cdae68fe5abd1562 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 8 May 2021 14:27:41 +0200 Subject: [PATCH] German Language added and version labels switched to Beta 10 --- Client/client.js | 2 +- Client/httpInterface.js | 2 +- .../docs-languages-008-docs-in-german.json | 39 +++++++++++++++++++ .../Superalgos/UI/Spaces/Docs-Space/Footer.js | 6 +++ Projects/Superalgos/UI/Utilities/Languages.js | 4 ++ README.md | 23 ++--------- run.js | 2 +- 7 files changed, 56 insertions(+), 22 deletions(-) create mode 100644 Projects/Superalgos/Schemas/Docs-Topics/docs-languages-008-docs-in-german.json diff --git a/Client/client.js b/Client/client.js index 615ea3590..7ab185792 100644 --- a/Client/client.js +++ b/Client/client.js @@ -127,7 +127,7 @@ try { console.log('Http Interface .............................................. Listening at port ' + global.env.HTTP_INTERFACE_PORT) console.log('') - console.log("You are running Superalgos Beta 9") + console.log("You are running Superalgos Beta 10") console.log('') console.log("What's new? The following was implemented here:") console.log('') diff --git a/Client/httpInterface.js b/Client/httpInterface.js index e78e623fa..fbaeb67e3 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -681,7 +681,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE const octokit = new Octokit({ auth: token, - userAgent: 'Superalgos Beta 9' + userAgent: 'Superalgos Beta 10' }) const repo = 'Superalgos' diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-languages-008-docs-in-german.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-languages-008-docs-in-german.json new file mode 100644 index 000000000..eb2e02617 --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-languages-008-docs-in-german.json @@ -0,0 +1,39 @@ +{ + "topic": "Docs Languages", + "pageNumber": "8", + "type": "Docs In German", + "definition": { + "text": "The Docs pages of Superalgos and other projects integrated are originally written in English. The system allows users to search and browse pages in other languages as well, as long as users have previously contributed the corresponding translations.", + "updated": 1613820592771, + "translations": [ + ] + }, + "paragraphs": [ + { + "style": "Text", + "text": "English is considered the default language. When you switch to a different language, the system attempts to show the content in the new language. However, if the translation is not yet available, it shows the English version instead.", + "updated": 1613820612132, + "translations": [ + ] + }, + { + "style": "Text", + "text": "Node types, variable names, the title of pages in the Docs, and a few more elements of Superalgos may not be translated, as they are unique identifiers of the said elements. You will always get those in English.", + "translations": [ + ] + }, + { + "style": "Success", + "text": "If you wish to contribute translations, read the How to Contribute Translations page." + }, + { + "style": "Success", + "text": "To switch languages, click on the flags on the footer of the Docs." + }, + { + "style": "Note", + "text": "You may only add or delete pages to the Docs when the language is set to English.", + "updated": 1613820648230 + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js b/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js index b22a08436..df4a2631a 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/Footer.js @@ -93,6 +93,12 @@ function newSuperalgosDocsFooter() { } HTML = HTML + '">' + HTML = HTML + '' + HTML = HTML + '