summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/performance_bar/components/detailed_metric.vue2
-rw-r--r--app/assets/javascripts/performance_bar/components/performance_bar_app.vue3
-rw-r--r--locale/gitlab.pot2
3 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/javascripts/performance_bar/components/detailed_metric.vue b/app/assets/javascripts/performance_bar/components/detailed_metric.vue
index bb4be7c7b75..a271284dd89 100644
--- a/app/assets/javascripts/performance_bar/components/detailed_metric.vue
+++ b/app/assets/javascripts/performance_bar/components/detailed_metric.vue
@@ -66,7 +66,7 @@ export default {
<template v-if="detailsList.length">
<tr v-for="(item, index) in detailsList" :key="index">
<td>
- <span>{{ sprintf(__('%{duration} ms'), { duration: item.duration }) }}</span>
+ <span>{{ sprintf(__('%{duration}ms'), { duration: item.duration }) }}</span>
</td>
<td>
<div class="js-toggle-container">
diff --git a/app/assets/javascripts/performance_bar/components/performance_bar_app.vue b/app/assets/javascripts/performance_bar/components/performance_bar_app.vue
index 573cb5b54f9..9ad6e75b86b 100644
--- a/app/assets/javascripts/performance_bar/components/performance_bar_app.vue
+++ b/app/assets/javascripts/performance_bar/components/performance_bar_app.vue
@@ -1,10 +1,9 @@
<script>
-/* eslint-disable @gitlab/i18n/no-non-i18n-strings */
import { glEmojiTag } from '~/emoji';
import detailedMetric from './detailed_metric.vue';
import requestSelector from './request_selector.vue';
-import { s__, sprintf } from '~/locale';
+import { s__ } from '~/locale';
export default {
components: {
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index d94f4d81828..5a4a76082db 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -145,7 +145,7 @@ msgid_plural "%{count} participants"
msgstr[0] ""
msgstr[1] ""
-msgid "%{duration} ms"
+msgid "%{duration}ms"
msgstr ""
msgid "%{edit_in_new_fork_notice} Try to cherry-pick this commit again."