Skip to content

Commit

Permalink
Merge pull request #26 from Automattic/tomjn-conditional-plurals
Browse files Browse the repository at this point in the history
Conditionally add an s on warnings and errors
  • Loading branch information
gudmdharalds authored Sep 13, 2018
2 parents 8188f37 + 743095e commit fd52987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion github-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,9 @@ function vipgoci_github_pr_review_submit(
) . ' ' .

$commit_issue_stat_value . ' ' .
$commit_issue_stat_key . '(s) ' .
$commit_issue_stat_key .
( $commit_issue_stat_value > 1 ) ? '' :'s' .
' ' .
"\n\r";
}

Expand Down

0 comments on commit fd52987

Please sign in to comment.