Add missing translations, improvements to charging stations theme
This commit is contained in:
parent
0252fd43ab
commit
e8b0c3f4c8
7 changed files with 1207 additions and 58 deletions
|
@ -259,7 +259,7 @@ function run(file, protojson) {
|
|||
const stringified = questions.map(q => JSON.stringify(q, null, " "))
|
||||
let protoString = readFileSync(protojson, "utf8")
|
||||
|
||||
protoString = protoString.replace("{\"id\": \"$$$\"}", stringified.join(",\n"))
|
||||
protoString = protoString.replace(/{[ \t\n]*"id"[ \t\n]*:[ \t\n]*"\$\$\$"[ \t\n]*}/, stringified.join(",\n"))
|
||||
const proto = <LayerConfigJson>JSON.parse(protoString)
|
||||
proto.tagRenderings.forEach(tr => {
|
||||
if (typeof tr === "string") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue