parent
							
								
									446b0de8f3
								
							
						
					
					
						commit
						070ee10fb0
					
				@ -162,10 +162,10 @@ export class PoolRankingComponent implements OnInit {
 | 
			
		||||
            if (this.miningWindowPreference === '24h') {
 | 
			
		||||
              return `<b style="color: white">${pool.name} (${pool.share}%)</b><br>` +
 | 
			
		||||
                pool.lastEstimatedHashrate.toString() + ' PH/s' +
 | 
			
		||||
                `<br>` + $localize`${i} blocks`;
 | 
			
		||||
                `<br>` + $localize`:@@1bb6965f8e1bbe40c076528ffd841da86f57f119:${ i }:INTERPOLATION: blocks`;
 | 
			
		||||
            } else {
 | 
			
		||||
              return `<b style="color: white">${pool.name} (${pool.share}%)</b><br>` +
 | 
			
		||||
                $localize`${i} blocks`;
 | 
			
		||||
                $localize`:@@1bb6965f8e1bbe40c076528ffd841da86f57f119:${ i }:INTERPOLATION: blocks`;
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        },
 | 
			
		||||
@ -195,13 +195,14 @@ export class PoolRankingComponent implements OnInit {
 | 
			
		||||
        },
 | 
			
		||||
        borderColor: '#000',
 | 
			
		||||
        formatter: () => {
 | 
			
		||||
          const percentage = totalShareOther.toFixed(2) + '%';
 | 
			
		||||
          if (this.miningWindowPreference === '24h') {
 | 
			
		||||
            return `<b style="color: white">${'Other'} (${totalShareOther.toFixed(2)}%)</b><br>` +
 | 
			
		||||
            return `<b style="color: white">` + $localize`Other (${percentage})` + `</b><br>` +
 | 
			
		||||
              totalEstimatedHashrateOther.toString() + ' PH/s' +
 | 
			
		||||
              `<br>` + totalBlockOther.toString() + ` blocks`;
 | 
			
		||||
              `<br>` + $localize`:@@1bb6965f8e1bbe40c076528ffd841da86f57f119:${ totalBlockOther.toString() }:INTERPOLATION: blocks`;
 | 
			
		||||
          } else {
 | 
			
		||||
            return `<b style="color: white">${'Other'} (${totalShareOther.toFixed(2)}%)</b><br>` +
 | 
			
		||||
              totalBlockOther.toString() + ` blocks`;
 | 
			
		||||
            return `<b style="color: white">` + $localize`Other (${percentage})` + `</b><br>` +
 | 
			
		||||
              $localize`:@@1bb6965f8e1bbe40c076528ffd841da86f57f119:${ totalBlockOther.toString() }:INTERPOLATION: blocks`;
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
@ -99,8 +99,9 @@ export class NodesPerCountryChartComponent implements OnInit {
 | 
			
		||||
          },
 | 
			
		||||
          borderColor: '#000',
 | 
			
		||||
          formatter: () => {
 | 
			
		||||
            const nodeCount = country.count.toString();
 | 
			
		||||
            return `<b style="color: white">${country.name.en} (${country.share}%)</b><br>` +
 | 
			
		||||
              $localize`${country.count.toString()} nodes` + `<br>` +
 | 
			
		||||
              $localize`${nodeCount} nodes` + `<br>` +
 | 
			
		||||
              $localize`${this.amountShortenerPipe.transform(country.capacity / 100000000, 2)} BTC capacity`
 | 
			
		||||
            ;
 | 
			
		||||
          }
 | 
			
		||||
@ -115,7 +116,7 @@ export class NodesPerCountryChartComponent implements OnInit {
 | 
			
		||||
        color: 'grey',
 | 
			
		||||
      },
 | 
			
		||||
      value: totalShareOther,
 | 
			
		||||
      name: 'Other' + (this.isMobile() ? `` : ` (${totalShareOther.toFixed(2)}%)`),
 | 
			
		||||
      name: $localize`Other (${totalShareOther.toFixed(2) + '%'})`,
 | 
			
		||||
      label: {
 | 
			
		||||
        overflow: 'truncate',
 | 
			
		||||
        color: '#b1b1b1',
 | 
			
		||||
@ -131,8 +132,9 @@ export class NodesPerCountryChartComponent implements OnInit {
 | 
			
		||||
        },
 | 
			
		||||
        borderColor: '#000',
 | 
			
		||||
        formatter: () => {
 | 
			
		||||
          return `<b style="color: white">${'Other'} (${totalShareOther.toFixed(2)}%)</b><br>` +
 | 
			
		||||
            totalNodeOther.toString() + ` nodes`;
 | 
			
		||||
          const nodeCount = totalNodeOther.toString();
 | 
			
		||||
          return `<b style="color: white">` + $localize`Other (${totalShareOther.toFixed(2) + '%'})` + `</b><br>` +
 | 
			
		||||
            $localize`${nodeCount} nodes`;
 | 
			
		||||
        },
 | 
			
		||||
      },
 | 
			
		||||
      data: 9999 as any
 | 
			
		||||
 | 
			
		||||
@ -153,8 +153,9 @@ export class NodesPerISPChartComponent implements OnInit {
 | 
			
		||||
          },
 | 
			
		||||
          borderColor: '#000',
 | 
			
		||||
          formatter: () => {
 | 
			
		||||
            const nodeCount = isp[4].toString();
 | 
			
		||||
            return `<b style="color: white">${isp[1]} (${this.sortBy === 'capacity' ? isp[7] : isp[6]}%)</b><br>` +
 | 
			
		||||
              $localize`${isp[4].toString()} nodes` + `<br>` +
 | 
			
		||||
              $localize`${nodeCount} nodes` + `<br>` +
 | 
			
		||||
              $localize`${this.amountShortenerPipe.transform(isp[2] / 100000000, 2)} BTC`
 | 
			
		||||
            ;
 | 
			
		||||
          }
 | 
			
		||||
@ -169,7 +170,7 @@ export class NodesPerISPChartComponent implements OnInit {
 | 
			
		||||
        color: 'grey',
 | 
			
		||||
      },
 | 
			
		||||
      value: totalShareOther,
 | 
			
		||||
      name: 'Other' + (isMobile() || this.widget ? `` : ` (${totalShareOther.toFixed(2)}%)`),
 | 
			
		||||
      name: $localize`Other (${totalShareOther.toFixed(2) + '%'})`,
 | 
			
		||||
      label: {
 | 
			
		||||
        overflow: 'truncate',
 | 
			
		||||
        color: '#b1b1b1',
 | 
			
		||||
@ -185,8 +186,9 @@ export class NodesPerISPChartComponent implements OnInit {
 | 
			
		||||
        },
 | 
			
		||||
        borderColor: '#000',
 | 
			
		||||
        formatter: () => {
 | 
			
		||||
          return `<b style="color: white">Other (${totalShareOther.toFixed(2)}%)</b><br>` +
 | 
			
		||||
            $localize`${nodeCountOther.toString()} nodes` + `<br>` +
 | 
			
		||||
          const nodeCount = nodeCountOther.toString();
 | 
			
		||||
          return `<b style="color: white">` + $localize`Other (${totalShareOther.toFixed(2) + '%'})` + `</b><br>` +
 | 
			
		||||
            $localize`${nodeCount} nodes` + `<br>` +
 | 
			
		||||
            $localize`${this.amountShortenerPipe.transform(capacityOther / 100000000, 2)} BTC`;
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
@ -256,7 +256,7 @@ export class LightningStatisticsChartComponent implements OnInit {
 | 
			
		||||
      series: data.channel_count.length === 0 ? [] : [
 | 
			
		||||
        {
 | 
			
		||||
          zlevel: 1,
 | 
			
		||||
          name: 'Channels',
 | 
			
		||||
          name: $localize`:@@807cf11e6ac1cde912496f764c176bdfdd6b7e19:Channels`,
 | 
			
		||||
          showSymbol: false,
 | 
			
		||||
          symbol: 'none',
 | 
			
		||||
          data: data.channel_count,
 | 
			
		||||
 | 
			
		||||
@ -2919,6 +2919,22 @@
 | 
			
		||||
          <context context-type="sourcefile">src/app/components/mempool-blocks/mempool-blocks.component.html</context>
 | 
			
		||||
          <context context-type="linenumber">35,36</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">165,163</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">168,167</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">202,200</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">205,204</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/channel/channel-box/channel-box.component.html</context>
 | 
			
		||||
          <context context-type="linenumber">78</context>
 | 
			
		||||
@ -3709,15 +3725,31 @@
 | 
			
		||||
          <context context-type="linenumber">58</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="6095122426142344316" datatype="html">
 | 
			
		||||
        <source><x id="PH" equiv-text="i"/> blocks</source>
 | 
			
		||||
      <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">165,163</context>
 | 
			
		||||
          <context context-type="linenumber">200</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">168,167</context>
 | 
			
		||||
          <context context-type="linenumber">204</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,114</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">136</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/nodes-per-isp-chart/nodes-per-isp-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">173,168</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/nodes-per-isp-chart/nodes-per-isp-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">190</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="2158ea60725d3a97aed6f0f00aa7df48d7bb42ff" datatype="html">
 | 
			
		||||
@ -5802,6 +5834,10 @@
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">194,193</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">259,257</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <note priority="1" from="description">lightning.channels</note>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="e4706894b195010f6814e54bf6570c729d69aaca" datatype="html">
 | 
			
		||||
@ -6242,25 +6278,29 @@
 | 
			
		||||
        <note priority="1" from="description">lightning.share</note>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="5222540403093176126" datatype="html">
 | 
			
		||||
        <source><x id="PH" equiv-text="country.count.toString()"/> nodes</source>
 | 
			
		||||
        <source><x id="PH" equiv-text="nodeCount"/> nodes</source>
 | 
			
		||||
        <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">103,102</context>
 | 
			
		||||
          <context context-type="linenumber">104,103</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">137,136</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/nodes-per-isp-chart/nodes-per-isp-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">157,156</context>
 | 
			
		||||
          <context context-type="linenumber">158,157</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/nodes-per-isp-chart/nodes-per-isp-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">189,188</context>
 | 
			
		||||
          <context context-type="linenumber">191,190</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="7032954508645880700" datatype="html">
 | 
			
		||||
        <source><x id="PH" equiv-text="this.amountShortenerPipe.transform(country.capacity / 100000000, 2)"/> BTC capacity</source>
 | 
			
		||||
        <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">104,102</context>
 | 
			
		||||
          <context context-type="linenumber">105,103</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="7ede3edfacd291eb9db08e11845d9efdf197f417" datatype="html">
 | 
			
		||||
@ -6366,11 +6406,11 @@
 | 
			
		||||
        <source><x id="PH" equiv-text="this.amountShortenerPipe.transform(isp[2] / 100000000, 2)"/> BTC</source>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/nodes-per-isp-chart/nodes-per-isp-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">158,156</context>
 | 
			
		||||
          <context context-type="linenumber">159,157</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
        <context-group purpose="location">
 | 
			
		||||
          <context context-type="sourcefile">src/app/lightning/nodes-per-isp-chart/nodes-per-isp-chart.component.ts</context>
 | 
			
		||||
          <context context-type="linenumber">190,188</context>
 | 
			
		||||
          <context context-type="linenumber">192,190</context>
 | 
			
		||||
        </context-group>
 | 
			
		||||
      </trans-unit>
 | 
			
		||||
      <trans-unit id="c18497e4f0db0d0ad0c71ba294295f42b3d312c9" datatype="html">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user