This commit is contained in:
a-ill
2023-07-13 14:32:49 +03:00
parent 9f5ec9e26a
commit 8a176b7c1b
58 changed files with 1756 additions and 317 deletions

View File

@@ -96,8 +96,13 @@ export function loadLocaleContent(content,componentName,loaded,callback) {
if (callback!=undefined) {
callback(parsed)
}
content.set(parsed)
loaded = 1
content.update((obj) => {
Object.assign(obj,parsed)
return obj
})
loaded.update((val) => {
return val + 1
})
})
return locale
}