Fixing the other i18n
This commit is contained in:
		
							parent
							
								
									8ac71f21d1
								
							
						
					
					
						commit
						25bb942e04
					
				| @ -175,13 +175,15 @@ export class PoolRankingComponent implements OnInit { | ||||
|       } as PieSeriesOption); | ||||
|     }); | ||||
| 
 | ||||
|     const percentage = totalShareOther.toFixed(2) + '%'; | ||||
| 
 | ||||
|     // 'Other'
 | ||||
|     data.push({ | ||||
|       itemStyle: { | ||||
|         color: '#6b6b6b', | ||||
|       }, | ||||
|       value: totalShareOther, | ||||
|       name:  $localize`Other (${totalShareOther.toFixed(2) + '%'})`, | ||||
|       name:  $localize`Other (${percentage})`, | ||||
|       label: { | ||||
|         overflow: 'none', | ||||
|         color: '#b1b1b1', | ||||
| @ -197,7 +199,6 @@ export class PoolRankingComponent implements OnInit { | ||||
|         }, | ||||
|         borderColor: '#000', | ||||
|         formatter: () => { | ||||
|           const percentage = totalShareOther.toFixed(2) + '%'; | ||||
|           const i = totalBlockOther.toString(); | ||||
|           if (this.miningWindowPreference === '24h') { | ||||
|             return `<b style="color: white">` + $localize`Other (${percentage})` + `</b><br>` + | ||||
|  | ||||
| @ -4551,27 +4551,27 @@ | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">205</context> | ||||
|           <context context-type="linenumber">206</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">209</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="3666195172774554282" datatype="html"> | ||||
|         <source>Other (<x id="PH" equiv-text="percentage"/>)</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">186</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">204</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">208</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="3666195172774554282" datatype="html"> | ||||
|         <source>Other (<x id="PH" equiv-text="totalShareOther.toFixed(2) + '%'"/>)</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">184</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">203</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/pool-ranking/pool-ranking.component.ts</context> | ||||
|           <context context-type="linenumber">207</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.ts</context> | ||||
|           <context context-type="linenumber">119</context> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user