Skip to content

Commit 123029b

Browse files
authored
fix(i18n): pass scope to components (#339)
1 parent 9d4d150 commit 123029b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

app/pages/about.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri
5656
{{ $t('about.what_we_are.title') }}
5757
</h2>
5858
<p class="text-fg-muted leading-relaxed mb-4">
59-
<i18n-t keypath="about.what_we_are.description" tag="span">
59+
<i18n-t keypath="about.what_we_are.description" tag="span" scope="global">
6060
<template #betterUxDx>
6161
<strong class="text-fg">{{ $t('about.what_we_are.better_ux_dx') }}</strong>
6262
</template>
@@ -72,7 +72,7 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri
7272
</i18n-t>
7373
</p>
7474
<p class="text-fg-muted leading-relaxed">
75-
<i18n-t keypath="about.what_we_are.admin_description" tag="span">
75+
<i18n-t keypath="about.what_we_are.admin_description" tag="span" scope="global">
7676
<template #adminUi>
7777
<strong class="text-fg">{{ $t('about.what_we_are.admin_ui') }}</strong>
7878
</template>
@@ -92,7 +92,11 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri
9292
$t('about.what_we_are_not.not_package_manager')
9393
}}</strong>
9494
{{ ' ' }}
95-
<i18n-t keypath="about.what_we_are_not.package_managers_exist" tag="span">
95+
<i18n-t
96+
keypath="about.what_we_are_not.package_managers_exist"
97+
tag="span"
98+
scope="global"
99+
>
96100
<template #already>{{ $t('about.what_we_are_not.words.already') }}</template>
97101
<template #people>
98102
<a

0 commit comments

Comments
 (0)