Merge pull request #3143 from mempool/simon/missing-ln-i18n-strings

Fixing some i18n strings.
This commit is contained in:
softsimon 2023-02-25 17:14:30 +04:00 committed by GitHub
commit b6c7c02a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 15 deletions

View File

@ -8,7 +8,7 @@
<div class="block-titles">
<h1 class="title">
<ng-template [ngIf]="blockHeight === 0"><ng-container i18n="@@2303359202781425764">Genesis</ng-container></ng-template>
<ng-template [ngIf]="blockHeight" i18n="shared.block-title">{{ blockHeight }}</ng-template>
<ng-template [ngIf]="blockHeight">{{ blockHeight }}</ng-template>
</h1>
<div class="blockhash" *ngIf="blockHash">
<h2 class="truncate right">{{ blockHash.slice(0,32) }}</h2>

View File

@ -167,7 +167,7 @@ export class NodeFeeChartComponent implements OnInit {
padding: 10,
data: [
{
name: 'Outgoing Fees',
name: $localize`Outgoing Fees`,
inactiveColor: 'rgb(110, 112, 121)',
textStyle: {
color: 'white',
@ -175,7 +175,7 @@ export class NodeFeeChartComponent implements OnInit {
icon: 'roundRect',
},
{
name: 'Incoming Fees',
name: $localize`Incoming Fees`,
inactiveColor: 'rgb(110, 112, 121)',
textStyle: {
color: 'white',
@ -205,7 +205,7 @@ export class NodeFeeChartComponent implements OnInit {
series: outgoingData.length === 0 ? undefined : [
{
zlevel: 0,
name: 'Outgoing Fees',
name: $localize`Outgoing Fees`,
data: outgoingData.map(bucket => ({
value: bucket.capacity,
label: bucket.label,
@ -219,7 +219,7 @@ export class NodeFeeChartComponent implements OnInit {
},
{
zlevel: 0,
name: 'Incoming Fees',
name: $localize`Incoming Fees`,
data: incomingData.map(bucket => ({
value: -bucket.capacity,
label: bucket.label,

View File

@ -2386,16 +2386,6 @@
</context-group>
<note priority="1" from="description">shared.block-title</note>
</trans-unit>
<trans-unit id="445c243f1d1cd2c7f0df430cdb2fa25639600396" datatype="html">
<source><x id="INTERPOLATION" equiv-text="&lt;/ng-template&gt;
&lt;/h1&gt;
&lt;div class=&quot;blockhash&quot; *ngIf=&quot;block"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/block/block-preview.component.html</context>
<context context-type="linenumber">11,12</context>
</context-group>
<note priority="1" from="description">shared.block-title</note>
</trans-unit>
<trans-unit id="0b47a777f024ab4e3cdf0062acb4d86e9ae1f635" datatype="html">
<source>Median fee</source>
<context-group purpose="location">
@ -5818,6 +5808,28 @@
</context-group>
<note priority="1" from="description">lightning.node-fee-distribution</note>
</trans-unit>
<trans-unit id="7254919336112973896" datatype="html">
<source>Outgoing Fees</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/lightning/node-fee-chart/node-fee-chart.component.ts</context>
<context context-type="linenumber">170</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/lightning/node-fee-chart/node-fee-chart.component.ts</context>
<context context-type="linenumber">208</context>
</context-group>
</trans-unit>
<trans-unit id="484887099976974152" datatype="html">
<source>Incoming Fees</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/lightning/node-fee-chart/node-fee-chart.component.ts</context>
<context context-type="linenumber">178</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/lightning/node-fee-chart/node-fee-chart.component.ts</context>
<context context-type="linenumber">222</context>
</context-group>
</trans-unit>
<trans-unit id="027f48063a5512e5c26b6ca88f7d7734e2d333a7" datatype="html">
<source>Percentage change past week</source>
<context-group purpose="location">