File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export FRONTEND_PNPM_VERSION := `grep 'packageManager' ../package.json | awk -F'
35
35
# Build the frontend Docker image
36
36
build-img tag ="openverse -frontend : local " target ="app ":
37
37
docker build \
38
+ - -load \
38
39
- -target {{ target }} \
39
40
- -build-context ' repo_root=..' \
40
41
- -build-arg FRONTEND_NODE_VERSION=$(just node-version) \
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ const favicons = [
29
29
} ,
30
30
]
31
31
32
+ const additionalLocales = locales && locales . length < 5 ? locales : [ ]
33
+
32
34
const openverseLocales = [
33
35
{
34
36
/* Nuxt i18n fields */
@@ -43,7 +45,7 @@ const openverseLocales = [
43
45
name : "English" ,
44
46
nativeName : "English" ,
45
47
} ,
46
- ...( locales ?? [ ] ) ,
48
+ ...additionalLocales ,
47
49
] . filter ( ( l ) => Boolean ( l . iso ) ) as LocaleObject [ ]
48
50
49
51
const isProdNotPlaywright = isProd && ! ( process . env . PW === "true" )
Original file line number Diff line number Diff line change 5
5
>
6
6
{{ $t("hero.subtitle") }}
7
7
</h1 >
8
+ <!-- eslint-disable @intlify/vue-i18n/no-raw-text -->
9
+ <p class =" sr-only" >Testing Nuxt 3</p >
10
+ <!-- eslint-enable -->
8
11
9
12
<p class =" text-base leading-relaxed" >
10
13
{{ $t("hero.description") }}
You can’t perform that action at this time.
0 commit comments