Merge pull request #3309 from mempool/simon/fix-i18n-duplicate-warning

Fixes i18n duplicate warning
This commit is contained in:
softsimon 2023-03-11 18:33:08 +09:00 committed by GitHub
commit e971846b7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -35,7 +35,7 @@
<ng-template #blocksSingular let-i i18n="difficulty-box.block-behind">{{ i }} block behind</ng-template> <ng-template #blocksSingular let-i i18n="difficulty-box.block-behind">{{ i }} block behind</ng-template>
</ng-container> </ng-container>
<ng-container *ngSwitchCase="'next'"> <ng-container *ngSwitchCase="'next'">
<span i18n="@@bdf0e930eb22431140a2eaeacd809cc5f8ebd38c">next block</span> <span class="next-block" i18n="@@bdf0e930eb22431140a2eaeacd809cc5f8ebd38c">Next Block</span>
</ng-container> </ng-container>
</ng-container> </ng-container>
</div> </div>

View file

@ -16,3 +16,7 @@
white-space: nowrap; white-space: nowrap;
} }
} }
.next-block {
text-transform: capitalize;
}