Skip to content

Commit

Permalink
chore: fix i18n scope warning
Browse files Browse the repository at this point in the history
  • Loading branch information
plushdohn committed Dec 20, 2023
1 parent f6378a4 commit 70df72b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/game/Lobby.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<template>
<div class="w-full flex flex-col">
<DescribedHeader :title="$t('game.lobby.header.title')" class="mb-6">
<i18n-t keypath="game.lobby.header.description">
<i18n-t keypath="game.lobby.header.description" scope="global">
<template v-slot:roomCode>
<strong>{{ roomId }}</strong>
</template>
Expand Down
1 change: 1 addition & 0 deletions components/game/WaitingForGuess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<i18n-t
keypath="game.waitingForGuessScreen.description"
:topic="topicTitle"
scope="global"
>
<template v-slot:topic>
<strong>{{ topicTitle }}</strong>
Expand Down
3 changes: 2 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const config = useAppConfig();
const route = useRoute();
const { t } = useI18n();
const head = useLocaleHead({
Expand Down Expand Up @@ -41,7 +42,7 @@
>
<slot />
<footer class="text-xs text-gray-600 absolute bottom-2">
<i18n-t keypath="layout.footer">
<i18n-t keypath="layout.footer" scope="global">
<template #author>
<a href="https://vlkstudio.com" class="underline">VLK Studio</a>
</template>
Expand Down

0 comments on commit 70df72b

Please sign in to comment.