chore: update i18n comment, remove translations package

This commit is contained in:
Elliot DeNolf 2024-04-11 10:04:30 -04:00
parent 0ee6c31eda
commit 20d32550d2
3 changed files with 2 additions and 6 deletions

View File

@ -22,7 +22,6 @@
"@payloadcms/next": "3.0.0-beta.2", "@payloadcms/next": "3.0.0-beta.2",
"@payloadcms/richtext-lexical": "3.0.0-beta.2", "@payloadcms/richtext-lexical": "3.0.0-beta.2",
"@payloadcms/richtext-slate": "3.0.0-beta.2", "@payloadcms/richtext-slate": "3.0.0-beta.2",
"@payloadcms/translations": "3.0.0-beta.2",
"@payloadcms/ui": "3.0.0-beta.2", "@payloadcms/ui": "3.0.0-beta.2",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"next": "14.2.0-canary.23", "next": "14.2.0-canary.23",

View File

@ -82,8 +82,8 @@ export default buildConfig({
}), }),
/** /**
* Payload can now accept specific translations from the @payloadcms/translations package. * Payload can now accept specific translations from 'payload/i18n/en'
* This is an optional feature. * This is completely optional and will default to English if not provided
*/ */
i18n: { i18n: {
supportedLanguages: { en }, supportedLanguages: { en },

View File

@ -20,9 +20,6 @@ dependencies:
'@payloadcms/richtext-slate': '@payloadcms/richtext-slate':
specifier: 3.0.0-beta.2 specifier: 3.0.0-beta.2
version: 3.0.0-beta.2(@payloadcms/translations@3.0.0-beta.2)(@payloadcms/ui@3.0.0-beta.2)(payload@3.0.0-beta.2)(react-dom@18.2.0) version: 3.0.0-beta.2(@payloadcms/translations@3.0.0-beta.2)(@payloadcms/ui@3.0.0-beta.2)(payload@3.0.0-beta.2)(react-dom@18.2.0)
'@payloadcms/translations':
specifier: 3.0.0-beta.2
version: 3.0.0-beta.2
'@payloadcms/ui': '@payloadcms/ui':
specifier: 3.0.0-beta.2 specifier: 3.0.0-beta.2
version: 3.0.0-beta.2(@types/react@18.2.74)(monaco-editor@0.47.0)(next@14.2.0-canary.23)(payload@3.0.0-beta.2)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0) version: 3.0.0-beta.2(@types/react@18.2.74)(monaco-editor@0.47.0)(next@14.2.0-canary.23)(payload@3.0.0-beta.2)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)