mirror of
https://github.com/mempool/mempool.git
synced 2025-03-28 02:31:49 +01:00
i18n: Fixed stacked mempool block issue and enabled vietnamese.
This commit is contained in:
parent
0a6f6a14b6
commit
5b8bcd5b7d
@ -111,6 +111,6 @@ export const languages: Language[] = [
|
||||
// { code: 'th', name: 'ไทย' }, // Thai
|
||||
{ code: 'tr', name: 'Türkçe' }, // Turkish
|
||||
{ code: 'uk', name: 'Українська' }, // Ukrainian
|
||||
// { code: 'vi', name: 'Tiếng Việt' }, // Vietnamese
|
||||
{ code: 'vi', name: 'Tiếng Việt' }, // Vietnamese
|
||||
{ code: 'zh', name: '中文' }, // Chinese
|
||||
];
|
||||
|
@ -26,8 +26,8 @@
|
||||
</div>
|
||||
<ng-template #mergedBlock>
|
||||
<div class="time-difference">
|
||||
<ng-container *ngTemplateOutlet="blocksPlural; context: {$implicit: projectedBlock.blockVSize / 1000000 | ceil }"></ng-container>
|
||||
<b>(<ng-template #blocksPlural let-i i18n="shared.blocks">{{ i }} blocks</ng-template>)</b>
|
||||
<b>(<ng-container *ngTemplateOutlet="blocksPlural; context: {$implicit: projectedBlock.blockVSize / 1000000 | ceil }"></ng-container>)</b>
|
||||
<ng-template #blocksPlural let-i i18n="shared.blocks">{{ i }} blocks</ng-template>
|
||||
</div>
|
||||
</ng-template>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user