Skip to content

Commit d9bd698

Browse files
committed
refactor(i18n): rename locales directory to translations
- Rename locales/ to translations/ for better clarity - Update import path in src/i18n/request.ts to use translations directory - Maintain same structure: components.json, pages/, shared.json per locale - No changes to translation content
1 parent aa13075 commit d9bd698

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1
-1
lines changed

src/i18n/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default getRequestConfig(async ({ requestLocale }) => {
1212
}
1313

1414
// Import raw messages and resolve references centrally
15-
const rawMessages = (await import(`../../locales/${locale}/index.ts`)).default
15+
const rawMessages = (await import(`../../translations/${locale}/index.ts`)).default
1616
const messages = resolveReferences(rawMessages)
1717

1818
return {
File renamed without changes.

0 commit comments

Comments
 (0)