diff --git a/packages/neos-ui-i18n/src/registry/I18nRegistry.ts b/packages/neos-ui-i18n/src/registry/I18nRegistry.ts index 0596fd0289..b97b6ba2fc 100644 --- a/packages/neos-ui-i18n/src/registry/I18nRegistry.ts +++ b/packages/neos-ui-i18n/src/registry/I18nRegistry.ts @@ -19,6 +19,9 @@ import type {LegacyParameters} from './LegacyParameters'; const errorCache: Record = {}; +/** + * @deprecated Use `import {tranlsate} from '@neos-project/neos-ui-i18n'` instead + */ export class I18nRegistry extends SynchronousRegistry { /** * Retrieves a the translation string that is identified by the given @@ -205,4 +208,7 @@ export class I18nRegistry extends SynchronousRegistry { } } +/** + * @deprecated Use `import {tranlsate} from '@neos-project/neos-ui-i18n'` instead + */ export const i18nRegistry = new I18nRegistry('The i18n registry');