diff --git a/Platform/UI/Canvas.js b/Platform/UI/Canvas.js index 7a2d09b74..459e3e675 100644 --- a/Platform/UI/Canvas.js +++ b/Platform/UI/Canvas.js @@ -56,6 +56,7 @@ function newCanvas() { UI.projects.foundations.spaces.sideSpace.finalize() UI.projects.foundations.spaces.chartingSpace.finalize() UI.projects.foundations.spaces.floatingSpace.finalize() + UI.projects.foundations.spaces.codeEditorSpace.finalize() thisObject.shorcutNumbers = undefined if (browserCanvas.removeEventListener) { @@ -385,6 +386,11 @@ function newCanvas() { if (UI.projects.education !== undefined && UI.projects.education.spaces.docsSpace.isVisible === true) { return } + /* When the Code Editor is Visible, we do not process key down events of the Designer Space. */ + if (UI.projects.foundations.spaces.codeEditorSpace.isVisible === true) { + return + } + thisObject.mouse.event = event thisObject.mouse.action = 'key down' diff --git a/Platform/WebServer/index.html b/Platform/WebServer/index.html index 0925c901c..8eeeb113a 100644 --- a/Platform/WebServer/index.html +++ b/Platform/WebServer/index.html @@ -140,7 +140,7 @@
icon is the name of the image that illustrates the corresponding layer in the Layers Panel. In case the icon is not specified, the default idon is used. Possible values are...",
"updated": 1636672891580
@@ -51,22 +94,50 @@
},
{
"style": "Text",
- "text": "Custom images may be added too. To do that:"
+ "text": "Custom images may be added too. To do that:",
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Es können auch eigene Bilder hinzugefügt werden. Um das zu tun:",
+ "updated": 1636660314385
+ }
+ ]
},
{
"style": "Text",
"text": "1. Name the image in the following format: image-name.png;",
- "updated": 1609852305205
+ "updated": 1609852305205,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "1. Benennen Sie das Bild in folgendem Format: bild-name.png;",
+ "updated": 1636660337014
+ }
+ ]
},
{
"style": "Text",
"text": "2. Place images in the WebServer\\Images\\Icons folder;",
- "updated": 1609852315978
+ "updated": 1609852315978,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "2. Legen Sie die Bilder in den Ordner WebServer\\Images\\Icons;",
+ "updated": 1636660361650
+ }
+ ]
},
{
"style": "Text",
"text": "3. In the configuration of the module, use the name as is (e.g.: \"icon\": \"image-name\")",
- "updated": 1609852322876
+ "updated": 1609852322876,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "3. In der Konfiguration des Moduls ist der Name unverändert zu verwenden (z. B.: \"icon\": \"image-name\")",
+ "updated": 1636660481504
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Nodes/P/Procedure/Procedure-Javascript-Code/procedure-javascript-code.json b/Projects/Foundations/Schemas/Docs-Nodes/P/Procedure/Procedure-Javascript-Code/procedure-javascript-code.json
index 1c76c451b..f1f72fe92 100644
--- a/Projects/Foundations/Schemas/Docs-Nodes/P/Procedure/Procedure-Javascript-Code/procedure-javascript-code.json
+++ b/Projects/Foundations/Schemas/Docs-Nodes/P/Procedure/Procedure-Javascript-Code/procedure-javascript-code.json
@@ -9,11 +9,6 @@
"style": "Text",
"text": "The system allows developers great flexibility as all valid JavaScript code is allowed.",
"updated": 1609789473533
- },
- {
- "style": "Important",
- "text": "Until a robust JavaScript editor is implemented on the UI, it is recommended to write code on an external editor and paste it in the UI code bubble to ensure consistency.",
- "updated": 1609789526505
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-002-docs-in-spanish.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-002-docs-in-spanish.json
index 08c871762..a3c9e5241 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-002-docs-in-spanish.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-002-docs-in-spanish.json
@@ -11,6 +11,11 @@
"text": "Si bien la documentación esta originalmente escrita en Inglés, el sistema permite a cualquier usuario buscar contenido en su idioma nativo, siempre y cuando otros usuarios hayan contribuído traducciones de los artículos existentes escritos en el idioma por defecto que es el idioma Inglés. Advertencia!!! Los documentos de Superalgos y de otros proyectos integrados están escritos originariamente en Inglés. El sistema permite a los usuarios buscar y navegar en páginas en toros idiomas también , siempre que algunos usuarios hayan contribuido con las correspondientes traduccciones. Por favor actualice esta traucción.",
"updated": 1633180141328,
"style": "Definition"
+ },
+ {
+ "language": "DE",
+ "text": "Zusammenfassung: Die Docs-Seiten von Superalgos und anderen integrierten Projekten sind ursprünglich in Englisch verfasst. Das System ermöglicht es den Nutzern, die Seiten auch in anderen Sprachen zu suchen und zu durchsuchen, sofern die Nutzer zuvor die entsprechenden Übersetzungen beigetragen haben.",
+ "updated": 1636748741317
}
]
},
@@ -25,34 +30,65 @@
"text": "Es importante notar que por mas que uno seleccione un idioma, el contenido se mostrará en ingles en cada sitio donde todavía no ha sido traducido. El sistema permite a cualquier usuario contribuir traducciones con una granularidad a nivel de párrafos. Esto significa que si una página cualquiera pudiera tener todos, algunos o nigún párrafo traducido. Esto solo depende de cuales hayan sido traducidos previamente por miembros de la comunidad.",
"updated": 1609831884941,
"style": "Text"
+ },
+ {
+ "language": "DE",
+ "text": "Englisch gilt als Standardsprache. Wenn Sie zu einer anderen Sprache wechseln, versucht das System, den Inhalt in der neuen Sprache anzuzeigen. Wenn die Übersetzung jedoch noch nicht verfügbar ist, wird stattdessen die englische Version angezeigt.",
+ "updated": 1636748766355
}
]
},
{
"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."
+ "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": [
+ {
+ "language": "DE",
+ "text": "Node types, variable names, der Titel von Seiten in den Docs und einige weitere Elemente von Superalgos werden nicht übersetzt, da sie eindeutige Bezeichner der genannten Elemente sind. Sie erhalten diese immer auf Englisch.",
+ "updated": 1636748781667
+ }
+ ]
},
{
"style": "Success",
- "text": "If you wish to contribute translations, read the How to Contribute Translations page."
+ "text": "If you wish to contribute translations, read the How to Contribute Translations page.",
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Wenn sie zu den Docs beitragen möchten, lesen sie die How to Contribute Translations Seite.",
+ "updated": 1636748836601
+ }
+ ]
},
{
"style": "Success",
- "text": "Users can switch between languages using the links provided at the footer of every page at the Docs.",
- "updated": 1609831813025,
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
+ "updated": 1636748942800,
"translations": [
{
"language": "ES",
"text": "Para cambiar de un idioma a otro se debe usar los links en el pie de cada página.",
"updated": 1609831898619,
"style": "Success"
+ },
+ {
+ "language": "DE",
+ "text": "Die Benutzer können über die Links in der Fußzeile jeder Seite in den Docs zwischen den Sprachen wechseln.",
+ "updated": 1636748881372
}
]
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case spanish)",
+ "updated": 1636749198522,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Sie können nur Seiten zu den Dokumenten hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten.",
+ "updated": 1636749982716
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-003-docs-in-russian.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-003-docs-in-russian.json
index acd5718af..07854f757 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-003-docs-in-russian.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-003-docs-in-russian.json
@@ -4,30 +4,73 @@
"type": "Docs In Russian",
"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
+ "updated": 1613820592771,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Die Docs-Seiten von Superalgos und anderen integrierten Projekten sind ursprünglich in Englisch verfasst. Das System ermöglicht es den Nutzern, die Seiten auch in anderen Sprachen zu suchen und zu durchsuchen, sofern die Nutzer zuvor die entsprechenden Übersetzungen beigetragen haben.",
+ "updated": 1636750003639
+ }
+ ]
},
"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
+ "updated": 1613820612132,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Englisch gilt als Standardsprache. Wenn Sie zu einer anderen Sprache wechseln, versucht das System, den Inhalt in der neuen Sprache anzuzeigen. Wenn die Übersetzung jedoch noch nicht verfügbar ist, wird stattdessen die englische Version angezeigt.",
+ "updated": 1636750015798
+ }
+ ]
},
{
"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."
+ "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": [
+ {
+ "language": "DE",
+ "text": "Node types, variable names, der Titel von Seiten in den Docs und einige weitere Elemente von Superalgos werden nicht übersetzt, da sie eindeutige Bezeichner der genannten Elemente sind. Sie erhalten diese immer auf Englisch.",
+ "updated": 1636750023487
+ }
+ ]
},
{
"style": "Success",
- "text": "If you wish to contribute translations, read the How to Contribute Translations page."
+ "text": "If you wish to contribute translations, read the How to Contribute Translations page.",
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Wenn Sie Übersetzungen beisteuern möchten, lesen Sie die Seite: How to Contribute Translations.",
+ "updated": 1636750035891
+ }
+ ]
},
{
"style": "Success",
- "text": "To switch languages, click on the flags on the footer of the Docs."
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
+ "updated": 1636749141265,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Docs.",
+ "updated": 1636750056716
+ }
+ ]
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case russian)",
+ "updated": 1636749177741,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Sie können nur Seiten zu den Docs hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten. ",
+ "updated": 1636750092775
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-004-docs-in-italian.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-004-docs-in-italian.json
index f2d1c7e39..349871ff7 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-004-docs-in-italian.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-004-docs-in-italian.json
@@ -11,6 +11,11 @@
"text": "I Docs di Superalgos e degli altri progetti integrati sono scritti originariamente in inglese. Il sistema permette agli utenti di cercare e navigare tra le pagine anche in altri linguaggi, purché qualche collaboratore abbia precedentemente inserito le traduzioni corrispondenti.",
"updated": 1614709804639,
"style": "Definition"
+ },
+ {
+ "language": "DE",
+ "text": "Die Docs-Seiten von Superalgos und anderen integrierten Projekten sind ursprünglich in Englisch verfasst. Das System ermöglicht es den Nutzern, die Seiten auch in anderen Sprachen zu suchen und zu durchsuchen, sofern die Nutzer zuvor die entsprechenden Übersetzungen beigetragen haben.",
+ "updated": 1636750109773
}
]
},
@@ -25,6 +30,11 @@
"text": "L'inglese é considerata la lingua predefinita. Quando si seleziona un linguaggio differente, il sistema cerca di mostrare il contenuto nel linguaggio selezionato. Se la traduzione non é disponibile, allora verrà mostrata comunque la versione in lingua inglese.",
"updated": 1614710023015,
"style": "Text"
+ },
+ {
+ "language": "DE",
+ "text": "Englisch gilt als Standardsprache. Wenn Sie zu einer anderen Sprache wechseln, versucht das System, den Inhalt in der neuen Sprache anzuzeigen. Wenn die Übersetzung jedoch noch nicht verfügbar ist, wird stattdessen die englische Version angezeigt.",
+ "updated": 1636750147739
}
]
},
@@ -37,6 +47,11 @@
"text": "I tipi di nodo, i nomi di variabile, il titolo delle pagine dei Docs e alcuni altri elementi di Superalgos non vengono tradotti, in quanto sono identificatori unici di questi elementi all'interno del sistema. Verranno quindi sempre mostrati in inglese.",
"updated": 1614710301759,
"style": "Text"
+ },
+ {
+ "language": "DE",
+ "text": "Node types, variable names, der Titel von Seiten in den Docs und einige weitere Elemente von Superalgos werden nicht übersetzt, da sie eindeutige Bezeichner der genannten Elemente sind. Sie erhalten diese immer auf Englisch.",
+ "updated": 1636750157611
}
]
},
@@ -49,6 +64,11 @@
"text": "Se vuoi contribuire alle traduzioni, leggi la pagina How to Contribute Translations.",
"updated": 1614710364389,
"style": "Success"
+ },
+ {
+ "language": "DE",
+ "text": "Wenn Sie Übersetzungen beisteuern möchten, lesen Sie die Seite: How to Contribute Translations.",
+ "updated": 1636750175388
}
]
},
@@ -62,32 +82,47 @@
"text": "Il contenuto dei Docs può essere tradotto da chiunque desideri contribuire. Ciò aiuta gli utenti a leggere il contenuto dei Docs nella loro lingua madre. ",
"updated": 1614710559720,
"style": "Text"
+ },
+ {
+ "language": "DE",
+ "text": "Der Inhalt der Docs kann von jedem übersetzt werden, der bereit ist, etwas Zeit dafür aufzuwenden. Das hilft den Nutzern, die Inhalte der Docs in ihrer Muttersprache zu lesen.",
+ "updated": 1636750252283
}
]
},
{
"style": "Success",
- "text": "To switch languages, click on the flags on the footer of the Docs.",
- "updated": 1613820592771,
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
+ "updated": 1636749218784,
"translations": [
{
"language": "IT",
"text": "Per cambiare la lingua, é sufficiente cliccare sulle bandiere che si trovano in fondo a ogni pagina dei Docs.",
"updated": 1614710684503,
"style": "Success"
+ },
+ {
+ "language": "DE",
+ "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Docs.",
+ "updated": 1636750268351
}
]
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230,
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case italian)",
+ "updated": 1636749237058,
"translations": [
{
"language": "IT",
"text": "É possible aggiungere o cancellare pagine dei Docs solamente quando la lingua di visualizzazione é in inglese.",
"updated": 1614710793433,
"style": "Note"
+ },
+ {
+ "language": "DE",
+ "text": "Sie können nur Seiten zu den Docs hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten. ",
+ "updated": 1636750280116
}
]
}
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-006-docs-in-bahasa.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-006-docs-in-bahasa.json
index 661ccfe9f..43e6927b3 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-006-docs-in-bahasa.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-006-docs-in-bahasa.json
@@ -11,6 +11,11 @@
"text": "Halaman Docs dari Superalgos dan proyek lainnya, tertulis dengan bahasa Inggris. Adapun Sistem ini membantu anda untuk mencari dan menjelajah halaman dalam bahasa berbeda, selama anda sebelumnya telah berkontribusi dalam penerjemahan yang sesuai.",
"updated": 1613857356680,
"style": "Definition"
+ },
+ {
+ "language": "DE",
+ "text": "Die Docs-Seiten von Superalgos und anderen integrierten Projekten sind ursprünglich in Englisch verfasst. Das System ermöglicht es den Nutzern, die Seiten auch in anderen Sprachen zu suchen und zu durchsuchen, sofern die Nutzer zuvor die entsprechenden Übersetzungen beigetragen haben.",
+ "updated": 1636750464649
}
]
},
@@ -25,6 +30,11 @@
"text": "Bahasa Inggris dianggap sebagai bahasa default. Saat anda beralih ke bahasa lain, sistem mencoba menampilkan konten dalam bahasa baru. Namun, jika terjemahan belum tersedia, maka yang tampil hanya versi bahasa Inggris saja.",
"updated": 1613857511193,
"style": "Text"
+ },
+ {
+ "language": "DE",
+ "text": "Englisch gilt als Standardsprache. Wenn Sie zu einer anderen Sprache wechseln, versucht das System, den Inhalt in der neuen Sprache anzuzeigen. Wenn die Übersetzung jedoch noch nicht verfügbar ist, wird stattdessen die englische Version angezeigt.",
+ "updated": 1636750474063
}
]
},
@@ -37,21 +47,48 @@
"text": "Tipe Node, nama variable, judul halaman di Docs, dan beberapa elemen Superalgos lainnya tidak boleh diterjemahkan, karena merupakan bagian unik dari elemen Superalgos. Anda akan selalu membacanya dalam bahasa Inggris.",
"updated": 1613857742821,
"style": "Text"
+ },
+ {
+ "language": "DE",
+ "text": "Node types, variable names, der Titel von Seiten in den Docs und einige weitere Elemente von Superalgos werden nicht übersetzt, da sie eindeutige Bezeichner der genannten Elemente sind. Sie erhalten diese immer auf Englisch.",
+ "updated": 1636750480917
}
]
},
{
"style": "Success",
- "text": "If you wish to contribute translations, read the How to Contribute Translations page."
+ "text": "If you wish to contribute translations, read the How to Contribute Translations page.",
+ "translations": [
+ {
+ "language": "DE",
+ "text": "enn Sie Übersetzungen beisteuern möchten, lesen Sie die Seite: How to Contribute Translations.",
+ "updated": 1636750495638
+ }
+ ]
},
{
"style": "Success",
- "text": "To switch languages, click on the flags on the footer of the Docs."
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
+ "updated": 1636749263074,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Docs.",
+ "updated": 1636750521606
+ }
+ ]
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case bahasa)",
+ "updated": 1636749282438,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Sie können nur Seiten zu den Docs hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten. ",
+ "updated": 1636750535105
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-007-docs-in-turkish.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-007-docs-in-turkish.json
index a047632c1..e66d2279c 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-007-docs-in-turkish.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-007-docs-in-turkish.json
@@ -5,32 +5,72 @@
"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": []
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Die Docs-Seiten von Superalgos und anderen integrierten Projekten sind ursprünglich in Englisch verfasst. Das System ermöglicht es den Nutzern, die Seiten auch in anderen Sprachen zu suchen und zu durchsuchen, sofern die Nutzer zuvor die entsprechenden Übersetzungen beigetragen haben.",
+ "updated": 1636750558018
+ }
+ ]
},
"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": []
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Englisch gilt als Standardsprache. Wenn Sie zu einer anderen Sprache wechseln, versucht das System, den Inhalt in der neuen Sprache anzuzeigen. Wenn die Übersetzung jedoch noch nicht verfügbar ist, wird stattdessen die englische Version angezeigt.",
+ "updated": 1636750574994
+ }
+ ]
},
{
"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": []
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Node types, variable names, der Titel von Seiten in den Docs und einige weitere Elemente von Superalgos werden nicht übersetzt, da sie eindeutige Bezeichner der genannten Elemente sind. Sie erhalten diese immer auf Englisch.",
+ "updated": 1636750589863
+ }
+ ]
},
{
"style": "Success",
- "text": "If you wish to contribute translations, read the How to Contribute Translations page."
+ "text": "If you wish to contribute translations, read the How to Contribute Translations page.",
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Wenn Sie Übersetzungen beisteuern möchten, lesen Sie die Seite: How to Contribute Translations.",
+ "updated": 1636750600480
+ }
+ ]
},
{
"style": "Success",
- "text": "To switch languages, click on the flags on the footer of the Docs."
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
+ "updated": 1636749306719,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Docs.",
+ "updated": 1636750616494
+ }
+ ]
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case turkish)",
+ "updated": 1636749321941,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Sie können nur Seiten zu den Dokumenten hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten.",
+ "updated": 1636750772952
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-french.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-french.json
index b8b0d2fdf..102b51548 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-french.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-french.json
@@ -10,6 +10,11 @@
"language": "FR",
"text": "La documentation de Superalgos et des projets intégrés est à l'origine écrite en Anglais. 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": 1630680264127
+ },
+ {
+ "language": "DE",
+ "text": "Die Docs-Seiten von Superalgos und anderen integrierten Projekten sind ursprünglich in Englisch verfasst. Das System ermöglicht es den Nutzern, die Seiten auch in anderen Sprachen zu suchen und zu durchsuchen, sofern die Nutzer zuvor die entsprechenden Übersetzungen beigetragen haben.",
+ "updated": 1636750800546
}
]
},
@@ -18,25 +23,59 @@
"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": []
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Englisch gilt als Standardsprache. Wenn Sie zu einer anderen Sprache wechseln, versucht das System, den Inhalt in der neuen Sprache anzuzeigen. Wenn die Übersetzung jedoch noch nicht verfügbar ist, wird stattdessen die englische Version angezeigt.",
+ "updated": 1636750807278
+ }
+ ]
},
{
"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": []
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Node types, variable names, der Titel von Seiten in den Docs und einige weitere Elemente von Superalgos werden nicht übersetzt, da sie eindeutige Bezeichner der genannten Elemente sind. Sie erhalten diese immer auf Englisch.",
+ "updated": 1636750815636
+ }
+ ]
},
{
"style": "Success",
- "text": "If you wish to contribute translations, read the How to Contribute Translations page."
+ "text": "If you wish to contribute translations, read the How to Contribute Translations page.",
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Wenn Sie Übersetzungen beisteuern möchten, lesen Sie die Seite: How to Contribute Translations.",
+ "updated": 1636750827324
+ }
+ ]
},
{
"style": "Success",
- "text": "To switch languages, click on the flags on the footer of the Docs."
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
+ "updated": 1636749351541,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Docs.",
+ "updated": 1636750837505
+ }
+ ]
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case french)",
+ "updated": 1636749347360,
+ "translations": [
+ {
+ "language": "DE",
+ "text": "Sie können nur Seiten zu den Dokumenten hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten.",
+ "updated": 1636750848766
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-german.json b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-german.json
index 4ff506820..9da0e6c62 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-german.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/D/Docs/Docs-Languages/docs-languages-008-docs-in-german.json
@@ -50,24 +50,25 @@
},
{
"style": "Success",
- "text": "To switch languages, click on the flags on the footer of the Docs.",
+ "text": "Users can switch between languages using the links/Flags provided at the footer of every page at the Docs.",
"translations": [
{
"language": "DE",
- "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Dokumente.",
- "updated": 1634069610043
+ "text": "Um die Sprache zu wechseln, klicken Sie auf die Flaggen in der Fußzeile der Docs.",
+ "updated": 1636750877886
}
- ]
+ ],
+ "updated": 1636749365748
},
{
"style": "Note",
- "text": "You may only add or delete pages to the Docs when the language is set to English.",
- "updated": 1613820648230,
+ "text": "You may only add or delete pages to the Docs when the language is set to English. For the translation you have to select the language you want to translate into. (In this case german)",
+ "updated": 1636749376271,
"translations": [
{
"language": "DE",
- "text": "Sie können nur Seiten zu den Dokumenten hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist.",
- "updated": 1634069626053
+ "text": "Sie können nur Seiten zu den Dokumenten hinzufügen oder löschen, wenn die Sprache auf Englisch eingestellt ist. Für die Übersetzung müssen Sie die Sprache auswählen, in die Sie übersetzen möchten.",
+ "updated": 1636750866679
}
]
}
diff --git a/Projects/Foundations/Schemas/Docs-Topics/N/Nodes/Nodes/nodes-001-node.json b/Projects/Foundations/Schemas/Docs-Topics/N/Nodes/Nodes/nodes-001-node.json
index f4f709ed6..922006311 100644
--- a/Projects/Foundations/Schemas/Docs-Topics/N/Nodes/Nodes/nodes-001-node.json
+++ b/Projects/Foundations/Schemas/Docs-Topics/N/Nodes/Nodes/nodes-001-node.json
@@ -10,6 +10,11 @@
"language": "RU",
"text": "Узлы - это объекты, которые существуют в рабочих пространствах и могут быть визуализированы в the Design Space. Узлы могут быть присоединены друг к другу, образуя иерархические структуры.\n",
"updated": 1635514669410
+ },
+ {
+ "language": "DE",
+ "text": "Nodes sind Objekte, die im Workspace existieren und im Design Space visualisiert werden können. Nodes können miteinander verbunden/referenziert werden, um hierarchische Strukturen zu bilden.",
+ "updated": 1636744729977
}
]
},
diff --git a/Projects/Foundations/UI/Spaces/CodeEditor-Space/CodeEditorSpace.js b/Projects/Foundations/UI/Spaces/CodeEditor-Space/CodeEditorSpace.js
index 71362e847..88e678a51 100644
--- a/Projects/Foundations/UI/Spaces/CodeEditor-Space/CodeEditorSpace.js
+++ b/Projects/Foundations/UI/Spaces/CodeEditor-Space/CodeEditorSpace.js
@@ -5,6 +5,8 @@ function newFoundationsCodeEditorSpace() {
sidePanelTab: undefined,
container: undefined,
editorPage: undefined,
+ isVisible: undefined,
+ reset: reset,
openSpaceArea: openSpaceArea,
physics: physics,
draw: draw,
@@ -23,15 +25,24 @@ function newFoundationsCodeEditorSpace() {
return thisObject
function finalize() {
- thisObject.sidePanelTab = undefined
+ if (isInitialized === false) { return }
+
+ thisObject.container.finalize()
+ thisObject.container = undefined
+
canvas.eventHandler.stopListening(browserResizedEventSubscriptionId)
thisObject.sidePanelTab.container.eventHandler.stopListening(openingEventSubscriptionId)
thisObject.sidePanelTab.container.eventHandler.stopListening(closingEventSubscriptionId)
+ UI.projects.foundations.spaces.sideSpace.deleteSidePanelTab('Foundations', 'javascript-code', 'Code', 'right')
+
+ thisObject.editorPage.finalize()
+ thisObject.editorPage = undefined
+
+ isInitialized = false
}
function initialize() {
-
thisObject.container = newContainer()
thisObject.container.name = MODULE_NAME
thisObject.container.initialize()
@@ -43,10 +54,7 @@ function newFoundationsCodeEditorSpace() {
resize()
thisObject.editorPage = newFoundationsCodeEditorEditorPage()
- thisObject.footer = newGovernanceReportsFooter() // Reuse simple footer
-
thisObject.editorPage.initialize()
- thisObject.footer.initialize()
thisObject.sidePanelTab = UI.projects.foundations.spaces.sideSpace.createSidePanelTab(thisObject.container, 'Foundations', 'javascript-code', 'Code', 'right')
@@ -66,6 +74,11 @@ function newFoundationsCodeEditorSpace() {
thisObject.editorPage.render(originatingNode, codeEditorType)
}
+ function reset() {
+ finalize()
+ initialize()
+ }
+
function physics() {
if (isInitialized === false) {
return
@@ -92,11 +105,11 @@ function newFoundationsCodeEditorSpace() {
}
function onOpening() {
-
+ thisObject.isVisible = true
}
function onClosing() {
-
+ thisObject.isVisible = false
}
function draw() {
diff --git a/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js b/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js
index 4198e3782..4408e4ed2 100644
--- a/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js
+++ b/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js
@@ -3,6 +3,7 @@ function newFoundationsCodeEditorEditorPage() {
originatingNode: undefined,
editorType: undefined,
render: render,
+ reset:reset,
initialize: initialize,
finalize: finalize
}
@@ -10,9 +11,10 @@ function newFoundationsCodeEditorEditorPage() {
let monacoInitialized = false
let monacoEditor = undefined
let codeString = ''
+ let stringObjects = []
let tradingEngineObj = undefined
let recordFormulasObj = {}
- let chartObj = {}
+ let chartMarketExchangeObj = {}
return thisObject
@@ -27,13 +29,19 @@ function newFoundationsCodeEditorEditorPage() {
monacoInitialized = false
monacoEditor = undefined
codeString = ''
+ stringObjects = []
tradingEngineObj = undefined
recordFormulasObj = {}
+ chartMarketExchangeObj = {}
thisObject.originatingNode = undefined
thisObject.editorType = undefined
}
+ function reset() {
+ finalize()
+ initialize()
+ }
function render(originatingNode, editorType) {
@@ -56,7 +64,7 @@ function newFoundationsCodeEditorEditorPage() {
function initMonacoEditor() {
if (monacoEditor === undefined) {
document.getElementById('no-content').remove()
- document.getElementById('code-path').insertAdjacentHTML('afterend',`