Fix es-es locale import

This commit is contained in:
Sam Becker 2026-03-02 09:27:12 -06:00
parent 514be4de4a
commit 5e6e13ea09
2 changed files with 2 additions and 1 deletions

View File

@ -403,6 +403,7 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha
- `bd-bn`
- `en-gb`
- `en-us`
- `es-es`
- `hi-in`
- `id-id`
- `pt-br`
@ -410,7 +411,6 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha
- `tr-tr`
- `vi-vn`
- `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.

View File

@ -20,6 +20,7 @@ const LOCALE_TEXT_IMPORTS: Record<
> = {
'bd-bn': () => import('./locales/bd-bn').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),
'id-id': () => import('./locales/id-id').then(m => m.TEXT),
'pt-br': () => import('./locales/pt-br').then(m => m.TEXT),