From e5ec152002f146986a9ba55db5dad15dd0fc95d3 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 13 Oct 2022 17:51:28 +0400 Subject: [PATCH] More Lightning i18n fixes (2) --- .../nodes-rankings-dashboard.component.html | 2 +- .../lightning-statistics-chart.component.ts | 6 ++-- frontend/src/locale/messages.xlf | 31 ++++++++++--------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html b/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html index 9d81cf3c2..1623d917e 100644 --- a/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html +++ b/frontend/src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html @@ -5,7 +5,7 @@
-
Liquidity ranking
+
Liquidity Ranking
  diff --git a/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts b/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts index 24a365a39..7667f57bb 100644 --- a/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts +++ b/frontend/src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts @@ -191,7 +191,7 @@ export class LightningStatisticsChartComponent implements OnInit { padding: 10, data: [ { - name: 'Channels', + name: $localize`:@@807cf11e6ac1cde912496f764c176bdfdd6b7e19:Channels`, inactiveColor: 'rgb(110, 112, 121)', textStyle: { color: 'white', @@ -199,7 +199,7 @@ export class LightningStatisticsChartComponent implements OnInit { icon: 'roundRect', }, { - name: 'Capacity', + name: $localize`:@@ce9dfdc6dccb28dc75a78c704e09dc18fb02dcfa:Capacity`, inactiveColor: 'rgb(110, 112, 121)', textStyle: { color: 'white', @@ -279,7 +279,7 @@ export class LightningStatisticsChartComponent implements OnInit { { zlevel: 0, yAxisIndex: 1, - name: $localize`Capacity`, + name: $localize`:@@ce9dfdc6dccb28dc75a78c704e09dc18fb02dcfa:Capacity`, showSymbol: false, symbol: 'none', stack: 'Total', diff --git a/frontend/src/locale/messages.xlf b/frontend/src/locale/messages.xlf index 98835b30b..480ed19c0 100644 --- a/frontend/src/locale/messages.xlf +++ b/frontend/src/locale/messages.xlf @@ -4905,6 +4905,14 @@ src/app/lightning/nodes-per-isp/nodes-per-isp.component.html 60,62 + + src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts + 202,201 + + + src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts + 282,279 + lightning.capacity @@ -5360,6 +5368,10 @@ src/app/lightning/nodes-ranking/top-nodes-per-channels/top-nodes-per-channels.component.html 11,12 + + src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts + 194,193 + lightning.channels @@ -5448,6 +5460,10 @@ src/app/lightning/nodes-ranking/top-nodes-per-capacity/top-nodes-per-capacity.component.ts 29 + + src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html + 8 + lightning.liquidity-ranking @@ -5936,14 +5952,6 @@ lightning.top-100-connectivity - - Liquidity ranking - - src/app/lightning/nodes-rankings-dashboard/nodes-rankings-dashboard.component.html - 8 - - lightning.liquidity-ranking - Oldest nodes @@ -5967,13 +5975,6 @@ lightning.indexing-in-progress - - Capacity - - src/app/lightning/statistics-chart/lightning-statistics-chart.component.ts - 282,279 - - year