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