Merge pull request #898 from MiguelMedeiros/fix-translations-strings-tooltip-echarts
Localization: Add localize strings at echarts tooltip.
This commit is contained in:
commit
033f066abf
@ -241,6 +241,9 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
</tr>`);
|
</tr>`);
|
||||||
});
|
});
|
||||||
const classActive = (this.template === 'advanced') ? 'fees-wrapper-tooltip-chart-advanced' : '';
|
const classActive = (this.template === 'advanced') ? 'fees-wrapper-tooltip-chart-advanced' : '';
|
||||||
|
const titleRange = $localize`Range`;
|
||||||
|
const titleSize = $localize`:@@7faaaa08f56427999f3be41df1093ce4089bbd75:Size`;
|
||||||
|
const titleSum = $localize`Sum`;
|
||||||
return `<div class="fees-wrapper-tooltip-chart ${classActive}">
|
return `<div class="fees-wrapper-tooltip-chart ${classActive}">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
${params[0].axisValue}
|
${params[0].axisValue}
|
||||||
@ -251,9 +254,9 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Range</th>
|
<th>${titleRange}</th>
|
||||||
<th>Size</th>
|
<th>${titleSize}</th>
|
||||||
<th>Sum</th>
|
<th>${titleSum}</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user