Remove mentions of twitter in all translation files

This commit is contained in:
Pieter Vander Vennet 2022-12-13 11:32:47 +01:00
parent 442df2fb14
commit d1150be082
14 changed files with 32 additions and 25 deletions

View file

@ -546,9 +546,10 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
/**
* Walks the specified path into the object till the end.
*
* If a list is encountered, this is tranparently walked recursively on every object.
* If a list is encountered, this is transparently walked recursively on every object.
* If 'null' or 'undefined' is encountered, this method stops
*
* The leaf objects are replaced in the object itself by the specified function
* The leaf objects are replaced in the object itself by the specified function.
*/
public static WalkPath(
path: string[],
@ -569,6 +570,9 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
object[head] = leaf.map((o) => replaceLeaf(o, travelledPath))
} else {
object[head] = replaceLeaf(leaf, travelledPath)
if(object[head] === undefined){
delete object[head]
}
}
}
return