mirror of
https://github.com/ansible/awx.git
synced 2026-10-31 06:26:15 -02:30
Merge pull request #10703 from AlexSCorey/10683-fixstrings
Marks dashboard chart axis labels for translation
This commit is contained in:
+2188
-2024
File diff suppressed because it is too large
Load Diff
+2170
-2016
File diff suppressed because it is too large
Load Diff
+2170
-2016
File diff suppressed because it is too large
Load Diff
+2170
-2016
File diff suppressed because it is too large
Load Diff
+2170
-2016
File diff suppressed because it is too large
Load Diff
+2170
-2016
File diff suppressed because it is too large
Load Diff
+2170
-2016
File diff suppressed because it is too large
Load Diff
@@ -125,7 +125,7 @@ function LineChart({ id, data, height, pageContext, jobStatus }) {
|
|||||||
.attr('x', 0 - height / 2)
|
.attr('x', 0 - height / 2)
|
||||||
.attr('dy', '1em')
|
.attr('dy', '1em')
|
||||||
.style('text-anchor', 'middle')
|
.style('text-anchor', 'middle')
|
||||||
.text('Job Runs');
|
.text(t`Job Runs`);
|
||||||
|
|
||||||
// Add the X Axis
|
// Add the X Axis
|
||||||
let ticks;
|
let ticks;
|
||||||
@@ -165,7 +165,7 @@ function LineChart({ id, data, height, pageContext, jobStatus }) {
|
|||||||
`translate(${width / 2} , ${height + margin.top + 20})`
|
`translate(${width / 2} , ${height + margin.top + 20})`
|
||||||
)
|
)
|
||||||
.style('text-anchor', 'middle')
|
.style('text-anchor', 'middle')
|
||||||
.text('Date');
|
.text(t`Date`);
|
||||||
const vertical = svg
|
const vertical = svg
|
||||||
.append('path')
|
.append('path')
|
||||||
.attr('class', 'mouse-line')
|
.attr('class', 'mouse-line')
|
||||||
|
|||||||
Reference in New Issue
Block a user