Prepare transation

This commit is contained in:
sladecraven 2022-02-06 17:48:39 +01:00
parent 2b4e637eea
commit a5f857fab0
4 changed files with 52 additions and 10 deletions

View File

@ -182,7 +182,7 @@
"id": "Combat Acrobat", "id": "Combat Acrobat",
"name": "Acrobate de combat", "name": "Acrobate de combat",
"description":"Voir SWADE p.49", "description":"Voir SWADE p.49",
"description_full": "<div class=\"swade-core\">\n<p><span class=\"fontstyle0\">Les attaques contre ce personnage bondissant subissent un malus de -1 si ce dernier voit lattaque venir, dispose de suffisamment despace 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}.</span></p>\n</div>" "description_full": "<div class=\"swade-core\">\n<p><span class=\"fontstyle0\">Les attaques contre ce personnage bondissant subissent un malus de -1 si ce dernier voit lattaque venir, dispose de suffisamment despace 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}.</span></p>\n</div>"
}, },
{ {
"id": "Combat Reflexes", "id": "Combat Reflexes",

View File

@ -118,8 +118,8 @@
"SWADE.RoF": "CdT", "SWADE.RoF": "CdT",
"SWADE.Mag": "Coups", "SWADE.Mag": "Coups",
"SWADE.Parry": "Parade", "SWADE.Parry": "Parade",
"SWADE.Cover": "Couvert",
"SWADE.Cover._name": "Couvert", "SWADE.Cover._name": "Couvert",
"SWADE.Couvert._name": "Couvert",
"SWADE.Notes": "Notes", "SWADE.Notes": "Notes",
"SWADE.ActionsEffects": "Actions et Effets", "SWADE.ActionsEffects": "Actions et Effets",
"SWADE.Actions": "Actions", "SWADE.Actions": "Actions",
@ -304,5 +304,47 @@
"SWADE.EdgesHindrances": "Atouts et Handicaps", "SWADE.EdgesHindrances": "Atouts et Handicaps",
"SWADE.GrantsPowers": "Accorde des pouvoirs", "SWADE.GrantsPowers": "Accorde des pouvoirs",
"SWADE.Crew": "Équipage requis", "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"
}

View File

@ -43,7 +43,7 @@
"url": "https://gitlab.com/sasmira/swade-fr", "url": "https://gitlab.com/sasmira/swade-fr",
"flags": {}, "flags": {},
"version": "0.19.0.1", "version": "0.19.0.1",
"minimumCoreVersion": "0.8.0", "minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",
"scripts": [], "scripts": [],
"esmodules": [ "esmodules": [
@ -79,7 +79,7 @@
], ],
"socket": false, "socket": false,
"manifest": "https://gitlab.com/sasmira/swade-fr/-/raw/master/module/module.json", "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, "protected": false,
"coreTranslation": false, "coreTranslation": false,
"library": false "library": false

View File

@ -7,7 +7,7 @@ const __compFolderTranslation = [
{source: 'Aircraft', translation: 'Avions' }, {source: 'Aircraft', translation: 'Avions' },
{source: 'Civilian', translation: 'Civils' }, {source: 'Civilian', translation: 'Civils' },
{source: 'Modern Military Aircraft', translation: 'Avions Militaires Modernes' }, {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 pack = game.packs.get(tData.compendium);
let wasLocked = false; let wasLocked = false;
if (pack.locked) { if (pack.locked) {
pack.configure({locked: false}) await pack.configure({locked: false})
wasLocked = true; wasLocked = true;
} }
let folders = await game.CF.FICFolderAPI.loadFolders(tData.compendium); let folders = await game.CF.FICFolderAPI.loadFolders(tData.compendium);
@ -32,7 +32,7 @@ class FolderTranslate {
} }
} }
if ( wasLocked) { 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', () => { Hooks.once('ready', () => {
FolderTranslate.translateFolders() //FolderTranslate.translateFolders()
}); });