fix error message capitalisation to be easier for laymen

This commit is contained in:
endernon 2025-01-03 23:25:51 +00:00
parent e11c54cae5
commit ef9aa2d8cb

View file

@ -58,16 +58,16 @@ pub enum Errorfr {
JsonInvalidCraftedType,
/// Durability is out of allowed range (0 to 100)
#[error("Error 4.4: Durability percentage is out of range (Should be between 0 and 100)")]
#[error("Error 4.4: \"durability\" percentage is out of range (Should be between 0 and 100)")]
JsonDuraOutOfRange,
/// Durability was not found but is necessary
#[error("Error 4.5: \"Durability\" was not found (necessary for Crafted Gear item type)")]
#[error("Error 4.5: \"durability\" was not found (necessary for Crafted Gear item type)")]
JsonNotFoundDura,
/// Durability Bad
#[error(
"Error 4.6: \"Requirements\" was not found (necessary for Crafted Gear / Consumable items)"
"Error 4.6: \"requirements\" was not found (necessary for Crafted Gear / Consumable items)"
)]
JsonNotFoundReqs,
}