Commit 5adf195b authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'renovate/eslint-and-related' into 'master'

Address vue i18n literal string violations

See merge request gitlab-org/gitlab!69621
parents 905c88d7 12880ac3
<script> <script>
import { GlDropdown, GlDropdownItem, GlSprintf } from '@gitlab/ui'; import { GlDropdown, GlDropdownItem } from '@gitlab/ui';
import { GlColumnChart } from '@gitlab/ui/dist/charts'; import { GlColumnChart } from '@gitlab/ui/dist/charts';
import { keyBy } from 'lodash'; import { keyBy } from 'lodash';
import { import {
...@@ -18,7 +18,6 @@ export default { ...@@ -18,7 +18,6 @@ export default {
GlColumnChart, GlColumnChart,
GlDropdown, GlDropdown,
GlDropdownItem, GlDropdownItem,
GlSprintf,
}, },
props: { props: {
minutesUsageData: { minutesUsageData: {
...@@ -89,7 +88,7 @@ export default { ...@@ -89,7 +88,7 @@ export default {
@click="changeSelectedMonth(monthName)" @click="changeSelectedMonth(monthName)"
> >
<!-- eslint-disable-next-line @gitlab/vue-require-string-literal-i18n-helpers --> <!-- eslint-disable-next-line @gitlab/vue-require-string-literal-i18n-helpers -->
<gl-sprintf :message="__(monthName)" /> {{ __(monthName) }}
</gl-dropdown-item> </gl-dropdown-item>
</gl-dropdown> </gl-dropdown>
</div> </div>
......
...@@ -55,8 +55,7 @@ export default { ...@@ -55,8 +55,7 @@ export default {
class="js-dismiss-btn" class="js-dismiss-btn"
@click="handleDismissClick" @click="handleDismissClick"
> >
<!-- eslint-disable-next-line @gitlab/vue-require-string-literal-i18n-helpers --> {{ buttonText }}
{{ __(buttonText) }}
</gl-button> </gl-button>
<gl-button <gl-button
v-if="!isDismissed" v-if="!isDismissed"
......
...@@ -147,8 +147,7 @@ export default { ...@@ -147,8 +147,7 @@ export default {
data-qa-selector="create_issue_button" data-qa-selector="create_issue_button"
@click="$emit(actionButtons[0].action)" @click="$emit(actionButtons[0].action)"
> >
<!-- eslint-disable-next-line @gitlab/vue-require-string-literal-i18n-helpers --> {{ actionButtons[0].name }}
{{ __(actionButtons[0].name) }}
</gl-button> </gl-button>
</div> </div>
</template> </template>
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