From ef9aa2d8cb2d23db66cd2e61ca9185692bd04576 Mon Sep 17 00:00:00 2001 From: endernon Date: Fri, 3 Jan 2025 23:25:51 +0000 Subject: [PATCH] fix error message capitalisation to be easier for laymen --- src/errorfr.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/errorfr.rs b/src/errorfr.rs index 91216a7..481c7da 100644 --- a/src/errorfr.rs +++ b/src/errorfr.rs @@ -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, }