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