🐛 fix(config): correct grammar in EolRule display
- fix grammar error in EolRule display implementation
This commit is contained in:
committed by
Jeremiah Russell
parent
ae27ad73f3
commit
02d7a49f31
@@ -33,14 +33,14 @@ impl fmt::Display for EolRule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let action = match self.action.to_lowercase().as_str() {
|
let action = match self.action.to_lowercase().as_str() {
|
||||||
"trash" => "moves the message to trash",
|
"trash" => "move the message to trash",
|
||||||
"delete" => "deletes the message",
|
"delete" => "delete the message",
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
};
|
};
|
||||||
|
|
||||||
write!(
|
write!(
|
||||||
f,
|
f,
|
||||||
"Rule #{} is active on {} and {action} is {count} {period} old.",
|
"Rule #{} is active on `{}` to {action} if it is more than {count} {period} old.",
|
||||||
self.id,
|
self.id,
|
||||||
self.labels
|
self.labels
|
||||||
.iter()
|
.iter()
|
||||||
|
|||||||
Reference in New Issue
Block a user