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

Fix hard coded plural text.

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