mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 06:21:46 +01:00
Merge pull request #2633 from mempool/simon/more-i18n-fixes
More Lightning i18n fixes
This commit is contained in:
commit
e77f48abd4
4 changed files with 10 additions and 30 deletions
|
@ -26,7 +26,7 @@ export class TopNodesPerCapacity implements OnInit {
|
|||
|
||||
ngOnInit(): void {
|
||||
if (!this.widget) {
|
||||
this.seoService.setTitle($localize`Liquidity Ranking`);
|
||||
this.seoService.setTitle($localize`:@@2d9883d230a47fbbb2ec969e32a186597ea27405:Liquidity Ranking`);
|
||||
}
|
||||
|
||||
for (let i = 1; i <= (this.widget ? (isMobile() ? 8 : 7) : 100); ++i) {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
|
||||
import { map, Observable } from 'rxjs';
|
||||
import { INodesRanking, ITopNodesPerChannels } from '../../../interfaces/node-api.interface';
|
||||
import { SeoService } from '../../../services/seo.service';
|
||||
import { isMobile } from '../../../shared/common.utils';
|
||||
import { GeolocationData } from '../../../shared/components/geolocation/geolocation.component';
|
||||
import { LightningApiService } from '../../lightning-api.service';
|
||||
|
@ -21,14 +20,9 @@ export class TopNodesPerChannels implements OnInit {
|
|||
|
||||
constructor(
|
||||
private apiService: LightningApiService,
|
||||
private seoService: SeoService
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
if (!this.widget) {
|
||||
this.seoService.setTitle($localize`Connectivity Ranking`);
|
||||
}
|
||||
|
||||
for (let i = 1; i <= (this.widget ? (isMobile() ? 8 : 7) : 100); ++i) {
|
||||
this.skeletonRows.push(i);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<div class="card">
|
||||
<div class="card-body">
|
||||
<a class="title-link" href="" [routerLink]="['/lightning/nodes/rankings/connectivity' | relativeUrl]">
|
||||
<h5 class="card-title d-inline" i18n="lightning.connectivity-ranking">Connectivity ranking</h5>
|
||||
<h5 class="card-title d-inline" i18n="lightning.connectivity-ranking">Connectivity Ranking</h5>
|
||||
<span> </span>
|
||||
<fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true"
|
||||
style="vertical-align: 'text-top'; font-size: 13px; color: '#4a68b9'"></fa-icon>
|
||||
|
|
|
@ -5444,6 +5444,10 @@
|
|||
<context context-type="sourcefile">src/app/lightning/lightning-dashboard/lightning-dashboard.component.html</context>
|
||||
<context context-type="linenumber">62</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/lightning/nodes-ranking/top-nodes-per-capacity/top-nodes-per-capacity.component.ts</context>
|
||||
<context context-type="linenumber">29</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">lightning.liquidity-ranking</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="c50bf442cf99f6fc5f8b687c460f33234b879869" datatype="html">
|
||||
|
@ -5452,6 +5456,10 @@
|
|||
<context context-type="sourcefile">src/app/lightning/lightning-dashboard/lightning-dashboard.component.html</context>
|
||||
<context context-type="linenumber">76</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html</context>
|
||||
<context context-type="linenumber">22</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">lightning.connectivity-ranking</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="891926805555229439" datatype="html">
|
||||
|
@ -5920,13 +5928,6 @@
|
|||
</context-group>
|
||||
<note priority="1" from="description">lightning.top-100-liquidity</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="6592478544940252608" datatype="html">
|
||||
<source>Liquidity Ranking</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/lightning/nodes-ranking/top-nodes-per-capacity/top-nodes-per-capacity.component.ts</context>
|
||||
<context context-type="linenumber">29</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="99786bd2106b708e4514d0121964affb19bee636" datatype="html">
|
||||
<source>Top 100 nodes connectivity ranking</source>
|
||||
<context-group purpose="location">
|
||||
|
@ -5935,13 +5936,6 @@
|
|||
</context-group>
|
||||
<note priority="1" from="description">lightning.top-100-connectivity</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="3006432067351761102" datatype="html">
|
||||
<source>Connectivity Ranking</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/lightning/nodes-ranking/top-nodes-per-channels/top-nodes-per-channels.component.ts</context>
|
||||
<context context-type="linenumber">29</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="fe43c7f717c92d83d8edc99471d643cfbc6a09f8" datatype="html">
|
||||
<source>Liquidity ranking</source>
|
||||
<context-group purpose="location">
|
||||
|
@ -5950,14 +5944,6 @@
|
|||
</context-group>
|
||||
<note priority="1" from="description">lightning.liquidity-ranking</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="38095a1b5306acc91871e97bb6fb9f9d7a89343d" datatype="html">
|
||||
<source>Connectivity ranking</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html</context>
|
||||
<context context-type="linenumber">22</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">lightning.connectivity-ranking</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="47a30fc5a836252f8fe03e2949756b150684d934" datatype="html">
|
||||
<source>Oldest nodes</source>
|
||||
<context-group purpose="location">
|
||||
|
|
Loading…
Add table
Reference in a new issue