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" "converter": "generic_localization"
}, },
"durationValue": "system.duration.value", "durationValue": "system.duration.value",
"durationUnit": { "durationUnit": "system.duration.unit",
"path": "system.duration.unit",
"converter": "disease_duration_unit"
},
"contraction": "system.contraction.value", "contraction": "system.contraction.value",
"incubationValue": "system.incubation.value", "incubationValue": "system.incubation.value",
"incubationUnit": { "incubationUnit": "system.incubation.unit",
"path": "system.incubation.unit",
"converter": "disease_duration_unit"
},
"symptoms": "system.symptoms.value", "symptoms": "system.symptoms.value",
"permanent": "system.permanent.value", "permanent": "system.permanent.value",
"special": "system.special.value", "special": "system.special.value",

View File

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

View File

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