Enhance auto-translation

This commit is contained in:
2025-06-04 17:46:20 +02:00
parent 7432c4aced
commit 7685409a92
37 changed files with 166 additions and 119 deletions

View File

@@ -320,6 +320,7 @@ const __add_actors_translation = () => {
const lang = game.settings.get('core', 'language');
if (lang == "fr") {
for (let metadata of game.packs) {
console.log("Checking pack", metadata.collection, metadata.documentName, metadata.metadata.id, game.babele.isTranslated(metadata));
if (!game.babele.isTranslated(metadata) &&
metadata.collection != "wfrp4e-core.actors" &&
metadata.collection != "wfrp4e-core.bestiary" &&