New fixes for v7.0.0

This commit is contained in:
2023-09-01 13:30:43 +02:00
parent 4120946ef3
commit 07419d8685
12 changed files with 890 additions and 84 deletions

View File

@ -318,7 +318,7 @@ const __add_actors_translation = () => {
if (lang == "fr") {
let pack_array = [];
for (let metadata of game.packs) {
if (!game.babele.isTranslated(metadata) && metadata.collection != "wfrp4e-core.bestiary" && metadata.documentName === 'Actor') {
if (!game.babele.isTranslated(metadata) && metadata.collection != "wfrp4e-core.actors" && metadata.collection != "wfrp4e-core.bestiary" && metadata.documentName === 'Actor') {
//console.log("REPLACE PACK : ", metadata);
let translations = {
"label": metadata.name,