Add locale codes to version control (#501)

fixes frontend build issue
This commit is contained in:
sua yoo 2023-01-18 14:28:21 -08:00 committed by GitHub
parent f7892d7f2f
commit 7030e784e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

2
frontend/.gitignore vendored
View File

@ -24,7 +24,7 @@
.env.*.local
# translation files
src/__generated__/**/*.ts
src/__generated__/locales/*.ts
xliff/*.xlf
storybook-static

View File

@ -0,0 +1,23 @@
// Do not modify this file by hand!
// Re-generate this file by running lit-localize.
/**
* The locale code that templates in this source code are written in.
*/
export const sourceLocale = `en`;
/**
* The other locale codes that this application is localized into. Sorted
* lexicographically.
*/
export const targetLocales = [
`en-US`,
] as const;
/**
* All valid project locale codes. Sorted lexicographically.
*/
export const allLocales = [
`en`,
`en-US`,
] as const;