Compare commits

..

No commits in common. "513e41b8f22a85dfb80cde005e352fa786897265" and "e1e52ca2be61e7b824f1e2daa7d181361bb58aeb" have entirely different histories.

3 changed files with 4 additions and 20 deletions

View File

@ -69,16 +69,10 @@
"converter": "generic_localization"
},
"durationValue": "system.duration.value",
"durationUnit": {
"path": "system.duration.unit",
"converter": "disease_duration_unit"
},
"durationUnit": "system.duration.unit",
"contraction": "system.contraction.value",
"incubationValue": "system.incubation.value",
"incubationUnit": {
"path": "system.incubation.unit",
"converter": "disease_duration_unit"
},
"incubationUnit": "system.incubation.unit",
"symptoms": "system.symptoms.value",
"permanent": "system.permanent.value",
"special": "system.special.value",

View File

@ -78,16 +78,10 @@
"converter": "generic_localization"
},
"durationValue": "system.duration.value",
"durationUnit": {
"path": "system.duration.unit",
"converter": "disease_duration_unit"
},
"durationUnit": "system.duration.unit",
"contraction": "system.contraction.value",
"incubationValue": "system.incubation.value",
"incubationUnit": {
"path": "system.incubation.unit",
"converter": "disease_duration_unit"
},
"incubationUnit": "system.incubation.unit",
"symptoms": "system.symptoms.value",
"permanent": "system.permanent.value",
"special": "system.special.value",

View File

@ -662,10 +662,6 @@ Hooks.once('init', () => {
// Auto-translate duration
"spells_duration_range_target_damage": (value) => {
return WFRP4FrTranslation.processSpellContent(value);
},
// Auto-translate disease duration units
"disease_duration_unit": (unit) => {
return game.i18n.localize(unit).capitalize();
}
});
}