Refine i18m contribution text
This commit is contained in:
parent
0963490f17
commit
1e55949d11
@ -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.
|
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
|
📖 FAQ
|
||||||
-
|
-
|
||||||
|
|||||||
@ -10,10 +10,11 @@ export type I18NDeepPartial = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Translation steps for contributors:
|
* 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`
|
* 2. Add import to `localeTextImports`
|
||||||
* 3. Add date-fn locale to `getDateFnLocale`
|
* 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<
|
const localeTextImports: Record<
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user