Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
40ba4a03
Commit
40ba4a03
authored
Jun 28, 2019
by
Ezekiel Kigbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Namespace performance bar translations
Added additional translations
parent
19a0f957
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
19 deletions
+24
-19
app/assets/javascripts/performance_bar/components/detailed_metric.vue
...avascripts/performance_bar/components/detailed_metric.vue
+3
-1
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
...cripts/performance_bar/components/performance_bar_app.vue
+6
-6
locale/gitlab.pot
locale/gitlab.pot
+15
-12
No files found.
app/assets/javascripts/performance_bar/components/detailed_metric.vue
View file @
40ba4a03
...
...
@@ -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
>
...
...
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
View file @
40ba4a03
...
...
@@ -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"
...
...
locale/gitlab.pot
View file @
40ba4a03
...
...
@@ -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 ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment