Commit 314eaff0 authored by Rishabh Gupta's avatar Rishabh Gupta Committed by Paul Gascou-Vaillancourt

Address require-string-literal-i18n-helpers offenses

Addresses require-string-literal-i18n-helpers in commit_header.vue
parent d0f22537
<script>
/* eslint-disable @gitlab/require-string-literal-i18n-helpers */
import { GlButton, GlSprintf } from '@gitlab/ui';
import { escape } from 'lodash';
import { __, n__, s__ } from '~/locale';
......@@ -41,7 +40,7 @@ export default {
return this.expanded ? 'chevron-down' : 'chevron-right';
},
commitsCountMessage() {
return n__(__('%d commit'), __('%d commits'), this.isSquashEnabled ? 1 : this.commitsCount);
return n__('%d commit', '%d commits', this.isSquashEnabled ? 1 : this.commitsCount);
},
modifyLinkMessage() {
if (this.isFastForwardEnabled) return __('Modify commit message');
......
......@@ -197,9 +197,6 @@ msgid_plural "%d commits,"
msgstr[0] ""
msgstr[1] ""
msgid "%d commits"
msgstr ""
msgid "%d completed issue"
msgid_plural "%d completed issues"
msgstr[0] ""
......
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