Fix es-es locale import
This commit is contained in:
parent
514be4de4a
commit
5e6e13ea09
@ -403,6 +403,7 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha
|
|||||||
- `bd-bn`
|
- `bd-bn`
|
||||||
- `en-gb`
|
- `en-gb`
|
||||||
- `en-us`
|
- `en-us`
|
||||||
|
- `es-es`
|
||||||
- `hi-in`
|
- `hi-in`
|
||||||
- `id-id`
|
- `id-id`
|
||||||
- `pt-br`
|
- `pt-br`
|
||||||
@ -410,7 +411,6 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha
|
|||||||
- `tr-tr`
|
- `tr-tr`
|
||||||
- `vi-vn`
|
- `vi-vn`
|
||||||
- `zh-cn`
|
- `zh-cn`
|
||||||
- `es-es`
|
|
||||||
|
|
||||||
To add support for a new language, open a PR following instructions in [/src/i18n/index.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/index.ts), using [en-us.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/locales/en-us.ts) as reference.
|
To add support for a new language, open a PR following instructions in [/src/i18n/index.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/index.ts), using [en-us.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/locales/en-us.ts) as reference.
|
||||||
|
|
||||||
|
|||||||
@ -20,6 +20,7 @@ const LOCALE_TEXT_IMPORTS: Record<
|
|||||||
> = {
|
> = {
|
||||||
'bd-bn': () => import('./locales/bd-bn').then(m => m.TEXT),
|
'bd-bn': () => import('./locales/bd-bn').then(m => m.TEXT),
|
||||||
'en-gb': () => import('./locales/en-gb').then(m => m.TEXT),
|
'en-gb': () => import('./locales/en-gb').then(m => m.TEXT),
|
||||||
|
'es-es': () => import('./locales/es-es').then(m => m.TEXT),
|
||||||
'hi-in': () => import('./locales/hi-in').then(m => m.TEXT),
|
'hi-in': () => import('./locales/hi-in').then(m => m.TEXT),
|
||||||
'id-id': () => import('./locales/id-id').then(m => m.TEXT),
|
'id-id': () => import('./locales/id-id').then(m => m.TEXT),
|
||||||
'pt-br': () => import('./locales/pt-br').then(m => m.TEXT),
|
'pt-br': () => import('./locales/pt-br').then(m => m.TEXT),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user