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

FIX #35027 : conflict pluralized

Closes #35027

See merge request !13051
This commit is contained in:
Clement Ho 2017-07-25 17:23:52 +00:00
commit 3f21d03f26

View file

@ -175,7 +175,7 @@ import Cookies from 'js-cookie';
getConflictsCountText() {
const count = this.getConflictsCount();
const text = count ? 'conflicts' : 'conflict';
const text = count > 1 ? 'conflicts' : 'conflict';
return `${count} ${text}`;
},