Commit 3f21d03f authored by Clement Ho's avatar Clement Ho

Merge branch 'fix-conflict-pluralized' into 'master'

FIX #35027 : conflict pluralized

Closes #35027

See merge request !13051
parents c07dfe66 a8b33d7b
...@@ -175,7 +175,7 @@ import Cookies from 'js-cookie'; ...@@ -175,7 +175,7 @@ import Cookies from 'js-cookie';
getConflictsCountText() { getConflictsCountText() {
const count = this.getConflictsCount(); const count = this.getConflictsCount();
const text = count ? 'conflicts' : 'conflict'; const text = count > 1 ? 'conflicts' : 'conflict';
return `${count} ${text}`; return `${count} ${text}`;
}, },
......
Markdown is supported
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