Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Avoid error using only local translation files #367

Merged
merged 6 commits into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ src/locales/*.json
.nuxt-storybook
storybook-static
.vercel
/src/locales/scripts/valid-locales.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"author": "sebworks",
"private": true,
"scripts": {
"dev": "cross-env ENABLE_AUDIO=true nuxt",
"dev": "node src/locales/scripts/get-validated-locales && cross-env ENABLE_AUDIO=true nuxt",
krysal marked this conversation as resolved.
Show resolved Hide resolved
"build": "npm run i18n:get-translations && nuxt build",
"generate": "nuxt generate",
"start": "nuxt start",
Expand Down
213 changes: 0 additions & 213 deletions src/locales/scripts/valid-locales.json

This file was deleted.