Commit 40ba4a03 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Namespace performance bar translations

Added additional translations
parent 19a0f957
......@@ -92,7 +92,9 @@ export default {
</template>
<template v-else>
<tr>
<td>No {{ header.toLowerCase() }} for this request.</td>
<td>
{{ sprintf(__('No %{header} for this request.'), { header: header.toLowerCase() }) }}
</td>
</tr>
</template>
</table>
......
......@@ -5,7 +5,7 @@ import { glEmojiTag } from '~/emoji';
import detailedMetric from './detailed_metric.vue';
import requestSelector from './request_selector.vue';
import simpleMetric from './simple_metric.vue';
import { __ } from '~/locale';
import { s__ } from '~/locale';
export default {
components: {
......@@ -36,10 +36,10 @@ export default {
},
},
detailedMetrics: [
{ metric: 'pg', header: __('SQL queries'), details: 'queries', keys: ['sql'] },
{ metric: 'pg', header: s__('PerformanceBar|SQL queries'), details: 'queries', keys: ['sql'] },
{
metric: 'gitaly',
header: __('Gitaly calls'),
header: s__('PerformanceBar|Gitaly calls'),
details: 'details',
keys: ['feature', 'request'],
},
......@@ -120,9 +120,9 @@ export default {
data-toggle="modal"
data-target="#modal-peek-line-profile"
>
{{ __('profile') }}
{{ s__('PerformanceBar|profile') }}
</button>
<a v-else :href="profileUrl">{{ __('profile') }}</a>
<a v-else :href="profileUrl">{{ s__('PerformanceBar|profile') }}</a>
</div>
<simple-metric
v-for="metric in $options.simpleMetrics"
......@@ -141,7 +141,7 @@ export default {
id="peek-view-trace"
class="view"
>
<a :href="currentRequest.details.tracing.tracing_url">{{ __('trace') }}</a>
<a :href="currentRequest.details.tracing.tracing_url">{{ s__('PerformanceBar|trace') }}</a>
</div>
<request-selector
v-if="currentRequest"
......
......@@ -4808,9 +4808,6 @@ msgstr ""
msgid "Gitaly Servers"
msgstr ""
msgid "Gitaly calls"
msgstr ""
msgid "Gitaly|Address"
msgstr ""
......@@ -6655,6 +6652,9 @@ msgstr ""
msgid "No"
msgstr ""
msgid "No %{header} for this request."
msgstr ""
msgid "No %{providerTitle} repositories available to import"
msgstr ""
......@@ -7140,6 +7140,18 @@ msgstr ""
msgid "Performance optimization"
msgstr ""
msgid "PerformanceBar|Gitaly calls"
msgstr ""
msgid "PerformanceBar|SQL queries"
msgstr ""
msgid "PerformanceBar|profile"
msgstr ""
msgid "PerformanceBar|trace"
msgstr ""
msgid "Permissions"
msgstr ""
......@@ -8839,9 +8851,6 @@ msgstr ""
msgid "Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects."
msgstr ""
msgid "SQL queries"
msgstr ""
msgid "SSH Key"
msgstr ""
......@@ -12714,9 +12723,6 @@ msgstr ""
msgid "processing"
msgstr ""
msgid "profile"
msgstr ""
msgid "project"
msgstr ""
......@@ -12791,9 +12797,6 @@ msgstr ""
msgid "this document"
msgstr ""
msgid "trace"
msgstr ""
msgid "triggered"
msgstr ""
......
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