diff --git a/module/compendiums/swade-core-rules.swade-edges.json b/module/compendiums/swade-core-rules.swade-edges.json index 0aac245..f31cbd7 100644 --- a/module/compendiums/swade-core-rules.swade-edges.json +++ b/module/compendiums/swade-core-rules.swade-edges.json @@ -182,7 +182,7 @@ "id": "Combat Acrobat", "name": "Acrobate de combat", "description":"Voir SWADE p.49", - "description_full": "
\n

Les attaques contre ce personnage bondissant subissent un malus de -1 si ce dernier voit l’attaque venir, dispose de suffisamment d’espace pour se mouvoir et ne subit aucun malus d’@Compendium[swade-core-rules.swade-rules.Gear Notes]{Encumbrement} ou de @Compendium[swade-core-rules.swade-rules.Minimum Strength]{Force minimum}.

\n
" + "description_full": "
\n

Les attaques contre ce personnage bondissant subissent un malus de -1 si ce dernier voit l’attaque venir, dispose de suffisamment d’espace pour se mouvoir et ne subit aucun malus d’@Compendium[swade-core-rules.swade-rules.Gear Notes]{Encombrement} ou de @Compendium[swade-core-rules.swade-rules.Minimum Strength]{Force minimum}.

\n
" }, { "id": "Combat Reflexes", diff --git a/module/fr.json b/module/fr.json index 9606781..8a01383 100644 --- a/module/fr.json +++ b/module/fr.json @@ -118,8 +118,8 @@ "SWADE.RoF": "CdT", "SWADE.Mag": "Coups", "SWADE.Parry": "Parade", - "SWADE.Cover": "Couvert", "SWADE.Cover._name": "Couvert", + "SWADE.Couvert._name": "Couvert", "SWADE.Notes": "Notes", "SWADE.ActionsEffects": "Actions et Effets", "SWADE.Actions": "Actions", @@ -304,5 +304,47 @@ "SWADE.EdgesHindrances": "Atouts et Handicaps", "SWADE.GrantsPowers": "Accorde des pouvoirs", "SWADE.Crew": "Équipage requis", - "SWADE.Passengers": "Passagers" -} + "SWADE.Passengers": "Passagers", + + "Actor": "Acteur", + "Vehicles": "Véhicules", + "Ground Vehicles": "Véhicules Terrestres", + "Civilian Vehicles": "Véhicules Civiles", + "Futuristic Military Vehicles": "Véhicules Militaires Futuristes", + "World War II Military Vehicles": "Véhicules Militaires de la Seconde Guerre Mondiale", + "Aircraft": "Aviation", + "Civilian": "Civile", + "Bestiary": "Bestiaire", + "Modern Military Aircraft": "Avions Militaires Modernes", + "World War II Military Aircraft": "Avions Seconde Guerre Mondiale", + "Watercraft": "Maritime", + "Equipment": "Equipement", + "Armor": "Armures", + "Ammo": "Munitions", + "Common Gear": "Matériel de base", + "Modern Firearms": "Armes à feu Modernes", + "Personal Weapons": "Armes de contact", + "Special Weapons": "Armes spéciales", + "Natural/Improvised Weapons": "Armes Naturelles/Improvisées", + "Skills": "Compétences", + "Edges": "Atouts", + "Background Edges": "Atouts de Background", + "Combat Edges": "Atouts de Combat", + "Leadership Edges": "Atouts de Commandement", + "Legendary Edges": "Atouts Légendaires", + "Power Edges": "Atouts de Pouvoirs", + "Professional Edges": "Atouts Professionnels", + "Social Edges": "Atouts Sociaux", + "Weird Edges": "Atouts Etranges", + "Hindrances": "Handicaps", + "Powers": "Pouvoirs", + "Special Abilities": "Capacités Spéciales", + "1. Characters": "1. Personnages", + "2. Gear": "2. Matériel", + "3. Rules": "3. Règles", + "5. Powers": "5. Pouvoirs", + "6. Bestiary": "6. Bestiaire", + "7. Game Mastering": "6. Conseils aux Maîtres de Jeu", + "Character Creation": "Création de Personnages", + "The Adventure toolkit": "Boite à Outils des Aventures" +} diff --git a/module/module.json b/module/module.json index a90a2f6..ec23910 100644 --- a/module/module.json +++ b/module/module.json @@ -43,7 +43,7 @@ "url": "https://gitlab.com/sasmira/swade-fr", "flags": {}, "version": "0.19.0.1", - "minimumCoreVersion": "0.8.0", + "minimumCoreVersion": "0.7.9", "compatibleCoreVersion": "9", "scripts": [], "esmodules": [ @@ -79,7 +79,7 @@ ], "socket": false, "manifest": "https://gitlab.com/sasmira/swade-fr/-/raw/master/module/module.json", - "download": "https://gitlab.com/sasmira/swade-fr/-/jobs/artifacts/v0.18.4.2/raw/swade-fr.zip?job=build", + "download": "https://gitlab.com/sasmira/swade-fr/-/jobs/artifacts/v0.19.0.1/raw/swade-fr.zip?job=build", "protected": false, "coreTranslation": false, "library": false diff --git a/module/modules/swade-fr-init.js b/module/modules/swade-fr-init.js index 50d76bd..5ef5a30 100644 --- a/module/modules/swade-fr-init.js +++ b/module/modules/swade-fr-init.js @@ -7,7 +7,7 @@ const __compFolderTranslation = [ {source: 'Aircraft', translation: 'Avions' }, {source: 'Civilian', translation: 'Civils' }, {source: 'Modern Military Aircraft', translation: 'Avions Militaires Modernes' }, - {source: 'World War II Military Aircraft', translation: 'Avions Militaires Seconde Guerre Mondiale' }, + {source: 'World War II Military Aircraft', translation: 'Avions Seconde Guerre Mondiale' }, ] } ] @@ -20,7 +20,7 @@ class FolderTranslate { let pack = game.packs.get(tData.compendium); let wasLocked = false; if (pack.locked) { - pack.configure({locked: false}) + await pack.configure({locked: false}) wasLocked = true; } let folders = await game.CF.FICFolderAPI.loadFolders(tData.compendium); @@ -32,7 +32,7 @@ class FolderTranslate { } } if ( wasLocked) { - pack.configure({locked: true}) + await pack.configure({locked: true}) } } } @@ -138,6 +138,6 @@ const subFolder = { 'Social Edges': 'Atouts sociaux', 'Background Edges': 'Atout /************************************************************************************/ Hooks.once('ready', () => { - FolderTranslate.translateFolders() + //FolderTranslate.translateFolders() });