Commit 8429a578 authored by Fatih Acet's avatar Fatih Acet

Fix hard coded plural text.

parent f498347d
......@@ -39,6 +39,9 @@ class MergeConflictDataProvider {
vueInstance.conflictsData = data;
vueInstance.isSubmitting = false;
const conflictsText = this.getConflictsCount() > 1 ? 'conflicts' : 'conflict';
vueInstance.conflictsData.conflictsText = conflictsText;
}
......@@ -101,7 +104,6 @@ class MergeConflictDataProvider {
}
});
}
......
......@@ -13,7 +13,7 @@
.js-toggle-container
.commit-stat-summary
Showing
%strong.cred {{conflictsCount}} conflicts
%strong.cred {{conflictsCount}} {{conflictsData.conflictsText}}
between
%strong {{conflictsData.source_branch}}
and
......
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