Refine i18m contribution text

This commit is contained in:
Sam Becker 2025-05-15 09:04:21 -05:00
parent 0963490f17
commit 1e55949d11
2 changed files with 4 additions and 3 deletions

View File

@ -268,7 +268,7 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha
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 [`US_EN`](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/locales/us-en.ts) as reference.
Thank you ❤️ translators: [@sconetto](https://github.com/sconetto) [@brandnholl](https://github.com/brandnholl)
Thank you ❤️ translators: [@sconetto](https://github.com/sconetto) (`pt-br`, `pt-pt`), [@brandnholl](https://github.com/brandnholl) (`id-id`)
📖  FAQ
-

View File

@ -10,10 +10,11 @@ export type I18NDeepPartial = {
/**
* Translation steps for contributors:
* 1. Create new file in the `src/i18n/locales` modeled on `us-en.ts`.
* 1. Create new file in `src/i18n/locales` modeled on `us-en.ts`.
* 2. Add import to `localeTextImports`
* 3. Add date-fn locale to `getDateFnLocale`
* 4. Add translation credit to `README.md` if desired
* 4. Test locally
* 5. Add translation/credit to `README.md` Supported Languages
*/
const localeTextImports: Record<