Merge pull request 'Ajout des possessions de classe dans la création de personnage' (#91) from pallando/foundryvtt-wh4-lang-fr-fr:class-trappings into v10

Reviewed-on: #91
This commit is contained in:
uberwald 2023-09-12 18:25:05 +02:00
commit 83da960d30
2 changed files with 17 additions and 6 deletions

17
fr.json
View File

@ -1523,14 +1523,19 @@
"Academics": "Lettrés",
"Academic": "Lettré",
"Burgher": "Citadins",
"Rogues": "Roublards",
"Burghers": "Citadins",
"Burgher": "Citadin",
"Rogues": "Roublards",
"Rogue": "Roublard",
"Riverfolk": "Riverains",
"Peasants": "Ruraux",
"Peasant": "Ruraux",
"Warrior": "Guerriers",
"Ranger": "Itinérants",
"Courtier": "Courtisans",
"Peasant": "Rural",
"Warriors": "Guerriers",
"Warrior": "Guerrier",
"Rangers": "Itinérants",
"Ranger": "Itinérant",
"Courtiers": "Courtisans",
"Courtier": "Courtisan",
"Calvalry": "Cavalerie",
"Flail": "Fléau",

View File

@ -176,6 +176,12 @@ export class WH4FRPatchConfig {
game.wfrp4e.config.species["welf"] = "Elfe Sylvain";
}
if (game.wfrp4e.config.classTrappings) {
for(const c of Object.keys(game.wfrp4e.config.classTrappings)) {
game.wfrp4e.config.classTrappings[game.i18n.localize(c)] = game.wfrp4e.config.classTrappings[c];
}
}
this.patch_species_skills();
this.patch_species_talents();
this.patch_subspecies();