Commit c9a20215 authored by Simon Latapie's avatar Simon Latapie
Browse files

typo: "hours" can be singular.

Fix #2
parent e10ffd36
Pipeline #26505 passed with stages
in 31 seconds
......@@ -206,10 +206,10 @@ func (mr *MergeRequest) GenerateWelcomeMessage() (string, error) {
message += fmt.Sprintln("*OR*")
message += fmt.Sprintln("")
message += fmt.Sprintln("- All discussions have been considered resolved (and closed) for at least ", mrDevDiscussionHours, "h")
message += fmt.Sprintln("- The developers vote balance (", ":"+VoteUp+":", "/", ":"+VoteDown+":", ") is positive for at least", mrDevScoreHours, "hours")
message += fmt.Sprintln("- The developers vote balance (", ":"+VoteUp+":", "/", ":"+VoteDown+":", ") is positive for at least", mrDevScoreHours, "h")
} else {
message += fmt.Sprintln("- All discussions have been considered resolved (and closed) for at least ", mrOtherDiscussionHours, "h")
message += fmt.Sprintln("- The developers vote balance (", ":"+VoteUp+":", "/", ":"+VoteDown+":", ") is strictly positive for at least", mrOtherScoreHours, "hours")
message += fmt.Sprintln("- The developers vote balance (", ":"+VoteUp+":", "/", ":"+VoteDown+":", ") is strictly positive for at least", mrOtherScoreHours, "h")
}
message += fmt.Sprintln("</p></details>")
// Add messagetype in metadata
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment