Refactoring: add metatagging, add 'last edited by' element, add 'metacondition'

This commit is contained in:
Pieter Vander Vennet 2023-04-15 02:28:24 +02:00
parent 771783a31c
commit 105120060d
31 changed files with 217 additions and 142 deletions

View file

@ -29,7 +29,14 @@ export class Translation extends BaseUIElement {
}
count++
if (typeof translations[translationsKey] != "string") {
console.error("Non-string object in translation: ", translations[translationsKey])
console.error(
"Non-string object at",
context,
"in translation: ",
translations[translationsKey],
"\n current translations are: ",
translations
)
throw (
"Error in an object depicting a translation: a non-string object was found. (" +
context +