Skip to content
代码片段 群组 项目
未验证 提交 bf647645 编辑于 作者: Amy Qualls's avatar Amy Qualls
浏览文件

Fix capitalization of strings

These strings should be sentence case, not title case.
上级 e699796b
No related branches found
No related tags found
无相关合并请求
...@@ -10,7 +10,7 @@ export default { ...@@ -10,7 +10,7 @@ export default {
GlDrawer, GlDrawer,
}, },
i18n: { i18n: {
drawerTitle: s__('Tracing|Span Details'), drawerTitle: s__('Tracing|Span details'),
}, },
props: { props: {
span: { span: {
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
value: formatTraceDuration(this.span.duration_nano), value: formatTraceDuration(this.span.duration_nano),
}, },
{ {
title: s__('Tracing|Status Code'), title: s__('Tracing|Status code'),
value: this.span.statusCode, value: this.span.statusCode,
}, },
]; ];
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
:header-class="$options.HEADER_CLASS" :header-class="$options.HEADER_CLASS"
> >
<template #header> <template #header>
{{ __('Trace Start') }} {{ __('Trace start') }}
</template> </template>
<template #default> <template #default>
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
:header-class="$options.HEADER_CLASS" :header-class="$options.HEADER_CLASS"
> >
<template #header> <template #header>
{{ __('Total Spans') }} {{ __('Total spans') }}
</template> </template>
<template #default> <template #default>
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
<gl-filtered-search <gl-filtered-search
v-model="value" v-model="value"
terms-as-tokens terms-as-tokens
:placeholder="s__('Tracing|Filter Traces')" :placeholder="s__('Tracing|Filter traces')"
:available-tokens="availableTokens" :available-tokens="availableTokens"
@submit="$emit('submit', $event)" @submit="$emit('submit', $event)"
/> />
......
...@@ -40,7 +40,7 @@ describe('TracingDetailsDrawer', () => { ...@@ -40,7 +40,7 @@ describe('TracingDetailsDrawer', () => {
}); });
it('displays the correct title', () => { it('displays the correct title', () => {
expect(wrapper.findByTestId('span-title').text()).toBe('Span Details service-1 : operation-1'); expect(wrapper.findByTestId('span-title').text()).toBe('Span details service-1 : operation-1');
}); });
it('displays the correct content', () => { it('displays the correct content', () => {
...@@ -65,7 +65,7 @@ describe('TracingDetailsDrawer', () => { ...@@ -65,7 +65,7 @@ describe('TracingDetailsDrawer', () => {
expect(labels.at(5).text()).toBe('Duration'); expect(labels.at(5).text()).toBe('Duration');
expect(values.at(5).text()).toBe('1.23 ms'); expect(values.at(5).text()).toBe('1.23 ms');
expect(labels.at(6).text()).toBe('Status Code'); expect(labels.at(6).text()).toBe('Status code');
expect(values.at(6).text()).toBe('200'); expect(values.at(6).text()).toBe('200');
}); });
}); });
...@@ -24,7 +24,7 @@ describe('TracingDetailsHeader', () => { ...@@ -24,7 +24,7 @@ describe('TracingDetailsHeader', () => {
it('renders the correct trace date', () => { it('renders the correct trace date', () => {
expect(wrapper.findByTestId('trace-date-card').text()).toMatchInterpolatedText( expect(wrapper.findByTestId('trace-date-card').text()).toMatchInterpolatedText(
'Trace Start Aug 14, 2023 14:05:37.219 UTC', 'Trace start Aug 14, 2023 14:05:37.219 UTC',
); );
}); });
...@@ -36,7 +36,7 @@ describe('TracingDetailsHeader', () => { ...@@ -36,7 +36,7 @@ describe('TracingDetailsHeader', () => {
it('renders the correct total spans', () => { it('renders the correct total spans', () => {
expect(wrapper.findByTestId('trace-spans-card').text()).toMatchInterpolatedText( expect(wrapper.findByTestId('trace-spans-card').text()).toMatchInterpolatedText(
'Total Spans 10', 'Total spans 10',
); );
}); });
}); });
...@@ -50139,9 +50139,6 @@ msgstr "" ...@@ -50139,9 +50139,6 @@ msgstr ""
msgid "Total Score" msgid "Total Score"
msgstr "" msgstr ""
   
msgid "Total Spans"
msgstr ""
msgid "Total cores (CPUs)" msgid "Total cores (CPUs)"
msgstr "" msgstr ""
   
...@@ -50151,6 +50148,9 @@ msgstr "" ...@@ -50151,6 +50148,9 @@ msgstr ""
msgid "Total memory (GB)" msgid "Total memory (GB)"
msgstr "" msgstr ""
   
msgid "Total spans"
msgstr ""
msgid "Total test time for all commits/merges" msgid "Total test time for all commits/merges"
msgstr "" msgstr ""
   
...@@ -50172,7 +50172,7 @@ msgstr "" ...@@ -50172,7 +50172,7 @@ msgstr ""
msgid "Trace Details" msgid "Trace Details"
msgstr "" msgstr ""
   
msgid "Trace Start" msgid "Trace start"
msgstr "" msgstr ""
   
msgid "Tracing" msgid "Tracing"
...@@ -50199,7 +50199,7 @@ msgstr "" ...@@ -50199,7 +50199,7 @@ msgstr ""
msgid "Tracing|Failed to load traces." msgid "Tracing|Failed to load traces."
msgstr "" msgstr ""
   
msgid "Tracing|Filter Traces" msgid "Tracing|Filter traces"
msgstr "" msgstr ""
   
msgid "Tracing|Last 1 hour" msgid "Tracing|Last 1 hour"
...@@ -50250,13 +50250,13 @@ msgstr "" ...@@ -50250,13 +50250,13 @@ msgstr ""
msgid "Tracing|Something went wrong while fetching the services" msgid "Tracing|Something went wrong while fetching the services"
msgstr "" msgstr ""
   
msgid "Tracing|Span Details" msgid "Tracing|Span ID"
msgstr "" msgstr ""
   
msgid "Tracing|Span ID" msgid "Tracing|Span details"
msgstr "" msgstr ""
   
msgid "Tracing|Status Code" msgid "Tracing|Status code"
msgstr "" msgstr ""
   
msgid "Tracing|Time range" msgid "Tracing|Time range"
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册