Merge pull request #34 from catgirlinspace/fix-expanded-stage-image-localization

Fix name of stage in StageDialog not being localized
This commit is contained in:
Matt Isenhower 2023-02-11 09:51:26 -08:00 committed by GitHub
commit d4883b0271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
<div class="absolute -bottom-6 w-full text-center">
<img class="w-80 inline-block rotate-2" src="@/assets/img/stickers/sticker-12.png" />
<div class="absolute inset-0 flex items-center justify-center text-black font-splatoon2">
{{ stage.name }}
{{ $t(`splatnet.stages.${stage.id}.name`, stage.name) }}
</div>
</div>
</ModalDialog>