0
0

Ajout des actions

This commit is contained in:
LeRatierBretonnien 2025-03-23 09:26:34 +01:00
parent b2da1db47f
commit dbc179d877
2 changed files with 8 additions and 4 deletions

@ -54,10 +54,14 @@
{ {
"name": "Flip/Neoflip", "name": "Flip/Neoflip",
"flags":{} "flags":{}
},
{
"name": "Lazarus",
"flags":{}
} }
], ],
"url": "https://www.uberwald.me/gitea/public/swade-fr-content", "url": "https://www.uberwald.me/gitea/public/swade-fr-content",
"version": "3.2.2", "version": "4.4.0",
"esmodules": [ "esmodules": [
"modules/swade-fr-init.js" "modules/swade-fr-init.js"
], ],
@ -73,7 +77,7 @@
} }
], ],
"manifest": "https://www.uberwald.me/gitea/public/swade-fr-content/raw/branch/master/module.json", "manifest": "https://www.uberwald.me/gitea/public/swade-fr-content/raw/branch/master/module.json",
"download": "https://www.uberwald.me/gitea/public/swade-fr-content/archive/swade-fr-content-3.2.2.zip", "download": "https://www.uberwald.me/gitea/public/swade-fr-content/archive/swade-fr-content-4.4.0.zip",
"id": "swade-fr-content", "id": "swade-fr-content",
"relationships": { "relationships": {
"requires": [ "requires": [
@ -93,6 +97,6 @@
}, },
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "11" "verified": "12"
} }
} }

@ -361,7 +361,7 @@ async function loadSecretCompendiums() {
}); });
if (translation) { if (translation) {
let babele = Babele.get() let babele = Babele.get()
let entry = mergeObject(translation, { collection: metadata.id }) let entry = foundry.utils.mergeObject(translation, { collection: metadata.id })
babele.translations.push(entry) babele.translations.push(entry)
console.log(">>>>", babele.translations) console.log(">>>>", babele.translations)
babele.packs.set(metadata.id, new TranslatedCompendium(metadata, entry)) babele.packs.set(metadata.id, new TranslatedCompendium(metadata, entry))