Skip to content

Commit 16b19e8

Browse files
committed
docs: Styling in README and slightly improved spelling in error message
1 parent 28ddbd5 commit 16b19e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€ŽREADME.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
## Features
2323

24-
Internationalization is an essential part of the user experience. next-intl gives you everything you need to get language subtleties right and has always got your back whenever you need to fine-tune a translation.
24+
Internationalization is an essential part of the user experience. `next-intl` gives you everything you need to get language subtleties right and has always got your back whenever you need to fine-tune a translation.
2525

2626
- 🌟 **ICU message syntax**: Localize your messages with interpolation, cardinal & ordinal plurals, enum-based label selection and rich text.
2727
- πŸ“… **Dates, times & numbers**: Apply appropriate formatting without worrying about server/client differences like time zones.

β€Žpackages/next-intl/src/navigation/react-client/createLocalizedPathnamesNavigation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function createLocalizedPathnamesNavigation<
3333
if (!isValid) {
3434
throw new Error(
3535
process.env.NODE_ENV !== 'production'
36-
? `Unknown locale encountered: "${locale}". Make sure to validate the locale in \`app/[locale]/layout.tsx\`.`
36+
? `Unknown locale encountered: "${locale}". Make sure to validate the locale in \`i18n.ts\`.`
3737
: undefined
3838
);
3939
}

β€Žpackages/use-intl/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
## Features
66

7-
Internationalization is an essential part of the user experience. use-intl gives you everything you need to get language subtleties right and has always got your back whenever you need to fine-tune a translation.
7+
Internationalization is an essential part of the user experience. `use-intl` gives you everything you need to get language subtleties right and has always got your back whenever you need to fine-tune a translation.
88

99
- 🌟 **ICU message syntax**: Localize your messages with interpolation, cardinal & ordinal plurals, enum-based label selection and rich text.
1010
- πŸ“… **Dates, times & numbers**: Apply appropriate formatting without worrying about server/client differences like time zones.

0 commit comments

Comments
Β (0)